Re: sched: exporting linux-rt migrate_disable for ZFS
From: Sebastian Andrzej Siewior
Date: Mon Dec 14 2020 - 07:34:02 EST
On 2020-12-08 23:58:27 [+0000], Orivej Desh wrote:
> Greetings!
Hi,
> With sched-Add-migrate_disable.patch first released in v5.9-rc8-rt14 [1]
> linux-rt defines functions migrate_disable and migrate_enable.
> They are used in linux headers in various macros and static inline
> functions, and in particular in kmap_atomic and kunmap_atomic.
> The latter are needed by ZFS which currently fails to build against
> 5.9-rt [2] because these functions are exported with EXPORT_SYMBOL_GPL.
> Could you export them with EXPORT_SYMBOL instead?
This is out of my jurisdiction, so just a few notes:
- v5.9 is out of maintenance. Be careful.
- We don't export symbols for out-of-tree modules.
Sebastian