]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: optimize functions that access tick
authorPavel Tatashin <pasha.tatashin@oracle.com>
Mon, 12 Jun 2017 20:41:48 +0000 (16:41 -0400)
committerAllen Pais <allen.pais@oracle.com>
Thu, 29 Jun 2017 08:09:43 +0000 (13:39 +0530)
commita7d2d81069660c0cf43cf5af1b8aeb93eab3cc74
tree338436cee114e683f13705ea329605af19c7b77c
parent4409904e2b9c28ea65475b7ad8f06fdd1edf0866
sparc64: optimize functions that access tick

Replace read tick function pointers with the new hot-patched get_tick().
This optimizes the performance of functions such as: sched_clock()

Signed-off-by: Pavel Tatashin <pasha.tatashin@oracle.com>
Reviewed-by: Steven Sistare <steven.sistare@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Orabug: 24401250
Orabug: 25637776

(cherry picked from commit eae3fc9871111e9bbc77dad5481a3e805e02ac46)
Signed-off-by: Pavel Tatashin <pasha.tatashin@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
arch/sparc/kernel/time_64.c