Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752416Ab1EEBlO (ORCPT ); Wed, 4 May 2011 21:41:14 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:38510 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751801Ab1EEBlN (ORCPT ); Wed, 4 May 2011 21:41:13 -0400 MIME-Version: 1.0 In-Reply-To: References: From: Linus Torvalds Date: Wed, 4 May 2011 18:40:49 -0700 Message-ID: Subject: Re: [PATCH] mm: fix possible cause of a page_mapped BUG To: Michel Lespinasse Cc: =?UTF-8?B?Um9iZXJ0IMWad2nEmWNraQ==?= , Hugh Dickins , Andrew Morton , Miklos Szeredi , "Eric W. Biederman" , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Peter Zijlstra , Rik van Riel Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 570 Lines: 15 On Wed, May 4, 2011 at 6:18 PM, Michel Lespinasse wrote: > > I think we want the mm/memory.c part of this proposal without the > mm/mlock.c part. .. but what about mlock not setting the FOLL_MLOCK bit, then? In that case, you'd get the "mlock extends the stack" problem. Linus -- 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/