From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265396AbUHSLUM (ORCPT ); Thu, 19 Aug 2004 07:20:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265288AbUHSLUL (ORCPT ); Thu, 19 Aug 2004 07:20:11 -0400 Received: from viper.oldcity.dca.net ([216.158.38.4]:57478 "HELO viper.oldcity.dca.net") by vger.kernel.org with SMTP id S265396AbUHSLSm (ORCPT ); Thu, 19 Aug 2004 07:18:42 -0400 Subject: Re: [patch] Latency Tracer, voluntary-preempt-2.6.8-rc4-O6 From: Lee Revell To: "Theodore Ts'o" Cc: Ingo Molnar , linux-kernel , Felipe Alfaro Solana , Florian Schmidt In-Reply-To: <20040817191819.GA19449@thunk.org> References: <20040729222657.GA10449@elte.hu> <20040801193043.GA20277@elte.hu> <20040809104649.GA13299@elte.hu> <20040810132654.GA28915@elte.hu> <20040812235116.GA27838@elte.hu> <1092374851.3450.13.camel@mindpipe> <1092375673.3450.15.camel@mindpipe> <20040813103151.GH8135@elte.hu> <1092699974.13981.95.camel@krustophenia.net> <20040817074826.GA1238@elte.hu> <20040817191819.GA19449@thunk.org> Content-Type: text/plain Message-Id: <1092914397.830.3.camel@krustophenia.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 19 Aug 2004 07:19:58 -0400 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2004-08-17 at 15:18, Theodore Ts'o wrote: > On Tue, Aug 17, 2004 at 09:48:26AM +0200, Ingo Molnar wrote: > > > + return nbytes; > > > + > > > > since this effectively disables the random driver i cannot add it to the > > patch. > > I doubt SHA_CODE_SIZE will make a sufficient difference to avoid the > latency problems. What we would need to do is to change the code so > that the rekey operation in __check_and_rekey takes place in a > workqueue. Say, something like this (warning, I haven't tested this > patch; if it breaks, you get to keep both pieces): > Tested, works for me. This should probably be pushed upstream, as well as added to -P5, correct? Is there any disadvantage to doing it this way? Lee