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] [thread-next>] [day] [month] [year] [list]
Message-ID: <3908561D78D1C84285E8C5FCA982C28F3A1C8FA1@ORSMSX114.amr.corp.intel.com>
Date:   Tue, 13 Sep 2016 19:10:57 +0000
From:   "Luck, Tony" <tony.luck@...el.com>
To:     Nilay Vaish <nilayvaish@...il.com>,
        "Yu, Fenghua" <fenghua.yu@...el.com>
CC:     Thomas Gleixner <tglx@...utronix.de>,
        "Anvin, H Peter" <h.peter.anvin@...el.com>,
        Ingo Molnar <mingo@...e.hu>,
        Peter Zijlstra <peterz@...radead.org>,
        Tejun Heo <tj@...nel.org>, Borislav Petkov <bp@...e.de>,
        Stephane Eranian <eranian@...gle.com>,
        Marcelo Tosatti <mtosatti@...hat.com>,
        David Carrillo-Cisneros <davidcc@...gle.com>,
        "Shaohua Li" <shli@...com>,
        "Shankar, Ravi V" <ravi.v.shankar@...el.com>,
        "Vikas Shivappa" <vikas.shivappa@...ux.intel.com>,
        "Prakhya, Sai Praneeth" <sai.praneeth.prakhya@...el.com>,
        linux-kernel <linux-kernel@...r.kernel.org>, x86 <x86@...nel.org>
Subject: RE: [PATCH v2 11/33] x86/intel_rdt: Hot cpu support for Cache
 Allocation

> Just for my info, why do we need not update MSRs when a cpu goes offline?

The CBM (cache bitmask) MSRs are shared by all the cpus that use that same cache. So
they mustn't be updated when some of the CPUs go offline, because the remaining ones
are still using them. I suppose you could do something if the last CPU using a cache goes
offline ... but I don't see that it would achieve anything. Offline CPUs aren't executing any
instructions, so don't do any cache allocations.

-Tony

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ