From: "Wang, Yalin" <Yalin.Wang@sonymobile.com>
To: 'Russell King - ARM Linux' <linux@arm.linux.org.uk>,
Catalin Marinas <catalin.marinas@arm.com>
Cc: "Will Deacon" <Will.Deacon@arm.com>,
"'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>,
"'linux-arm-kernel@lists.infradead.org'"
<linux-arm-kernel@lists.infradead.org>,
"'linux-mm@kvack.org'" <linux-mm@kvack.org>,
"'linux-arm-msm@vger.kernel.org'" <linux-arm-msm@vger.kernel.org>,
"'Uwe Kleine-König'" <u.kleine-koenig@pengutronix.de>,
DL-WW-ContributionOfficers-Linux
<DL-WW-ContributionOfficers-Linux@sonymobile.com>
Subject: RE: [PATCH resend] arm:extend the reserved memory for initrd to be page aligned
Date: Fri, 26 Sep 2014 09:56:44 +0800 [thread overview]
Message-ID: <35FD53F367049845BC99AC72306C23D103D6DB491637@CNBJMBX05.corpusers.net> (raw)
In-Reply-To: <20140925143142.GF5182@n2100.arm.linux.org.uk>
> On Fri, Sep 19, 2014 at 11:00:02AM +0100, Catalin Marinas wrote:
> > On Fri, Sep 19, 2014 at 08:09:47AM +0100, Wang, Yalin wrote:
> > > this patch extend the start and end address of initrd to be page
> > > aligned, so that we can free all memory including the un-page
> > > aligned head or tail page of initrd, if the start or end address of
> > > initrd are not page aligned, the page can't be freed by
> free_initrd_mem() function.
> > >
> > > Signed-off-by: Yalin Wang <yalin.wang@sonymobile.com>
> >
> > Acked-by: Catalin Marinas <catalin.marinas@arm.com>
> >
> > (as I said, if Russell doesn't have any objections please send the
> > patch to his patch system)
>
> I now have an objection. The patches in the emails were properly formatted.
> The patches which were submitted to the patch system (there's two of them
> doing the same thing...) are not:
>
> --- ../kernel.torvalds.git.origin/arch/arm/mm/init.c 2014-09-24
> 16:24:06.863759000 +0800
> +++ arch/arm/mm/init.c 2014-09-24 16:27:11.455456000 +0800
>
> This is totally broken. Let's read the patch(1) man page:
>
> First, patch takes an ordered list of candidate file names as
> follows:
>
> · If the header is that of a context diff, patch takes the old and
> new
> file names in the header. A name is ignored if it does not
> have
> enough slashes to satisfy the -pnum or --strip=num option. The
> name
> /dev/null is also ignored.
>
> · If there is an Index: line in the leading garbage and if either
> the
> old and new names are both absent or if patch is conforming
> to
> POSIX, patch takes the name in the Index: line.
>
> · For the purpose of the following rules, the candidate file names
> are
> considered to be in the order (old, new, index), regardless of
> the
> order that they appear in the header.
>
> Then patch selects a file name from the candidate list as follows:
>
> · If some of the named files exist, patch selects the first name
> if
> conforming to POSIX, and the best name otherwise.
> ...
> · If no named files exist, no RCS, ClearCase, Perforce, or SCCS
> master
> was found, some names are given, patch is not conforming to
> POSIX,
> and the patch appears to create a file, patch selects the best
> name
> requiring the creation of the fewest directories.
>
> · If no file name results from the above heuristics, you are asked
> for
> the name of the file to patch, and patch selects that name.
>
> ...
>
> NOTES FOR PATCH SENDERS
> There are several things you should bear in mind if you are going to
> be
> sending out patches.
> ...
> If the recipient is supposed to use the -pN option, do not send
> output
> that looks like this:
>
> diff -Naur v2.0.29/prog/README prog/README
> --- v2.0.29/prog/README Mon Mar 10 15:13:12 1997
> +++ prog/README Mon Mar 17 14:58:22 1997
>
> because the two file names have different numbers of slashes, and
> dif-
> ferent versions of patch interpret the file names differently.
> To
> avoid confusion, send output that looks like this instead:
>
> diff -Naur v2.0.29/prog/README v2.0.30/prog/README
> --- v2.0.29/prog/README Mon Mar 10 15:13:12 1997
> +++ v2.0.30/prog/README Mon Mar 17 14:58:22 1997
>
Got it ,
I will resend the patch,
By the way, how to remove my wrong patch in the patch system ?
Thanks
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2014-09-26 1:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-19 7:09 Wang, Yalin
2014-09-19 10:00 ` Catalin Marinas
2014-09-25 14:31 ` Russell King - ARM Linux
2014-09-25 15:44 ` Catalin Marinas
2014-09-26 2:40 ` Wang, Yalin
2014-09-29 19:21 ` Valdis.Kletnieks
2014-09-30 7:02 ` Uwe Kleine-König
2014-09-30 9:24 ` Valdis.Kletnieks
2014-09-30 9:59 ` Russell King - ARM Linux
2014-09-28 1:50 ` Wang, Yalin
2014-09-26 1:56 ` Wang, Yalin [this message]
2014-10-08 11:54 ` Geert Uytterhoeven
2014-10-09 7:25 ` Wang, Yalin
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=35FD53F367049845BC99AC72306C23D103D6DB491637@CNBJMBX05.corpusers.net \
--to=yalin.wang@sonymobile.com \
--cc=DL-WW-ContributionOfficers-Linux@sonymobile.com \
--cc=Will.Deacon@arm.com \
--cc=catalin.marinas@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux@arm.linux.org.uk \
--cc=u.kleine-koenig@pengutronix.de \
/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