lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130916112825.GB9326@twins.programming.kicks-ass.net>
Date:	Mon, 16 Sep 2013 13:28:25 +0200
From:	Peter Zijlstra <peterz@...radead.org>
To:	Andi Kleen <andi@...stfloor.org>
Cc:	mingo@...nel.org, acme@...radead.org, linux-kernel@...r.kernel.org,
	eranian@...gle.com, Andi Kleen <ak@...ux.intel.com>
Subject: Re: [PATCH 6/6] perf, x86: Suppress duplicated abort LBR records

On Fri, Sep 13, 2013 at 11:08:36AM -0700, Andi Kleen wrote:
> -		cpuc->lbr_entries[i].from	= from;
> -		cpuc->lbr_entries[i].to		= to;
> -		cpuc->lbr_entries[i].mispred	= mis;
> -		cpuc->lbr_entries[i].predicted	= pred;
> -		cpuc->lbr_entries[i].in_tx	= in_tx;
> -		cpuc->lbr_entries[i].abort	= abort;
> -		cpuc->lbr_entries[i].reserved	= 0;

> +		cpuc->lbr_entries[out].from	= from;
> +		cpuc->lbr_entries[out].to	= to;
> +		cpuc->lbr_entries[out].mispred	= mis;
> +		cpuc->lbr_entries[out].predicted = pred;
> +		cpuc->lbr_entries[out].in_tx	= in_tx;
> +		cpuc->lbr_entries[out].abort	= abort;
> +		cpuc->lbr_entries[out].reserved	= 0;

just add an extra space before the '=' so they're all nicely aligned
again.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ