lkml.org 
[lkml]   [2007]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/5] make slab gfp fair
On Mon, 14 May 2007, Matt Mackall wrote:

> privileged thread unprivileged greedy process
> kmem_cache_alloc(...)
> adds new slab page from lowmem pool

Yes but it returns an object for the privileged thread. Is that not
enough?


> do_io()
> kmem_cache_alloc(...)
> kmem_cache_alloc(...)
> kmem_cache_alloc(...)
> kmem_cache_alloc(...)
> kmem_cache_alloc(...)
> ...
> eats it all
> kmem_cache_alloc(...) -> ENOMEM
> who ate my donuts?!
>
> But I think this solution is somehow overkill. If we only care about
> this issue in the OOM avoidance case, then our rank reduces to a
> boolean.
>
> --
> Mathematics is the supreme nostalgia of our time.
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-05-14 18:31    [W:0.263 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site