]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] pte_chain comment fix
authorAndrew Morton <akpm@osdl.org>
Thu, 18 Mar 2004 23:03:20 +0000 (15:03 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 18 Mar 2004 23:03:20 +0000 (15:03 -0800)
From: Carl Spalletta <ioanamitu@yahoo.com>

Fix a comment bug.

mm/rmap.c

index b03bc235a38ec22d05d2ce852a5603cca8e446cf..7af41a9b9a4ed7129c71e29c762f72362b493274 100644 (file)
--- a/mm/rmap.c
+++ b/mm/rmap.c
@@ -50,7 +50,8 @@
 
 /*
  * next_and_idx encodes both the address of the next pte_chain and the
- * offset of the highest-index used pte in ptes[].
+ * offset of the lowest-index used pte in ptes[] (which is equal also
+ * to the offset of the highest-index unused pte in ptes[], plus one).
  */
 struct pte_chain {
        unsigned long next_and_idx;