Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 16 Nov 2001 19:05:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 16 Nov 2001 19:05:00 -0500 Received: from [208.129.208.52] ([208.129.208.52]:54021 "EHLO xmailserver.org") by vger.kernel.org with ESMTP id ; Fri, 16 Nov 2001 19:04:49 -0500 Date: Fri, 16 Nov 2001 16:13:57 -0800 (PST) From: Davide Libenzi X-X-Sender: davide@blue1.dev.mcafeelabs.com To: Jesse Pollard cc: Mike Kravetz , , lkml Subject: Re: Real Time Runqueue In-Reply-To: <200111162241.QAA98422@tomcat.admin.navo.hpc.mil> 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 Fri, 16 Nov 2001, Jesse Pollard wrote: > I believe we opted to leave all process in the queues to speed up the > state change procedures. The selection process was always at the end of I believe in that too, expecially if a good RT tasks distribution is achieved. > I always liked the trick of converting the bit vector to a floating point to > use the exponent to determine the active queue - it took far fewer instructions > than a loop to check each queue in an array. The added overhead when doing Smart trick but by doing it in Linux needs you to get the fpu status before doing the fp op otherwise you're going to do the fpu status save/restore each time. - Davide - 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/