[PATCH v6 03/11] powerpc/mm: Adds arch-specificic functions to track lockless pgtable walks
Leonardo Bras
leonardo at linux.ibm.com
Tue Feb 18 07:32:33 AEDT 2020
On Fri, 2020-02-07 at 01:38 -0300, Leonardo Bras wrote:
> > Why not make them static inline just like the generic ones ?
> >
>
> Sure, can be done. It would save some function calls.
> For that I will define the per-cpu variable in .c and declare it in .h
> All new function can be moved to .h, while changing adding the inline
> modifier.
Just tried doing that, but percpu stuff relies in paca definitions, and
this ends up creating some cyclic dependencies.
I could try to change that, but the amount of change is big and
probably should be dealt in another patchset.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20200217/43a09f91/attachment.sig>
More information about the Linuxppc-dev
mailing list