From: Xiao Guangrong Date: Tue, 15 Mar 2011 01:57:37 +0000 (+0800) Subject: x86, tlb, UV: Do small micro-optimization for native_flush_tlb_others() X-Git-Tag: v2.6.39-rc1~499^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25542c646afbf14c43fa7d2b443055cadb73b07a;p=pandora-kernel.git x86, tlb, UV: Do small micro-optimization for native_flush_tlb_others() native_flush_tlb_others() is called from: flush_tlb_current_task() flush_tlb_mm() flush_tlb_page() All these functions disable preemption explicitly, so we can use smp_processor_id() instead of get_cpu() and put_cpu(). Signed-off-by: Xiao Guangrong Cc: Cliff Wickman LKML-Reference: <4D7EC791.4040003@cn.fujitsu.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed