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: <20090226032618.GC22223@elte.hu>
Date:	Thu, 26 Feb 2009 04:26:18 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	Tejun Heo <tj@...nel.org>
Cc:	Yinghai Lu <yinghai@...nel.org>, rusty@...tcorp.com.au,
	tglx@...utronix.de, x86@...nel.org, linux-kernel@...r.kernel.org,
	hpa@...or.com, jeremy@...p.org, cpw@....com,
	nickpiggin@...oo.com.au, ink@...assic.park.msu.ru
Subject: Re: [PATCH core/percpu] percpu: fix too low alignment restriction
	on UP


* Tejun Heo <tj@...nel.org> wrote:

> UP __alloc_percpu() triggered WARN_ON_ONCE() if the requested
> alignment is larger than that of unsigned long long, which is too
> small for all the cacheline aligned allocations.  Bump it up to
> SMP_CACHE_BYTES which kmalloc allocations generally guarantee.
> 
> Signed-off-by: Tejun Heo <tj@...nel.org>
> Reported-by: Ingo Molnar <mingo@...e.hu>
> ---
> Hello, Ingo.
> 
> I somehow completely forgot about testing UP.  Sorry about that. :-)
> The following patch should do it.  Also available in the #tj-percpu
> tree.

Pulled into tip:core/percpu, thanks Tejun!

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