Re: [PATCH] mm/slub: embed __slab_alloc to its caller

2021-02-05 Thread Vlastimil Babka
On 2/3/21 2:41 AM, Abel Wu wrote: >> On Feb 2, 2021, at 6:11 PM, Christoph Lameter wrote: >> >> On Tue, 2 Feb 2021, Abel Wu wrote: >> >>> Since slab_alloc_node() is the only caller of __slab_alloc(), embed >>> __slab_alloc() to its caller to save function call overhead. This >>> will also expand

Re: [PATCH] mm/slub: embed __slab_alloc to its caller

2021-02-02 Thread Abel Wu
> On Feb 2, 2021, at 6:11 PM, Christoph Lameter wrote: > > On Tue, 2 Feb 2021, Abel Wu wrote: > >> Since slab_alloc_node() is the only caller of __slab_alloc(), embed >> __slab_alloc() to its caller to save function call overhead. This >> will also expand the caller's code block size a bit, but

Re: [PATCH] mm/slub: embed __slab_alloc to its caller

2021-02-02 Thread Christoph Lameter
On Tue, 2 Feb 2021, Abel Wu wrote: > Since slab_alloc_node() is the only caller of __slab_alloc(), embed > __slab_alloc() to its caller to save function call overhead. This > will also expand the caller's code block size a bit, but hackbench > tests on both host and guest didn't show a difference

[PATCH] mm/slub: embed __slab_alloc to its caller

2021-02-02 Thread Abel Wu
Since slab_alloc_node() is the only caller of __slab_alloc(), embed __slab_alloc() to its caller to save function call overhead. This will also expand the caller's code block size a bit, but hackbench tests on both host and guest didn't show a difference w/ or w/o this patch. Also rename ___slab_a