Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp979676ybh; Tue, 10 Mar 2020 12:04:12 -0700 (PDT) X-Google-Smtp-Source: ADFU+vspawOUito4G1NJiHGrCWHLLx+jB5vaQRgyhe30LeZLhxNw/6ZWjPgm1DR8WFR9sfmOq/Dt X-Received: by 2002:a54:4403:: with SMTP id k3mr2158800oiw.111.1583867052349; Tue, 10 Mar 2020 12:04:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583867052; cv=none; d=google.com; s=arc-20160816; b=SgEmNiEvbrkxEF8CGKE5T6qjKu6EnAYoDFMQpiNZVEnQta+BLvqgkLV1KzVepA2mBb CSIPx3DZC7LxUtYMxtCGSTxIX9NYiVzo/cqnsUmQlnb8EGRYD/4cHLg05LZTHg3MUcTG HRSnDLmQo2feB4tu5K+o9ktUA95OYdr1Fg4dcTicCFX2Rn2XefIFc9i4wD84Yqz7ARaR pwG7i8Szw3r7EsHZMfCdRNN2tSVY2QK6hDVVss/FYUBEo/BQEPTQxDz/sXhNsbhUNqqp Z1SiNRghjtM+vRZ/vceBJA5JP0+TKpOSfQfIMD79LXqM1JHYHXb8AAyt1gci0cTe4yyp 77iA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:cc:to:subject:dkim-signature; bh=6XEkt56OSWTxFiSSocYC6agWwF+aHvNBJV+AZ+tcLAI=; b=clfMSt7/s9aDYTyj9kdAmTPwjjQitX2Cyz+itepVgfBvpWxiaG6ocgHCInWpZcYtc6 qAb5JUUIUrpOWNTcwp3Uv3QPGgdXqkgxsppQYvaXOmc+BXmWVR0g2Xzfpek9sCDAVZm2 DtHNhEEAIaasyApQy0DUFAdKaxWvFp+8IXpWLbKnve3OPJJ8A3nRY6887NB8vq3qhf/G WAyRDvM2BZWaWjguCV8IuCglbZ+/xFBNtRBAHWdOkTMs46YYvuSQCkDy4+znrSAxtx00 JiF65jvKJ9QBeVbnLmV9mSwKB0OCWxul4mKKCyU8TP6l+aMz6lfKGB+r3prKaK/d9IbP 3hsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b="a/0OAUs/"; 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 y13si8121518oto.33.2020.03.10.12.03.52; Tue, 10 Mar 2020 12:04:12 -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=@gmx.net header.s=badeba3b8450 header.b="a/0OAUs/"; 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 S1727220AbgCJTBI (ORCPT + 99 others); Tue, 10 Mar 2020 15:01:08 -0400 Received: from mout.gmx.net ([212.227.15.15]:36905 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726426AbgCJTBI (ORCPT ); Tue, 10 Mar 2020 15:01:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1583866850; bh=6XEkt56OSWTxFiSSocYC6agWwF+aHvNBJV+AZ+tcLAI=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=a/0OAUs/pEhJG6HSeyZfrnV8Vp+hPp3RxsvF0hnxhIvv+dtJoIA3TPNigBISMM7vG LWYBUkID9UxyBBXSDJPOzcvUc/MTxKHwxE/ELao4xEgWLQyYTu22zA1ytWcvfqoMww kXmqPofd+eM5R2boEYy0VQ6L7LOysTlNDxBds1OY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.0.202] ([95.91.236.254]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M89Gj-1jFKcr1gYt-005HmT; Tue, 10 Mar 2020 20:00:50 +0100 Subject: Re: [PATCH v2] mm: hugetlb: optionally allocate gigantic hugepages using cma To: Roman Gushchin Cc: Mike Kravetz , Andrew Morton , Johannes Weiner , Michal Hocko , linux-mm@kvack.org, kernel-team@fb.com, linux-kernel@vger.kernel.org, Rik van Riel References: <20200310002524.2291595-1-guro@fb.com> <5cfa9031-fc15-2bcc-adb9-9779285ef0f7@oracle.com> <20200310180558.GD85000@carbon.dhcp.thefacebook.com> <4b78a8a9-7b5a-eb62-acaa-2677e615bea1@oracle.com> <1b5ada08-1baf-4f2d-3ecd-b940e7ee0e0d@gmx.de> <20200310185652.GE85000@carbon.dhcp.thefacebook.com> From: Andreas Schaufler Autocrypt: addr=andreas.schaufler@gmx.de; keydata= mQINBFz9NnABEADESDLTtZOxrWgFIER6RYSaxDldKN/p3MSgNhof2QsFmoFR6FfiZLfW/4Ee YW6EyiDX/t5SOKQ3YbI48Y81V8Uksv/wAeq55gzlHT9NqaBH6+FWtqIxwJideg3QCGztUmLS JP/IrBph6C6bHtHeZHdH+7AQ7sL330doowV5BfCQw+67hbIb/YybTZ8/uAwKR1UrRRh2of87 OAJriy2aES5FrQnRqLh9Z1ukss030fT33LZE6i3zX5UXI2FgeSb3IfgUx7U48kLIs33kUdQ4 cSZNYPQh6LgjBFCuqG6IefcbnJP28LARJxb9Bctvbv5m7zYRw7LQ4uTT2lC780pYR6ohVRVr kVHd45fpAOgb2Zs2NZqfwg78z9mDea8I5LaPGSfWwhgAfhmR4DrXl9qiPQMddF62h915ucJO a21TC8GN7uJpXDJ2CEfYJTnxDTfCsn+S1oPVtWjLuVwded62FRomyZcRRSY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tAjF79n8RtGvmebiYlbeFkH96zq3zOULsmz4endq klQyOLIsvmSMat2wDGu+EgYjiG/rr0G8bu7QA/duPbfeT2t0CxtqobXTcnBIc6U9soFlS93T 1bsp6JSWBC9iY6nkE/yI59u6FJFsVtt8i79czq3BOcBrbIT8ugCs8r4ec+L//9NcMfCWdmdJ AV2jy5U09kl7C14Bgq8BrLX69A9jwgR7njCJf+zmyVn5TMDp/dBCjEMO2r+EdbnE1cP0ibjh CHoImpB/IGTh4dGzZxKGFSxIWS407Ah8xLzG/+bB16BNW8OSbQFQF3xtSXsgN7wkLDp3Dg2v 2PSuG5wVjF5vU1cwtifjMh5s2i/pWlD8RhB1188QeZQH4CsNvNcRYUeLaJIeHVKTJe2587X9 pMd1zB+/DJ0= Message-ID: Date: Tue, 10 Mar 2020 20:00:47 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200310185652.GE85000@carbon.dhcp.thefacebook.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:3Sk25sU6ksbYSh5W8FEw9uP3pd9g8N5z4xaORftETkR15T+ZM3C b+lXdSIl4c4OVOaZ7S4uTBkrK0fLS77n7vaX3Vh4kodoiZw4e9OoMw7fJn3a5iBMl5GOKUR KNpBAzax/w12GCuZ29ysFqu6dbs5tr7Jcsp1hJlsa7LwW3KFhnsIdbr5w0Q6+ZSZ9zHi2Ko z/e7Yvu/XUWU79mAIqLuQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:4zAhCbuOMx8=:PplO7Vv8qQAu4oFmht7ygn ZGb6XcbAYQgbG8xS9KkUyKCLEwoSNtklwbIUgV8R8Tr1V8oLGJ7mI4jqw0NQtsoHiB4CNjIiS ogNsnrMjz3rXYoOJ9oUqwLQgtx+a9h/OJL0qg+p3TdCia4rFvDKLeEHFBc0vHZIM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GkJAghpRkqNhwit8O8JMDP9uyvnu3ofwRUMU2hmZ2FS m68InUrQ7AAUnojRn Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10.03.2020 19:56, Roman Gushchin wrote: > On Tue, Mar 10, 2020 at 07:54:58PM +0100, Andreas Schaufler wrote: >> Hi all, >> >> sorry for bumping into this discussion, but this is exactly the feature >> I am currently looking for on ARM64. You may browse under >> linux-arm-msm@vger.kernel.org for a message I posted there recently. >> >> I read somewhere in this thread that it should be easily portable to >> other architectures than x86. I am ready to give it a try, but I would >> need a few pointers where to hook in in the ARM64 code. > > I'll try to add arm support in the next version and will really > appreciate if you'll be able to test it. > > Thanks! > Excellent. Thanks. Just let me know.