[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200904074753.GA14932@lst.de>
Date: Fri, 4 Sep 2020 09:47:53 +0200
From: Christoph Hellwig <hch@....de>
To: Al Viro <viro@...iv.linux.org.uk>
Cc: Christoph Hellwig <hch@....de>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Michael Ellerman <mpe@...erman.id.au>, x86@...nel.org,
Alexey Dobriyan <adobriyan@...il.com>,
Luis Chamberlain <mcgrof@...nel.org>,
Kees Cook <keescook@...omium.org>,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-arch@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH 12/14] x86: remove address space overrides using
set_fs()
On Fri, Sep 04, 2020 at 08:38:13AM +0200, Christoph Hellwig wrote:
> > Wait a sec... how is that supposed to build with X86_5LEVEL? Do you mean
> >
> > #define LOAD_TASK_SIZE_MINUS_N(n) \
> > ALTERNATIVE __stringify(mov $((1 << 47) - 4096 - (n)),%rdx), \
> > __stringify(mov $((1 << 56) - 4096 - (n)),%rdx), X86_FEATURE_LA57
> >
> > there?
>
> Don't ask me about the how, but it builds and works with X86_5LEVEL,
> and the style is copied from elsewhere..
Actually, it doesn't any more. Looks like the change to pass the n
parameter as suggested by Linus broke the previously working version.
Powered by blists - more mailing lists