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 14:58:38 +0000 (07:58 -0700)
commit3b264617432fc557fb7711129856cf8a1f236012
tree505eab174d9fba7340dbca8b21fe9955aad2976f
parentd623d4f98366687987265798a1ea6aa7425a3a36
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