Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 28 Sep 2002 00:33:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 28 Sep 2002 00:33:20 -0400 Received: from holomorphy.com ([66.224.33.161]:50860 "EHLO holomorphy") by vger.kernel.org with ESMTP id ; Sat, 28 Sep 2002 00:32:58 -0400 Date: Fri, 27 Sep 2002 21:36:55 -0700 From: William Lee Irwin III To: Zwane Mwaikambo Cc: Dipankar Sarma , Andrew Morton , lkml , "linux-mm@kvack.org" Subject: Re: 2.5.38-mm3 Message-ID: <20020928043655.GU3530@holomorphy.com> Mail-Followup-To: William Lee Irwin III , Zwane Mwaikambo , Dipankar Sarma , Andrew Morton , lkml , "linux-mm@kvack.org" References: <20020927152833.D25021@in.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Description: brief message Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i Organization: The Domain of Holomorphy Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 979 Lines: 25 > On Fri, 27 Sep 2002, Dipankar Sarma wrote: >> The counts are off by one. >> With a UP kernel, I see that fget() cost is negligible. >> So it is most likely the atomic operations for rwlock acquisition/release >> in fget() that is adding to its cost. Unless of course my sampling >> is too less. 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? Thanks, Bill - 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/