[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <dba8aec7-f236-4cb6-b53b-fabefcfa295a@paulmck-laptop>
Date: Thu, 6 Apr 2023 07:17:09 -0700
From: "Paul E. McKenney" <paulmck@...nel.org>
To: Herbert Xu <herbert@...dor.apana.org.au>
Cc: Alexander Duyck <alexander.duyck@...il.com>,
Jakub Kicinski <kuba@...nel.org>,
Heiner Kallweit <hkallweit1@...il.com>, davem@...emloft.net,
netdev@...r.kernel.org, edumazet@...gle.com, pabeni@...hat.com
Subject: Re: [PATCH net-next 1/3] net: provide macros for commonly copied
lockless queue stop/wake code
On Thu, Apr 06, 2023 at 01:15:25PM +0800, Herbert Xu wrote:
> On Wed, Apr 05, 2023 at 03:20:39PM -0700, Paul E. McKenney wrote:
> >
> > Mightn't preemption or interrupts cause further issues? Or are preemption
> > and/or interrupts disabled across the relevant sections of code?
>
> The code in question is supposed to run in softirq context. So
> both interrupts and preemption should be disabled.
Agreed, preemption will be enabled in softirq, but interrupts can still
happen, correct?
Thanx, Paul
Powered by blists - more mailing lists