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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <balbir@...>
Cc: Andrew Morton <akpm@...>, Linux Kernel Mailing List <linux-kernel@...>, Linux MM Mailing List <linux-mm@...>, David Rientjes <rientjes@...>, Linux Containers <containers@...>, Paul Menage <menage@...>
Date: Wednesday, August 29, 2007 - 6:36 pm

On Thu, 2007-08-30 at 03:57 +0530, Balbir Singh wrote:

Well, rounding to PAGE_SIZE exposes PAGE_SIZE as well, just in a
non-intuitive fashion. :)

If we're going to modify what the user specifies, we should probably at
least mandate that writes are only a "suggestion" and users must read
back the value to ensure what actually got committed.

If we're going to round in any direction, shouldn't we round up?  If a
user specifies 4097 bytes and uses two pages, we don't want to complain
when they hit that second page.  

-- Dave

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

Messages in current thread:
[-mm PATCH] Memory controller improve user interface, Balbir Singh, (Wed Aug 29, 7:10 am)
Re: [-mm PATCH] Memory controller improve user interface, Dave Hansen, (Wed Aug 29, 6:36 pm)
Re: [-mm PATCH] Memory controller improve user interface, KAMEZAWA Hiroyuki, (Thu Aug 30, 1:38 am)
Re: [-mm PATCH] Memory controller improve user interface, Balbir Singh, (Wed Aug 29, 12:07 pm)