From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail190.messagelabs.com (mail190.messagelabs.com [216.82.249.51]) by kanga.kvack.org (Postfix) with ESMTP id 346A4900086 for ; Tue, 12 Apr 2011 15:02:59 -0400 (EDT) Received: by pwi10 with SMTP id 10so3642423pwi.14 for ; Tue, 12 Apr 2011 12:02:57 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 12 Apr 2011 21:02:57 +0200 Message-ID: Subject: Re: [PATCH] mm: fix possible cause of a page_mapped BUG From: =?UTF-8?B?Um9iZXJ0IMWad2nEmWNraQ==?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: owner-linux-mm@kvack.org List-ID: To: Linus Torvalds Cc: Hugh Dickins , Andrew Morton , Miklos Szeredi , Michel Lespinasse , "Eric W. Biederman" , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Peter Zijlstra , Rik van Riel On Tue, Apr 12, 2011 at 8:59 PM, Linus Torvalds wrote: > On Tue, Apr 12, 2011 at 10:19 AM, Linus Torvalds > wrote: >> >> THIS IS A HACKY AND UNTESTED PATCH! > > .. and here is a rather less hacky, but still equally untested patch. > It moves the stack guard page handling into __get_user_pages() itself, > and thus avoids the whole problem. > > This one I could easily see myself committing. Assuming I get some > ack's and testing.. I'm testing currently with the old one, w/o any symptoms of problems by now, but it's not a meaningful period of time. I can try with the new one, leave it over(European)night, and let you know tomorrow. --=20 Robert =C5=9Awi=C4=99cki -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org