]> git.baikalelectronics.ru Git - kernel.git/commit
mm/madvise.c: add description for MADV_WIPEONFORK and MADV_KEEPONFORK
authorYang Shi <yang.s@alibaba-inc.com>
Fri, 13 Oct 2017 22:57:37 +0000 (15:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 13 Oct 2017 23:18:32 +0000 (16:18 -0700)
commitc02c30093254189a6ef55fed415a4ffb55a74cdf
tree2294769fc18dd294e23aa2b1dc4d842d620c87d5
parentcc3fa84045694c2fd7ccf6ce84dee5cba372a7d3
mm/madvise.c: add description for MADV_WIPEONFORK and MADV_KEEPONFORK

mm/madvise.c has a brief description about all MADV_ flags.  Add a
description for the newly added MADV_WIPEONFORK and MADV_KEEPONFORK.

Although man page has the similar information, but it'd better to keep
the consistent with other flags.

Link: http://lkml.kernel.org/r/1506117328-88228-1-git-send-email-yang.s@alibaba-inc.com
Signed-off-by: Yang Shi <yang.s@alibaba-inc.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/madvise.c