You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Hugh Dickins
6f5e6b9e69
[PATCH] fix free swap cache latency
...
Lee Revell reported 28ms latency when process with lots of swapped memory
exits.
2.6.15 introduced a latency regression when unmapping: in accounting the
zap_work latency breaker, pte_none counted 1, pte_present PAGE_SIZE, but a
swap entry counted nothing at all. We think of pages present as the slow
case, but Lee's trace shows that free_swap_and_cache's radix tree lookup
can make a lot of work - and we could have been doing it many thousands of
times without a latency break.
Move the zap_work update up to account swap entries like pages present.
This does account non-linear pte_file entries, and unmap_mapping_range
skipping over swap entries, by the same amount even though they're quick:
but neither of those cases deserves complicating the code (and they're
treated no worse than they were in 2.6.14).
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Acked-by: Nick Piggin <npiggin@suse.de>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago
..
Kconfig
[PATCH] Swap Migration V5: Add CONFIG_MIGRATION for page migration support
19 years ago
Makefile
[PATCH] slob: introduce the SLOB allocator
19 years ago
bootmem.c
[PATCH] FRV: Clean up bootmem allocator's page freeing algorithm
19 years ago
fadvise.c
[PATCH] fadvise: return ESPIPE on FIFO/pipe
19 years ago
filemap.c
[PATCH] mm: migration page refcounting fix
19 years ago
filemap.h
[PATCH] xip: reduce code duplication
20 years ago
filemap_xip.c
[PATCH] replace inode_update_time with file_update_time
19 years ago
fremap.c
VM: add common helper function to create the page tables
19 years ago
highmem.c
[PATCH] gfp_t: the rest
20 years ago
hugetlb.c
[PATCH] compound page: use page[1].lru
19 years ago
internal.h
[PATCH] FRV: Clean up bootmem allocator's page freeing algorithm
19 years ago
madvise.c
[PATCH] madvise MADV_DONTFORK/MADV_DOFORK
19 years ago
memory.c
[PATCH] fix free swap cache latency
19 years ago
memory_hotplug.c
[PATCH] memory hotadd: pgdat->node_present_pages fix
19 years ago
mempolicy.c
[PATCH] page migration: Fail with error if swap not setup
19 years ago
mempool.c
[PATCH] gfp_t: mm/* (easy parts)
20 years ago
mincore.c
[PATCH] freepgt: sys_mincore ignore FIRST_USER_PGD_NR
20 years ago
mlock.c
[PATCH] move capable() to capability.h
19 years ago
mmap.c
[PATCH] move capable() to capability.h
19 years ago
mprotect.c
[PATCH] unpaged: private write VM_RESERVED
19 years ago
mremap.c
[PATCH] move capable() to capability.h
19 years ago
msync.c
[PATCH] mutex subsystem, semaphore to mutex: VFS, ->i_sem
19 years ago
nommu.c
[PATCH] nommu: implement vmalloc_node()
19 years ago
oom_kill.c
[PATCH] out_of_memory() locking fix
19 years ago
page-writeback.c
[PATCH] mm: dirty_exceeded speedup
19 years ago
page_alloc.c
[PATCH] slab: Node rotor for freeing alien caches and remote per cpu pages.
19 years ago
page_io.c
[PATCH] mm: split page table lock
20 years ago
pdflush.c
[PATCH] Swap Migration V5: PF_SWAPWRITE to allow writing to swap
19 years ago
prio_tree.c
Linux-2.6.12-rc2
20 years ago
readahead.c
[PATCH] add AOP_TRUNCATED_PAGE, prepend AOP_ to WRITEPAGE_ACTIVATE
19 years ago
rmap.c
[PATCH] page_add_file_rmap(): remove BUG_ON()s
19 years ago
shmem.c
[PATCH] tmpfs: fix mount mpol nodelist parsing
19 years ago
slab.c
[PATCH] slab: Node rotor for freeing alien caches and remote per cpu pages.
19 years ago
slob.c
[PATCH] SLOB=y && SMP=y fix
19 years ago
sparse.c
[PATCH] Change maxaligned_in_smp alignemnt macros to internodealigned_in_smp macros
19 years ago
swap.c
[PATCH] fix race in pagevec_strip?
19 years ago
swap_state.c
[PATCH] Direct Migration V9: Avoid writeback / page_migrate() method
19 years ago
swapfile.c
[PATCH] Direct Migration V9: remove_from_swap() to remove swap ptes
19 years ago
thrash.c
[PATCH] temporarily disable swap token on memory pressure
19 years ago
tiny-shmem.c
[PATCH] do_truncate() call fix in tiny-shmem.c
19 years ago
truncate.c
[PATCH] mutex subsystem, semaphore to mutex: VFS, ->i_sem
19 years ago
util.c
[PATCH] slob: introduce mm/util.c for shared functions
19 years ago
vmalloc.c
[PATCH] kernel-doc: fix warnings in vmalloc.c
20 years ago
vmscan.c
[PATCH] page migration: fail if page is in a vma flagged VM_LOCKED
19 years ago