Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2230653imm; Sat, 4 Aug 2018 23:13:22 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdctxb1KV9YBdpaDcX0wU6w5zd/ldLLcuDAFKZtrXMelfxXbdM3tmUjMtnFqt0K7wG7+1bE X-Received: by 2002:a62:4808:: with SMTP id v8-v6mr11743477pfa.89.1533449602405; Sat, 04 Aug 2018 23:13:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533449602; cv=none; d=google.com; s=arc-20160816; b=SXIUvsYxiVDHIadYHIrPH90r8ms+eQfVn/86EF21TLya8PTb9FY9Pr/c9ZcOobxg7n cvzb/xPZnX3CCK9QiQm1TP1dh6z2Iirgj8vPajI7fGbIhIasb0vvDeCXPlPoEQIIE64U 5x8EEwapzWCtrixX7mkl42QPW7MGoyy5fQf2xcaCPRFRWjWMIBVKBzCscfVji6NXV5he JbZCSttbkOYmEn/egQ9k4He8yumQ26AAM90E0SPv9vAvBqWF5eLYgloKltiFJ248Jk6c q+N5bIEEAYJO87OK8gwSkN+AEp0i2s2hm3bWVBrc0QLa3t75CsMKGMORX6ZxRVYsavcJ zRFA== 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:arc-authentication-results; bh=x8Hijp6nsSXHS0O3Hh7U+jb5MP6cOgxmMTAe3AE7k/M=; b=txBa1Ieu13tybflMOrwErk4R2OuIEGd9lezkgoZeLqT6VF03CNQBB/0LPzsq9autkN tMNLd+30yyXACCuMvZR62yh7yaABZ7G3Gx+MGdFxqqD5Q2ifficWK148MEjeqqccqyMx u+koEBlbQk3fQNDLHO5ASntInBQg/6MbjDUzwwPknwTVtJd4gEsPHgsW4TDS8UZzSN83 FKW5l9spAHdiij9MSG+mlztzgghoSxSpuzhTafpzX3y7NkoshoJDu+21zhF5rLhrxZru 6GM3RxmKlPXrpK3cnNljjaawYnbDHHtSjJS2qLBV3EtlqCrZB3xglirGH6lLjCQzTDKo eAFQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e21-v6si9200804pgl.148.2018.08.04.23.12.55; Sat, 04 Aug 2018 23:13:22 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726130AbeHEIO6 (ORCPT + 99 others); Sun, 5 Aug 2018 04:14:58 -0400 Received: from mga09.intel.com ([134.134.136.24]:14365 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725729AbeHEIO6 (ORCPT ); Sun, 5 Aug 2018 04:14:58 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Aug 2018 23:11:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,446,1526367600"; d="scan'208";a="59907097" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.126]) by fmsmga007.fm.intel.com with ESMTP; 04 Aug 2018 23:11:32 -0700 Received: by tassilo.localdomain (Postfix, from userid 1000) id 8E494301BDB; Sat, 4 Aug 2018 23:11:32 -0700 (PDT) Date: Sat, 4 Aug 2018 23:11:32 -0700 From: Andi Kleen To: Linus Torvalds Cc: Hugh Dickins , Dave Hansen , Linux Kernel Mailing List , Kees Cook , Thomas Gleixner , Ingo Molnar , Andrea Arcangeli , =?iso-8859-1?Q?J=FCrgen_Gro=DF?= , Josh Poimboeuf , Greg Kroah-Hartman , Peter Zijlstra , Borislav Petkov , Andrew Lutomirski Subject: Re: [PATCH 3/7] x86/mm/init: pass unconverted symbol addresses to free_init_pages() Message-ID: <20180805061132.GD4238@tassilo.jf.intel.com> References: <20180802225823.4711C55B@viggo.jf.intel.com> <20180802225828.89B2D0E2@viggo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > [ Goes around and rummages ] > > Oh, never mind, looking around reminded me why: we want to map the > kernel text in the top 31 bits, so that we can use the faster > -mcmodel=kernel because all symbols fit in sign-extended 32 bits. > > Maybe there was some other reason too, but I think that's it. No that was the only reason. Large code model would be extremely expensive, and PIC linked kernel also had some issues. So we ended up with this set up. -Andi