Swap delay accounting, include lock_page() delays
authorBalbir Singh <balbir@linux.vnet.ibm.com>
Thu, 15 Nov 2007 01:00:33 +0000 (17:00 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 15 Nov 2007 02:45:44 +0000 (18:45 -0800)
commit20a1022d4ac5c53f0956006fd9e30cf4846d5e58
tree460b50d2e58b23c55d5984e1a530ee76a312dda9
parent9c8d6381dc107dbc2bfdbfdcaefe0d42e5b5b362
Swap delay accounting, include lock_page() delays

The delay incurred in lock_page() should also be accounted in swap delay
accounting

Reported-by: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory.c