Re: [PATCH 1/2] zram: fix crashes due to use of cpu hotplug multistate

From: Jiri Kosina
Date: Thu Apr 08 2021 - 04:01:31 EST


On Thu, 8 Apr 2021, Greg KH wrote:

> Removing a module from a system has always been "let's try it and see!"
> type of operation for a very long time.

Which part of it?

If there is a driver/subsystem code that can't handle the reverse
operation to modprobe, it clearly can't handle error handling during
modprobe (which, one would hope, is supported), and should be fixed.

If there is a particular issue in kernel dynamic linker that causes crash
on module removal, we'd better off fixing it. Is there one such that makes
you claim module removal unsupported?

Thanks,

--
Jiri Kosina
SUSE Labs