From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752577AbbJEUtx (ORCPT ); Mon, 5 Oct 2015 16:49:53 -0400 Received: from terminus.zytor.com ([198.137.202.10]:48882 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751974AbbJEUtv (ORCPT ); Mon, 5 Oct 2015 16:49:51 -0400 User-Agent: K-9 Mail for Android In-Reply-To: References: <20151005152236.GA8140@thunk.org> <5612A3F3.2040609@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: [REGRESSION] 998ef75ddb and aio-dio-invalidate-failure w/ data=journal From: "H. Peter Anvin" Date: Mon, 05 Oct 2015 13:49:41 -0700 To: Linus Torvalds , Dave Hansen CC: "Theodore Ts'o" , Andrew Morton , "linux-ext4@vger.kernel.org" , Linux Kernel Mailing List Message-ID: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On October 5, 2015 1:22:44 PM PDT, Linus Torvalds 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.) -- Sent from my Android device with K-9 Mail. Please excuse my brevity.