mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Robert Richter <robert.richter@amd.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>,
	LKML <linux-kernel@vger.kernel.org>,
	oprofile-list <oprofile-list@lists.sourceforge.net>
Subject: Re: [PATCH 00/15] oprofile fixes and updates for v2.6.34
Date: Tue, 2 Mar 2010 11:01:37 +0100	[thread overview]
Message-ID: <20100302100137.GA31186@elte.hu> (raw)
In-Reply-To: <20100301143946.GE13205@erda.amd.com>


* Robert Richter <robert.richter@amd.com> wrote:

> On 27.02.10 10:03:31, Ingo Molnar wrote:
> > Hm, the perf_event.c bits conflict quite heavily with pending changes in 
> > tip:perf/core.
> > 
> > So to not hold up the oprofile changes for v2.6.34 i've pulled the core 
> > oprofile changes for v2.6.34 into tip:oprofile (up to cfc9c0b, if that is fine 
> > with you), and mind reworking the last 3 patches against perf/core?
> 
> Ingo & Peter,
> 
> I have a rebased version containing also a merge from:
> 
>  tip/oprofile -> tip/perf/core
> 
> Please pull again from:
> 
>  git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile.git core

Pulled, thanks Robert!

> > On a related note, wrt. your ongoing work for perf IBS support. The following 
> > patch by Peter:
> > 
> >   f22f54f: perf_events, x86: Split PMU definitions into separate files
> 
> Yes, the patches went also upstream on Friday. Will update my current patch 
> stack now. Maybe it would have been better to first integrate all pending 
> patches before doing that split.  Conflict resolution is a pain for moving 
> code. But anyway, it is supposed to go upstream and I will rebase my 
> patches.

The way to do it is to not keep that many pending patches in the first place. 
There are always 'pending patches' - if we waited for them to drain then we 
could never do cleanups.

Peter, Arnaldo, Frederic and all the other perf developers sync their patches 
with perf/core very frequently and push these bits to me. This has various 
advantages:

 - breakages are discovered quickly and can be mitigated before more harm is 
   done.

 - patch review is a lot more gradual (and a lot less taxing) as well. 

 - other people can get interested and jump in and help you out.

 - design mistakes/disagreements can also be hashed out before too much work 
   is invested into a particular direction.

 - as a maintainer i can see progress and can see problem areas. This makes it
   much easier to judge and plan a new topic's upstream integration schedule.
   It's not tucked away in some tree, with a large stream of patches showing
   up at once.

i.e. it's all variations of the 'release early, release often' Linux mantra.

So if you have a significant amount of pending patches then you are doing 
something wrong. Please consider adapting your workflow and please get any 
pending pieces to us in small, reviewable pieces.

That's especially true of large, intrusive features: for example the IBS bits 
could be moved into perf/core gradually, in a series of clean steps, even if 
they are not functional yet.

Thanks,

	Ingo

      reply	other threads:[~2010-03-02 10:01 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-26 17:29 Robert Richter
2010-02-26 17:29 ` [PATCH 01/15] oprofile: remove tracing build dependency Robert Richter
2010-02-26 17:29 ` [PATCH 02/15] oprofile: remove EXPERIMENTAL from the config option description Robert Richter
2010-02-26 17:29 ` [PATCH 03/15] oprofile/x86: remove OPROFILE_IBS config option Robert Richter
2010-02-26 17:29 ` [PATCH 04/15] oprofile/x86: remove node check in AMD IBS initialization Robert Richter
2010-02-26 17:29 ` [PATCH 05/15] oprofile/x86: implement IBS cpuid feature detection Robert Richter
2010-02-26 17:29 ` [PATCH 06/15] oprofile/x86: implement lsfr pseudo-random number generator for IBS Robert Richter
2010-02-26 17:29 ` [PATCH 07/15] oprofile/x86: implement randomization for IBS periodic op counter Robert Richter
2010-02-26 17:30 ` [PATCH 08/15] oprofile/x86: warn user if a counter is already active Robert Richter
2010-02-26 17:30 ` [PATCH 09/15] oprofile/x86: add comment to counter-in-use warning Robert Richter
2010-02-26 17:30 ` [PATCH 10/15] oprofile/x86: fix perfctr nmi reservation for mulitplexing Robert Richter
2010-02-26 17:30 ` [PATCH 11/15] oprofile/x86: use kzalloc() instead of kmalloc() Robert Richter
2010-02-26 17:30 ` [PATCH 12/15] oprofile/x86: fix msr access to reserved counters Robert Richter
2010-02-26 17:30 ` [PATCH 13/15] perf, x86: make IBS macros available in perf_event.h Robert Richter
2010-02-26 17:30 ` [PATCH 14/15] perf, x86: add some IBS macros to perf_event.h Robert Richter
2010-02-26 17:30 ` [PATCH 15/15] perf, x86: rename macro in ARCH_PERFMON_EVENTSEL_ENABLE Robert Richter
2010-02-27  9:03 ` [PATCH 00/15] oprofile fixes and updates for v2.6.34 Ingo Molnar
2010-03-01 14:39   ` Robert Richter
2010-03-02 10:01     ` Ingo Molnar [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=20100302100137.GA31186@elte.hu \
    --to=mingo@elte.hu \
    --cc=a.p.zijlstra@chello.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oprofile-list@lists.sourceforge.net \
    --cc=robert.richter@amd.com \
    /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

all inboxes | Powered by JetHome®