Re: [PATCH] i386: avoid redundant preempt_disable in __unlazy_fpu

2007-04-30 Thread Andi Kleen
On Monday 30 April 2007 13:16:42 Jan Kiszka wrote: > There are two callers of __unlazy_fpu, unlazy_fpu and __switch_to, and > none of them appear to require additional preempt_disable/enable here. > Let's open-code save_init_fpu in __unlazy_fpu to save a few ops. Both patches added thanks -Andi -

[PATCH] i386: avoid redundant preempt_disable in __unlazy_fpu

2007-04-30 Thread Jan Kiszka
There are two callers of __unlazy_fpu, unlazy_fpu and __switch_to, and none of them appear to require additional preempt_disable/enable here. Let's open-code save_init_fpu in __unlazy_fpu to save a few ops. Signed-off-by: Jan Kiszka <[EMAIL PROTECTED]> --- include/asm-i386/i387.h | 11

[PATCH] i386: avoid redundant preempt_disable in __unlazy_fpu

2007-04-30 Thread Jan Kiszka
There are two callers of __unlazy_fpu, unlazy_fpu and __switch_to, and none of them appear to require additional preempt_disable/enable here. Let's open-code save_init_fpu in __unlazy_fpu to save a few ops. Signed-off-by: Jan Kiszka [EMAIL PROTECTED] --- include/asm-i386/i387.h | 11

Re: [PATCH] i386: avoid redundant preempt_disable in __unlazy_fpu

2007-04-30 Thread Andi Kleen
On Monday 30 April 2007 13:16:42 Jan Kiszka wrote: There are two callers of __unlazy_fpu, unlazy_fpu and __switch_to, and none of them appear to require additional preempt_disable/enable here. Let's open-code save_init_fpu in __unlazy_fpu to save a few ops. Both patches added thanks -Andi - To