mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Paul Jackson <pj@sgi.com>
Cc: linux-kernel@vger.kernel.org, Simon.Derr@bull.net
Subject: Re: How do I remove a patch buried in your *-mm series?
Date: Sun, 4 Dec 2005 00:15:25 -0800	[thread overview]
Message-ID: <20051204001525.2889f924.akpm@osdl.org> (raw)
In-Reply-To: <20051203234900.fcaa6caf.pj@sgi.com>

Paul Jackson <pj@sgi.com> wrote:
>
> I want to remove the patch in *-mm:
> 
>   1) cpuset-change-marker-for-relative-numbering.patch
> 
> Unfortunately, it collides with another couple cpuset patches later in
> your stack:
> 
>   2) cpuset-memory-pressure-meter.patch, cpuset-memory-pressure-meter-gcc-295-fix.patch
> 
> How should I do this so I minimize the amount of cussing you do in my
> general direction:
> 
>   A. Just ask you to nuke patch (1) above; let you edit the mess.
>   B. Ask you to nuke both (1) and (2); leave me to resend a (2) that applies.
>   C. Send a reversing patch that applies on top of your current *-mm stack.
>   D. Some other plan you would prefer.

    E.  You send a _minimal_ patch against lastest mm, telling me
       "this fixes a bug in
       cpuset-change-marker-for-relative-numbering.patch".  Then I insert
       it into the series with name
       cpuset-change-marker-for-relative-numbering-fix.patch and it gets
       folded into cpuset-change-marker-for-relative-numbering.patch prior
       to going to Linus.

Usually people forget to tell me which patch it fixes, but I work it out.

In this case, dropping cpuset-change-marker-for-relative-numbering.patch
works fine too - it took 20 seconds to fix up the rejects.  Mainly by
simply omitting them, because all this stuff:

***************
*** 191,199 ****
  	.cpus_allowed = CPU_MASK_ALL,
  	.mems_allowed = NODE_MASK_ALL,
  	.marker_pid = 0,
- 	.fmeter.cnt = 0,
- 	.fmeter.val = 0,
- 	.fmeter.time = 0,
  	.count = ATOMIC_INIT(0),
  	.sibling = LIST_HEAD_INIT(top_cpuset.sibling),
  	.children = LIST_HEAD_INIT(top_cpuset.children),
--- 191,201 ----
  	.cpus_allowed = CPU_MASK_ALL,
  	.mems_allowed = NODE_MASK_ALL,
  	.marker_pid = 0,
+ 	.fmeter = {
+ 		.cnt = 0,
+ 		.val = 0,
+ 		.time = 0,
+ 	},
  	.count = ATOMIC_INIT(0),
  	.sibling = LIST_HEAD_INIT(top_cpuset.sibling),
  	.children = LIST_HEAD_INIT(top_cpuset.children),


It just redundant - the compiler does that.

> I have verified that removing all the patches above applies cleanly and
> builds, with just a harmless -74 lines offset on one of the remaining
> cpuset patches.
> 
>   So I recommend B.

Your call.  E is preferred though.

  reply	other threads:[~2005-12-04  8:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-04  7:49 Paul Jackson
2005-12-04  8:15 ` Andrew Morton [this message]
2005-12-04  8:31   ` Paul Jackson
2005-12-04  8:44     ` Andrew Morton
2005-12-04  9:08       ` Paul Jackson

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=20051204001525.2889f924.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=Simon.Derr@bull.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pj@sgi.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®