Re: [PATCH v2 4/8] powerpc/vdso32: inline __get_datapage()

2019-10-29 Thread Christophe Leroy
Hi Santosh, Le 26/08/2019 à 07:44, Santosh Sivaraj a écrit : Hi Christophe, Christophe Leroy writes: __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

Re: [PATCH v2 4/8] powerpc/vdso32: inline __get_datapage()

2019-09-13 Thread Santosh Sivaraj
Christophe Leroy writes: > Le 13/09/2019 à 15:31, Santosh Sivaraj a écrit : >> Christophe Leroy writes: >> >>> Hi Santosh, >>> >>> Le 26/08/2019 à 07:44, Santosh Sivaraj a écrit : Hi Christophe, Christophe Leroy writes: > __get_datapage() is only a few instructions to

Re: [PATCH v2 4/8] powerpc/vdso32: inline __get_datapage()

2019-09-13 Thread Christophe Leroy
Le 13/09/2019 à 15:31, Santosh Sivaraj a écrit : Christophe Leroy writes: Hi Santosh, Le 26/08/2019 à 07:44, Santosh Sivaraj a écrit : Hi Christophe, Christophe Leroy writes: __get_datapage() is only a few instructions to retrieve the address of the page where the kernel stores data

Re: [PATCH v2 4/8] powerpc/vdso32: inline __get_datapage()

2019-09-13 Thread Santosh Sivaraj
Christophe Leroy writes: > Hi Santosh, > > Le 26/08/2019 à 07:44, Santosh Sivaraj a écrit : >> Hi Christophe, >> >> Christophe Leroy writes: >> >>> __get_datapage() is only a few instructions to retrieve the >>> address of the page where the kernel stores data to the VDSO. >>> >>> By inlining

Re: [PATCH v2 4/8] powerpc/vdso32: inline __get_datapage()

2019-09-13 Thread Christophe Leroy
Hi Santosh, Le 26/08/2019 à 07:44, Santosh Sivaraj a écrit : Hi Christophe, Christophe Leroy writes: __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

Re: [PATCH v2 4/8] powerpc/vdso32: inline __get_datapage()

2019-08-25 Thread Santosh Sivaraj
Hi Christophe, Christophe Leroy writes: > __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

[PATCH v2 4/8] powerpc/vdso32: inline __get_datapage()

2019-08-22 Thread Christophe Leroy
__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)