[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1391969942.25202.76.camel@deadeye.wl.decadent.org.uk>
Date: Sun, 09 Feb 2014 18:19:02 +0000
From: Ben Hutchings <ben@...adent.org.uk>
To: Akira Takeuchi <takeuchi.akr@...panasonic.com>
Cc: linux-kernel@...r.kernel.org, stable@...r.kernel.org,
akpm@...ux-foundation.org,
Naoya Horiguchi <n-horiguchi@...jp.nec.com>,
Kiyoshi Owada <owada.kiyoshi@...panasonic.com>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH 3.2 056/185] mm: ensure get_unmapped_area() returns
higher address than mmap_min_addr
On Mon, 2014-01-06 at 19:19 +0900, Akira Takeuchi wrote:
> On Fri, 03 Jan 2014 04:26:43 +0000
> Ben Hutchings <ben@...adent.org.uk> wrote:
>
> > On Sun, 2013-12-29 at 03:08 +0100, Ben Hutchings wrote:
> > > 3.2.54-rc1 review patch. If anyone has any objections, please let me know.
> > >
> > > ------------------
> > >
> > > From: Akira Takeuchi <takeuchi.akr@...panasonic.com>
> > >
> > > commit 2afc745f3e3079ab16c826be4860da2529054dd2 upstream.
> > [...]
> > > [bwh: Backported to 3.2:
> > > As we do not have vm_unmapped_area(), make arch_get_unmapped_area_topdown()
> > > calculate the lower limit for the new area's end address and then compare
> > > addresses with this instead of with len. In the process, fix an off-by-one
> > > error which could result in returning 0 if mm->mmap_base == len.]
> >
> > I'm dropping this as I have no good way to test the backport (it's not
> > used on x86) and I didn't get any confirmation that it's right.
>
> I'm sorry for delayed reply.
>
> Your backport seems right.
> Additionally, I've confirmed the problem is resolved by your backport patch.
Thanks, I've re-queued it for 3.2.55.
Ben.
--
Ben Hutchings
If at first you don't succeed, you're doing about average.
Download attachment "signature.asc" of type "application/pgp-signature" (812 bytes)
Powered by blists - more mailing lists