Re: [patch 1/3] mm: An enhancement of OVERCOMMIT_GUESS

From: KAMEZAWA Hiroyuki
Date: Thu Apr 06 2006 - 04:08:15 EST


On Thu, 06 Apr 2006 03:20:10 -0400
Hideo AOKI <haoki@xxxxxxxxxx> wrote:

> Hi Kamezawa-san,
>
> Thank you for your comments.
>
> KAMEZAWA Hiroyuki wrote:
> > Hi, AOKI-san
> I like your idea. But, in the function, I think we need to care
> lowmem_reserve too.
>
Ah, I see.

> Since __vm_enough_memory() doesn't know zone and cpuset information,
> we have to guess proper value of lowmem_reserve in each zone
> like I did in calculate_totalreserve_pages() in my patch.
> Do you think that we can do this calculation every time?
>
> If it is good enough, I'll make revised patch.
>
I just thought to show "how to calculate" in unified way is better.
But if things goes ugly, please ignore my comment.

Do you have a detailed comparison of test result with and without this patch ?
I'm interested in.
I'm sorry if I missed your post of result.


Cheers!
-Kame
-
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/