Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp2938974img; Sun, 24 Mar 2019 23:49:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqyN1xzY4X1BpjoVFH0G++GfSVDfrJUlCbLBDwwQJXK5P7LvgAX75cAzGW4Qx/VxL+XuJGpJ X-Received: by 2002:a62:568e:: with SMTP id h14mr23283960pfj.134.1553496596423; Sun, 24 Mar 2019 23:49:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553496596; cv=none; d=google.com; s=arc-20160816; b=RiS8wHYn6RXqQ9MN8Y4KleVTIMJFe55kRiQ2REqMYVUptUVvss1IxkJ7Lxb0sbI6xG v3BrhmXk5TI39j0xt06XTFTysF5I8kKkDM92GBZIY04R5KszoLwqIOQi4g38jYejCSyT HJ3HgoAo6+afLEgFcF8FkPyi+7nR/Mtk10Av3+UzKRq46eIL2JkpsxkluLK9uwcK9fWK jIoq6HYOvC+A6P9vGmZM+Ee+QzGEmxwNEnaLC+MNH7DAnt2v7rx/aTNVHS2fSRVK1AL1 iVvdT8oaX5fpiCVbVRpRNDWFgvXOXo9h/HPFozGAmXnMLg3w40CxgKrWSIWLtbKRj9fM AuEQ== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=8rpLasmbiJ7ziHUN94ZL8fhLEAosgWo5wBt1r3c4Zdk=; b=y6hW13T2BmlSfUK5Vh6+kkeBdc7MPGyYroeRi7AxssZuZZ+51yrEMEqniGiXSzqtMS eKXp1smZ2pvh4ij9yKKhJw/3zkOtF2n7mf5K/rrhzGnklojMWzCzZu6cfFI2e/5Xh1/6 B6Ub7rCOW0/Eule8y+dangjeOmQEHQ/tLM02QFCyeT8oCvLJAclVRp0o3TRiB/XPbHhY rzBdpjS3eM0Yn2P7AMqKb9z97mEkxAfI4T1YjxD6vbx4wsDm/Fuid+lv7kyUlXitMTGE qMn5ClPw51oX0i1kFPIX6QY69v2pTYukiVAH4wlDF/jbjxCTI4zaj8d0zA4DODXls4WL dQIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="olO/J+sa"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 136si12922738pfc.170.2019.03.24.23.49.41; Sun, 24 Mar 2019 23:49:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="olO/J+sa"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729795AbfCYGse (ORCPT + 99 others); Mon, 25 Mar 2019 02:48:34 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:41402 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729373AbfCYGsd (ORCPT ); Mon, 25 Mar 2019 02:48:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.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:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=8rpLasmbiJ7ziHUN94ZL8fhLEAosgWo5wBt1r3c4Zdk=; b=olO/J+sa95d9F2zTUgBRzSXLN 9AaPeoWDInp4AMVdQQFBCHPvMlB6B1/HWNrHsAKGB/5lqNGA0pFq264PYME9Ka0JHmWk7JBdaJsJE Dhf5jEPglVdhBQQfqd+i0cqqqnEmSf2iBWffgkJDdKUGJsl6ypRMG6V1CV1GajdaqeM6ma9kpJAg4 8aiRnb8JDedkf9Cw4jXrCoKqimL6EPQdc6AilTmnDVkwpydyYD9mNt+lKvx1uIxX3sEMjumnFcqBM KsPfwCWLn+YlxppFnQWnzXzf6Uai5O2ttzhdwIyJBbiI8A8ChU6t2owfBchQhX5I45JZSwuKiWrml 1u/ZujpBA==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8JPG-00018s-TX; Mon, 25 Mar 2019 06:48:26 +0000 Date: Sun, 24 Mar 2019 23:48:26 -0700 From: Christoph Hellwig To: Alan Kao Cc: Anup Patel , Palmer Dabbelt , Albert Ou , "linux-kernel@vger.kernel.org" , Mike Rapoport , Christoph Hellwig , Atish Patra , Paul Walmsley , "linux-riscv@lists.infradead.org" Subject: Re: [PATCH v2] RISC-V: Always compile mm/init.c with cmodel=medany Message-ID: <20190325064826.GA29111@infradead.org> References: <20190325033648.16171-1-anup.patel@wdc.com> <20190325052550.GA30996@andestech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190325052550.GA30996@andestech.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 25, 2019 at 01:25:50PM +0800, Alan Kao wrote: > Hi Anup, > > Sorry for being late to the party. I think one more thing should > move together with setup_vm(): Ah, I wonded about that yesterday but wasn't sure. Maybe notrace is a little cleaner? Either way we should probably document both the mcmodel and notrace assumptions in source comments for the next person touching this code.