public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: eric.dumazet@gmail.com
Cc: netdev@vger.kernel.org, therbert@google.com
Subject: Re: [PATCH net-next-2.6] rps: avoid one atomic in enqueue_to_backlog
Date: Mon, 17 May 2010 17:22:49 -0700 (PDT)	[thread overview]
Message-ID: <20100517.172249.232735178.davem@davemloft.net> (raw)
In-Reply-To: <1273225881.2261.39.camel@edumazet-laptop>

From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Fri, 07 May 2010 11:51:21 +0200

> Le vendredi 07 mai 2010 à 07:16 +0200, Eric Dumazet a écrit :
>> Le jeudi 06 mai 2010 à 22:07 -0700, David Miller a écrit :
>> 
>> > Looks great, applied, thanks Eric.
>> 
>> Thanks, I have a followup to avoid one atomic in enqueue phase too ;)
>> 
> 
> [PATCH net-next-2.6] rps: avoid one atomic in enqueue_to_backlog
> 
> If CONFIG_SMP=y, then we own a queue spinlock, we can avoid the atomic
> test_and_set_bit() from napi_schedule_prep().
> 
> We now have same number of atomic ops per netif_rx() calls than with
> pre-RPS kernel.
> 
> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>

Also applied, thanks Eric.

      parent reply	other threads:[~2010-05-18  0:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-06  8:58 [PATCH net-next-2.6] rps: Various optimizations Eric Dumazet
2010-05-07  5:07 ` David Miller
2010-05-07  5:16   ` Eric Dumazet
2010-05-07  9:51     ` [PATCH net-next-2.6] rps: avoid one atomic in enqueue_to_backlog Eric Dumazet
2010-05-07 10:01       ` Changli Gao
2010-05-07 10:05         ` Eric Dumazet
2010-05-18  0:22       ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100517.172249.232735178.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=eric.dumazet@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=therbert@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox