Re: [patch v2] madvise.2: Add MADV_WIPEONFORK documentation

2017-10-09 Thread Michael Kerrisk (man-pages)
Hi Rik, Thanks for the blazingly fast response :-) On 9 October 2017 at 21:08, Rik van Riel wrote: > On Mon, 2017-10-09 at 21:06 +0200, Michael Kerrisk (man-pages) wrote: >> Hi Rik, >> >> I have a follow-up question re wipe-on-fork. What are the semantics >> for this setting

Re: [patch v2] madvise.2: Add MADV_WIPEONFORK documentation

2017-10-09 Thread Michael Kerrisk (man-pages)
Hi Rik, Thanks for the blazingly fast response :-) On 9 October 2017 at 21:08, Rik van Riel wrote: > On Mon, 2017-10-09 at 21:06 +0200, Michael Kerrisk (man-pages) wrote: >> Hi Rik, >> >> I have a follow-up question re wipe-on-fork. What are the semantics >> for this setting with respect to

Re: [patch v2] madvise.2: Add MADV_WIPEONFORK documentation

2017-10-09 Thread Rik van Riel
On Mon, 2017-10-09 at 21:06 +0200, Michael Kerrisk (man-pages) wrote: > Hi Rik, > > I have a follow-up question re wipe-on-fork. What are the semantics > for this setting with respect to fork() and exec()? That is, in the > child of a fork(), does the flag remain set for the specified address >

Re: [patch v2] madvise.2: Add MADV_WIPEONFORK documentation

2017-10-09 Thread Rik van Riel
On Mon, 2017-10-09 at 21:06 +0200, Michael Kerrisk (man-pages) wrote: > Hi Rik, > > I have a follow-up question re wipe-on-fork. What are the semantics > for this setting with respect to fork() and exec()? That is, in the > child of a fork(), does the flag remain set for the specified address >

Re: [patch v2] madvise.2: Add MADV_WIPEONFORK documentation

2017-10-09 Thread Michael Kerrisk (man-pages)
Hi Rik, I have a follow-up question re wipe-on-fork. What are the semantics for this setting with respect to fork() and exec()? That is, in the child of a fork(), does the flag remain set for the specified address range? (My quick read of the source suggests yes, but I have not tested.) And, when

Re: [patch v2] madvise.2: Add MADV_WIPEONFORK documentation

2017-10-09 Thread Michael Kerrisk (man-pages)
Hi Rik, I have a follow-up question re wipe-on-fork. What are the semantics for this setting with respect to fork() and exec()? That is, in the child of a fork(), does the flag remain set for the specified address range? (My quick read of the source suggests yes, but I have not tested.) And, when

Re: [patch v2] madvise.2: Add MADV_WIPEONFORK documentation

2017-09-19 Thread Rik van Riel
On Tue, 2017-09-19 at 21:07 +0200, Michael Kerrisk (man-pages) wrote: > Thanks. I applied this, and tweaked the madvise.2 text a little, to > read as follows (please let me know if I messed anything up): > >    MADV_WIPEONFORK (since Linux 4.14) >   Present the child process with

Re: [patch v2] madvise.2: Add MADV_WIPEONFORK documentation

2017-09-19 Thread Rik van Riel
On Tue, 2017-09-19 at 21:07 +0200, Michael Kerrisk (man-pages) wrote: > Thanks. I applied this, and tweaked the madvise.2 text a little, to > read as follows (please let me know if I messed anything up): > >    MADV_WIPEONFORK (since Linux 4.14) >   Present the child process with

Re: [patch v2] madvise.2: Add MADV_WIPEONFORK documentation

2017-09-19 Thread Michael Kerrisk (man-pages)
Hello Rik, (and Colm) On 09/14/2017 09:05 PM, Rik van Riel wrote: > v2: implement the improvements suggested by Colm, and add > Colm's text to the fork.2 man page > (Colm, I have added a signed-off-by in your name - is that ok?) > > Add MADV_WIPEONFORK and MADV_KEEPONFORK documentation

Re: [patch v2] madvise.2: Add MADV_WIPEONFORK documentation

2017-09-19 Thread Michael Kerrisk (man-pages)
Hello Rik, (and Colm) On 09/14/2017 09:05 PM, Rik van Riel wrote: > v2: implement the improvements suggested by Colm, and add > Colm's text to the fork.2 man page > (Colm, I have added a signed-off-by in your name - is that ok?) > > Add MADV_WIPEONFORK and MADV_KEEPONFORK documentation

Re: [patch v2] madvise.2: Add MADV_WIPEONFORK documentation

2017-09-14 Thread Colm MacCárthaigh
On Thu, Sep 14, 2017 at 12:05 PM, Rik van Riel wrote: > v2: implement the improvements suggested by Colm, and add > Colm's text to the fork.2 man page > (Colm, I have added a signed-off-by in your name - is that ok?) Yep, that's ok! Whole thing LGTM. -- Colm

Re: [patch v2] madvise.2: Add MADV_WIPEONFORK documentation

2017-09-14 Thread Colm MacCárthaigh
On Thu, Sep 14, 2017 at 12:05 PM, Rik van Riel wrote: > v2: implement the improvements suggested by Colm, and add > Colm's text to the fork.2 man page > (Colm, I have added a signed-off-by in your name - is that ok?) Yep, that's ok! Whole thing LGTM. -- Colm

[patch v2] madvise.2: Add MADV_WIPEONFORK documentation

2017-09-14 Thread Rik van Riel
v2: implement the improvements suggested by Colm, and add Colm's text to the fork.2 man page (Colm, I have added a signed-off-by in your name - is that ok?) Add MADV_WIPEONFORK and MADV_KEEPONFORK documentation to madvise.2. The new functionality was recently merged by Linus, and should

[patch v2] madvise.2: Add MADV_WIPEONFORK documentation

2017-09-14 Thread Rik van Riel
v2: implement the improvements suggested by Colm, and add Colm's text to the fork.2 man page (Colm, I have added a signed-off-by in your name - is that ok?) Add MADV_WIPEONFORK and MADV_KEEPONFORK documentation to madvise.2. The new functionality was recently merged by Linus, and should