Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751261Ab1EEE0T (ORCPT ); Thu, 5 May 2011 00:26:19 -0400 Received: from smtp-out.google.com ([216.239.44.51]:31930 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751025Ab1EEE0R (ORCPT ); Thu, 5 May 2011 00:26:17 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=google.com; s=beta; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Xii7515xmWnznAPd930TzDLthDRhCxp2CaIaoBjqTv3onCO26e8+ZRQjDmu5kKV2K4 FXI3s+suJb2HpVr2/bJw== MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 4 May 2011 21:26:14 -0700 Message-ID: Subject: Re: [PATCH] mm: fix possible cause of a page_mapped BUG From: Michel Lespinasse To: Linus Torvalds 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 X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1153 Lines: 32 On Wed, May 4, 2011 at 8:37 PM, Linus Torvalds wrote: > I seriously considered making that "skip stack guard page" and the > "mlock lookup" be two separate bits, because conceptually they are > really pretty independent, but right now the only _users_ seem to be > tied together, so I kept it as one single bit (FOLL_MLOCK). Yes, this seems best for now. > But as far as I can tell, the attached patch is 100% equivalent to > what we do now, except for that "skip stack guard pages only for > mlock" change. > > Comments? I like this patch because it seems to make the logic more > straightforward. > > But somebody else should double-check my logic. It makes perfect sense. Reviewed-by: Michel Lespinasse (I would argue for it to go to stable trees as well) -- Michel "Walken" Lespinasse A program is never fully debugged until the last user dies. -- 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/