[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.02.1403201614360.18573@ionos.tec.linutronix.de>
Date: Thu, 20 Mar 2014 16:15:59 +0100 (CET)
From: Thomas Gleixner <tglx@...utronix.de>
To: Andy Lutomirski <luto@...capital.net>
cc: Stefani Seibold <stefani@...bold.net>,
Greg KH <gregkh@...uxfoundation.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
X86 ML <x86@...nel.org>, Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>, Andi Kleen <ak@...ux.intel.com>,
Andrea Arcangeli <aarcange@...hat.com>,
John Stultz <john.stultz@...aro.org>,
Pavel Emelyanov <xemul@...allels.com>,
Cyrill Gorcunov <gorcunov@...nvz.org>,
andriy.shevchenko@...ux.intel.com,
Martin Runge <Martin.Runge@...de-schwarz.com>,
Andreas Brief <Andreas.Brief@...de-schwarz.com>
Subject: Re: [PATCH] x86, vdso32: fix out of memory handling setup vDSO
On Thu, 20 Mar 2014, Andy Lutomirski wrote:
> On Thu, Mar 20, 2014 at 5:30 AM, Thomas Gleixner <tglx@...utronix.de> wrote:
> > On Thu, 20 Mar 2014, Stefani Seibold wrote:
> >> All complains are design decisions not made by me. I will send a patch
> >> for the GFP_ATOMIC thing. For the other one it would be the best to ask
> >> Andy for the reason.
> >
> > I'm not saying it's your fault, but if we rework code, then we really
> > should question such things. What happens if you remove the x32 call
> > and make the x64 subsys thing valid for both cases?
> >
>
> It's not just that. The x86_64 and x32 vdso page arrays are *far*
> cleaner than the 32-bit variant. They manage to do the entire vdso
> setup dance without any allocation at all. This avoids silly
> questions about error handling and GFP_KERNEL :)
>
> See vdso/vdso.S for the rather small amount of magic needed.
Is there any reason why we can't use that for x86_32 ?
Thanks,
tglx
--
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