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