[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wjFQNxO+JgA808pCMO333N5PkxrwU4kCntiPxqZKuxgQA@mail.gmail.com>
Date: Mon, 7 Oct 2019 13:04:34 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Tony Luck <tony.luck@...il.com>
Cc: Al Viro <viro@...iv.linux.org.uk>,
Guenter Roeck <linux@...ck-us.net>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-fsdevel <linux-fsdevel@...r.kernel.org>
Subject: Re: [PATCH] Convert filldir[64]() from __put_user() to unsafe_put_user()
On Mon, Oct 7, 2019 at 12:49 PM Tony Luck <tony.luck@...il.com> wrote:
>
> If PSR.ac is set, we trap. If it isn't set, then model specific
> (though all implementations will
> trap for an unaligned access that crosses a 4K boundary).
Ok. At that point, setting AC unconditionally is the better model just
to get test coverage for "it will trap occasionally anyway".
Odd "almost-but-not-quite x86" both in naming and in behavior (AC was
a no-op in kernel-mode until SMAP).
> Your patch does make all the messages go away.
>
> Tested-by: Tony Luck <tony.luck@...el.com>
Ok, I'll commit it, and we'll see what Al can come up with that might
be a bigger cleanup.
Linus
Powered by blists - more mailing lists