Re: [PATCH v4] fs/proc: add VmTaskSize field to /proc/$$/status

2019-06-15 Thread Joel Savitz
The most immediate use case is the optimization of an internal test, but upon closer examination neither this patch nor the test itself turn out to be worth pursuing. Thank you for your time and constructive comments. Best, Joel Savitz On Thu, Jun 13, 2019 at 3:30 PM Andrew Morton wrote: > > O

Re: [PATCH v4] fs/proc: add VmTaskSize field to /proc/$$/status

2019-06-13 Thread Andrew Morton
On Thu, 13 Jun 2019 10:54:50 -0400 Joel Savitz wrote: > The kernel provides no architecture-independent mechanism to get the > size of the virtual address space of a task (userspace process) without > brute-force calculation. This patch allows a user to easily retrieve > this value via a new VmTa