From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751037AbVHPFnq (ORCPT ); Tue, 16 Aug 2005 01:43:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751098AbVHPFnq (ORCPT ); Tue, 16 Aug 2005 01:43:46 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:26843 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S1751037AbVHPFnp (ORCPT ); Tue, 16 Aug 2005 01:43:45 -0400 Subject: Re: [RFC] [PATCH] cache pollution aware __copy_from_user_ll() From: Arjan van de Ven To: Hiro Yoshioka Cc: taka@valinux.co.jp, lkml.hyoshiok@gmail.com, linux-kernel@vger.kernel.org In-Reply-To: <20050816.135425.719901536.hyoshiok@miraclelinux.com> References: <98df96d3050815163331d6cce1@mail.gmail.com> <20050816.123042.424254477.hyoshiok@miraclelinux.com> <20050816.131729.15816429.taka@valinux.co.jp> <20050816.135425.719901536.hyoshiok@miraclelinux.com> Content-Type: text/plain Date: Tue, 16 Aug 2005 07:43:35 +0200 Message-Id: <1124171015.3215.0.camel@laptopd505.fenrus.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 (2.2.2-5) Content-Transfer-Encoding: 7bit X-Spam-Score: 2.9 (++) X-Spam-Report: SpamAssassin version 3.0.4 on pentafluge.infradead.org summary: Content analysis details: (2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.1 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [80.57.133.107 listed in dnsbl.sorbs.net] 2.8 RCVD_IN_DSBL RBL: Received via a relay in list.dsbl.org [] X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2005-08-16 at 13:54 +0900, Hiro Yoshioka wrote: > Takahashi san, > > I appreciate your comments. > > > Hi, > > > > BTW, what are you going to do with the page-faults which may happen > > during __copy_user_zeroing_nocache()? The current process may be blocked > > in the handler for a while and get FPU registers polluted. > > kernel_fpu_begin() won't help the case. This is another issue, though. > > My code does nothing do it. > > I need a volunteer to implement it. it's actually not too hard; all you need is to use SSE and not MMX; and then just store sse register you're overwriting on the stack or so...