[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191022061257.jft26bvvh24olihs@gondor.apana.org.au>
Date: Tue, 22 Oct 2019 14:12:57 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Tom Rix <trix@...hat.com>
Cc: Steffen Klassert <steffen.klassert@...unet.com>,
davem@...emloft.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] xfrm : lock input tasklet skb queue
On Mon, Oct 21, 2019 at 09:31:13AM -0700, Tom Rix wrote:
> When preempt rt is full, softirq and interrupts run in kthreads. So it
> is possible for the tasklet to sleep and for its queue to get modified
> while it sleeps.
This is ridiculous. The network stack is full of assumptions
like this. So I think we need to fix preempt rt instead because
you can't make a major change like this without auditing the entire
kernel first rather than relying on a whack-a-mole approach.
Cheers,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists