From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 28 Sep 2002 01:18:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 28 Sep 2002 01:18:48 -0400 Received: from e34.co.us.ibm.com ([32.97.110.132]:22780 "EHLO e34.co.us.ibm.com") by vger.kernel.org with ESMTP id ; Sat, 28 Sep 2002 01:18:48 -0400 Date: Sat, 28 Sep 2002 10:59:40 +0530 From: Dipankar Sarma To: Zwane Mwaikambo Cc: William Lee Irwin III , Andrew Morton , lkml , "linux-mm@kvack.org" Subject: Re: 2.5.38-mm3 Message-ID: <20020928105940.A32125@in.ibm.com> Reply-To: dipankar@in.ibm.com References: <20020928043655.GU3530@holomorphy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from zwane@linuxpower.ca on Sat, Sep 28, 2002 at 12:54:39AM -0400 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 28, 2002 at 12:54:39AM -0400, Zwane Mwaikambo wrote: > On Fri, 27 Sep 2002, William Lee Irwin III wrote: > > > On Sat, Sep 28, 2002 at 12:35:30AM -0400, Zwane Mwaikambo wrote: > > > Mine is a UP box not an SMP kernel, although preempt is enabled; > > > 0xc013d370 : push %ebx > > > 0xc013d371 : mov %eax,%ecx > > > 0xc013d373 : mov $0xffffe000,%edx > > > 0xc013d378 : and %esp,%edx > > > 0xc013d37a : incl 0x4(%edx) > > > > Do you have instruction-level profiles to show where the cost is on UP? > > Unfortunately no, i was lucky to remember to even be running profile=n on > this box. That is sufficient to get instruction level profile. Just use the hacked readprofile by tridge (it's available somewhere in his samba.org webpage). I suspect that inlining fget() will help, not sure whether that is clean code-wise. Thanks -- Dipankar Sarma http://lse.sourceforge.net Linux Technology Center, IBM Software Lab, Bangalore, India.