Home
last modified time | relevance | path

Searched hist:c208505900b232ecdc81dee54cb3a032e75d88d6 (Results 1 – 3 of 3) sorted by relevance

/linux/arch/powerpc/include/asm/
H A Dswitch_to.hdiff c208505900b232ecdc81dee54cb3a032e75d88d6 Thu Oct 29 01:44:08 CET 2015 Anton Blanchard <anton@samba.org> powerpc: create giveup_all()

Create a single function that gives everything up (FP, VMX, VSX, SPE).
Doing this all at once means we only do one MSR write.

A context switch microbenchmark using yield():

http://ozlabs.org/~anton/junkcode/context_switch2.c

./context_switch2 --test=yield --fp --altivec --vector 0 0

shows an improvement of 3% on POWER8.

Signed-off-by: Anton Blanchard <anton@samba.org>
[mpe: giveup_all() needs to be EXPORT_SYMBOL'ed]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
/linux/arch/powerpc/kvm/
H A Dbook3s_pr.cdiff c208505900b232ecdc81dee54cb3a032e75d88d6 Thu Oct 29 01:44:08 CET 2015 Anton Blanchard <anton@samba.org> powerpc: create giveup_all()

Create a single function that gives everything up (FP, VMX, VSX, SPE).
Doing this all at once means we only do one MSR write.

A context switch microbenchmark using yield():

http://ozlabs.org/~anton/junkcode/context_switch2.c

./context_switch2 --test=yield --fp --altivec --vector 0 0

shows an improvement of 3% on POWER8.

Signed-off-by: Anton Blanchard <anton@samba.org>
[mpe: giveup_all() needs to be EXPORT_SYMBOL'ed]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
/linux/arch/powerpc/kernel/
H A Dprocess.cdiff c208505900b232ecdc81dee54cb3a032e75d88d6 Thu Oct 29 01:44:08 CET 2015 Anton Blanchard <anton@samba.org> powerpc: create giveup_all()

Create a single function that gives everything up (FP, VMX, VSX, SPE).
Doing this all at once means we only do one MSR write.

A context switch microbenchmark using yield():

http://ozlabs.org/~anton/junkcode/context_switch2.c

./context_switch2 --test=yield --fp --altivec --vector 0 0

shows an improvement of 3% on POWER8.

Signed-off-by: Anton Blanchard <anton@samba.org>
[mpe: giveup_all() needs to be EXPORT_SYMBOL'ed]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>