From mboxrd@z Thu Jan 1 00:00:00 1970 From: peterz@infradead.org (Peter Zijlstra) Date: Wed, 20 Jan 2010 15:16:19 +0100 Subject: [PATCH/RFC v1 0/2] Human readable performance event description in sysfs In-Reply-To: References: <1263978706-15499-1-git-send-email-t.fujak@samsung.com> <1263978999.4283.823.camel@laptop> <20100120133145.GE4089@wear.picochip.com> <1263994779.4283.1057.camel@laptop> <20100120135553.GA22897@n2100.arm.linux.org.uk> <1263996080.4283.1064.camel@laptop> Message-ID: <1263996979.4283.1066.camel@laptop> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, 2010-01-20 at 15:09 +0100, Micha? Nazarewicz wrote: > On Wed, 20 Jan 2010 15:01:20 +0100, Peter Zijlstra wrote: > > It seems to me userspace might care about the exact platform they're > > running on. > > In my humble opinion, user space should never care about platform it's > running on. Interfaces provided by kernel should suffice to implement > abstraction layer between user space and hardware. If we abandon that > we're back in DOS times. But hey, again, that's just my opinion. Well, you're completely right. But the often sad reality is that perfect abstraction is either impossible or prohibitively expensive. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752346Ab0ATOQ6 (ORCPT ); Wed, 20 Jan 2010 09:16:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752234Ab0ATOQ4 (ORCPT ); Wed, 20 Jan 2010 09:16:56 -0500 Received: from casper.infradead.org ([85.118.1.10]:56154 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751587Ab0ATOQz (ORCPT ); Wed, 20 Jan 2010 09:16:55 -0500 Subject: Re: [PATCH/RFC v1 0/2] Human readable performance event description in sysfs From: Peter Zijlstra To: =?UTF-8?Q?Micha=C5=82?= Nazarewicz Cc: Russell King - ARM Linux , Jamie Iles , jpihet@mvista.com, p.osciak@samsung.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, kyungmin.park@samsung.com, mingo@elte.hu, m.szyprowski@samsung.com, linux-arm-kernel@lists.infradead.org, Tomasz Fujak In-Reply-To: References: <1263978706-15499-1-git-send-email-t.fujak@samsung.com> <1263978999.4283.823.camel@laptop> <20100120133145.GE4089@wear.picochip.com> <1263994779.4283.1057.camel@laptop> <20100120135553.GA22897@n2100.arm.linux.org.uk> <1263996080.4283.1064.camel@laptop> Content-Type: text/plain; charset="UTF-8" Date: Wed, 20 Jan 2010 15:16:19 +0100 Message-ID: <1263996979.4283.1066.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2010-01-20 at 15:09 +0100, MichaƂ Nazarewicz wrote: > On Wed, 20 Jan 2010 15:01:20 +0100, Peter Zijlstra wrote: > > It seems to me userspace might care about the exact platform they're > > running on. > > In my humble opinion, user space should never care about platform it's > running on. Interfaces provided by kernel should suffice to implement > abstraction layer between user space and hardware. If we abandon that > we're back in DOS times. But hey, again, that's just my opinion. Well, you're completely right. But the often sad reality is that perfect abstraction is either impossible or prohibitively expensive.