netdev
[Top] [All Lists]

[PATCH] ipconfig schedule fix

To: netdev@xxxxxxxxxxx
Subject: [PATCH] ipconfig schedule fix
From: Magnus Damm <magnus.damm@xxxxxxxxx>
Date: Tue, 23 Nov 2004 23:50:35 +0100
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=uegXVEB2nxv5u9A72NzmdThqFdzpoLz/bpbz2lF3+cDBKXBykEWYUbkJbzQ4I6tBwYr+rdHjbxUK4dD4JGZjKWJhUrVLceQJy7hQgu2NHNUi6iCsXZC0S2wA8WIaZFZCdcuP3MNX0RHx5TXK+0H7io0kaKL0L+afZ+xTuQW6E70=
Reply-to: Magnus Damm <magnus.damm@xxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
Hi,

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.

Thanks,

/ magnus

Attachment: linux-2.6.10-rc2-mm3-ipconfig_schedule.patch
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>