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

2019-05-19 Thread Yury Norov
On Tue, May 14, 2019 at 04:17:46PM +1000, Michael Ellerman wrote: > Yury Norov writes: > > On Fri, May 10, 2019 at 01:32:22PM +1000, Michael Ellerman wrote: > >> Yury Norov writes: > >> > On Tue, May 07, 2019 at 08:54:31AM -0400, Rafael Aquini wrote: > >> >> On Mon, May 06, 2019 at 11:53:43AM -04

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

2019-05-13 Thread Michael Ellerman
Yury Norov writes: > On Fri, May 10, 2019 at 01:32:22PM +1000, Michael Ellerman wrote: >> Yury Norov writes: >> > On Tue, May 07, 2019 at 08:54:31AM -0400, Rafael Aquini wrote: >> >> On Mon, May 06, 2019 at 11:53:43AM -0400, Joel Savitz wrote: >> >> > There is currently no easy and architecture-i

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

2019-05-10 Thread Yury Norov
On Fri, May 10, 2019 at 01:32:22PM +1000, Michael Ellerman wrote: > Yury Norov writes: > > On Tue, May 07, 2019 at 08:54:31AM -0400, Rafael Aquini wrote: > >> On Mon, May 06, 2019 at 11:53:43AM -0400, Joel Savitz wrote: > >> > There is currently no easy and architecture-independent way to find the

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

2019-05-09 Thread Michael Ellerman
Yury Norov writes: > On Tue, May 07, 2019 at 08:54:31AM -0400, Rafael Aquini wrote: >> On Mon, May 06, 2019 at 11:53:43AM -0400, Joel Savitz wrote: >> > There is currently no easy and architecture-independent way to find the >> > lowest unusable virtual address available to a process without >> >

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

2019-05-08 Thread Rafael Aquini
On Tue, May 07, 2019 at 11:37:16PM -0700, Yury Norov wrote: > On Tue, May 07, 2019 at 08:54:31AM -0400, Rafael Aquini wrote: > > On Mon, May 06, 2019 at 11:53:43AM -0400, Joel Savitz wrote: > > > There is currently no easy and architecture-independent way to find the > > > lowest unusable virtual a

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

2019-05-07 Thread Yury Norov
On Tue, May 07, 2019 at 08:54:31AM -0400, Rafael Aquini wrote: > On Mon, May 06, 2019 at 11:53:43AM -0400, Joel Savitz wrote: > > There is currently no easy and architecture-independent way to find the > > lowest unusable virtual address available to a process without > > brute-force calculation. T

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

2019-05-07 Thread Rafael Aquini
On Mon, May 06, 2019 at 11:53:43AM -0400, Joel Savitz wrote: > There is currently no easy and architecture-independent way to find the > lowest unusable virtual address available to a process without > brute-force calculation. This patch allows a user to easily retrieve > this value via /proc//stat

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

2019-05-06 Thread Joel Savitz
There is currently no easy and architecture-independent way to find the lowest unusable virtual address available to a process without brute-force calculation. This patch allows a user to easily retrieve this value via /proc//status. Using this patch, any program that previously needed to waste cp