diff options
author | jhb <jhb@FreeBSD.org> | 2004-07-08 21:45:04 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2004-07-08 21:45:04 +0000 |
commit | eeb3c914453162ca5f06e82aeddf24e35a8c86ad (patch) | |
tree | bca8a9a7f71e2c142c28fc30b672069a531506be /sys/boot/common/dev_net.c | |
parent | acd87011239f21612790ec0ff26db6af4ecdb3cd (diff) | |
download | FreeBSD-src-eeb3c914453162ca5f06e82aeddf24e35a8c86ad.zip FreeBSD-src-eeb3c914453162ca5f06e82aeddf24e35a8c86ad.tar.gz |
- Move contents of sched_add() into a sched_add_internal() function that
takes an argument to specify if it should preempt or not. Don't preempt
when sched_add_internal() is called from kseq_idled() or kseq_assign()
as in those cases we are about to call mi_switch() anyways. Also, doing
so during the first context switch on an AP leads to a NULL pointer deref
because curthread is NULL.
- Reenable preemption for ULE.
Submitted by: Taku YAMAMOTO taku at tackymt.homeip.net
Diffstat (limited to 'sys/boot/common/dev_net.c')
0 files changed, 0 insertions, 0 deletions