Re: More bug fix in mm/hugetlb.c - fix try_to_free_low()

From: William Lee Irwin III
Date: Wed Jun 23 2004 - 14:43:57 EST


On Wed, Jun 23, 2004 at 12:33:00PM -0700, Chen, Kenneth W wrote:
> The argument "count" passed to try_to_free_low() is the config parameter
> for desired hugetlb page pool size. But the implementation took that
> input argument as number of pages to free. It also decrement the config
> parameter as well. All give random behavior depend on how many hugetlb
> pages are in normal/highmem zone.
> A two line fix in try_to_free_low() would be:

Thanks for cleaning this up; there hasn't been much apparent interest
here lately so I've not gotten much in the way of bugreports to work.

I suspect a general hardening effort should go on here. I'll go about
cleaning up other arches, too.


-- wli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/