Thread (53 messages) 53 messages, 8 authors, 2016-04-14

Re: [PATCH net-next 2/2] net: exit busy loop when another process is runnable

From: Peter Zijlstra <peterz@infradead.org>
Date: 2014-09-03 09:30:22
Also in: lkml

On Wed, Sep 03, 2014 at 02:58:33PM +0800, Jason Wang wrote:
On 09/02/2014 06:24 PM, Peter Zijlstra wrote:
The patch only try to improve the performance of busy read (and test
results shows impressive changes). It does not change anything for busy
poll. Considering there maybe two processes in one cpu, one is doing
busy read and one is doing busy polling. This patch may in fact help the
busy polling performance in this case.

It's good to discuss the ideas of busy poll together, but it was out of
the scope of this patch. We can try to do optimization on top.
No thta's just wrong, blocked read and blocking select should behave the
same.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help