]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mm: page_remove_rmap comments on PageAnon
authorHugh Dickins <hugh@veritas.com>
Wed, 20 Aug 2008 21:09:04 +0000 (14:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 20 Aug 2008 22:40:30 +0000 (15:40 -0700)
commit16f8c5b2e64dec7faa5d3c7e9bdf0765e864e481
treee0b8c713b7f246ac93953904f2dd8e488f9c276e
parentd0fd93781c49cbe127f9e7a5b402e9b167c105a6
mm: page_remove_rmap comments on PageAnon

Add a comment to s390's page_test_dirty/page_clear_dirty/page_set_dirty
dance in page_remove_rmap(): I was wrong to think the PageSwapCache test
could be avoided, and would like a comment in there to remind me.  And
mention s390, to help us remember that this block is not really common.

Also move down the "It would be tidy to reset PageAnon" comment: it does
not belong to s390's block, and it would be unwise to reset PageAnon
before we're done with testing it.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/rmap.c