Re: [PATCH 2/3] alloc_tag: uninline code gated by mem_alloc_profiling_key in slab allocator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 28 Jan 2025 15:43:13 -0800
Suren Baghdasaryan <surenb@xxxxxxxxxx> wrote:

> > How slow is it to always do the call instead of inlining?  
> 
> Let's see... The additional overhead if we always call is:
> 
> Little core: 2.42%
> Middle core: 1.23%
> Big core: 0.66%
> 
> Not a huge deal because the overhead of memory profiling when enabled
> is much higher. So, maybe for simplicity I should indeed always call?

That's what I was thinking, unless the other maintainers are OK with this
special logic.

-- Steve




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux