Commit 3b12da6d authored by Matthew Wilcox (Oracle)'s avatar Matthew Wilcox (Oracle) Committed by Linus Torvalds

mm/page-flags: fix comment

We haven't had 'dontuse' flags since 2002.  Replace this obsolete warning
with a hopefully more useful one.

Link: https://lkml.kernel.org/r/20201027025823.3704-1-willy@infradead.orgSigned-off-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: default avatarWilliam Kucharski <william.kucharski@oracle.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 2ee08717
...@@ -86,8 +86,7 @@ ...@@ -86,8 +86,7 @@
*/ */
/* /*
* Don't use the *_dontuse flags. Use the macros. Otherwise you'll break * Don't use the pageflags directly. Use the PageFoo macros.
* locked- and dirty-page accounting.
* *
* The page flags field is split into two parts, the main flags area * The page flags field is split into two parts, the main flags area
* which extends from the low bits upwards, and the fields area which * which extends from the low bits upwards, and the fields area which
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment