[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1420728671.5947.47.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Thu, 08 Jan 2015 06:51:11 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Dennis Chen <kernel.org.gnu@...il.com>
Cc: netdev <netdev@...r.kernel.org>,
Herbert Xu <herbert@...dor.apana.org.au>,
Miller <davem@...emloft.net>
Subject: Re: [PATCH] net: Prevent multiple NAPI instances co-existing in the
list
On Thu, 2015-01-08 at 16:22 +0800, Dennis Chen wrote:
> Some drivers may clear the NAPI_STATE_SCHED bit upon the state of the
> NAPI instance after exhaust the budget in the poll function, which
> will open a window for next device interrupt handler to insert a same
> instance to the list after calling list_add_tail(&n->poll_list,
> repoll) if we don't set this bit.
>
> Signed-off-by: Dennis Chen <kernel.org.gnu@...il.com>
> ---
Well no.
I am removing some atomic ops in the stack, please do not add new ones,
especially if no driver is that buggy.
The unlikely() wont help the expensive stuff being done here.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists