[Top] [All Lists]

Re: [PATCH] Cleanup FPU ownership management

To: Atsushi Nemoto <>
Subject: Re: [PATCH] Cleanup FPU ownership management
From: Ralf Baechle <>
Date: Sat, 10 Mar 2007 12:37:29 +0000
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Mutt/
On Sat, Mar 10, 2007 at 01:23:19AM +0900, Atsushi Nemoto wrote:

> Currently preempt_disable/preempt_enable are scattered in FPU
> ownership management code.  This patch makes own_fpu() and lost_fpu()
> can save/restore FPU context in itself and make these functions (and
> init_fpu() too) preempt-proof.  This makes the FPU management codes
> much readable.  Also this patch introduce raw_cpu_has_fpu macro which
> is to be used if the caller did not need atomic context.

And this one dropped also.


<Prev in Thread] Current Thread [Next in Thread>