by smtp.nexlab.net (Postfix) with ESMTP id AC3BBFAEE for <[email protected]>; Tue, 24 May 2005 09:59:59 +0200 (CEST)
Received: ([email protected]) by vger.kernel.org via listexpand
id S261348AbVEXCne (ORCPT <rfc822;[email protected]>); Mon, 23 May 2005 22:43:34 -0400
Received: ([email protected]) by vger.kernel.org id S261344AbVEXCnd
(ORCPT <rfc822;linux-kernel-outgoing>); Mon, 23 May 2005 22:43:33 -0400
Received: from arnor.apana.org.au ([203.14.152.115]:7691 "EHLO
arnor.apana.org.au") by vger.kernel.org with ESMTP id S261309AbVEXCn1 (ORCPT <rfc822;[email protected]>); Mon, 23 May 2005 22:43:27 -0400
Received: from gondolin.me.apana.org.au ([192.168.0.6] ident=mail)
by arnor.apana.org.au with esmtp (Exim 3.35 #1 (Debian)) id 1DaPO4-0002pd-00; Tue, 24 May 2005 12:43:20 +1000
Received: from herbert by gondolin.me.apana.org.au with local (Exim 3.36 #1 (Debian))
id 1DaPO2-0007dP-00; Tue, 24 May 2005 12:43:18 +1000
Date: Tue, 24 May 2005 12:43:18 +1000
To: Andrew Morton <[email protected]>
Cc: [email protected], [email protected],
[email protected], [email protected]
Subject: Re: [CRYPTO]: Only reschedule if !in_atomic()
Message-ID: <[email protected]>
References: <[email protected]> <[email protected]> <[email protected]> <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
User-Agent: Mutt/1.5.9i
From: Herbert Xu <[email protected]>
Sender: [email protected]
Precedence: bulk
X-Mailing-List: [email protected]
Quoted 3 lines · Andrew Morton
Are you sure it's actually needed? Have significant scheduling latencies actually been observed?
I certainly don't have any problems with removing the yield altogether.
Quoted 5 lines
Bear in mind that anyone who cares a lot about latency will be running
CONFIG_PREEMPTkernels, in which case the whole thing is redundant anyway. I generally take the position that if we're going to put a scheduling point into a non-premept kernel then it'd better be for a pretty bad latency point - more than 10 milliseconds, say.
The crypt() function can easily take more than 10 milliseconds with a large enough buffer.
James & Dave, do you have any opinions on this?
Cheers,
Signature · 9 lines
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/