summaryrefslogtreecommitdiffstats
path: root/ipc/util.h
diff options
context:
space:
mode:
authorJohannes Weiner2009-06-19 19:30:56 +0200
committerLinus Torvalds2009-06-21 01:08:22 +0200
commitc277331d5fbaae5772ed19862feefa91f4e477d3 (patch)
treefcd980b58d9487421e9b0c45b7c082fa1302debb /ipc/util.h
parentx86, 64-bit: Clean up user address masking (diff)
downloadkernel-qcow2-linux-c277331d5fbaae5772ed19862feefa91f4e477d3.tar.gz
kernel-qcow2-linux-c277331d5fbaae5772ed19862feefa91f4e477d3.tar.xz
kernel-qcow2-linux-c277331d5fbaae5772ed19862feefa91f4e477d3.zip
mm: page_alloc: clear PG_locked before checking flags on free
da456f1 "page allocator: do not disable interrupts in free_page_mlock()" moved the PG_mlocked clearing after the flag sanity checking which makes mlocked pages always trigger 'bad page'. Fix this by clearing the bit up front. Reported--and-debugged-by: Peter Chubb <peter.chubb@nicta.com.au> Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Acked-by: Mel Gorman <mel@csn.ul.ie> Tested-by: Maxim Levitsky <maximlevitsky@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/util.h')
0 files changed, 0 insertions, 0 deletions