OpenCloudOS-Kernel/arch/sh/mm
David Gibson 63551ae0fe [PATCH] Hugepage consolidation
A lot of the code in arch/*/mm/hugetlbpage.c is quite similar.  This patch
attempts to consolidate a lot of the code across the arch's, putting the
combined version in mm/hugetlb.c.  There are a couple of uglyish hacks in
order to covert all the hugepage archs, but the result is a very large
reduction in the total amount of code.  It also means things like hugepage
lazy allocation could be implemented in one place, instead of six.

Tested, at least a little, on ppc64, i386 and x86_64.

Notes:
	- this patch changes the meaning of set_huge_pte() to be more
	  analagous to set_pte()
	- does SH4 need s special huge_ptep_get_and_clear()??

Acked-by: William Lee Irwin <wli@holomorphy.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-21 18:46:15 -07:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cache-sh2.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cache-sh3.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cache-sh4.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cache-sh7705.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
clear_page.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
consistent.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
copy_page.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
extable.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fault-nommu.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fault.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hugetlbpage.c [PATCH] Hugepage consolidation 2005-06-21 18:46:15 -07:00
init.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ioremap.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pg-dma.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pg-nommu.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pg-sh4.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pg-sh7705.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tlb-nommu.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tlb-sh3.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tlb-sh4.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00