android_kernel_xiaomi_sm8350/arch/sh/mm
Chen, Kenneth W 39dde65c99 [PATCH] shared page table for hugetlb page
Following up with the work on shared page table done by Dave McCracken.  This
set of patch target shared page table for hugetlb memory only.

The shared page table is particular useful in the situation of large number of
independent processes sharing large shared memory segments.  In the normal
page case, the amount of memory saved from process' page table is quite
significant.  For hugetlb, the saving on page table memory is not the primary
objective (as hugetlb itself already cuts down page table overhead
significantly), instead, the purpose of using shared page table on hugetlb is
to allow faster TLB refill and smaller cache pollution upon TLB miss.

With PT sharing, pte entries are shared among hundreds of processes, the cache
consumption used by all the page table is smaller and in return, application
gets much higher cache hit ratio.  One other effect is that cache hit ratio
with hardware page walker hitting on pte in cache will be higher and this
helps to reduce tlb miss latency.  These two effects contribute to higher
application performance.

Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>
Acked-by: Hugh Dickins <hugh@veritas.com>
Cc: Dave McCracken <dmccr@us.ibm.com>
Cc: William Lee Irwin III <wli@holomorphy.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: David Gibson <david@gibson.dropbear.id.au>
Cc: Adam Litke <agl@us.ibm.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-07 08:39:21 -08:00
..
cache-debugfs.c sh: build fixes for defconfigs. 2006-10-03 13:14:04 +09:00
cache-sh2.c sh: Add support for SH7206 and SH7619 CPU subtypes. 2006-12-06 10:45:36 +09:00
cache-sh3.c
cache-sh4.c sh: Fixup various PAGE_SIZE == 4096 assumptions. 2006-12-06 10:45:39 +09:00
cache-sh7705.c sh: More cosmetic cleanups and trivial fixes. 2006-09-27 17:03:56 +09:00
clear_page.S sh: Fixup various PAGE_SIZE == 4096 assumptions. 2006-12-06 10:45:39 +09:00
consistent.c sh: Zero-out coherent buffer in consistent_alloc(). 2006-10-10 18:33:10 +09:00
copy_page.S sh: Fixup various PAGE_SIZE == 4096 assumptions. 2006-12-06 10:45:39 +09:00
extable.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
fault-nommu.c
fault.c sh: stacktrace/lockdep/irqflags tracing support. 2006-12-06 10:45:40 +09:00
hugetlbpage.c [PATCH] shared page table for hugetlb page 2006-12-07 08:39:21 -08:00
init.c sh: Fixup various PAGE_SIZE == 4096 assumptions. 2006-12-06 10:45:39 +09:00
ioremap.c sh: Preliminary support for SH-X2 MMU. 2006-12-06 10:45:37 +09:00
Kconfig sh: sh775x/titan fixes for irq header changes. 2006-12-06 12:05:02 +09:00
Makefile sh: Add support for cacheline poking through debugfs. 2006-09-27 17:51:01 +09:00
pg-dma.c sh: Fixup various PAGE_SIZE == 4096 assumptions. 2006-12-06 10:45:39 +09:00
pg-nommu.c sh: Various nommu fixes. 2006-09-27 17:21:02 +09:00
pg-sh4.c sh: p3map_sem sem2mutex conversion. 2006-12-06 10:45:37 +09:00
pg-sh7705.c
pmb.c sh: More cosmetic cleanups and trivial fixes. 2006-09-27 17:03:56 +09:00
tlb-flush.c sh: Initial vsyscall page support. 2006-09-27 18:33:49 +09:00
tlb-nommu.c
tlb-sh3.c
tlb-sh4.c sh: Add flag for MMU PTEA capability. 2006-09-27 14:55:41 +09:00