linux-mips
[Top] [All Lists]

Re: [PATCH] Fix csum_partial_copy_from_user

To: linux-mips@linux-mips.org
Subject: Re: [PATCH] Fix csum_partial_copy_from_user
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Wed, 27 Dec 2006 00:53:16 +0900 (JST)
Cc: ralf@linux-mips.org
In-reply-to: <20061219.011735.35857841.anemo@mba.ocn.ne.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20061219.011735.35857841.anemo@mba.ocn.ne.jp>
Sender: linux-mips-bounce@linux-mips.org
On Tue, 19 Dec 2006 01:17:35 +0900 (JST), Atsushi Nemoto <anemo@mba.ocn.ne.jp> 
wrote:
> I found that asm version of csum_partial_copy_from_user() introduced
> in e9e016815f264227b6260f77ca84f1c43cf8b9bd was less effective.
> 
> For csum_partial_copy_from_user() case, "both_aligned" 8-word copy/sum
> loop block is skipped to handle LOAD failure properly.  So we should
> iterate 4-word copy/sum block for that case, otherwize we will loop at
> ineffective "less_than_4units" block.

Please ignore this patch.  I will send more efficient fix soon.

---
Atsushi Nemoto

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