diff options
author | Johannes Weiner <[email protected]> | 2009-06-19 19:30:56 +0200 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-06-20 16:08:22 -0700 |
commit | c277331d5fbaae5772ed19862feefa91f4e477d3 (patch) | |
tree | fcd980b58d9487421e9b0c45b7c082fa1302debb /lib/dynamic_debug.c | |
parent | 9063c61fd5cbd6f42e95929aa0e02380c9e15656 (diff) |
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 <[email protected]>
Signed-off-by: Johannes Weiner <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Tested-by: Maxim Levitsky <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions