Re: [PATCH 6/8] pagemap: document 9 more exported page flags

From: Wu Fengguang
Date: Sat May 09 2009 - 04:19:30 EST


On Sat, May 09, 2009 at 04:13:40PM +0800, KOSAKI Motohiro wrote:
> > Also add short descriptions for all of the 20 exported page flags.
> >
> > Signed-off-by: Wu Fengguang <fengguang.wu@xxxxxxxxx>
> > ---
> > Documentation/vm/pagemap.txt | 62 +++++++++++++++++++++++++++++++++
> > 1 file changed, 62 insertions(+)
> >
> > --- linux.orig/Documentation/vm/pagemap.txt
> > +++ linux/Documentation/vm/pagemap.txt
> > @@ -49,6 +49,68 @@ There are three components to pagemap:
> > 8. WRITEBACK
> > 9. RECLAIM
> > 10. BUDDY
> > + 11. MMAP
> > + 12. ANON
> > + 13. SWAPCACHE
> > + 14. SWAPBACKED
> > + 15. COMPOUND_HEAD
> > + 16. COMPOUND_TAIL
> > + 16. HUGE
>
> nit. 16 appear twice.

Good catch!

Andrew, this fix can be folded into the last patch.
---
pagemap: fix HUGE numbering

Thanks to KOSAKI Motohiro for catching this.

cc: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>
Signed-off-by: Wu Fengguang <fengguang.wu@xxxxxxxxx>
---
Documentation/vm/pagemap.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux.orig/Documentation/vm/pagemap.txt
+++ linux/Documentation/vm/pagemap.txt
@@ -55,7 +55,7 @@ There are three components to pagemap:
14. SWAPBACKED
15. COMPOUND_HEAD
16. COMPOUND_TAIL
- 16. HUGE
+ 17. HUGE
18. UNEVICTABLE
19. HWPOISON
20. NOPAGE
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/