git: kernel - All lwkt thread now start out mpsafe part 2/2

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Aug 28 17:32:41 PDT 2010


commit fdce8919a0ff8066caf56fc0936a701db261909e
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Aug 28 17:30:29 2010 -0700

    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.

Summary of changes:
 sys/dev/netif/iwl/if_iwl.c                   |    2 +-
 sys/kern/dsched/fq/fq_diskops.c              |    8 +++++---
 sys/kern/init_main.c                         |    3 +--
 sys/kern/kern_fork.c                         |    2 +-
 sys/kern/kern_intr.c                         |   14 ++++++--------
 sys/kern/kern_kthread.c                      |    8 +++-----
 sys/kern/kern_nrandom.c                      |    3 +--
 sys/kern/kern_timeout.c                      |    2 +-
 sys/kern/lwkt_thread.c                       |   12 +++++-------
 sys/kern/subr_bus.c                          |    3 +--
 sys/kern/subr_disk.c                         |    2 +-
 sys/kern/subr_taskqueue.c                    |   10 ++++++----
 sys/kern/usched_bsd4.c                       |    2 +-
 sys/kern/usched_dummy.c                      |    2 +-
 sys/kern/vfs_journal.c                       |    8 ++++----
 sys/net/if.c                                 |    3 ++-
 sys/net/netisr.c                             |    4 ++--
 sys/net/route.c                              |    2 +-
 sys/netinet/ip_demux.c                       |    4 ++--
 sys/netinet/tcp_subr.c                       |    2 +-
 sys/platform/pc32/i386/machdep.c             |    2 +-
 sys/platform/pc64/x86_64/machdep.c           |    2 +-
 sys/platform/vkernel/platform/globaldata.c   |    2 +-
 sys/platform/vkernel64/platform/globaldata.c |    2 +-
 sys/sys/thread.h                             |    2 +-
 sys/vfs/devfs/devfs_core.c                   |    2 +-
 sys/vfs/hammer/hammer_flusher.c              |    4 ++--
 sys/vfs/nfs/nfs_vfsops.c                     |    4 ++--
 28 files changed, 56 insertions(+), 60 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fdce8919a0ff8066caf56fc0936a701db261909e


-- 
DragonFly BSD source repository





More information about the Commits mailing list