Skip to contentSkip to conversation

mm/page-flags: Fix comment

PATCH Applied Matthew Wilcox (Oracle) 2 participants 2 messages Oct 27, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mm/page-flags: Fix comment

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

---
 include/linux/page-flags.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
include/linux/page-flags.h +1 -2
index 0d3402517e43..1a41ff36907b 100644
@@ -86,8 +86,7 @@
  */
 
 /*
- * Don't use the *_dontuse flags.  Use the macros.  Otherwise you'll break
- * locked- and dirty-page accounting.
+ * Don't use the pageflags directly.  Use the PageFoo macros.
  *
  * 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
Signature · 1 line
2.28.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 28 lines · Matthew Wilcox (Oracle)

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

---
include/linux/page-flags.h | 3 +--

1 file changed, 1 insertion(+), 2 deletions(-)
include/linux/page-flags.h +1 -2
index 0d3402517e43..1a41ff36907b 100644
@@ -86,8 +86,7 @@
 */
 
 /*
- * Don't use the *_dontuse flags.  Use the macros.  Otherwise you'll break
- * locked- and dirty-page accounting.
+ * Don't use the pageflags directly.  Use the PageFoo macros.
 *
 * 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
Signature · 1 line
2.28.0