netdev
[Top] [All Lists]

Re: [PATCH] use local_softirq_pending instead of softirq_pending in neti

To: Christoph Hellwig <hch@xxxxxx>
Subject: Re: [PATCH] use local_softirq_pending instead of softirq_pending in netif_rx_ni
From: "David S. Miller" <davem@xxxxxxxxxxxxx>
Date: Thu, 18 Nov 2004 14:22:44 -0800
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20041114103846.GA32024@xxxxxx>
References: <20041114103846.GA32024@xxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Sun, 14 Nov 2004 11:38:46 +0100
Christoph Hellwig <hch@xxxxxx> wrote:

> Some architectures can optimize local_softirq_pending much better than
> softirq_pending(smp_processor_id()), and for all others the former is
> just a macro expanding to the later.
> 
> Also this is the last use of softirq_pending() in common code, once this
> is in we can soon kill the notation of beeing able to query other cpus
> softirq pending count.

Queued for 2.6.11, thanks Christoph.

<Prev in Thread] Current Thread [Next in Thread>