Messages in this thread | | | Date | Thu, 29 Jul 2021 17:22:50 -0700 | From | Luis Chamberlain <> | Subject | Re: [PATCH 3/4] common/module: add a patient module rmmod |
| |
On Tue, Jul 27, 2021 at 01:10:44PM -0700, Luis Chamberlain wrote: > Furthermore... experience on older kernels shows it may be a while > before we can actually remove the module even *after* > /sys/module/$module/refcnt is 0. This is only currently observed > on older kernels.
Sadly this is incorrect, after running a test without any sleep once refcnt is 0 also fails on linux-next, just that the failure rate is much lower, at about ~ 1/1642.
So the sleep is still relevant even if testing with linux-next.
Luis
| |