Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753653Ab1DLTC7 (ORCPT ); Tue, 12 Apr 2011 15:02:59 -0400 Received: from mail-pv0-f174.google.com ([74.125.83.174]:40812 "EHLO mail-pv0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751317Ab1DLTC6 convert rfc822-to-8bit (ORCPT ); Tue, 12 Apr 2011 15:02:58 -0400 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==?= 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 970 Lines: 25 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. -- Robert Święcki -- 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/