lkml.org 
[lkml]   [2007]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 04/10] mm: slub: add knowledge of reserve pages
On Wed, 8 Aug 2007, Andrew Morton wrote:

> 3. Perform page reclaim from hard IRQ context. Pretty simple to
> implement, most of the work would be needed in the rmap code. It might be
> better to make it opt-in via a new __GFP_flag.

In a hardirq context one is bound to a processor and through the slab
allocator to a slab from which one allocates objects. The slab is per cpu
and so the slab is reserved for the current context. Nothing can take
objects away from it. The modifications here would not be needed for that
context.

I think in general irq context reclaim is doable. Cannot see obvious
issues on a first superficial pass through rmap.c. The irq holdoff would
be pretty long though which may make it unacceptable.

-
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-08-08 19:59    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site