diff options
author | Dave Airlie <airlied@redhat.com> | 2007-10-15 02:19:16 +0200 |
---|---|---|
committer | Dave Airlie <airlied@optimus.(none)> | 2007-10-15 02:32:15 +0200 |
commit | a2721e998ede079db10f65e4b42310f79dc8f135 (patch) | |
tree | 32963c9bf40f3e0871d4d549bb6c3cf13abbb24c /drivers/scsi/qla2xxx/qla_isr.c | |
parent | Fix compile while compiling drivers/mmc/host/mmc_spi.o with !BLOCK (diff) | |
download | linux-a2721e998ede079db10f65e4b42310f79dc8f135.tar.xz linux-a2721e998ede079db10f65e4b42310f79dc8f135.zip |
AGP fix race condition between unmapping and freeing pages
With Andi's clflush fixup, we were getting hangs on server exit, flushing the
mappings after freeing each page helped.
This showed up a race condition where the pages after being freed could be
reused before the agp mappings had been flushed. Flushing after each single
page is a bad thing for future drm work, so make the page destroy a two pass
unmapping all the pages, flushing the mappings, and then destroying the pages.
Signed-off-by: Dave Airlie <airlied@linux.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_isr.c')
0 files changed, 0 insertions, 0 deletions