original_kernel/mm
Johannes Weiner c277331d5f 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>
2009-06-20 16:08:22 -07:00
..
Kconfig
Kconfig.debug
Makefile
allocpercpu.c
backing-dev.c
bootmem.c bootmem.c: avoid c90 declaration warning 2009-06-19 16:46:04 -07:00
bounce.c
debug-pagealloc.c
dmapool.c
fadvise.c
failslab.c
filemap.c
filemap_xip.c
fremap.c
highmem.c
hugetlb.c
init-mm.c
internal.h
kmemcheck.c
kmemleak-test.c
kmemleak.c kmemleak: Fix some typos in comments 2009-06-17 18:29:04 +01:00
maccess.c
madvise.c
memcontrol.c memcg: fix lru rotation in isolate_pages 2009-06-18 13:03:48 -07:00
memory.c
memory_hotplug.c
mempolicy.c
mempool.c
migrate.c
mincore.c
mlock.c
mm_init.c
mmap.c
mmu_notifier.c
mmzone.c
mprotect.c
mremap.c
msync.c
nommu.c
oom_kill.c
page-writeback.c
page_alloc.c mm: page_alloc: clear PG_locked before checking flags on free 2009-06-20 16:08:22 -07:00
page_cgroup.c memcg: remove some redundant checks 2009-06-18 13:03:47 -07:00
page_io.c
page_isolation.c
pagewalk.c
pdflush.c
percpu.c
prio_tree.c
quicklist.c
readahead.c
rmap.c memcg: add file-based RSS accounting 2009-06-18 13:03:47 -07:00
shmem.c
shmem_acl.c
slab.c mm: Extend gfp masking to the page allocator 2009-06-18 13:12:57 -07:00
slob.c
slub.c mm: Extend gfp masking to the page allocator 2009-06-18 13:12:57 -07:00
sparse-vmemmap.c
sparse.c
swap.c
swap_state.c
swapfile.c memcg: fix swap accounting 2009-06-18 13:03:47 -07:00
thrash.c
truncate.c
util.c
vmalloc.c
vmscan.c memcg: fix lru rotation in isolate_pages 2009-06-18 13:03:48 -07:00
vmstat.c