mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: eliezer.tamir@linux.intel.com
Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
	torvalds@linux-foundation.org, akpm@linux-foundation.org,
	dwmw2@infradead.org, eliezer@tamir.org.il
Subject: Re: [PATCH net-next v2] net/fs: change busy poll time accounting
Date: Tue, 09 Jul 2013 12:33:30 -0700 (PDT)	[thread overview]
Message-ID: <20130709.123330.253388383875496669.davem@davemloft.net> (raw)
In-Reply-To: <20130709100921.21602.46444.stgit@ladj378.jer.intel.com>

From: Eliezer Tamir <eliezer.tamir@linux.intel.com>
Date: Tue, 09 Jul 2013 13:09:21 +0300

> Sorry, I forgot to commit before sending, so I sent the wrong version.
> The previous version gets a warning in busy_loop_timeout().
> 
> Suggested by Linus:
> Changed time accounting for busy-poll:
> - Make it microsecond based.
> - Use unsigned longs.
> - Revert back to use time_after instead of time_in_range.
> Reorder poll/select busy loop conditions:
> - Clear busy_flag after one time we can't busy-poll.
> - Only init busy_end if we actually are going to busy-poll.
> Added one more missing need_resched() test.
> 
> Signed-off-by: Eliezer Tamir <eliezer.tamir@linux.intel.com>

Ok, looks good, applied.

Thanks!

      reply	other threads:[~2013-07-09 19:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-09 10:09 Eliezer Tamir
2013-07-09 19:33 ` 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=20130709.123330.253388383875496669.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=akpm@linux-foundation.org \
    --cc=dwmw2@infradead.org \
    --cc=eliezer.tamir@linux.intel.com \
    --cc=eliezer@tamir.org.il \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /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

all inboxes | Powered by JetHome®