LWN.net Logo

2.6.17.1 perfmon2 patch for review: introduction

From:  Stephane Eranian <eranian@frankl.hpl.hp.com>
To:  linux-kernel@vger.kernel.org
Subject:  [PATCH 1/17] 2.6.17.1 perfmon2 patch for review: introduction
Date:  Fri, 23 Jun 2006 02:12:57 -0700
Cc:  eranian@hpl.hp.com
Archive-link:  Article, Thread

Hello,

The following series of patches includes the generic perfmon2
subsystem and the support for i386, x86_64, and powerpc. The perfmon2
subsystem also works on MIPS and all Itanium processors. The Itanium support
is not posted because it does not easily accomodate the 100k message
limit of lkml. The powerpc support is still very preliminary.

The patches are relative to 2.6.17.1

I have already posted on the list about this subsystem. I am submitting 
today to get reviews and make progress towards getting the subsystem
merged into the mainline kernel.

The patches are split up between common and arch-specific. Each part
is further decomposed into new files and modified files. The generic
code is now split up by functionality to make reading easier.

This patch includes (compared to previous patch for 2.6.17-rc6):
	- support for 32-bit mode AMD64 processors (Chuck Ebbert)
	- mini-argument buffers on stack optimization for read/write of PMU registers
	- fix user group permission checking which were ignored
	- fix a missing irqsave in perfmon_kapi.c

For the stack buffers there are per-arch constants that can be adjusted based
on stack size limitations. Look for PFM_ARCH_PM*_ARG.

Thanks.

Copyright © 2006, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds