]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: Skip flushing TLBs if there are no mm_users
authorSanath Kumar <sanath.s.kumar@oracle.com>
Wed, 11 Jan 2017 15:35:46 +0000 (09:35 -0600)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 9 Mar 2017 03:30:07 +0000 (19:30 -0800)
commit412a465775bd4a9dab03a39669ba26be37bcabe4
treeb14d8d995dcdf7f188c862c33ab05b0a863d69b4
parentca4e0d4efa9845bfff3338e3269ff112be186a2e
sparc64: Skip flushing TLBs if there are no mm_users

Orabug: 25379970

Saves time when smp_flush_tlb_page/smp_flush_tlb_pending
is called during do_exit(...). Without this patch, killing
processes had performance bottle neck in these functions
due to unnecessary xcalls made to flush TLBs.

Reviewed-by: Nitin Gupta <nitin.m.gupta@oracle.com>
Signed-off-by: Bob Picco <bob.picco@oracle.com
Signed-off-by: Henry Willard <henry.willard@oracle.com>
Signed-off-by: Sanath Kumar <sanath.s.kumar@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
arch/sparc/kernel/smp_64.c