[lkml]   [2015]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH RFC] x86: enforce inlining for atomics
On 20 April 2015 at 23:56, Borislav Petkov <> wrote:

> Hmm, that must be config-specific as doing
> objdump -D vmlinux | grep -i "atomic_add"
> here gives me only "drm_atomic_add_affected_connectors" matches.
> It probably gets inlined here always...

Probably, the config is allyesconfig minus trace/kernel adress
sanitizer and gcov related options.

> Other than that, this patch should actually even show some speedup as
> we're getting rid of the stack preparation and function call overhead.
> Have you done any benchmarks with it?

No, but I am sure that a benchmark should show at least theoretically
better perf numbers. But the numbers should be the measurement
uncertainty range. The avoided cache line miss should be the greatest
perf effect.


 \ /
  Last update: 2015-04-21 00:21    [W:0.134 / U:1.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site