summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_acpi.c
diff options
context:
space:
mode:
authorHugh Dickins <hugh@veritas.com>2008-02-05 06:29:23 (GMT)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-05 17:44:18 (GMT)
commit5a9bbdcd29adbb786c53eba1dfc3c2d256020d6b (patch)
tree44fbcff2ad653d7a328bab3144d63da9aaea6f7a /drivers/ata/pata_acpi.c
parent9eccf2a816ed0aad82b577de6a40cd098ad41944 (diff)
downloadlinux-fsl-qoriq-5a9bbdcd29adbb786c53eba1dfc3c2d256020d6b.tar.xz
mm: don't waste swap on locked pages
try_to_unmap always fails on a page found in a VM_LOCKED vma (unless migrating), and recycles it back to the active list. But if it's an anonymous page, we've already allocated swap to it: just wasting swap. Spot locked pages in page_referenced_one and treat them as referenced. Signed-off-by: Hugh Dickins <hugh@veritas.com> Tested-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Ethan Solomita <solo@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/ata/pata_acpi.c')
0 files changed, 0 insertions, 0 deletions