Re: [PATCH] sched: provide scheduler_ipi() callback in response to smp_send_reschedule()

2011-02-09 Thread Peter Zijlstra
On Wed, 2011-02-09 at 17:14 +1100, Benjamin Herrenschmidt wrote: On Mon, 2011-02-07 at 14:54 +0100, Peter Zijlstra wrote: On Mon, 2011-02-07 at 10:26 +1100, Benjamin Herrenschmidt wrote: You missed: diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c index

[PATCH] virtio-net: add schedule check to napi_enable call in refill_work

2011-02-09 Thread Ken Stailey
Justification: Impact: Under heavy network I/O load virtio-net driver crashes making VM guest unusable. Testcases: 1) Sergey Svishchev reports that servers that run java webapps with high java heap usage (especially when heap size is close to physical memory size) helps trigger one of

Re: [PATCH] virtio-net: add schedule check to napi_enable call in refill_work

2011-02-09 Thread Rusty Russell
On Thu, 10 Feb 2011 06:59:25 am Ken Stailey wrote: Justification: Impact: Under heavy network I/O load virtio-net driver crashes making VM guest unusable. Hmm, this went badly wrong. I acked this patch, and it was mailed to netdev six months ago. Bruce's patch used spaces instead of tabs,

[PATCH] virtio_net: Add schedule check to napi_enable call

2011-02-09 Thread Rusty Russell
From: Bruce Rogers brog...@novell.com Under harsh testing conditions, including low memory, the guest would stop receiving packets. With this patch applied we no longer see any problems in the driver while performing these tests for extended periods of time. Make sure napi is scheduled

Re: [PATCH] virtio-net: add schedule check to napi_enable call in refill_work

2011-02-09 Thread Bruce Rogers
On 2/9/2011 at 06:31 PM, Rusty Russell ru...@rustcorp.com.au wrote: On Thu, 10 Feb 2011 06:59:25 am Ken Stailey wrote: Justification: Impact: Under heavy network I/O load virtio-net driver crashes making VM guest unusable. Hmm, this went badly wrong. I acked this patch, and it was