Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964828AbWIKFYt (ORCPT ); Mon, 11 Sep 2006 01:24:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964839AbWIKFYs (ORCPT ); Mon, 11 Sep 2006 01:24:48 -0400 Received: from mx1.redhat.com ([66.187.233.31]:26579 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S964828AbWIKFYs (ORCPT ); Mon, 11 Sep 2006 01:24:48 -0400 Date: Mon, 11 Sep 2006 01:31:44 -0400 From: Dave Jones To: Chuck Ebbert <76306.1226@compuserve.com> Cc: John Richard Moser , linux-kernel Subject: Re: Cache line size Message-ID: <20060911053144.GB18727@redhat.com> Mail-Followup-To: Dave Jones , Chuck Ebbert <76306.1226@compuserve.com>, John Richard Moser , linux-kernel References: <200609110100_MC3-1-CAD3-E525@compuserve.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200609110100_MC3-1-CAD3-E525@compuserve.com> User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 589 Lines: 19 On Mon, Sep 11, 2006 at 12:58:43AM -0400, Chuck Ebbert wrote: > > Is there a way for the Linux Kernel to know the cache line size of the > > CPU it's on, besides #define X86_CACHE_LINE_SZ 32 or whatnot? > > /sys/devices/system/cpu/cpu/cache Hmm.. $ find /sys/ -name cache $ That's on 2.6.18rc6. Is this some -mm only feature? Dave - 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/