linux-mips
[Top] [All Lists]

Re: [PATCH] Cleanup FPU ownership management

To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Subject: Re: [PATCH] Cleanup FPU ownership management
From: Ralf Baechle <ralf@linux-mips.org>
Date: Sat, 10 Mar 2007 12:37:29 +0000
Cc: linux-mips@linux-mips.org
In-reply-to: <20070310.012319.52129805.anemo@mba.ocn.ne.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20070310.012319.52129805.anemo@mba.ocn.ne.jp>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2.2i
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.

  Ralf

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