kernel - Fix spin lock held across contigfree/kfree in bounce code
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 4 Oct 2011 14:58:38 +0000 (07:58 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 4 Oct 2011 15:02:58 +0000 (08:02 -0700)
commitf2347f5e6ab6243cc2e35b7cf994a0689737cf06
tree237a65195e25833d022cdb970579ebf2246c98f8
parenta92d0524eb081388e53b632e735c29d79a01abb2
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@quantumachine.net>
sys/platform/pc32/i386/busdma_machdep.c
sys/platform/pc64/x86_64/busdma_machdep.c