Re: [PATCH v8 11/12] zram: fix crashes with cpu hotplug multistate

From
Luis Chamberlain <mcgrof@kernel.org>
Date
2021-10-19 16:30:30
Also in
linux-block, linux-fsdevel, linux-kselftest, lkml
Reply to
Greg KH, 2021-10-19
On Tue, Oct 19, 2021 at 06:25:18PM +0200, Greg KH wrote:
On Tue, Oct 19, 2021 at 08:50:24AM -0700, Luis Chamberlain wrote:
quoted
So do you want to take the position:

Hey driver authors: you cannot use any shared lock on module removal and
on sysfs ops?
Yes, I would not recommend using such a lock at all.  sysfs operations
happen on a per-device basis, so you can lock the device structure.
All devices are going to be removed on module removal and so cannot be locked.

  Luis
Thread (92 messages) 92 messages, 7 authors, last reply 2021-11-03
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