public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Stephane Eranian <eranian@hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: Move perfmon tables from thread_struct to pfm_context
Date: Tue, 29 Aug 2006 21:29:45 +0000	[thread overview]
Message-ID: <20060829212945.GP22011@frankl.hpl.hp.com> (raw)
In-Reply-To: <20060829110856.A23515@unix-os.sc.intel.com>

Christoph,

On Tue, Aug 29, 2006 at 08:55:28PM +0100, Christoph Hellwig wrote:
> On Tue, Aug 29, 2006 at 11:08:56AM -0700, Keshavamurthy Anil S wrote:
> > This patch renders thread_struct->pmcs[] and thread_struct->pmds[]
> > OBSOLETE. The actual table is moved to pfm_context structure which 
> > is the right thing to do. Also this will in future avoid KABI breakages
> > for the distro as well when the table size changes.
> 
> NACK.  There is no such thing as a KABI, and any patch the claims to
> help towards it will automatically be rejected.  You should get a doctor
> to help you stop seeing things like that.

This patch deals with the existing (old) perfmon on IA-64 only. This has
nothing to do with our current discussion on LKML about perfmon and KAPI
(kernel level perfmon API).

Anil is talking about the kernel ABI backward compatibility guarantee
that some distributors provide. We had perfmon related arrays in thread_struct
which is a struct visible to kernel modules and thus considered part of the
kernel ABI.

For Montecito, we had to grow those structures given the increase in the number
of performance counters. Thereby it broke the ABI guarantee. To work around
this problem, we now have those arrays in a perfmon private struct not exposed
to modules or user. Of course, to maintain the compatibility, we kept the two
orginal arrays in thread_struct, we just do not use them anymore. 

This problem is solved in the new perfmon code base under review on LKML.

Now I understand you may have issues about ABI guarantees in general, but I think
this is a different discussion.

-- 
-Stephane

      parent reply	other threads:[~2006-08-29 21:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-29 18:08 Move perfmon tables from thread_struct to pfm_context Keshavamurthy Anil S
2006-08-29 19:55 ` Keshavamurthy Anil S
2006-08-29 19:55 ` Christoph Hellwig
2006-08-29 21:29 ` Stephane Eranian [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060829212945.GP22011@frankl.hpl.hp.com \
    --to=eranian@hpl.hp.com \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox