Re: [patch 3/3] powerpc: Preload application text segment instead of TASK_UNMAPPED_BASE

2009-07-14 Thread Anton Blanchard
Hi Ben, > Any chance you can put that little test program online somewhere ? Sure, it's here: http://ozlabs.org/~anton/junkcode/context_switch.c Anton ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linux

Re: [patch 3/3] powerpc: Preload application text segment instead of TASK_UNMAPPED_BASE

2009-07-14 Thread Benjamin Herrenschmidt
On Tue, 2009-07-14 at 16:53 +1000, Anton Blanchard wrote: > plain text document attachment (preload_0x1000) > TASK_UNMAPPED_BASE is not used with the new top down mmap layout. We can > reuse this preload slot by loading in the segment at 0x1000, where almost > all PowerPC binaries are linke

[patch 3/3] powerpc: Preload application text segment instead of TASK_UNMAPPED_BASE

2009-07-14 Thread Anton Blanchard
TASK_UNMAPPED_BASE is not used with the new top down mmap layout. We can reuse this preload slot by loading in the segment at 0x1000, where almost all PowerPC binaries are linked at. On a microbenchmark that bounces a token between two 64bit processes over pipes and calls gettimeofday each ite