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:	Sun, 23 Jan 2011 11:00:44 -0200
From:	Arnaldo Carvalho de Melo <acme@...stprotocols.net>
To:	Eric Dumazet <eric.dumazet@...il.com>
Cc:	Ingo Molnar <mingo@...e.hu>, linux-kernel@...r.kernel.org,
	Frederic Weisbecker <fweisbec@...il.com>,
	Mike Galbraith <efault@....de>,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Paul Mackerras <paulus@...ba.org>,
	Stephane Eranian <eranian@...gle.com>
Subject: Re: [PATCH 1/6] perf test: Fix build on older glibcs

Em Sun, Jan 23, 2011 at 09:29:36AM +0100, Eric Dumazet escreveu:
> Le samedi 22 janvier 2011 à 23:56 -0200, Arnaldo Carvalho de Melo a écrit :
> > From: Arnaldo Carvalho de Melo <acme@...hat.com>

> > Where we don't have CPU_ALLOC & friends. As the tools are being used in older
> > distros where the only allowed change are to replace the kernel, like RHEL4 & 5.
> > Reported-by: Eric Dumazet <eric.dumazet@...il.com>

> I tested the preliminary version you sent me, it worked well, but I
> could not apply this patch to current linux-2.6

There is at least one patch in perf/urgent that should be applied before
this one:

commit ffb5e0fb44d0829021a51f972df90166bc9b700e
Author: Han Pingtian <phan@...hat.com>

    perf test: Use cpu_map->[cpu] when setting affinity

-----------------------------------------------------------

Attached goes a combined patch with everything that is not yet in
.38-rc2, please test it. It is all about fixing the build in old
distros and in some arches like ppc64 where using %L[dux] in printf
functions is problematic.

I just checkd out a fresh copy of 2.6.38-rc2 and applied and built with
it.

- Arnaldo

View attachment "tip-perf-urgent.patch" of type "text/plain" (33144 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ