Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261953AbVEIAkR (ORCPT ); Sun, 8 May 2005 20:40:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263018AbVEIAkQ (ORCPT ); Sun, 8 May 2005 20:40:16 -0400 Received: from aun.it.uu.se ([130.238.12.36]:59852 "EHLO aun.it.uu.se") by vger.kernel.org with ESMTP id S261953AbVEIAkN (ORCPT ); Sun, 8 May 2005 20:40:13 -0400 Date: Mon, 9 May 2005 02:40:01 +0200 (MEST) Message-Id: <200505090040.j490e19v012839@harpo.it.uu.se> From: Mikael Pettersson To: ak@muc.de Subject: Re: [PATCH 2.6.12-rc3-mm3] perfctr: x86 update with K8 multicore fixes Cc: akpm@osdl.org, linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 616 Lines: 15 > How about you just check cpu_core_map[] instead of adding your > own custom detection code for this? This seems quite bogus to me. Because these map[]s are poorly documented, change (get added or removed), and don't always exist in all subarchs. I've been burned by cpu-related maps changing before. I'd rather not rely on them if I can avoid them. /Mikael - 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/