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

From
Jiri Kosina <jikos@kernel.org>
Date
2021-04-08 08:35:33
Also in
lkml
Reply to
Greg KH, 2021-04-08
On Thu, 8 Apr 2021, Greg KH wrote:
quoted
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.
Huh?  No, that's not the issue here, it's the issue of different
userspace code paths into the module at the same time that it is trying
to be unloaded.  That has nothing to do with loading the module the
first time as userspace is not touching those apis yet.
So do you claim that once the first (out of possibly many) 
userspace-visible sysfs entry has been created during module insertion and 
made available to userspace, there is never going to be rollback happening 
that'd be removing that first sysfs entry again?

Thanks,

-- 
Jiri Kosina
SUSE Labs
Thread (39 messages) 39 messages, 8 authors, last reply 2021-04-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help