On Fri, 9 Jun 2023 09:17:54 +1000 Dave Chinner <david@xxxxxxxxxxxxx> wrote: > > Given that we're at -rc5 now, and the file system folks didn't get > > consulted until fairly late in the progress, and the fact that this > > may cause use-after-free problems that could lead to security issues, > > perhaps we shoould consider reverting the SRCU changeover now, and try > > again for the next merge window? > > Yes, please, because I think we can fix this in a much better way > and make things a whole lot simpler at the same time. Qi Zheng, if agreeable could you please prepare and send reverts of 475733dda5a ("mm: vmscan: add shrinker_srcu_generation") and of f95bdb700bc6bb74 ("mm: vmscan: make global slab shrink lockless")? Thanks.