[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070713054245.b1319207.pj@sgi.com>
Date: Fri, 13 Jul 2007 05:42:45 -0700
From: Paul Jackson <pj@....com>
To: Joe Jin <joe.jin@...cle.com>
Cc: akpm@...ux-foundation.org, joe.jin@...cle.com,
bill.irwin@...cle.com, linux-kernel@...r.kernel.org,
gurudas.pai@...cle.com
Subject: Re: [PATCH] Add nid sanity on alloc_pages_node
Joe wrote:
> --- linux-2.6.22/mm/hugetlb.c.orig 2007-07-12 15:02:19.000000000 +0800
> +++ linux-2.6.22/mm/hugetlb.c 2007-07-13 17:33:45.000000000 +0800
> @@ -101,13 +101,20 @@ static void free_huge_page(struct page *
>
> static int alloc_fresh_huge_page(void)
> {
> ...
Patch looks ok to me, except for ...
> Ha.., the patch against 2.6.22, at your patch have use htlb_alloc_mask, but I
> cannot found it at 2.6.22 kernel tree, I think you must use difference kernel
> tree :)
Yes, as a matter of fact, he does have a different kernel tree, found at:
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/
This is the infamous *-mm tree, which is currently at the following
version 2.6.22-rc6-mm1, and also available as a quilt patch set,
beneath:
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc6/2.6.22-rc6-mm1/
My guess is Andrew will prefer a patch against this *-mm kernel, though
sometimes he is a good chap and fixes up minor differences, such as
this involving htlb_alloc_mask replacing GFP_HIGHUSER. If you had the
chance to verify your testing of this change against this
2.6.22-rc6-mm1, that would be worth doing. Probably the change to
htlb_alloc_mask from GFP_HIGHUSER won't be any problem, but I suppose
that there's a small chance that some other patch in *-mm will interact
poorly with your proposed change.
Thanks for getting on this so quickly.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@....com> 1.925.600.0401
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists