Home
last modified time | relevance | path

Searched hist:d563c0501bf8702b9b683206c09b9defb37d8a8a (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/mm/
H A Dvmscan.cdiff d563c0501bf8702b9b683206c09b9defb37d8a8a Wed Mar 21 18:34:02 CDT 2012 Hillf Danton <dhillf@gmail.com> vmscan: handle isolated pages with lru lock released

When shrinking inactive lru list, isolated pages are queued on locally
private list, so the lock-hold time could be reduced if pages are counted
without lock protection.

To achieve that, firstly updating reclaim stat is delayed until the
putback stage, after reacquiring the lru lock.

Secondly, operations related to vm and zone stats are now proteced with
preemption disabled as they are per-cpu operations.

Signed-off-by: Hillf Danton <dhillf@gmail.com>
Acked-by: Hugh Dickins <hughd@google.com>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>