diff options
author | nyan <nyan@FreeBSD.org> | 2011-10-04 13:24:22 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2011-10-04 13:24:22 +0000 |
commit | 2d080ae31f8dcded3dfc26f912370acee51b3ed0 (patch) | |
tree | 8db138d032c27d31fb621c674bba1511443f018e /sys/compat/linux/linux_socket.c | |
parent | 9fc0ff740a4428feca44ea19d7ba81648b0eda19 (diff) | |
download | FreeBSD-src-2d080ae31f8dcded3dfc26f912370acee51b3ed0.zip FreeBSD-src-2d080ae31f8dcded3dfc26f912370acee51b3ed0.tar.gz |
MFi386: revision 225936
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.
Diffstat (limited to 'sys/compat/linux/linux_socket.c')
0 files changed, 0 insertions, 0 deletions