Re: [RFC PATCH v2 4/4] get rid of busy-waiting in shrink_dcache_tree()

Al Viro
2026-04-03T23:58:26Z

On Fri, Apr 03, 2026 at 03:15:22AM +0100, Al Viro wrote:
> On Thu, Apr 02, 2026 at 05:29:28PM -0700, Linus Torvalds wrote:
> > On Thu, 2 Apr 2026 at 16:13, Al Viro <viro@zeniv.linux.org.uk> wrote:
> > >
> > > The incremental I've got right now is
> >
> > LGTM.
>
> Force-pushed...

FWIW, I wonder if we would be better off with something like

struct completion_list {
struct completion completion;
struct completion_list *next;
};

embedded into select_data, with dentry->waiters being a pointer
to that. It's just that dragging struct select_data into that,
even as an opaque pointer, tastes wrong ;-/

Preferences?