Re: [RFC REBASED 1/5] powerpc/mm/slice: pass pointers to struct slice_mask where possible

2018-02-26 Thread Christophe LEROY
Le 27/02/2018 à 08:02, Aneesh Kumar K.V a écrit : Hi, Do you have an updated series for this with your latest PPC32 slice post? No, but I can make one if it is on any interest. Christophe Christophe Leroy writes: Pass around const pointers to struct

[RFC REBASED 1/5] powerpc/mm/slice: pass pointers to struct slice_mask where possible

2018-02-12 Thread Christophe Leroy
Pass around const pointers to struct slice_mask where possible, rather than copies of slice_mask, to reduce stack and call overhead. checkstack.pl gives, before: 0x0de4 slice_get_unmapped_area [slice.o]: 656 0x1b4c is_hugepage_only_range [slice.o]:512 0x075c