summaryrefslogtreecommitdiffstats
path: root/mm/dmapool.c
diff options
context:
space:
mode:
authorvenkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com>2009-01-10 01:13:09 +0100
committerIngo Molnar <mingo@elte.hu>2009-01-13 19:12:59 +0100
commita36706131182f5507d1e2cfbf391b0fa8d72203c (patch)
tree46aede534e494045b7cbe4df42b780ca138e6d3e /mm/dmapool.c
parentMerge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kern... (diff)
downloadlinux-a36706131182f5507d1e2cfbf391b0fa8d72203c.tar.xz
linux-a36706131182f5507d1e2cfbf391b0fa8d72203c.zip
x86 PAT: remove PFNMAP type on track_pfn_vma_new() error
Impact: fix (harmless) double-free of memtype entries and avoid warning On track_pfn_vma_new() failure, reset the vm_flags so that there will be no second cleanup happening when upper level routines call unmap_vmas(). This patch fixes part of the bug reported here: http://marc.info/?l=linux-kernel&m=123108883716357&w=2 Specifically the error message: X:5010 freeing invalid memtype d0000000-d0101000 Is due to multiple frees on error path, will not happen with the patch below. Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'mm/dmapool.c')
0 files changed, 0 insertions, 0 deletions