Re: [PATCH 01/23] sched: Provide sched_set_fifo()

From: Paul E. McKenney
Date: Wed Apr 22 2020 - 12:40:32 EST


On Wed, Apr 22, 2020 at 12:33:31PM -0400, Steven Rostedt wrote:
> On Wed, 22 Apr 2020 08:50:06 -0700
> "Paul E. McKenney" <paulmck@xxxxxxxxxx> wrote:
>
> > Indeed, an extreme form of insanity would be required to try to make core
> > RCU be a module. Not that such a form of insanity is a bad thing in and
> > of itself, but it might best be directed towards less futile ventures. ;-)
>
> That's like making the core of mutexes a module. How would that ever work
> (without becoming a microkernel).

Someone somewhere has probably done it. Perhaps you really could make
mutexes be a module within the Linux kernel using kpatch or similar.
Sort of, anyway.

Not saying it is not insane, mind you! ;-)

Thanx, Paul