Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3434401imm; Thu, 17 May 2018 08:42:52 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpbxPdfcxVXwQoZB50Mmq+3brSxezXNeCpeEhFGE1OZX+lADYTAb0qVo1Ztryg+mw3pgt2G X-Received: by 2002:a62:66dd:: with SMTP id s90-v6mr5559131pfj.123.1526571772576; Thu, 17 May 2018 08:42:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526571772; cv=none; d=google.com; s=arc-20160816; b=YULHmQUNPulyJrtS3k5TEsE45zxWXfeNz93VVJcLR6tuW4LNbAKPt8MouYhm4zVaWV neXOrzuto14Bqx6q5LMlXssE37P4x83hTAgVxYfWdqhqzY2dVizffLLIyGA/4AV8qr6+ ZTqIydMgtWKLNg1DqmY9Q2zdgEOUzIYdrMLQMi/pzbQ8Sy1eRCIpxexTf3N8gQwWFb9c jPpW4lGSMZEKAQ/ELTfdyDtFVrx3LFd8WcVbiNg3FJS5Vs5O8KIl7ZHW9S9qJvK4AKXG YNYBqWElVA3T3LkRkjdrBVzL+I6ZrvIWnAOPhRhaP67K6/XWveinOHWIGYiEen5ZL/Z1 m9mw== 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:arc-authentication-results; bh=ddMJ30oBtPIZngh1bP0+n8Qd7xnKXyX/IDsXVWl7gHs=; b=ObYBVyRA84+JsgPut0lRGJ/eEliZsMBudFBtQEyH2vxGk5qoShO3gtI6RA0Rv4mpL2 3eGz5RUMybBgPamNngzy65mJOTU6KtxZo1Ya6/WWBGmCcY4ptlvbDLREod8Un4OoJs+r ybMJutDjVtGSXX/CYzDaq7aHXcemhrlyq1F5l848ENHbUJ2C71eji0pJ6r67dCyP/2H+ kgaMatRxaEB2Wm+eYKI9Dxk7Nr+jf3Gge8sFrQWiqITlDawNFZj6EoxwPsOpTIOMLno9 FZY8mizNIpWgnTim172QKza1CD9jusA+AajqUNRLdMsocjh2yJYIQO/6wAqcJW/gb/w5 0PHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=NHMi9gRx; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f64-v6si5557542pfa.252.2018.05.17.08.42.38; Thu, 17 May 2018 08:42:52 -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=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=NHMi9gRx; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752186AbeEQPlW (ORCPT + 99 others); Thu, 17 May 2018 11:41:22 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:45224 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751564AbeEQPlV (ORCPT ); Thu, 17 May 2018 11:41:21 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w4HFekXA043476; Thu, 17 May 2018 15:40:58 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2017-10-26; bh=ddMJ30oBtPIZngh1bP0+n8Qd7xnKXyX/IDsXVWl7gHs=; b=NHMi9gRxoxwkWA1Fevwx9R2Xzn4mzmqjAGoYG0VZo7S9DabxRUsM1cYrdLIQxWA7w6ks iPottvZoLmvB311SwZANbdqH+CW/cYXsqUP6Rjq+t/Y9EtSt625fBcdNSuX7t/usMBwx UFRdQelVRSQC9k6gWUbSgMl774XDlSJq8Gn8JxIzb/J02vFoTNXEubwhxZu1xxzlcTfV Wp7a2nAvWqsb07GTctxYxKJZJ7uU1B9mfJWKllwj4/GXM6TxfUGuItLccSxJqos3HqrK JCNZ6wUlfePDQ4VO3ZJtcJ4wRCrzXefOOjHaHBYlvNckhMd5roJ20XtvKI1KQ09gYDwc bA== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2130.oracle.com with ESMTP id 2hx29whugf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 17 May 2018 15:40:58 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w4HFewIW006853 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 17 May 2018 15:40:58 GMT Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w4HFewJM021051; Thu, 17 May 2018 15:40:58 GMT Received: from ubuette (/75.80.107.76) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 17 May 2018 08:40:57 -0700 Date: Thu, 17 May 2018 08:40:55 -0700 From: Larry Bassel To: Matthew Wilcox Cc: William Kucharski , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [RFC] mm, THP: Map read-only text segments using large THP pages Message-ID: <20180517154055.GB6951@ubuette> References: <5BB682E1-DD52-4AA9-83E9-DEF091E0C709@oracle.com> <20180517152333.GA26718@bombadil.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180517152333.GA26718@bombadil.infradead.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8896 signatures=668698 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=850 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805170145 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17 May 18 08:23, Matthew Wilcox wrote: > > I can't find any information on what page sizes SPARC supports. > Maybe you could point me at a reference? All I've managed to find is > the architecture manuals for SPARC which believe it is not their purpose > to mandate an MMU. > Page sizes of 8K, 64K, 512K, 4M, 32M, 256M, 2G, 16G are allowed architecturally -- some of these aren't present in some SPARC machines. Generally 8K, 64K, 4M, 256M, 2G, 16G are present on modern machines. Also note that the SPARC THP page size is 8M (so that it is PMD aligned). Larry