sched: clarify commment for TS_POLLING
authorLen Brown <len.brown@intel.com>
Mon, 24 May 2010 15:34:36 +0000 (11:34 -0400)
committerLen Brown <len.brown@intel.com>
Fri, 28 May 2010 01:07:05 +0000 (21:07 -0400)
commite45b7fa23097332508730123ac6d59227e7bd7f8
treed01df835310c200523e4ad5564ffd1e960b17fc7
parent541adf7cd937b3895c7645406a9b060504df453b
sched: clarify commment for TS_POLLING

TS_POLLING set tells the scheduler an idle_task will poll
need_resched() to look for work.

TS_POLLING clear tells resched_task() and wake_up_idle_cpu()
that the remote CPU's idle_task is now sleeping in idle,
and thus requires a reschedule interrupt notice work.

Update the description of TS_POLLING to reflect how it works.
"idle task polling need_resched, skip sending interrupt"

Wordsmithing-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
arch/x86/include/asm/thread_info.h