From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-gg0-f169.google.com (mail-gg0-f169.google.com [209.85.161.169]) by kanga.kvack.org (Postfix) with ESMTP id F25AF6B0031 for ; Fri, 3 Jan 2014 22:32:16 -0500 (EST) Received: by mail-gg0-f169.google.com with SMTP id f4so3186805ggn.14 for ; Fri, 03 Jan 2014 19:32:16 -0800 (PST) Received: from userp1040.oracle.com (userp1040.oracle.com. [156.151.31.81]) by mx.google.com with ESMTPS id z21si5188297yhb.174.2014.01.03.19.32.15 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 03 Jan 2014 19:32:16 -0800 (PST) Message-ID: <52C780A3.8030405@oracle.com> Date: Sat, 04 Jan 2014 11:31:47 +0800 From: Bob Liu MIME-Version: 1.0 Subject: Re: [PATCH] mm/mlock: fix BUG_ON unlocked page for nolinear VMAs References: <1387267550-8689-1-git-send-email-liwanp@linux.vnet.ibm.com> <52b1138b.0201430a.19a8.605dSMTPIN_ADDED_BROKEN@mx.google.com> <52B11765.8030005@oracle.com> <52b120a5.a3b2440a.3acf.ffffd7c3SMTPIN_ADDED_BROKEN@mx.google.com> <52B166CF.6080300@suse.cz> <52b1699f.87293c0a.75d1.34d3SMTPIN_ADDED_BROKEN@mx.google.com> <20131218134316.977d5049209d9278e1dad225@linux-foundation.org> <52C71ACC.20603@oracle.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Linus Torvalds Cc: Sasha Levin , Andrew Morton , Wanpeng Li , Vlastimil Babka , Michel Lespinasse , Nick Piggin , KOSAKI Motohiro , Rik van Riel , David Rientjes , Mel Gorman , Minchan Kim , Hugh Dickins , Johannes Weiner , linux-mm , Linux Kernel Mailing List On 01/04/2014 04:52 AM, Linus Torvalds wrote: > On Fri, Jan 3, 2014 at 12:17 PM, Sasha Levin wrote: >> >> Ping? This BUG() is triggerable in 3.13-rc6 right now. > > So Andrew suggested just removing the BUG_ON(), but it's been there > for a *long* time. > > And I detest the patch that was sent out that said "Should I check?" > > Maybe we should just remove that mlock_vma_page() thing instead in > try_to_unmap_cluster()? Or maybe actually lock the page around calling I didn't get the reason why we have to call mlock_vma_page() in try_to_unmap_cluster() and I agree to just remove it. > it? > > Linus > -- Regards, -Bob -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org