kernel - All lwkt thread now start out mpsafe part 2/2
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 29 Aug 2010 00:30:29 +0000 (17:30 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 29 Aug 2010 00:30:29 +0000 (17:30 -0700)
commitfdce8919a0ff8066caf56fc0936a701db261909e
treeb89dba3b97cc9c641e31c0c224f34880aed60d93
parentc9e9fb21c9ab82a8102647d67bcf956e0aba60af
kernel - All lwkt thread now start out mpsafe part 2/2

* Remove the TDF_MPSAFE flag entirely.  All thread creation of all
  types now start running the thread without the mplock.

  Drivers which aren't mpsafe immediately acquire the mplock.
28 files changed:
sys/dev/netif/iwl/if_iwl.c
sys/kern/dsched/fq/fq_diskops.c
sys/kern/init_main.c
sys/kern/kern_fork.c
sys/kern/kern_intr.c
sys/kern/kern_kthread.c
sys/kern/kern_nrandom.c
sys/kern/kern_timeout.c
sys/kern/lwkt_thread.c
sys/kern/subr_bus.c
sys/kern/subr_disk.c
sys/kern/subr_taskqueue.c
sys/kern/usched_bsd4.c
sys/kern/usched_dummy.c
sys/kern/vfs_journal.c
sys/net/if.c
sys/net/netisr.c
sys/net/route.c
sys/netinet/ip_demux.c
sys/netinet/tcp_subr.c
sys/platform/pc32/i386/machdep.c
sys/platform/pc64/x86_64/machdep.c
sys/platform/vkernel/platform/globaldata.c
sys/platform/vkernel64/platform/globaldata.c
sys/sys/thread.h
sys/vfs/devfs/devfs_core.c
sys/vfs/hammer/hammer_flusher.c
sys/vfs/nfs/nfs_vfsops.c