[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151006075652.GA11757@gmail.com>
Date: Tue, 6 Oct 2015 09:56:52 +0200
From: Ingo Molnar <mingo@...nel.org>
To: "H. Peter Anvin" <hpa@...or.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Theodore Ts'o <tytso@....edu>,
Andrew Morton <akpm@...ux-foundation.org>,
"linux-ext4@...r.kernel.org" <linux-ext4@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [REGRESSION] 998ef75ddb and aio-dio-invalidate-failure w/
data=journal
* H. Peter Anvin <hpa@...or.com> wrote:
> On October 5, 2015 1:22:44 PM PDT, Linus Torvalds <torvalds@...ux-foundation.org> wrote:
> >
> > We could probably do them outside the loop, rather than tightly around the
> > actual move instructions. Peter (hpa), is there some sane interface to try to
> > do that?
>
> There are... in particular the get_user_try/catch mechanism, used among other
> things by the signal handing, as well as the copy functions (I don't have the
> original code in front of me so I don't have the context which would be
> appropriate.)
Yes, but note that those interfaces are x86 only at the moment, so they'd have to
be factored out and generalized before we can use it in generic code.
Thanks,
Ingo
--
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