DragonFly BSD
DragonFly commits List (threaded) for 2012-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Remove unnecessary mplock from ata I/O path


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 10 Dec 2012 15:00:31 -0800 (PST)

commit cf5f86b6a177ae06633f7456d6414de7aca47f1b
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Mon Dec 10 14:59:38 2012 -0800

    kernel - Remove unnecessary mplock from ata I/O path
    
    * ata_finish() doesn't need the MP Lock; moving it from taskqueue_swi
      to taskqueue_swi_mp will make sure it's not taken.
    
    * Note that taskqueue_swi(_mp) will be processed when this ithread
      attempts to switch back to the thread it preempted. This means that
      taskqueue_swi(_mp) processing exclude processing further interrupts
      on the ithread while they're running. This may not be desirable and
      is different than taskqueue_swi / swi_* / setsoft* in FreeBSD 4.x.
    
    Submitted-by: vsrinivas

Summary of changes:
 sys/dev/disk/nata/ata-queue.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

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


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]