Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 11 Jul 2002 05:22:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 11 Jul 2002 05:22:53 -0400 Received: from ophelia.ess.nec.de ([193.141.139.8]:64212 "EHLO ophelia.ess.nec.de") by vger.kernel.org with ESMTP id convert rfc822-to-8bit; Thu, 11 Jul 2002 05:22:52 -0400 Content-Type: text/plain; charset=US-ASCII From: Erich Focht To: Ingo Molnar Subject: Re: O(1) scheduler "complex" macros Date: Thu, 11 Jul 2002 11:25:26 +0200 X-Mailer: KMail [version 1.4] Cc: linux-kernel , linux-ia64 References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Message-Id: <200207111125.26599.efocht@ess.nec.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 821 Lines: 21 Ingo, the last fix survived one night of testing with included udelay(100), so I would consider it stable. Thanks again! The performance with the new "complex" macros is as expected worse than with the simple ones, we see 10% in some cases, which is hurting a lot. Would you please consider moving the location of the switch_lock from the end of the task_struct to the hot area near the scheduler related variables? The effect may vary depending on the cache line size but having it behind *array or sleep_timestamp would probably save us a cache miss here. Regards, Erich - 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/