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

2007-08-31 Thread Balbir Singh
On 9/1/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > On Fri, 31 Aug 2007 00:22:46 +0530 > Balbir Singh <[EMAIL PROTECTED]> wrote: > > > +/* > > + * Strategy routines for formating read/write data > > + */ > > +int mem_container_read_strategy(unsigned long long val, char *buf) > > +{ > > + retu

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

2007-08-31 Thread Andrew Morton
On Fri, 31 Aug 2007 00:22:46 +0530 Balbir Singh <[EMAIL PROTECTED]> wrote: > +/* > + * Strategy routines for formating read/write data > + */ > +int mem_container_read_strategy(unsigned long long val, char *buf) > +{ > + return sprintf(buf, "%llu Bytes\n", val); > +} It's a bit cheesy to be p

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

2007-08-30 Thread Balbir Singh
Balbir Singh wrote: > Change the interface to use kilobytes instead of pages. Page sizes can vary > across platforms and configurations. A new strategy routine has been added > to the resource counters infrastructure to format the data as desired. > Typo, the description should be Changelog for