From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263024AbUIOH4m (ORCPT ); Wed, 15 Sep 2004 03:56:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263117AbUIOH4m (ORCPT ); Wed, 15 Sep 2004 03:56:42 -0400 Received: from omx2-ext.sgi.com ([192.48.171.19]:61383 "EHLO omx2.sgi.com") by vger.kernel.org with ESMTP id S263024AbUIOH4k (ORCPT ); Wed, 15 Sep 2004 03:56:40 -0400 Date: Wed, 15 Sep 2004 00:56:13 -0700 From: Paul Jackson To: Jan Dittmer Cc: thockin@hockin.org, linux-kernel@vger.kernel.org Subject: Re: [patch] kernel sysfs events layer Message-Id: <20040915005613.2a64f536.pj@sgi.com> In-Reply-To: <4147F1B4.1060009@ppp0.net> References: <20040915011146.GA27782@hockin.org> <1095214229.20763.6.camel@localhost> <20040915031706.GA909@hockin.org> <20040915034229.GA30747@kroah.com> <20040915044830.GA4919@hockin.org> <20040915050904.GA682@kroah.com> <20040915062129.GA9230@hockin.org> <4147E525.4000405@ppp0.net> <20040915064735.GA11272@hockin.org> <4147E649.1060306@ppp0.net> <20040915065515.GA11587@hockin.org> <4147F1B4.1060009@ppp0.net> Organization: SGI X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Jan wrote: > Well, time for /sys/devices/memory/memory/. That would perhaps also > be suitable for numa which want to know which memory module is near > which cpu. Don't we already have something like that. On an SN2 near me at this time, running 2.6.9-rc1-mm4: # pwd /sys/devices/system/node/node0 # ls -lt cpu? | cut -c33- 0 Sep 15 00:50 cpu0 -> ../../../../devices/system/cpu/cpu0 0 Sep 15 00:50 cpu1 -> ../../../../devices/system/cpu/cpu1 This tells me that CPUs 0 and 1 are on node 0. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson 1.650.933.1373