Re: sched: exporting linux-rt migrate_disable for ZFS

From: Steven Rostedt
Date: Tue Dec 15 2020 - 09:06:55 EST


On Tue, 15 Dec 2020 04:19:23 +0100
Mike Galbraith <efault@xxxxxx> wrote:

> From 859a31c5ec958326dd046f4e41f6fa0db0ce98c3 Mon Sep 17 00:00:00 2001
> From: Steven Rostedt <srostedt@xxxxxxxxxx>
> Date: Mon, 16 Apr 2012 21:51:54 -0400
> Subject: rt: Make migrate_disable/enable() and __rt_mutex_init non-GPL only
>
> Modules that load on the normal vanilla kernel should also load on
> an -rt kernel as well. This does not mean we condone non-GPL modules,
> we are only being consistent.
>
> Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>

Yep,

Back in the day (like in 2005), we said that -rt should strive to work
wherever vanilla Linux works. Thus, if we add a symbol that replaces a non
GPL symbol, we need to keep that symbol non GPL.

-- Steve