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-02 06:12:27
Also in: lkml

On Tue, Sep 02, 2014 at 11:38:40AM +0800, Jason Wang wrote:
I see, how about just exporting a boolean helper like
current_can_busy_loop() and take care all of the conditions (pending bhs
and rcu callbacks, runnable processes) in scheduler code itself?
How is that going to help the cases that are hurt by not spinning for a
packet?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help