Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp912481ybz; Wed, 29 Apr 2020 11:35:49 -0700 (PDT) X-Google-Smtp-Source: APiQypJRyycECG/pFZID0rzjiyibrWlpTXj7cpVjb++HH/A5oJF9wXZxbH77eAk1+FVUvMvicfE6 X-Received: by 2002:a50:bb07:: with SMTP id y7mr3705375ede.358.1588185349123; Wed, 29 Apr 2020 11:35:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588185349; cv=none; d=google.com; s=arc-20160816; b=CRoM08y1QlOjwcDhgyaIK7EhpkaKO17VUK5EK95ODr97IlnWmlsFH0P3gREjm8/ki2 sMsuE3rTffNuO9qYTk7BEgmmInk1c5O6142CO61NWJ+pEljLc/smTVxBZwXDxX10tXzL ggvmvWrcYYPNrIMuT6kmHrr7Wg8Ye3L5yIcIqYCIRYdroZxSi1uiLAImdB2F8zUZzLJW 3EhWq9byDKSh6dJrLe8XOEnuHXTyKxyItupKKlnfL2T8XWmDIlCJDKtwhHFlZHGHkpcQ n9qptUYGtNvJ/Ss7Os6wI8xzou9TbCHBpo3z3nscuPL4z54tkD62GzI+CNcfc0aDZlI+ IQ8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=I9lfmTeZyRvXNYMtpj1mE48qArFOsoBAsDmiJ1ux8Ws=; b=tizj8LFA1AvkOj5Hv/VwnlS1G3sXAz0ewKs2alVP73gDvxb2TLuRZ0OehQAu/mcZNB i3+I+5/2Ma6B0Qrd6NO5OlRPDgQy7DuEXKtjcNG/L+4zMJqaP/EYQyKCWHiwrLt5WSVG B5BJDka9Bch/+kGH0klxp8blwWrJ8UKDLok3jigTab+o9AHRIqf8iPdfKMuDQJBSYhTN XTZVC/ZwS/50jDcHUYQkrW1MHgCGzRkafBg+WuHSpg/UQziDGEf4KJ76Rt12oP6726Ct mwEUjzRJfjZ1nJsmRd8G9iju9wQZYMIAr91lr+KDpY54l9/iJHNWAOOZJdM934tOnGOV E47A== ARC-Authentication-Results: i=1; mx.google.com; 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 n18si4139413edq.472.2020.04.29.11.35.25; Wed, 29 Apr 2020 11:35:49 -0700 (PDT) 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; 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 S1726776AbgD2Sdb (ORCPT + 99 others); Wed, 29 Apr 2020 14:33:31 -0400 Received: from elvis.franken.de ([193.175.24.41]:60653 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726519AbgD2Sdb (ORCPT ); Wed, 29 Apr 2020 14:33:31 -0400 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1jTrWH-000430-01; Wed, 29 Apr 2020 20:33:17 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id CEF21C034E; Wed, 29 Apr 2020 20:25:05 +0200 (CEST) Date: Wed, 29 Apr 2020 20:25:05 +0200 From: Thomas Bogendoerfer To: Jiaxun Yang Cc: linux-mips@vger.kernel.org, john.garry@huawei.com, Huacai Chen , Paul Burton , Andrew Morton , Nathan Chancellor , Nick Desaulniers , Stephen Kitt , Serge Semin , Vlastimil Babka , Anshuman Khandual , Philippe =?iso-8859-1?Q?Mathieu-Daud=E9?= , Daniel Silsby , Mike Rapoport , Paul Cercueil , Mark Tomlinson , Greg Kroah-Hartman , Thomas Gleixner , Allison Randal , Tiezhu Yang , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/3] MIPS: Massage address spaces headers Message-ID: <20200429182505.GB21158@alpha.franken.de> References: <20200428021437.2000066-1-jiaxun.yang@flygoat.com> <20200428021437.2000066-2-jiaxun.yang@flygoat.com> <20200428113326.GD11443@alpha.franken.de> <7613695F-5A83-4B57-A2E6-0EE27DCF397F@flygoat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7613695F-5A83-4B57-A2E6-0EE27DCF397F@flygoat.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 28, 2020 at 07:45:19PM +0800, Jiaxun Yang wrote: > > > 于 2020年4月28日 GMT+08:00 下午7:33:26, Thomas Bogendoerfer 写到: > >On Tue, Apr 28, 2020 at 10:14:12AM +0800, Jiaxun Yang wrote: > >> That would allow us modify kernel vm address spaces without > >> step into the hell of includes. > >> > >> Also use some marcos for address spaces to make spaces.h more > >> clear. > >> > >> Signed-off-by: Jiaxun Yang > > > >I don't like this patch as I can't see a good reason for shuffling > >stuff arround. Can you drop this from this series ? > > The problem is without this patch we'll have to include pgtable-32.h and > pgtable-64.h into asm/io.h, and that will become totally hell. sure, but this would just mean moving VMALLOC_START, but not the other stuff in this patch, which is more what I dislike... Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]