Thread (31 messages) 31 messages, 4 authors, 2022-01-12

Re: [RFC PATCH] module: Introduce module unload taint tracking

From: Luis Chamberlain <mcgrof@kernel.org>
Date: 2021-12-10 17:03:41
Also in: lkml

On Fri, Dec 10, 2021 at 11:00:52AM +0100, Petr Mladek wrote:
Please, do not remove records that a module was removed. IMHO, it
might be useful to track all removed module, including the non-tainted
ones.
Then we'd need two features. One modules removed, and another which
limits this to only tainted modules. On kernel-ci systems where I
try to reproduce issues with fstests or blktests I might be unloading
a module 10,000 times, and so for those systems I'd like to disable
the tracking of all modules removed, otherwise we'd end up with
-ENOMEM eventually.
Module removal is always tricky and not much tested.
It is tricky but I have been trying to correct issues along that path
and given that fstests and blktests uses it heavily I want to start
dispelling the false narrative that this is not a common use case.
The tain flags might be just shown as extra information in the output.
Yes!

  Luis
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help