Re: [PATCH v8 09/12] sysfs: fix deadlock race with module removal

From
Luis Chamberlain <mcgrof@kernel.org>
Date
2021-10-13 12:42:05
Also in
linux-block, linux-fsdevel, linux-kselftest, lkml
Reply to
Luis Chamberlain, 2021-10-11
On Mon, Oct 11, 2021 at 03:26:02PM -0700, Luis Chamberlain wrote:
On Tue, Oct 05, 2021 at 01:50:31PM -0700, Kees Cook wrote:
quoted
For example, why does this not work?
It does for the write case for sure,
I mispoke, just for the record, the changes you mentioned actually don't
suffice for the test cases in question for test_sysfs, the deadlock
still occurs with those changes. At first I thought it did but I had failed
to remove my own fix first on fs/kernfs/dir.c. After removing that and
just trying the proposed changes I confirm it does not fix the deadlock.

  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