Hugh Dickins
57a8f0cdb8
mm: revert mremap pud_free anti-fix
...
Revert commit 1ecfd533f4 ("mm/mremap.c: call pud_free() after fail
calling pmd_alloc()").
The original code was correct: pud_alloc(), pmd_alloc(), pte_alloc_map()
ensure that the pud, pmd, pt is already allocated, and seldom do they
need to allocate; on failure, upper levels are freed if appropriate by
the subsequent do_munmap(). Whereas commit 1ecfd533f4 did an
unconditional pud_free() of a most-likely still-in-use pud: saved only
by the near-impossiblity of pmd_alloc() failing.
Signed-off-by: Hugh Dickins <hughd@google.com>
Cc: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-10-16 21:35:53 -07:00
..
backing-dev.c
balloon_compaction.c
bootmem.c
bounce.c
mm/bounce.c: fix a regression where MS_SNAP_STABLE (stable pages snapshotting) was ignored
2013-09-30 14:31:02 -07:00
cleancache.c
compaction.c
mm/compaction.c: periodically schedule when freeing pages
2013-09-30 14:31:01 -07:00
debug-pagealloc.c
dmapool.c
fadvise.c
failslab.c
filemap.c
mm: memcg: handle non-error OOM situations more gracefully
2013-10-16 21:35:53 -07:00
filemap_xip.c
fremap.c
frontswap.c
highmem.c
huge_memory.c
mm: fix BUG in __split_huge_page_pmd
2013-10-16 21:35:53 -07:00
hugetlb.c
mm: hugetlb: initialize PG_reserved for tail pages of gigantic compound pages
2013-10-16 21:35:52 -07:00
hugetlb_cgroup.c
hwpoison-inject.c
mm/hwpoison: fix the lack of one reference count against poisoned page
2013-09-30 14:31:03 -07:00
init-mm.c
internal.h
interval_tree.c
Kconfig
powerpc: Fix memory hotplug with sparse vmemmap
2013-10-03 17:21:38 +10:00
Kconfig.debug
kmemcheck.c
kmemleak-test.c
kmemleak.c
ksm.c
list_lru.c
maccess.c
madvise.c
mm/hwpoison: fix traversal of hugetlbfs pages to avoid printk flood
2013-09-30 14:31:02 -07:00
Makefile
memblock.c
memcontrol.c
fs: buffer: move allocation failure loop into the allocator
2013-10-16 21:35:53 -07:00
memory-failure.c
mm/hwpoison: fix false report on 2nd attempt at page recovery
2013-09-30 14:31:02 -07:00
memory.c
mm: memcg: handle non-error OOM situations more gracefully
2013-10-16 21:35:53 -07:00
memory_hotplug.c
mempolicy.c
mempool.c
migrate.c
mm: migration: do not lose soft dirty bit if page is in migration state
2013-10-16 21:35:52 -07:00
mincore.c
mlock.c
mm/mlock.c: prevent walking off the end of a pagetable in no-pmd configuration
2013-09-30 14:31:02 -07:00
mm_init.c
mmap.c
mmu_context.c
mmu_notifier.c
mmzone.c
mprotect.c
mm: migration: do not lose soft dirty bit if page is in migration state
2013-10-16 21:35:52 -07:00
mremap.c
mm: revert mremap pud_free anti-fix
2013-10-16 21:35:53 -07:00
msync.c
nobootmem.c
nommu.c
oom_kill.c
mm: memcg: handle non-error OOM situations more gracefully
2013-10-16 21:35:53 -07:00
page-writeback.c
writeback: fix negative bdi max pause
2013-10-16 21:35:53 -07:00
page_alloc.c
revert "mm/memory-hotplug: fix lowmem count overflow when offline pages"
2013-09-30 14:31:01 -07:00
page_cgroup.c
page_io.c
page_isolation.c
pagewalk.c
percpu-km.c
percpu-vm.c
percpu.c
pgtable-generic.c
process_vm_access.c
quicklist.c
readahead.c
rmap.c
shmem.c
slab.c
slab.h
slab_common.c
slab_common: Do not check for duplicate slab names
2013-09-28 09:47:41 +03:00
slob.c
slub.c
Merge branch 'slab/next' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/linux
2013-09-15 07:15:06 -04:00
sparse-vmemmap.c
sparse.c
swap.c
swap_state.c
swapfile.c
swap: fix set_blocksize race during swapon/swapoff
2013-10-16 21:35:53 -07:00
truncate.c
util.c
vmalloc.c
vmpressure.c
vmscan.c
mm/vmscan.c: don't forget to free shrinker->nr_deferred
2013-10-16 21:35:52 -07:00
vmstat.c
zbud.c
zswap.c
mm/zswap: bugfix: memory leak when re-swapon
2013-10-16 21:35:52 -07:00