[lkml]   [2007]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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

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
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-08-08 19:59    [W:0.072 / U:1.948 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site