[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201028130121.GB229044@lothringen>
Date: Wed, 28 Oct 2020 14:01:21 +0100
From: Frederic Weisbecker <frederic@...nel.org>
To: Peter Zijlstra <peterz@...radead.org>
Cc: mingo@...nel.org, linux-kernel@...r.kernel.org, will@...nel.org,
paulmck@...nel.org, hch@....de, axboe@...nel.dk,
chris@...is-wilson.co.uk, davem@...emloft.net, kuba@...nel.org,
fweisbec@...il.com, oleg@...hat.com, vincent.guittot@...aro.org
Subject: Re: [PATCH v3 1/6] irq_work: Cleanup
On Wed, Oct 28, 2020 at 12:07:08PM +0100, Peter Zijlstra wrote:
> +#define __IRQ_WORK_INIT(_func, _flags) (struct irq_work){ \
> + .node = { .u_flags = (_flags), }, \
I guess, just for the sake of being conservative:
+ .node = { .a_flags = ATOMIC_INIT(_flags), },
> + .func = (_func), \
> +}
Reviewed-by: Frederic Weisbecker <frederic@...nel.org>
Thanks.
Powered by blists - more mailing lists