]> git.neil.brown.name Git - history.git/commit
[PATCH] shmem accounting fixes
authorHugh Dickins <hugh@veritas.com>
Thu, 3 Oct 2002 06:01:29 +0000 (23:01 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Thu, 3 Oct 2002 06:01:29 +0000 (23:01 -0700)
commit62fe4120077ef9700f6740a28043f87149f40f4b
tree294075eb9e00122d25a0d03de30c92e95d56504f
parent2729b9afe1ce6308481e677ab06b0b6bfccff082
[PATCH] shmem accounting fixes

If we're going to rely on struct page *s rather than virtual addresses
for the metadata pages, let's count nr_swapped in the private field:
these pages are only for storing swp_entry_ts, and need not be examined
at all when nr_swapped is zero.
mm/shmem.c