Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761635AbYBLIDR (ORCPT ); Tue, 12 Feb 2008 03:03:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751912AbYBLIDG (ORCPT ); Tue, 12 Feb 2008 03:03:06 -0500 Received: from mx1.redhat.com ([66.187.233.31]:59531 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751315AbYBLIDD (ORCPT ); Tue, 12 Feb 2008 03:03:03 -0500 Date: Tue, 12 Feb 2008 16:00:53 +0800 From: Eugene Teo To: Andrew Morton Cc: Eugene Teo , linux-kernel@vger.kernel.org, Jonathan Corbet , torvalds@linux-foundation.org Subject: Re: [PATCH] mm: tidy up follow_hugetlb_page() and get_user_pages() Message-ID: <20080212080053.GA12805@kernel.sg> Reply-To: Eugene Teo References: <20080212052840.GA3942@kernel.sg> <20080211234720.972574ea.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080211234720.972574ea.akpm@linux-foundation.org> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 742 Lines: 18 > On Tue, 12 Feb 2008 13:28:40 +0800 Eugene Teo wrote: > > > This patch extends Jonathan Corbet's patch to avoid buffer overflows in > > get_user_pages(). It cleans up follow_hugetlb_page(), and get_user_pages() so > > that it is easier to read. It also makes sure that len and vma are validated. > > We'd prefer that the functional change not be bundled with a (large) cleanup, please. Ok. I will split them up, and resend. Thanks, Eugene -- 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/