Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 28 Jul 2002 17:16:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 28 Jul 2002 17:16:28 -0400 Received: from mx1.elte.hu ([157.181.1.137]:15232 "HELO mx1.elte.hu") by vger.kernel.org with SMTP id ; Sun, 28 Jul 2002 17:16:27 -0400 Date: Sun, 28 Jul 2002 23:18:19 +0200 (CEST) From: Ingo Molnar Reply-To: Ingo Molnar To: Andrew Morton Cc: lkml Subject: Re: inlines in kernel/sched.c 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 Content-Length: 776 Lines: 23 On Sun, 28 Jul 2002, Ingo Molnar wrote: > > Ingo, could you please review the use of inlines in the > > scheduler sometime? They seem to be excessive. > > > > For example, this patch reduces the sched.d icache footprint > > by 1.5 kilobytes. > > the patch also hurts context-switch latencies - it went > from 1.35 usecs to 1.42 usecs - a 5% drop. i'll do something else - create non-inlined wrappers so that the slowpath can use those, and let the fastpath inline them. We'll see what kind of code footprint that has. Ingo - 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/