[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ed87d845-035c-37da-5439-1bcfb22fa4c5@cumulusnetworks.com>
Date: Thu, 30 Apr 2020 18:57:55 +0300
From: Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
To: Ido Schimmel <idosch@...sch.org>
Cc: Stefan Priebe - Profihost AG <s.priebe@...fihost.ag>,
roopa@...ulusnetworks.com, davem@...emloft.net,
"bridge@...ts.linux-foundation.org"
<bridge@...ts.linux-foundation.org>, netdev@...r.kernel.org
Subject: Re: BUG: soft lockup while deleting tap interface from vlan aware
bridge
On 30/04/2020 18:56, Ido Schimmel wrote:
> On Thu, Apr 30, 2020 at 02:20:23PM +0300, Nikolay Aleksandrov wrote:
>> Maybe we can batch the deletes at say 32 at a time?
>
> Hi Nik,
>
> Thanks for looking into this!
>
> I don't really feel comfortable hard coding an arbitrary number of
> entries before calling cond_resched(). I didn't see a noticeable
> difference in execution time with the previous patch versus an unpatched
> kernel. Also, in the examples I saw in the networking code
> cond_resched() is always called after each loop iteration.
>
> Let me know how you prefer it and I will send a patch.
>
that's ok, send it as it is
Powered by blists - more mailing lists