lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130709.123330.253388383875496669.davem@davemloft.net>
Date:	Tue, 09 Jul 2013 12:33:30 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	eliezer.tamir@...ux.intel.com
Cc:	linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
	torvalds@...ux-foundation.org, akpm@...ux-foundation.org,
	dwmw2@...radead.org, eliezer@...ir.org.il
Subject: Re: [PATCH net-next v2] net/fs: change busy poll time accounting

From: Eliezer Tamir <eliezer.tamir@...ux.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@...ux.intel.com>

Ok, looks good, applied.

Thanks!
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ