Re: HUGETLB commit handling.

Andrew Morton
2004-04-08T22:47:42Z

Andy Whitcroft <apw@shadowen.org> wrote:
>
> We have been looking at the HUGETLB page commit issue (offlist) and are
> close a final merged patch.

Be aware that I've merged a patch from Bill which does all the hugetlb code
unduplication. A thousand lines gone:

25-akpm/arch/i386/mm/hugetlbpage.c | 264 ----------------------------------
25-akpm/arch/ia64/mm/hugetlbpage.c | 251 --------------------------------
25-akpm/arch/ppc64/mm/hugetlbpage.c | 257 ---------------------------------
25-akpm/arch/sh/mm/hugetlbpage.c | 258 ---------------------------------
25-akpm/arch/sparc64/mm/hugetlbpage.c | 259 ---------------------------------
25-akpm/fs/hugetlbfs/inode.c | 2
25-akpm/include/linux/hugetlb.h | 7
25-akpm/kernel/sysctl.c | 6
25-akpm/mm/Makefile | 1
25-akpm/mm/hugetlb.c | 245 +++++++++++++++++++++++++++++++
10 files changed, 263 insertions(+), 1287 deletions(-)

Of course, this buggers up everyone else's patches, but I do think this
work has to come first.

I still need to test this on ppc64 and ia64. I've dropped a rollup against
2.6.5 at http://www.zip.com.au/~akpm/linux/patches/stuff/mc3.bz2 which you
should work against until I get -mc3 out for real.