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

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Oct 4 08:03:58 PDT 2011


commit f2347f5e6ab6243cc2e35b7cf994a0689737cf06
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/f2347f5e6ab6243cc2e35b7cf994a0689737cf06


-- 
DragonFly BSD source repository





More information about the Commits mailing list