[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51769BD1.7070002@intel.com>
Date: Tue, 23 Apr 2013 07:33:53 -0700
From: Dave Hansen <dave.hansen@...el.com>
To: Minchan Kim <minchan@...nel.org>
CC: Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org,
Michael Kerrisk <mtk.manpages@...il.com>,
Rik van Riel <riel@...hat.com>,
Rob Landley <rob@...dley.net>,
Namhyung Kim <namhyung@...nel.org>
Subject: Re: [PATCH 6/6] add documentation on proc.txt
On 04/22/2013 06:53 PM, Minchan Kim wrote:
> echo 'file' > /proc/PID/reclaim
> echo 'anon' > /proc/PID/reclaim
> echo 'both' > /proc/PID/reclaim
>
> For range reclaim,
>
> echo $((1<<20)) 8192 > /proc/PID/reclaim.
>
> IOW, we don't need any type for range reclaim because only thing
> user takes care is address range which has mapped page regardless
> of that it's anon or file.
>
> Does it make sense to you?
That looks very nice! Although, I'd probably use 'all' instead of
'both'. It leaves you more wiggle room to add more types in the future,
like volatile pages.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists