[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110309060617.GB22723@ZenIV.linux.org.uk>
Date: Wed, 9 Mar 2011 06:06:17 +0000
From: Al Viro <viro@...IV.linux.org.uk>
To: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
Cc: Stephen Wilson <wilsons@...rt.ca>, linux-mm@...ck.org,
Andrew Morton <akpm@...ux-foundation.org>,
Rik van Riel <riel@...hat.com>,
Roland McGrath <roland@...hat.com>,
Matt Mackall <mpm@...enic.com>,
David Rientjes <rientjes@...gle.com>,
Nick Piggin <npiggin@...nel.dk>,
Andrea Arcangeli <aarcange@...hat.com>,
Mel Gorman <mel@....ul.ie>, Ingo Molnar <mingo@...e.hu>,
Michel Lespinasse <walken@...gle.com>,
Hugh Dickins <hughd@...gle.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/6] mm: use mm_struct to resolve gate vma's in
__get_user_pages
On Wed, Mar 09, 2011 at 02:19:30PM +0900, KOSAKI Motohiro wrote:
> Hmm..
> Is this works? In exec() case task has two mm, old and new-borned. tsk has
> no enough information to detect gate area if 64bit process exec 32bit process
> or oppsite case. On Linux, 32bit and 64bit processes have perfectly different
> process vma layout.
>
> Am I missing something?
Patch series refered to in [0/6] ;-) FWIW, that would probably be better
off as one mail thread - would be easier to find.
What happens is that mm_struct gets marked as 32bit/64bit at execve time
(on x86, everything else doesn't care), so this stuff becomes possible
to calculate by mm_struct alone.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists