Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3310384pxu; Tue, 8 Dec 2020 08:44:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJy04P34vWNs66mZ8JzlbmsjSHnlNMIfSADCJYcwyJhb58OGd7V6u7jLqpbhpVfzDGqZacqW X-Received: by 2002:a17:906:cecd:: with SMTP id si13mr21674649ejb.441.1607445899251; Tue, 08 Dec 2020 08:44:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607445899; cv=none; d=google.com; s=arc-20160816; b=OhK8DH2EDp6RNaqPvrM68i92lfTIqA819vio84bDM/nbk1ZHqAPD31QR9AeGIZPuhy SYGrwbGK3RTxk5aObhhqVCmPtpPc/kbziPlCZyPiVBbqjc9HL76fVuVW02F1VyKBjYIn EH8IGnTNBZiMIuzwgg/ZDZf2ytMh3wZE8NntlBR9wxhwQUU+Shr5OGDEG2A6SkdAiLjg xCzVWIBTcSoBJTEjUD+YHIEDBaZb375JPWiP5I+rxiDC/cCaTONMtC9VjLWJKrZN91kr 70hd7eVKk/V6wNa5Gr3jxsklXfRxtixG96GNrEX+raxSA6oCwbs2WsM2DJ4BxiUCeAku Tr9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=NMqhQXFvhSVNTGBBUTvkzNDsEmmLv8BXIjRUXuQR1PA=; b=TK8TxczslWObM9KJEXDy/YTPrLiPmXm7J9HYCNR41U9vCWnq0qa/FQisX7BPl1puzM igtEu/PjqZPsiTiOgg9MfauDfW7qG27wX3nHhWN1etDSc2zv/qn0dyH77iIWjtEfrjBt qmVn4Sfs2d4wgeVizsiEUarzn9ozYLwe2I/oIVZvxunmnNr3kBjcPIVJZrk3nGw7BcDZ B4HckKqrgCjOj9a76nrqGQuHxGIL9LG8YQrz/Xe7atyn9XuVIfsKF0HZboZ9wEMiEPGu yqHhlrR3TuGe8xYDgzw9yxY6jA2Risf58OVbO6hg7f/5Ngn/47z+fH7j4WMCaGsPaJqb lTSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=fBKqRdzN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v26si10288403edw.486.2020.12.08.08.44.29; Tue, 08 Dec 2020 08:44:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=fBKqRdzN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730356AbgLHQlo (ORCPT + 99 others); Tue, 8 Dec 2020 11:41:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730257AbgLHQln (ORCPT ); Tue, 8 Dec 2020 11:41:43 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D1CEC0613D6; Tue, 8 Dec 2020 08:41:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=NMqhQXFvhSVNTGBBUTvkzNDsEmmLv8BXIjRUXuQR1PA=; b=fBKqRdzNgO2taBufpfsIv0owb3 dpe3g7A1vOOMY9UhPDDZLHc0LOlsC+LIBDhlRZPvwlmXQQZsjmaf5RghYYPebuC6nmmQz5sQyB6HT DcX996N8PGX5dcDGGObL4aUq4bkgB5hXwh5vxVS050YetMTvrpVEkvTBB2g4czES2FFZ8CQnOYzr5 7otWfELANedPzbfZjAvum3+TKQgAjs2plkyVMoH5hCZMdnojfqQal7GnTaAMBmZoBkrn3/T5+AxVY o3cqjMiFJmfqw/uWHZFY2+Xzi7ys4OhEjUu4gwvaTpdndanwNnlInNs9eKHroS+AZ46IpgqoQrVAT sA/qA0Aw==; Received: from willy by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kmg2p-0001el-FN; Tue, 08 Dec 2020 16:40:55 +0000 Date: Tue, 8 Dec 2020 16:40:55 +0000 From: Matthew Wilcox To: Ira Weiny Cc: Thomas Gleixner , Andrew Morton , Dave Hansen , Christoph Hellwig , Dan Williams , Al Viro , Eric Biggers , Joonas Lahtinen , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH V2 2/2] mm/highmem: Lift memcpy_[to|from]_page to core Message-ID: <20201208164055.GI7338@casper.infradead.org> References: <20201207225703.2033611-1-ira.weiny@intel.com> <20201207225703.2033611-3-ira.weiny@intel.com> <20201208122316.GH7338@casper.infradead.org> <20201208163814.GN1563847@iweiny-DESK2.sc.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201208163814.GN1563847@iweiny-DESK2.sc.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 08, 2020 at 08:38:14AM -0800, Ira Weiny wrote: > On Tue, Dec 08, 2020 at 12:23:16PM +0000, Matthew Wilcox wrote: > > On Mon, Dec 07, 2020 at 02:57:03PM -0800, ira.weiny@intel.com wrote: > > > Placing these functions in 'highmem.h' is suboptimal especially with the > > > changes being proposed in the functionality of kmap. From a caller > > > perspective including/using 'highmem.h' implies that the functions > > > defined in that header are only required when highmem is in use which is > > > increasingly not the case with modern processors. Some headers like > > > mm.h or string.h seem ok but don't really portray the functionality > > > well. 'pagemap.h', on the other hand, makes sense and is already > > > included in many of the places we want to convert. > > > > pagemap.h is for the page cache. It's not for "random page > > functionality". Yes, I know it's badly named. No, I don't want to > > rename it. These helpers should go in highmem.h along with zero_user(). > > I could have sworn you suggested pagemap.h. But I can't find the evidence on > lore. :-/ hehehe... > > In the end the code does not care. I have a distaste for highmem.h because it > is no longer for 'high memory'. And I think a number of driver writers who are > targeting 64bit platforms just don't care any more. So as we head toward > memory not being mapped by the kernel for other reasons I think highmem needs > to be 'rebranded' if not renamed. Rename highmem.h to kmap.h?