/randomize_va_space
# time ./test
1.70s
Signed-off-by: Anton Blanchard an...@samba.org
---
I've cc-ed Mel on this one. As you can see it definitely helps the base
page size performance, but I'm a bit worried of the impact of taking away
another of our 1TB slices.
Index: linux.trees.git/arch/powerpc
When we take an exception and the SDAR isn't synchronised we currently
log 0 as the address. Unfortunately this is a pretty common value, so
use ~OUL instead.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux.trees.git/arch/powerpc/kernel/perf_event.c
perf_counter uses arch_vma_name() to detect a vdso region which in turn uses
current-mm-context.vdso_base. We need to initialise this before doing
the mmap or else we fail to detect the vdso.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux.trees.git/arch/powerpc/kernel/vdso.c
In continuous sampling mode we want the SDAR to update. While we can
select between dcache misses and erat misses, a decent default is to
enable both.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux.trees.git/arch/powerpc/kernel/power7-pmu.c
we have a few data structures that grow:
896 bootmem_node_data
14336 bootmem_node_data
1280 node_devices
20480 node_devices
25088 kmalloc_caches
59648 kmalloc_caches
1632 hstates
21792 hstates
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux.trees.git/arch/powerpc
will write out ibm,client-architecture-support 100 times.
Before:
Calling ibm,client-architecture...command line: root=/dev/sda6 console=hvc0
quiet
After:
Calling ibm,client-architecture-support... not implemented
command line: root=/dev/sda6 console=hvc0
Signed-off-by: Anton Blanchard
Hi,
I've found at least one machine that wont boot 2.6.31-rc* with a
pseries_defconfig. If I move real-base from 0xc0 to 0xd0 it
boots fine.
# size vmlinux
textdata bss dec hex filename
9812942 1982496 1105228 12900666 c4d93a vmlinux
Looks like we blow right
arch specific tracepoints, I'd like to make
sure we agree on naming. The tracepoints live in events/powerpc/*, but I'm
wondering if the tracepoint name should also contain the arch name, eg
powerpc_irq_entry/powerpc_irq_exit. Thoughts?
Signed-off-by: Anton Blanchard an...@samba.org
--
Index
and always do individual invalidates.
The patch below removes the duplicate and shifts FW_FEATURE_CMO to close
the gap. With the patch applied the single threaded page fault rate improves
from 217169 to 238755 per second on a POWER5 test box, a 10% improvement.
Signed-off-by: Anton Blanchard
in events/powerpc/*, but I'm
wondering if the tracepoint name should also contain the arch name, eg
powerpc_irq_entry/powerpc_irq_exit. Thoughts?
Signed-off-by: Anton Blanchard an...@samba.org
--
Index: linux.trees.git/arch/powerpc/include/asm/trace.h
Hook up the alignment-faults and emulation-faults events for powerpc.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux.trees.git/arch/powerpc/include/asm/emulated_ops.h
===
--- linux.trees.git.orig/arch/powerpc
perf_event wants a separate event for alignment and emulation faults,
so create another PPC_WARN_* define. This will make it easy to hook in
perf_event at one spot.
We pass in regs which will be required for these events.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index
-off-by: Anton Blanchard an...@samba.org
---
Index: linux.trees.git/include/linux/perf_event.h
===
--- linux.trees.git.orig/include/linux/perf_event.h 2009-10-16
11:17:17.0 +1100
+++ linux.trees.git/include/linux
If CONFIG_PPC_ISERIES isn't defined we end up with iseries_check_pending_irqs
and do_work at the same address. perf ends up picking
iseries_check_pending_irqs which creates confusing backtraces. Hide it.
Signed-off-by: Anton Blanchard an...@samba.org
--
Index: linux.trees.git/arch/powerpc
A lot of hits in setup doesn't make much sense, so hide this symbol and
allow all the hits to end up in copy_4k_page.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux.trees.git/arch/powerpc/lib/copypage_64.S
Add some dummy symbols for the branches at 0xf00, 0xf20 and 0xf40,
otherwise hits end up in trap_0e which is confusing to the user.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux.trees.git/arch/powerpc/kernel/exceptions-64s.S
Hi,
+#define PPC_WARN_ALIGNMENT(type, regs) \
+ do {\
+ perf_sw_event(PERF_COUNT_SW_ALIGNMENT_FAULTS, \
+ 1, 0, regs, regs-dar); \
+
Hi Ingo,
Just to confirm - these 3 symbol fixes are for the PowerPC tree, not for
the perf events tree, right? There's nothing perf specific about the
fixes - kgdb, systemtap and other debugging/instrumentation frameworks
will benefit from more precise symbol generation too.
Yeah, while
Move ehea hcall definitions into hvcall.h.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux.trees.git/arch/powerpc/include/asm/hvcall.h
===
--- linux.trees.git.orig/arch/powerpc/include/asm/hvcall.h 2009-10-19
Kernel modules should be able to place their debug output inside our powerpc
debugfs directory.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux.trees.git/arch/powerpc/kernel/setup-common.c
at a minimum. Time taken for a null hcall:
No tracepoint code: 135.79 cycles
Disabled tracepoints: 137.95 cycles
For reference, before this patch enabling HCALL_STATS resulted in a null
hcall of 201.44 cycles!
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux.trees.git/arch
return=handled
idle-0 [000] 3244.021897408: irq_exit: pt_regs=c0a63aa0
Here we see two phantom interrupts (no handler was invoked), followed
by a real interrupt for eth0. Without the tracepoints in this patch we
would have missed the phantom interrupts.
Signed-off-by: Anton Blanchard
The overhead of HCALL_STATS is quite high and the functionality is very
rarely used. Key statistics are also missing (eg min/max).
With the new hcall tracepoints much more powerful tracing can be done in
a kernel module. Lets disable this by default.
Signed-off-by: Anton Blanchard
-0 [010] 3921.414635: timer_interrupt_exit: pt_regs=c000ce1e7b10
Since we have a 207MHz decrementer it will go negative and fire every 10.37s
even if Linux is completely idle.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux.trees.git/arch/powerpc/kernel/time.c
While most users of the hcall tracepoints will only want the opcode and return
code, some will want all the arguments. To avoid the complexity of using
varargs we pass a pointer to the register save area which contain all
arguments.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index
)
default:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
clean:
rm -rf *.mod.c *.ko *.o .*.cmd .tmp_versions Module.markers
modules.order Module.symvers
/*
* Hypervisor hcall trace
*
* Look for output in /sys/kernel/debug/powerpc/hcall_trace/
*
* Copyright (C) 2009 Anton Blanchard
In continuous sampling mode we want the SDAR to update. While we can
select between dcache misses and erat misses, a decent default is to
enable both.
Signed-off-by: Anton Blanchard an...@samba.org
---
Moved MMCRA definitions into asm/reg.h.
Index: linux.trees.git/arch/powerpc/kernel/power7
for these events.
Signed-off-by: Anton Blanchard an...@samba.org
---
Updated to remove unused define, as suggested by Stephen.
Index: linux.trees.git/arch/powerpc/include/asm/emulated_ops.h
===
--- linux.trees.git.orig/arch/powerpc/include/asm
.
Acked-by: Anton Blanchard an...@samba.org
Anton
[ This is a touch-up to the [3/6] powerpc: tracing: Add hypervisor call
tracepoints patch submitted by Anton a few weeks back, so I've copied
folks Anton had on CC for his original patch, this fix is rather ppc
specific, so can probably go
Hi Gautham,
+ call_status = rtas_call(rtas_token(ibm,get-system-parameter), 3, 1,
+ NULL,
+ CEDE_LATENCY_TOKEN,
+ __pa(cede_parameters),
+ CEDE_LATENCY_PARAM_MAX_LENGTH);
+
vmlinux~
8134997 1727588 1188836 11051421 a8a19d vmlinux
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux.trees.git/arch/powerpc/configs/g5_defconfig
===
--- linux.trees.git.orig/arch/powerpc/configs/g5_defconfig
as modules.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux.trees.git/arch/powerpc/configs/ppc64_defconfig
===
--- linux.trees.git.orig/arch/powerpc/configs/ppc64_defconfig 2009-11-26
12:38:30.0 +1100
Token what? Lets save some space in our powerpc kernels and remove token
ring support.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux.trees.git/arch/powerpc/configs/g5_defconfig
===
--- linux.trees.git.orig/arch
reduce
HZ then we reduce the amount of work the timer code has to do when coming
out of idle.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux.trees.git/arch/powerpc/configs/ppc64_defconfig
===
--- linux.trees.git.orig
Hi,
Also no NUMA is going to hurt Cell too. I think we should leave that in.
It was never enabled in the ppc64 defconfig :) I'm happy to turn it on though.
Anton
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
Hi Arjan,
question for the ppc folks why does the print symbol magic format string
thing print a dot symbol and not the real function name?
Should that be fixed instead?
We have two symbols for each function, foo points to the function
descriptor, and .foo points to the instruction text.
7ffc000-7fff000 rw-p 00028000 08:06 130663 /lib64/ld-2.9.so
7fff000-800 rw-p 7fff000 00:00 0
fc59000-fc6e000 rw-p ffeb000 00:00 0 [stack]
Signed-off-by: Anton Blanchard an...@samba.org
---
diff --git a/arch/powerpc/mm/mmap.c b/arch/powerpc/mm
At the moment we size the hashtable based on 4kB pages / 2, even on a
64kB kernel. This results in a hashtable that is much larger than it
needs to be.
Grab the real page size and size the hashtable based on that. Note: this
only works on non hypervisor machines.
Signed-off-by: Anton Blanchard
balanced:
Free memory:
Node 0: 97.53%
Node 1: 98.35%
Node 2: 98.33%
Node 3: 98.33%
For many HPC applications we are limited by the free available memory on
the smallest node, so even though the same amount of memory is used the
better balancing helps.
Signed-off-by: Anton Blanchard an...@samba.org
Hi Ben,
You have numbers ? :-) I'm asking mostly because I've been wondering
whether it offsets the 16M pages vs. 4K or 64K pages in term of TLB/ERAT
impact.
The speedup is application dependent. Things like linpack usually
improve when you throw more memmory at them.
The potential slowdown
on
the smallest node, so even though the same amount of memory is used the
better balancing helps.
Since all 64bit NUMA capable architectures should have sufficient
vmalloc space, it makes sense to enable it via CONFIG_64BIT.
Signed-off-by: Anton Blanchard an...@samba.org
---
diff --git
:00 0 [heap]
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux-2.6/arch/powerpc/include/asm/elf.h
===
--- linux-2.6.orig/arch/powerpc/include/asm/elf.h 2009-02-20
16:06:32.0
Move is_32bit_task into asm/thread_info.h, that allows us to test for
32/64bit tasks without an ugly CONFIG_PPC64 ifdef.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux-2.6/arch/powerpc/include/asm/thread_info.h
with the same ~128MB hole as in
32bit. This works because we randomise the stack over a 1GB range.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux-2.6/arch/powerpc/mm/mmap.c
===
--- linux-2.6.orig/arch/powerpc/mm/mmap.c
Randomise ELF_ET_DYN_BASE, which is used when loading position independent
executables.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux-2.6/arch/powerpc/include/asm/elf.h
===
--- linux-2.6.orig/arch/powerpc/include
-fffd88ad000 rw-p fffd88ac000 00:00 0
fffbc62e000-fffbc62f000 rw-p fffbc62e000 00:00 0
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux-2.6/arch/powerpc/mm/mmap.c
===
--- linux-2.6.orig/arch/powerpc/mm/mmap.c 2009-02
Rearrange mmap.c to better match the x86 version.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux-2.6/arch/powerpc/mm/mmap.c
===
--- linux-2.6.orig/arch/powerpc/mm/mmap.c 2009-02-20 13:40:26.0
+1100
after:
610
490
300
6b0
d80
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux-2.6/arch/powerpc/include/asm/system.h
===
--- linux-2.6.orig/arch/powerpc/include/asm/system.h2009-02-20
13:39:05.0 +1100
+++ linux
The following set of patches adds randomisation of mmaps, heap and
position independent executables, and increases the randomisation applied to
the stack on 64bit binaries.
--
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
-by: Anton Blanchard an...@samba.org
---
Index: linux-2.6/arch/powerpc/mm/mmap.c
===
--- linux-2.6.orig/arch/powerpc/mm/mmap.c 2009-02-22 11:58:54.0
+1100
+++ linux-2.6/arch/powerpc/mm/mmap.c2009-02-22 12:05:01.0
7ffc000-7fff000 rw-p 00028000 08:06 130663 /lib64/ld-2.9.so
7fff000-800 rw-p 7fff000 00:00 0
fc59000-fc6e000 rw-p ffeb000 00:00 0 [stack]
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux-2.6/arch/powerpc/mm/mmap.c
00:00 0 [stack]
fffc719d000-fffc71b2000 rw-p ffeb000 00:00 0 [stack]
fffe01af000-fffe01c4000 rw-p ffeb000 00:00 0 [stack]
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux-2.6/arch/powerpc/include/asm/elf.h
CONFIG_64BIT.
Signed-off-by: Anton Blanchard an...@samba.org
---
diff --git a/include/linux/bootmem.h b/include/linux/bootmem.h
index 95837bf..0c4d4b7 100644
--- a/include/linux/bootmem.h
+++ b/include/linux/bootmem.h
@@ -144,10 +144,10 @@ extern void *alloc_large_system_hash(const char
*tablename
Enable relay in pseries config, ppc64_defconfig had it enabled but pseries
did not.
Signed-off-by: Anton Blanchard an...@samba.org
---
diff --git a/arch/powerpc/configs/pseries_defconfig
b/arch/powerpc/configs/pseries_defconfig
index 61b1008..f1889ab 100644
--- a/arch/powerpc/configs
We specify a 64MB RMO, but the comment says 128MB.
Signed-off-by: Anton Blanchard an...@samba.org
---
diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c
index 7f1b33d..ddd9561 100644
--- a/arch/powerpc/kernel/prom_init.c
+++ b/arch/powerpc/kernel/prom_init.c
Instead of checking for known events, pass in all 1s so we handle future
event types. We were currently missing the IO event type.
Signed-off-by: Anton Blanchard an...@samba.org
---
diff --git a/arch/powerpc/include/asm/rtas.h b/arch/powerpc/include/asm/rtas.h
index 0aa0315..01c1233 100644
PHYP tells us how often a shared processor dispatch changed physical cpus.
This can highlight performance problems caused by the hypervisor.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux-2.6/arch/powerpc/include/asm/lppaca.h
Since the PMU is an NMI now, it can come at any time we are only soft
disabled. We must hard disable around the two places we allow the kernel
stack SLB and r1 to go out of sync. Otherwise the PMU exception can
force a kernel stack SLB into another slot.
Signed-off-by: Anton Blanchard [EMAIL
Hi,
I've got a ppc64 box running 2.6.14. 64-bit kernel, 32-bit userspace.
It has a ~86KB chunk of memory near the top of the process address
space, and I'm not sure who's setting it up and what the purpose is. In
/proc/pid/maps it looks like this:
fffea000-f000 rw-p fffea000
Hi,
For some background, we're running an emulator that uses a null pointer
value of 0x and we want any accesses to that address to trap.
Weird :)
Do you anticipate any issues with the following change?
-#define TASK_SIZE_USER32 (0x0001UL - (1*PAGE_SIZE))
+#define
The clockevent bootup message only needs to be KERN_INFO.
Signed-off-by: Anton Blanchard [EMAIL PROTECTED]
---
diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c
index 9368da3..863a5d6 100644
--- a/arch/powerpc/kernel/time.c
+++ b/arch/powerpc/kernel/time.c
@@ -829,7 +829,7
SLAB debugging enabled which
is sure to make your box nice and slow. Fix that too.
Signed-off-by: Anton Blanchard [EMAIL PROTECTED]
---
diff --git a/arch/powerpc/configs/bamboo_defconfig
b/arch/powerpc/configs/bamboo_defconfig
index b592dec..d22fed6 100644
--- a/arch/powerpc/configs
, I still print it out for those cases. If people
would prefer to remove it completely, lets do it.
Also for lpar remove the htab_address printout since its not used.
Anton
ppc64 boot log usability expert
Signed-off-by: Anton Blanchard [EMAIL PROTECTED]
---
diff --git a/arch/powerpc/kernel
Enable NO_HZ and high res timers for the ppc64 and pseries defconfigs.
Thoughts?
Signed-off-by: Anton Blanchard [EMAIL PROTECTED]
---
diff --git a/arch/powerpc/configs/ppc64_defconfig
b/arch/powerpc/configs/ppc64_defconfig
index 5f6224a..bb8d4e4 100644
--- a/arch/powerpc/configs
Hi,
Let's just remove it completely. I have yet to see a bug because of it,
and we have 0x40 byte cache lines.
Yeah I completely support killing it too :)
If anything, compare firmware setting to cputable one and print a warning.
Should maybe give them loglevels too, since you're
KERNEL_DS.
Signed-off-by: Anton Blanchard [EMAIL PROTECTED]
---
diff --git a/kernel/compat.c b/kernel/compat.c
index 3bae374..46795ac 100644
--- a/kernel/compat.c
+++ b/kernel/compat.c
@@ -40,62 +40,29 @@ int put_compat_timespec(const struct timespec *ts, struct
compat_timespec __user
converted to the hrtimer code and so
is limited to HZ resolution.
The following patch pulls the copy_to_user out of hrtimer_nanosleep and
into the callers (common_nsleep, sys_nanosleep and compat_sys_nanosleep)
thus avoiding any set_fs(KERNEL_DS) or compat_alloc_userspace tricks.
Signed-off-by: Anton
Hi Thomas,
Thanks for the review, updates to follow.
Anton
--
Pull the copy_to_user out of hrtimer_nanosleep and into the callers
(common_nsleep, sys_nanosleep) in preparation for converting
compat_sys_nanosleep to use hrtimers.
Signed-off-by: Anton Blanchard [EMAIL PROTECTED]
---
diff
Now we have high res timers on ppc64 I thought Id test them. It turns
out compat_sys_nanosleep hasnt been converted to the hrtimer code and so
is limited to HZ resolution.
The follow patch converts compat_sys_nanosleep to use high res timers.
Signed-off-by: Anton Blanchard [EMAIL PROTECTED
for it :)
Anton
--
Pull the copy_to_user out of hrtimer_nanosleep and into the callers
(common_nsleep, sys_nanosleep) in preparation for converting
compat_sys_nanosleep to use hrtimers.
Signed-off-by: Anton Blanchard [EMAIL PROTECTED]
Acked-by: Arnd Bergmann [EMAIL PROTECTED]
---
diff --git a/include
Now we have high res timers on ppc64 I thought Id test them. It turns
out compat_sys_nanosleep hasnt been converted to the hrtimer code and so
is limited to HZ resolution.
The follow patch converts compat_sys_nanosleep to use high res timers.
Signed-off-by: Anton Blanchard [EMAIL PROTECTED
Hi,
Jan is seeing the following fail:
WRAParch/powerpc/boot/zImage.pmac
powerpc-linux-objcopy: vmlinux: File format not recognized
He is using a cross compile toolchain invoked with the following command
line:
# make HOSTCC=gcc-4.0 ARCH=powerpc CROSS_COMPILE=powerpc64-linux-
Hi,
If you configure your toolchain for powerpc64-linux you get a biarch
toolchain by default.
I was wondering about people using pre biarch gcc toolchains. But I take
your point - I'm guessing binutils has been biarch for a long time.
Since we are only calling binutils functions in
Commit 57b150cce8e004ddd36330490a68bfb59b7271e9 (irq: only update affinity if
-set_affinity() is sucessfull) broke xics irq affinity.
We need to use the cpumask passed in, instead of accessing -affinity directly.
Signed-off-by: Anton Blanchard an...@samba.org
---
This code needs a rework
/:00:01.0/local_cpulist
64-65
Change cpumask_of_node to check for -1 and return cpu_all_mask in this
case:
# cat /sys/devices/pci:00/:00:01.0/local_cpus
,,,
# cat /sys/devices/pci:00/:00:01.0/local_cpulist
0-127
Signed-off-by: Anton Blanchard
commit ac4c2a3bbe5db5fc570b1d0ee1e474db7cb22585 (zlib: optimize inffast when
copying direct from output) referenced include/linux/autoconf.h which
is now called include/generated/autoconf.h.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux-cpumask/arch/powerpc/boot/Makefile
Using perf to trace L1 dcache misses and dumping data addresses I found a few
variables taking a lot of misses. Since they are almost never written, they
should go into the __read_mostly section.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux-cpumask/arch/powerpc/xmon/xmon.c
8767938 2944132 1636796 13348866 cbb002 vmlinux.baseline
8767779 2944260 1505724 13217763 c9afe3 vmlinux.irq_cpustat
A saving of around 128kB.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux-cpumask/arch/powerpc/include/asm/hardirq.h
with NR_CPUS=1024, this saves quite a lot of memory:
textdata bss dec hexfilename
8767779 2944260 1505724 13217763 c9afe3 vmlinux.irq_cpustat
8767555 2813444 1505724 13086723 c7b003 vmlinux.xics
A saving of around 128kB.
Signed-off-by: Anton Blanchard
The cputime code has a few places that do per_cpu(, smp_processor_id()).
Replace them with __get_cpu_var().
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux-cpumask/arch/powerpc/include/asm/cputime.h
===
--- linux
Now we use printf style alignment there is no need to manually space
these fields.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux-cpumask/arch/powerpc/platforms/512x/mpc5121_ads_cpld.c
===
--- linux-cpumask.orig
in. On PowerPC we currently omit an interrupt completely if there is no
active handler, whereas on x86 it is printed if there is a non zero count.
The x86 code also spaces the first column correctly based on nr_irqs.
Signed-off-by: Anton Blanchard an...@samba.org
---
This patch follows on from powerpc
spurious. Since they can be a significant cause
of OS jitter, we may as well log them per cpu so we know where they are
occurring.
Signed-off-by: Anton Blanchard an...@samba.org
---
Again, the short name matches x86 but if people are sufficiently confused by
it (SPU), then we can think up something
using the perf tool. Since it's possible to take a completely
handled machine check on a System p box it also sounds like a good idea to
keep a machine check summary.
The event naming matches x86 to keep gratuitous differences to a minimum.
Signed-off-by: Anton Blanchard an...@samba.org
0 0 0
17158:319 0 0 0 0 0
25092: 0 0 0 0 0 0
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux-cpumask/arch/powerpc/Kconfig
8767938 2944132 1636796 13348866 cbb002 vmlinux.baseline
8767779 2944260 1505724 13217763 c9afe3 vmlinux.irq_cpustat
A saving of around 128kB.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux-cpumask/arch/powerpc/include/asm/hardirq.h
using the perf tool. Since it's possible to take a completely
handled machine check on a System p box it also sounds like a good idea to
keep a machine check summary.
The event naming matches x86 to keep gratuitous differences to a minimum.
Signed-off-by: Anton Blanchard an...@samba.org
dec hexfilename
8767779 2944260 1505724 13217763 c9afe3 vmlinux.irq_cpustat
8767555 2813444 1505724 13086723 c7b003 vmlinux.xics
A saving of around 128kB.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux-cpumask/arch/powerpc/platforms/pseries/xics.c
spurious. Since they can be a significant cause
of OS jitter, we may as well log them per cpu so we know where they are
occurring.
Signed-off-by: Anton Blanchard an...@samba.org
---
Again, the short name matches x86 but if people are sufficiently confused by
it (SPU), then we can think up something
in. On PowerPC we currently omit an interrupt completely if there is no
active handler, whereas on x86 it is printed if there is a non zero count.
The x86 code also spaces the first column correctly based on nr_irqs.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux-cpumask/arch/powerpc
0 0 0
17158:319 0 0 0 0 0
25092: 0 0 0 0 0 0
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux-cpumask/arch/powerpc/Kconfig
Now we use printf style alignment there is no need to manually space
these fields.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux-cpumask/arch/powerpc/platforms/512x/mpc5121_ads_cpld.c
===
--- linux-cpumask.orig
Hi,
On recent ppc64 kernels, limiting the stack (using 'ulimit -s blah') is
now more restrictive than it was before. On 2.6.31 with 4k pages I
could run 'ulimit -s 16; /usr/bin/test' without a problem. Now with
mainline, even 'ulimit -s 64; /usr/bin/test' gets killed.
Using 64k pages is
-by: Anton Blanchard an...@samba.org
---
v2: Enable NUMA on ppc64_defconfig
Index: powerpc.git/arch/powerpc/configs/ppc64_defconfig
===
--- powerpc.git.orig/arch/powerpc/configs/ppc64_defconfig 2010-02-05
14:57:48.889717208
We can use the much more lightweight ida allocator since we don't
need the pointer storage idr provides.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: powerpc.git/arch/powerpc/mm/mmu_context_hash64.c
The clockevent multiplier and shift is useful information, but we
only need to print it once.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: powerpc.git/arch/powerpc/kernel/time.c
===
--- powerpc.git.orig/arch/powerpc
We use firmware_has_feature quite a lot these days, so it's worth putting
powerpc_firmware_features into __read_mostly.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: powerpc.git/arch/powerpc/kernel/firmware.c
Clean up SD_NODE_INITS so we can easily compare it to x86. Similar to the
work in 47734f89be0614b5acbd6a532390f9c72f019648 (sched: Clean up topology.h)
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: linux.trees.git/arch/powerpc/include/asm/topology.h
The cede latency stuff is relatively new and we don't need to complain about
it not working on older firmware.
Signed-off-by: Anton Blanchard an...@samba.org
---
Index: powerpc.git/arch/powerpc/platforms/pseries/hotplug-cpu.c
) so it operates better with 4kB pages.
But in the end its probably of little use for the default OVERCOMMIT_GUESS
setting, so the main thing is we dont terminate processes incorrectly.
Acked-by: Anton Blanchard an...@samba.org
Anton
___
Linuxppc-dev
1 - 100 of 1164 matches
Mail list logo