Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761455AbXEPGNa (ORCPT ); Wed, 16 May 2007 02:13:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757058AbXEPGNX (ORCPT ); Wed, 16 May 2007 02:13:23 -0400 Received: from netops-testserver-3-out.sgi.com ([192.48.171.28]:35548 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756771AbXEPGNX (ORCPT ); Wed, 16 May 2007 02:13:23 -0400 Date: Tue, 15 May 2007 23:13:22 -0700 (PDT) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Nick Piggin cc: Andrew Morton , linux-kernel@vger.kernel.org, Satyam Sharma , Nate Diller Subject: Re: Pagecache zeroing: zero_user_segment, zero_user_segments and zero_user In-Reply-To: <464A9BD1.1030300@yahoo.com.au> Message-ID: References: <20070515202442.eeaa49a0.akpm@linux-foundation.org> <464A8DF5.2010903@yahoo.com.au> <20070515222912.ae836e00.akpm@linux-foundation.org> <464A9BD1.1030300@yahoo.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 775 Lines: 21 On Wed, 16 May 2007, Nick Piggin wrote: > Well sure, if that's all Christoph is worried about, then it isn't > really valid because in generic code we have to follow the architecture > abstraction API -- there is no "non highmem platform" in generic code :) But there is a default KM_USER0 that is used in many functions. F.e. filemap_copy_from_user *_iovec xip_truncate_page clear_user_highpage clear_highpage copy_user_highpage copy_highpage So explicitly mentioning KM_USER0 in every function call is not a requirement. - 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/