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
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.