diff options
author | attilio <attilio@FreeBSD.org> | 2011-10-03 14:23:00 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2011-10-03 14:23:00 +0000 |
commit | 1d578b7f371a13305217ae300f26fd6f9336b7f7 (patch) | |
tree | ad9930853c232ca1450453ae1493f38eb3489f8c /usr.sbin/sysinstall/disks.c | |
parent | cb6db8fe7cc49d51852eaee9b88009b7118261f6 (diff) | |
download | FreeBSD-src-1d578b7f371a13305217ae300f26fd6f9336b7f7.zip FreeBSD-src-1d578b7f371a13305217ae300f26fd6f9336b7f7.tar.gz |
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
Diffstat (limited to 'usr.sbin/sysinstall/disks.c')
0 files changed, 0 insertions, 0 deletions