Pallipadi, Venkatesh d306ebc286 ACPI: Be in TS_POLLING state during mwait based C-state entry
ACPI deep C-state entry had a long standing bug/missing feature, wherein we were sending
resched IPIs when an idle CPU is in mwait based deep C-state. Only mwait based C1 was using
the write to the monitored address to wake up mwait'ing CPU.

This patch changes the code to retain TS_POLLING bit if we are entering an mwait based
deep C-state.

The patch has been verified to reduce the number of resched IPIs in general and also
improves the performance/power on workloads with low system utilization (i.e., when mwait based
deep C-states are being used).

Fixes "netperf ~50% regression with 2.6.33-rc1, bisect to 1b9508f"
http://marc.info/?l=linux-kernel&m=126441481427331&w=4

Reported-by: Lin Ming <ming.m.lin@intel.com>
Tested-by: Alex Shi <alex.shi@intel.com>
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2010-02-22 13:10:14 -05:00
..
2009-12-15 22:27:39 -05:00
2009-10-06 13:55:56 -04:00
2009-12-16 00:07:21 -05:00
2010-01-15 22:53:04 -05:00
2009-12-22 03:24:08 -05:00
2009-12-22 03:24:08 -05:00
2009-12-16 14:22:32 -05:00
2009-06-17 23:32:23 -04:00
2010-01-16 15:56:43 -05:00
2010-01-16 15:56:43 -05:00
2010-01-16 15:56:43 -05:00
2010-02-18 03:49:38 -05:00