diff options
author | Attilio Rao <attilio@FreeBSD.org> | 2011-10-03 14:23:00 +0000 |
---|---|---|
committer | Attilio Rao <attilio@FreeBSD.org> | 2011-10-03 14:23:00 +0000 |
commit | 8d79dfca555bf45bec92359b163370674aa5a526 (patch) | |
tree | ad9930853c232ca1450453ae1493f38eb3489f8c /usr.sbin/sysinstall/list.h | |
parent | f6f6e2c803586fda6ca00824e773f188b591f803 (diff) |
Add some improvements in the idle table callbacks:
- Replace instances of manual assembly instruction "hlt" call
with halt() function calling.
- In cpu_idle_mwait() avoid races in check to sched_runnable() using
the same pattern used in cpu_idle_hlt() with the 'hlt' instruction.
- Add comments explaining the logic behind the pattern used in
cpu_idle_hlt() and other idle callbacks.
In collabouration with: jhb, mav
Reviewed by: adri, kib
MFC after: 3 weeks
Notes
Notes:
svn path=/head/; revision=225936
Diffstat (limited to 'usr.sbin/sysinstall/list.h')
0 files changed, 0 insertions, 0 deletions