Re: [PATCH v2] perf/x86/intel: Add support for MISPREDICT bit on Knights Landing cpus

From: Peter Zijlstra
Date: Mon Jul 30 2018 - 12:48:49 EST



A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?On Tue, Jul 31, 2018 at 12:34:02AM +0800, Jacek Tomaka wrote:

> Ah, right:
> /*
> * Due to lack of segmentation in Linux the effective address (offset)
> * is the same as the linear address, allowing us to merge the LIP and EIP
> * LBR formats.
> */
>
> Yeah, LBR_FORMAT_EIP_FLAGS is ok as well. Would it be preffered?

Yeah, think so, that keeps the lookup table const.