Re: [-mm PATCH] Memory controller improve user interface (v3)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Balbir Singh <balbir@...>
Cc: Andrew Morton <akpm@...>, Linux Kernel Mailing List <linux-kernel@...>, Linux Containers <containers@...>, Paul Menage <menage@...>, Linux MM Mailing List <linux-mm@...>, David Rientjes <rientjes@...>
Date: Tuesday, September 4, 2007 - 3:03 pm

On Sun, 2007-09-02 at 16:20 +0530, Balbir Singh wrote:

I wonder if we can say this in a bit more generic fashion.

        A successful write to this file does not guarantee a successful
        set of this limit to the value written into the file.  This can
        be due to a number of factors, such as rounding up to page
        boundaries or the total availability of memory on the system.
        The user is required to re-read this file after a write to
        guarantee the value committed by the kernel.

This keeps a user from saying "I page aligned the value I stuck in
there, no I don't have to check it."

-- Dave

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [-mm PATCH] Memory controller improve user interface (v3), Dave Hansen, (Tue Sep 4, 3:03 pm)