Thread (5 messages) 5 messages, 2 authors, 2004-11-24

Re: [PATCH] ipconfig schedule fix

From: "David S. Miller" <davem@davemloft.net>
Date: 2004-11-23 23:18:55

On Tue, 23 Nov 2004 23:50:35 +0100
Magnus Damm [off-list ref] wrote:
This simple patch makes the DHCP/BOOTP/RARP code sleep with
schedule_timeout() instead of hogging the cpu with cpu_relax() in a
loop. This comes handy when a guest kernel is booted inside QEMU.
Without the patch, the host operating system will consume cpu time
busy waiting.
There are two similar loops involving CONF_PRE_OPEN and CONF_POST_OPEN,
you may wish to hit those while you're at it.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help