Re: [PATCH] mm: add account_locked_vm utility function

2019-05-23 Thread Alexey Kardashevskiy
On 21/05/2019 01:30, Daniel Jordan wrote: > On Mon, May 20, 2019 at 04:19:34PM +1000, Alexey Kardashevskiy wrote: >> On 04/05/2019 06:16, Daniel Jordan wrote: >>> locked_vm accounting is done roughly the same way in five places, so >>> unify them in a helper. Standardize the debug prints, which

Re: [PATCH] mm: add account_locked_vm utility function

2019-05-20 Thread Daniel Jordan
On Mon, May 20, 2019 at 04:19:34PM +1000, Alexey Kardashevskiy wrote: > On 04/05/2019 06:16, Daniel Jordan wrote: > > locked_vm accounting is done roughly the same way in five places, so > > unify them in a helper. Standardize the debug prints, which vary > > slightly. > > And I rather liked that

Re: [PATCH] mm: add account_locked_vm utility function

2019-05-19 Thread Alexey Kardashevskiy
On 04/05/2019 06:16, Daniel Jordan wrote: > locked_vm accounting is done roughly the same way in five places, so > unify them in a helper. Standardize the debug prints, which vary > slightly. And I rather liked that prints were different and tell precisely which one of three each printk is. I