Christophe Leroy ec0895f08f powerpc/vdso32: inline __get_datapage()
__get_datapage() is only a few instructions to retrieve the
address of the page where the kernel stores data to the VDSO.

By inlining this function into its users, a bl/blr pair and
a mflr/mtlr pair is avoided, plus a few reg moves.

The improvement is noticeable (about 55 nsec/call on an 8xx)

vdsotest before the patch:
gettimeofday:    vdso: 731 nsec/call
clock-gettime-realtime-coarse:    vdso: 668 nsec/call
clock-gettime-monotonic-coarse:    vdso: 745 nsec/call

vdsotest after the patch:
gettimeofday:    vdso: 677 nsec/call
clock-gettime-realtime-coarse:    vdso: 613 nsec/call
clock-gettime-monotonic-coarse:    vdso: 690 nsec/call

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/c39ef7f3dfa25356b01e211d539671f279086c09.1575273217.git.christophe.leroy@c-s.fr
2020-01-23 21:31:15 +11:00
..
2019-11-18 22:27:51 +11:00
2019-09-14 00:01:14 +10:00
2019-07-13 16:08:36 -07:00
2019-11-19 19:38:38 +11:00
2018-06-07 10:23:33 -07:00
2019-11-18 22:27:52 +11:00
2016-03-01 19:27:20 +11:00
2019-08-27 13:03:35 +10:00
2019-08-30 09:52:57 +10:00
2019-05-03 01:20:26 +10:00
2019-12-03 13:58:22 -08:00
2019-07-13 16:08:36 -07:00
2019-09-05 14:22:41 +10:00
2019-07-13 16:08:36 -07:00
2016-06-14 13:58:26 +10:00
2019-07-13 16:08:36 -07:00
2019-07-13 16:08:36 -07:00
2019-07-13 16:08:36 -07:00
2019-07-13 16:08:36 -07:00
2019-11-30 14:35:43 -08:00
2018-05-25 12:04:43 +10:00
2019-11-30 14:35:43 -08:00
2019-07-16 19:23:24 -07:00
2018-07-30 22:48:21 +10:00
2019-05-01 16:45:05 +10:00
2019-07-29 09:34:27 +10:00
2019-07-13 16:08:36 -07:00
2019-09-20 11:48:06 -07:00