Prev: [patch 17/23] sched: Convert pi_lock to raw_spinlock
Next: [PATCH 1/2] drivers/net/au1000_eth.c: Remove misuse of DECLARE_MAC_BUF
From: Rik van Riel on 6 Dec 2009 14:50 On 12/04/2009 03:42 AM, KOSAKI Motohiro wrote: > From 24f910b1ac966c21ea5aab825d1f26815b760304 Mon Sep 17 00:00:00 2001 > From: KOSAKI Motohiro<kosaki.motohiro(a)jp.fujitsu.com> > Date: Thu, 3 Dec 2009 16:06:47 +0900 > Subject: [PATCH 3/7] VM_LOCKED check don't need pte lock > > Currently, page_referenced_one() check VM_LOCKED after taking ptelock. > But it's unnecessary. We can check VM_LOCKED before to take lock. > > This patch does it. Nice optimization. > Signed-off-by: KOSAKI Motohiro<kosaki.motohiro(a)jp.fujitsu.com> Reviewed-by: Rik van Riel <riel(a)redhat.com> -- All rights reversed. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |