]> git.baikalelectronics.ru Git - kernel.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)
commitc651e21b97ff087c49bfe74e4a1d476eb26f7213
treee0b8c713b7f246ac93953904f2dd8e488f9c276e
parent24fbeb40c80502b7729ed31fe10dfbd0012136b3
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