[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZX1AFVAWXMfbo+Ry@casper.infradead.org>
Date: Sat, 16 Dec 2023 06:13:41 +0000
From: Matthew Wilcox <willy@...radead.org>
To: Kent Overstreet <kent.overstreet@...ux.dev>
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
linux-fsdevel@...r.kernel.org, tglx@...utronix.de, x86@...nel.org,
tj@...nel.org, peterz@...radead.org, mathieu.desnoyers@...icios.com,
paulmck@...nel.org, keescook@...omium.org,
dave.hansen@...ux.intel.com, mingo@...hat.com, will@...nel.org,
longman@...hat.com, boqun.feng@...il.com, brauner@...nel.org
Subject: Re: [PATCH 46/50] preempt.h: Kill dependency on list.h
On Fri, Dec 15, 2023 at 10:35:47PM -0500, Kent Overstreet wrote:
> - INIT_HLIST_NODE(¬ifier->link);
> + /* INIT_HLIST_NODE() open coded, to avoid dependency on list.h */
> + notifier->link.next = NULL;
> + notifier->link.pprev = NULL;
Arguably INIT_HLIST_NODE() belongs in types.h -- we already have
RCUREF_INIT() and ATOMIC_INIT() in there.
Powered by blists - more mailing lists