Re: acpi_pad mwait usage

2013-11-19 Thread Peter Zijlstra
On Tue, Nov 19, 2013 at 10:00:19AM +0100, Peter Zijlstra wrote: > Hi Len, Rafeal, > > I stumbled over acpi_pad (yuck! ;-), but noticed that you don't set the > task in polling mode while using mwait. This means we'll still happily > send an IPI to wake you up. > > A little something like the

acpi_pad mwait usage

2013-11-19 Thread Peter Zijlstra
Hi Len, Rafeal, I stumbled over acpi_pad (yuck! ;-), but noticed that you don't set the task in polling mode while using mwait. This means we'll still happily send an IPI to wake you up. A little something like the below should do; you might even be able to remove the smp_mb() but since it is

acpi_pad mwait usage

2013-11-19 Thread Peter Zijlstra
Hi Len, Rafeal, I stumbled over acpi_pad (yuck! ;-), but noticed that you don't set the task in polling mode while using mwait. This means we'll still happily send an IPI to wake you up. A little something like the below should do; you might even be able to remove the smp_mb() but since it is

Re: acpi_pad mwait usage

2013-11-19 Thread Peter Zijlstra
On Tue, Nov 19, 2013 at 10:00:19AM +0100, Peter Zijlstra wrote: Hi Len, Rafeal, I stumbled over acpi_pad (yuck! ;-), but noticed that you don't set the task in polling mode while using mwait. This means we'll still happily send an IPI to wake you up. A little something like the below