Re: [PATCH] madvise.2: MADV_WIPEONFORK affects semantics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Adam!

* Adam Langley <agl@xxxxxxxxxx>, 2020-04-28, 17:40:
These
.I advice
values do not influence the semantics of the application
(except in the case of
-.BR MADV_DONTNEED ),
+.BR MADV_DONTNEED
+and
+.BR MADV_WIPEONFORK ),
but may influence its performance.

This sentence is in the "Conventional advice value" subsection, which defines only MADV_NORMAL, MADV_RANDOM, MADV_SEQUENTIAL, MADV_WILLNEED, and MADV_DONTNEED.

MADV_WIPEONFORK is defined in the "Linux-specific advice values" subsection, which already notes that "some of these operations change the semantics of memory accesses". (Perhaps s/some/most/ would be better wording.)

--
Jakub Wilk



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux