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]
Date:   Tue, 27 Sep 2016 13:57:00 +0200
From:   Peter Zijlstra <peterz@...radead.org>
To:     Prarit Bhargava <prarit@...hat.com>
Cc:     Borislav Petkov <bp@...e.de>, linux-kernel@...r.kernel.org,
        Thomas Gleixner <tglx@...utronix.de>,
        Ingo Molnar <mingo@...hat.com>,
        "H. Peter Anvin" <hpa@...or.com>, x86@...nel.org,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Len Brown <len.brown@...el.com>,
        Andi Kleen <ak@...ux.intel.com>, Jiri Olsa <jolsa@...hat.com>,
        Juergen Gross <jgross@...e.com>
Subject: Re: [PATCH 0/2 v3] cpu hotplug: Preserve topology directory after
 soft remove event

On Tue, Sep 27, 2016 at 07:47:56AM -0400, Prarit Bhargava wrote:

> There's a difference between soft remove (via sysfs) and a true hot remove
> operation (where the whole thing is physically removed).  Soft remove only
> results in the processor being made "not available" to the scheduler.

How is it different? We do _ONE_ CPU unplug operation. We do not touch
the thing anymore after that. It _can_ be taken out after that.

Therefore hotplug wipes the topology information and clears the CPU from
relevant bitmasks.

>From the kernel's POV there really is no distinction.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ