Re: [PATCH] mm: disallow direct reclaim page writeback

From: Johannes Weiner
Date: Fri Apr 16 2010 - 19:56:57 EST


On Thu, Apr 15, 2010 at 11:43:48AM +0900, KOSAKI Motohiro wrote:
> > I already have some patches to remove trivial parts of struct scan_control,
> > namely may_unmap, may_swap, all_unreclaimable and isolate_pages. The rest
> > needs a deeper look.
>
> Seems interesting. but scan_control diet is not so effective. How much
> bytes can we diet by it?

Not much, it cuts 16 bytes on x86 32 bit. The bigger gain is the code
clarification it comes with. There is too much state to keep track of
in reclaim.
--
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/