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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.1.10.0906301023590.6124@gentwo.org>
Date:	Tue, 30 Jun 2009 10:24:46 -0400 (EDT)
From:	Christoph Lameter <cl@...ux-foundation.org>
To:	Andrew Morton <akpm@...ux-foundation.org>
cc:	tj@...nel.org, linux-kernel@...r.kernel.org, x86@...nel.org,
	linux-arch@...r.kernel.org, mingo@...e.hu, andi@...stfloor.org,
	hpa@...or.com, tglx@...utronix.de
Subject: Re: [PATCHSET] percpu: generalize first chunk allocators and improve
 lpage NUMA support

On Mon, 29 Jun 2009, Andrew Morton wrote:

> On Mon, 29 Jun 2009 19:20:53 -0400 (EDT)
> Christoph Lameter <cl@...ux-foundation.org> wrote:
>
> > On Wed, 24 Jun 2009, Andrew Morton wrote:
> >
> > > I assume from the tremendous number of for_each_possible_cpu()s that
> > > CPU hotplug awareness won't be happening.
> >
> > Per cpu areas are allocated for all possible processors. No need to handle
> > offlining and onlining them.
>
> Well yes.  My point is that this is a bug-not-a-feature ;)

Its a feature that I would like to exploit in the future to get rid of
some of the hotplug callbacks in the allocator.

Some state also needs to be kept for offlined processors. This is done in
per cpu data.

--
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