From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by kanga.kvack.org (Postfix) with ESMTP id AE76B6B0031 for ; Fri, 3 Jan 2014 15:52:22 -0500 (EST) Received: by mail-wi0-f176.google.com with SMTP id hq4so887637wib.3 for ; Fri, 03 Jan 2014 12:52:22 -0800 (PST) Received: from mail-ee0-x231.google.com (mail-ee0-x231.google.com [2a00:1450:4013:c00::231]) by mx.google.com with ESMTPS id uk10si23612526wjc.165.2014.01.03.12.52.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 Jan 2014 12:52:21 -0800 (PST) Received: by mail-ee0-f49.google.com with SMTP id c41so6869168eek.22 for ; Fri, 03 Jan 2014 12:52:21 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <52C71ACC.20603@oracle.com> 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> Date: Fri, 3 Jan 2014 12:52:21 -0800 Message-ID: Subject: Re: [PATCH] mm/mlock: fix BUG_ON unlocked page for nolinear VMAs From: Linus Torvalds Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org List-ID: To: Sasha Levin Cc: Andrew Morton , Wanpeng Li , Vlastimil Babka , Michel Lespinasse , Bob Liu , Nick Piggin , KOSAKI Motohiro , Rik van Riel , David Rientjes , Mel Gorman , Minchan Kim , Hugh Dickins , Johannes Weiner , linux-mm , Linux Kernel Mailing List 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 it? Linus -- 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