Hugh Dickins
4294621f41
[PATCH] mm: rss = file_rss + anon_rss
...
I was lazy when we added anon_rss, and chose to change as few places as
possible. So currently each anonymous page has to be counted twice, in rss
and in anon_rss. Which won't be so good if those are atomic counts in some
configurations.
Change that around: keep file_rss and anon_rss separately, and add them
together (with get_mm_rss macro) when the total is needed - reading two
atomics is much cheaper than updating two atomics. And update anon_rss
upfront, typically in memory.c, not tucked away in page_add_anon_rmap.
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-29 21:40:38 -07:00
..
acpi
asm-alpha
[PATCH] add sem_is_read/write_locked()
2005-10-29 21:40:35 -07:00
asm-arm
[PATCH] mm: tlb_finish_mmu forget rss
2005-10-29 21:40:37 -07:00
asm-arm26
[PATCH] mm: tlb_finish_mmu forget rss
2005-10-29 21:40:37 -07:00
asm-cris
[PATCH] gfp_t: dma-mapping (cris)
2005-10-28 08:16:48 -07:00
asm-frv
[PATCH] gfp_t: dma-mapping (frv)
2005-10-28 08:16:48 -07:00
asm-generic
[PATCH] mm: tlb_finish_mmu forget rss
2005-10-29 21:40:37 -07:00
asm-h8300
[PATCH] Remove unused var from asm/futex.h
2005-09-21 16:16:29 -07:00
asm-i386
[PATCH] add sem_is_read/write_locked()
2005-10-29 21:40:35 -07:00
asm-ia64
[PATCH] mm: tlb_finish_mmu forget rss
2005-10-29 21:40:37 -07:00
asm-m32r
[PATCH] gfp_t: dma-mapping (simple cases)
2005-10-28 08:16:49 -07:00
asm-m68k
[PATCH] Remove unused var from asm/futex.h
2005-09-21 16:16:29 -07:00
asm-m68knommu
[PATCH] Remove unused var from asm/futex.h
2005-09-21 16:16:29 -07:00
asm-mips
BCM1480 HT support
2005-10-29 19:32:49 +01:00
asm-parisc
Auto-update from upstream
2005-10-28 12:18:07 -04:00
asm-powerpc
[PATCH] ppc32: Fix timekeeping
2005-10-12 08:24:47 -07:00
asm-ppc
[PATCH] add sem_is_read/write_locked()
2005-10-29 21:40:35 -07:00
asm-ppc64
[PATCH] mm: page fault handlers tidyup
2005-10-29 21:40:37 -07:00
asm-s390
[PATCH] add sem_is_read/write_locked()
2005-10-29 21:40:35 -07:00
asm-sh
[PATCH] add sem_is_read/write_locked()
2005-10-29 21:40:35 -07:00
asm-sh64
[PATCH] gfp_t: dma-mapping (simple cases)
2005-10-28 08:16:49 -07:00
asm-sparc
[PATCH] gfp_t: dma-mapping (simple cases)
2005-10-28 08:16:49 -07:00
asm-sparc64
[PATCH] mm: tlb_finish_mmu forget rss
2005-10-29 21:40:37 -07:00
asm-um
[PATCH] gfp_t: remaining bits of arch/*
2005-10-28 08:16:51 -07:00
asm-v850
[PATCH] Remove unused var from asm/futex.h
2005-09-21 16:16:29 -07:00
asm-x86_64
[PATCH] add sem_is_read/write_locked()
2005-10-29 21:40:35 -07:00
asm-xtensa
[PATCH] gfp_t: dma-mapping (xtensa)
2005-10-28 08:16:49 -07:00
linux
[PATCH] mm: rss = file_rss + anon_rss
2005-10-29 21:40:38 -07:00
math-emu
media
[PATCH] i2c: ID redefinition cleanups
2005-10-28 14:02:13 -07:00
mtd
net
Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
2005-10-29 11:25:16 -07:00
pcmcia
[PATCH] yenta: auto-tune EnE bridges for CardBus cards
2005-09-26 13:09:20 +02:00
rdma
[IB] Fix MAD layer DMA mappings to avoid touching data buffer once mapped
2005-10-25 10:51:39 -07:00
rxrpc
[PATCH] gfp flags annotations - part 1
2005-10-08 15:00:57 -07:00
scsi
Merge branch 'master'
2005-10-28 12:31:34 -04:00
sound
[PATCH] gfp_t: sound
2005-10-28 08:16:50 -07:00
video
[PATCH] drivers/video: Replace custom macro with isdigit()
2005-09-13 08:22:33 -07:00