Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756301AbaGOP3g (ORCPT ); Tue, 15 Jul 2014 11:29:36 -0400 Received: from mx1.HRZ.Uni-Dortmund.DE ([129.217.128.51]:60796 "EHLO unimail.uni-dortmund.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754115AbaGOP3c (ORCPT ); Tue, 15 Jul 2014 11:29:32 -0400 Message-ID: In-Reply-To: <20140715115832.18997.90349.stgit@buzz> References: <20140715115832.18997.90349.stgit@buzz> Date: Tue, 15 Jul 2014 17:29:06 +0200 Subject: Re: [PATCH] mm: do not call do_fault_around for non-linear fault From: "Ingo Korb" To: "Konstantin Khlebnikov" Cc: linux-mm@kvack.org, "Hugh Dickins" , linux-kernel@vger.kernel.org, "Sasha Levin" , "Kirill A. Shutemov" , "Dave Jones" , "Andrew Morton" , "Ning Qu" , "Konstantin Khlebnikov" User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Priority: 3 (Normal) Importance: Normal Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Faulting around non-linear page-fault has no sense and > breaks logic in do_fault_around because pgoff is shifted. I can confirm that this patches fixes the bug here not just for the test program but also the application where I originally noticed it. -ik -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/