lkml.org 
[lkml]   [2018]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [LKP] [lkp-robot] [iversion] c0cef30e4f: aim7.jobs-per-min -18.0% regression
Date
Jeff Layton <jlayton@redhat.com> wrote:

> 0xffffffff813ae828 <+136>: je 0xffffffff813ae83a <ima_file_free+154>
> 0xffffffff813ae82a <+138>: mov 0x150(%rbp),%rcx
> 0xffffffff813ae831 <+145>: shr %rcx
> 0xffffffff813ae834 <+148>: cmp %rcx,0x20(%rax)
> 0xffffffff813ae838 <+152>: je 0xffffffff813ae862 <ima_file_free+194>

Is it possible there's a stall between the load of RCX and the subsequent
instructions because they all have to wait for RCX to become available?

The interleaving between operating on RSI and RCX in the older code might
alleviate that.

In addition, the load if the 20(%rax) value is now done in the CMP instruction
rather than earlier, so it might not get speculatively loaded in time, whereas
the earlier code explicitly loads it up front.

David

\
 
 \ /
  Last update: 2018-02-27 14:43    [W:0.083 / U:1.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site