]> 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)
commitd6a5c69174d94cba730a005f84c40cedbb2c288a
tree2294769fc18dd294e23aa2b1dc4d842d620c87d5
parent0092cd569bb7b1afd65acde44abace1c8acac1d7
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