Messages in this thread | | | From | Mina Almasry <> | Date | Wed, 30 Nov 2022 11:45:05 -0800 | Subject | Re: [RFC PATCH v2] mm: Add nodes= arg to memory.reclaim |
| |
On Wed, Nov 30, 2022 at 12:44 AM Bagas Sanjaya <bagasdotme@gmail.com> wrote: > > On 11/30/22 09:03, Mina Almasry wrote: > > - This file accepts a single key, the number of bytes to reclaim. > > - No nested keys are currently supported. > > + This file accepts a string which contains the number of bytes to > > + reclaim. > > > Amount of memory to reclaim? >
I want to have the word 'byte' in there somewhere to make that clear. I guess maybe 'the amount of memory to reclaim in bytes'. Although as written it seems more concise.
> > + This file also allows the user to specify the nodes to reclaim from, > > + via the 'nodes=' key, example:: > > + > > "..., for example" >
Will do in the next version. Thanks for taking a look, Bagas.
> > + echo "1G nodes=0,1" > memory.reclaim > > + > > + The above instructs the kernel to reclaim memory from nodes 0,1. > > + > > Thanks. > > -- > An old man doll... just what I always wanted! - Clara >
| |