Re: [PATCH v3] mm/shmem.c: make shmem_mapping() inline

2020-11-27 Thread Vlastimil Babka
On 11/15/20 5:52 PM, Hui Su wrote: shmem_mapping() isn't worth an out-of-line call from any callsite. So make it inline by - make shmem_aops global - export shmem_aops - inline the shmem_mapping() and replace the direct call 'shmem_aops' with shmem_mapping() in shmem.c. v1->v2: remove the

[PATCH v3] mm/shmem.c: make shmem_mapping() inline

2020-11-15 Thread Hui Su
shmem_mapping() isn't worth an out-of-line call from any callsite. So make it inline by - make shmem_aops global - export shmem_aops - inline the shmem_mapping() and replace the direct call 'shmem_aops' with shmem_mapping() in shmem.c. v1->v2: remove the inline for func declaration in