git: kernel - Fix spin lock held across contigfree/kfree in bounce code

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Oct 4 08:02:01 PDT 2011


commit 3b264617432fc557fb7711129856cf8a1f236012
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Oct 4 07:58:38 2011 -0700

    kernel - Fix spin lock held across contigfree/kfree in bounce code
    
    * Fix an issue where a spin lock is being held across too-complex a
      procedure call.  The bounce page is isolated once removed from its
      list so we can release the lock while issuing the calls, then
      re-acquire it.
    
    Reported-by: Antonio Huete Jimenez <tuxillo at quantumachine.net>

Summary of changes:
 sys/platform/pc32/i386/busdma_machdep.c   |    2 ++
 sys/platform/pc64/x86_64/busdma_machdep.c |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3b264617432fc557fb7711129856cf8a1f236012


-- 
DragonFly BSD source repository





More information about the Commits mailing list