Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 6 Jan 2002 22:35:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 6 Jan 2002 22:35:34 -0500 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:45829 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Sun, 6 Jan 2002 22:35:31 -0500 Date: Sun, 6 Jan 2002 19:34:36 -0800 (PST) From: Linus Torvalds To: Davide Libenzi cc: Richard Henderson , Alan Cox , Ingo Molnar , lkml Subject: Re: [announce] [patch] ultra-scalable O(1) SMP and UP scheduler In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 6 Jan 2002, Davide Libenzi wrote: > > 32 bit words lookup can be easily done in few clock cycles in most cpus > by using tuned assembly code. I tried to time "bsfl", it showed up as one cycle more than "nothing" on my PII. It used to be something like 7+n cycles on a i386, if I remember correctly. It's just not an issue any more - trying to use clever code to avoid it is just silly. Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/