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: <20160219142300.22e98084@icelake>
Date:	Fri, 19 Feb 2016 14:23:00 -0800
From:	Jacob Pan <jacob.jun.pan@...ux.intel.com>
To:	Thomas Gleixner <tglx@...utronix.de>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Rafael Wysocki <rafael.j.wysocki@...el.com>,
	Linux PM <linux-pm@...r.kernel.org>,
	Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>,
	Peter Zijlstra <peterz@...radead.org>,
	"David S. Miller" <davem@...emloft.net>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Rusty Russell <rusty@...tcorp.com.au>,
	jacob.jun.pan@...ux.intel.com
Subject: Re: [PATCH v4 2/2] powercap/rapl: reduce ipi calls

On Fri, 19 Feb 2016 23:01:59 +0100 (CET)
Thomas Gleixner <tglx@...utronix.de> wrote:

> > > +			if (lead_cpu < nr_cpu_ids)
> > > +				new_package->lead_cpu =
> > > lead_cpu;  
> > 
> > So the above is identical to 
> > 
> > 			new_package->lead_cpu = lead_cpu;  
> 
> 			new_package->lead_cpu = i;
you are absolutely right. i is already the answer here.

Thanks,

Jacob

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ