Re: RFC: [PATCH] disabling buckets under "low memory"

2012-05-23 Thread Alan Cox
On Wed, May 23, 2012 at 1:05 PM, Maksim Yevmenkin < maksim.yevmen...@gmail.com> wrote: > hello, > > would anyone object to the following patch? > > No objection. There shouldn't be any controversy here. Your patch is correct. The existing code in UMA is doing the wrong comparison. Alan > ===

RFC: [PATCH] disabling buckets under "low memory"

2012-05-23 Thread Maksim Yevmenkin
hello, would anyone object to the following patch? === Index: uma_core.c === --- uma_core.c (revision 616) +++ uma_core.c (working copy) @@ -267,10 +267,7 @@ static void bucket_enable(void) { - if (cnt.v_free_count < cnt.