From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D79F0CD1284 for ; Tue, 2 Apr 2024 17:58:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=VH7fo9J1LHzE94z3T25Lj/EYasReUlPut9nDCYT2iTk=; b=jzncL5tnkBFIiC cz/G3l1VoS4GgQiqKpnKmTCO77e+Oft/x34qYgZOk70r3YLeyYvqLt5unrrBDwBMbXmYebLOm56gN VM+nw/k9VRiAhrn49ExiPke5lNv/nKoMNYF4ljWWSFFGcpYhvP1sC6QzdOvxixVZzzx50u7laXqQL UzeIpLOqzXeyu1FYQLzFiJLqd/TK0pWP9Ysin+K39hg/KdjpsHDUM1vMFCxUUUoGBCGEblt6SfGGq PxP/8ZHwomTwJSnlEuWg3QGK8dcIsqfr7yV5l3N04gorFTDkQdgdLqum8ih576QqK8WpYlFj+ziR3 2uVNhR9juqdciVL0eYJA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rriP3-0000000CHMH-1vc0; Tue, 02 Apr 2024 17:58:33 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rriOv-0000000CHIa-1iNa for linux-arm-kernel@lists.infradead.org; Tue, 02 Apr 2024 17:58:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1712080704; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=QbOtfO/Dg9m2AlUnDgJHatWmb8CbT3I2rXBSbFfhdJY=; b=QAPoLihPD9/A1sgXXexAFUvIAVz6QCP7r1ZoeSC/qU8O7T2bThUhoKGjOLnOe447qRII2F KM0XRp0DheBbww7JPR5NpO+/tz9pS+8LwvBuxEiTTM6vPxt1gMYjYdnG8ZskVElwJ98f1U XnuUgx1T7f/NK+WWG/thzxxd9HbDt1s= Received: from mail-ua1-f69.google.com (mail-ua1-f69.google.com [209.85.222.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-42-47coWHttO56ProjtQTB_vw-1; Tue, 02 Apr 2024 13:58:18 -0400 X-MC-Unique: 47coWHttO56ProjtQTB_vw-1 Received: by mail-ua1-f69.google.com with SMTP id a1e0cc1a2514c-7e3492f5c52so353759241.0 for ; Tue, 02 Apr 2024 10:58:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712080698; x=1712685498; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=QbOtfO/Dg9m2AlUnDgJHatWmb8CbT3I2rXBSbFfhdJY=; b=T0vtW6JA2h28hqizcH7i1pj8kZBdArOLbE0dD95qbHvKEIhf1jpoDrfT9yRfY3DN0z nO737pTpJlJ7TnYSKqYygpOfrEszW7F8C2BWpdekv74JJYFrxhBe1iBN3mO0rfYWiPkW 8BlmBAeFzNmUkYfMFocm51fG0Ic2IoSUk5IkV0me/EaYw9deO6T9m3X/QECs0TBNowFS 86bJZMCLVixqcwTpzUvrEjDM4tAIt8fLxKOwux7aUt3ScaCh5KNJcc+O8TTp+Dtg7cJI n0EIs8B+ISslqNp76GqZECPfNLLB8KTdgTHTjg6S4Zgp7D2Og/2aLNI+95F8ngiro/kb uLKA== X-Forwarded-Encrypted: i=1; AJvYcCUiAcFg5b7RzIQFHaOENAivPZdSWcWOR9wg99HfA20U7rE2Ypq8uU7HaPeJVUpKSZJ79o/ogO+HLA6FoJDUxnsvPJWucTKXPUSTTbMnLPvfRWSCyAc= X-Gm-Message-State: AOJu0YxmRlThziXycSxMLqRP+5g6zjaet347M6s2VyIMheZ1q7kwaSQ0 LyuHHua5tjouYbwOIOigx37HW+PNJwHRa18WBreh5fJr5SLsHU/fDvTFzIMmt8o9d7SDswGHM7K VtntPLaW6eXpRvCZR8+nvJrMmPCDso43WiX0NG7mst3W4wjnvdNGQTknfmvmw/opZmT4ami6B X-Received: by 2002:a05:6102:93:b0:476:e72e:94ef with SMTP id t19-20020a056102009300b00476e72e94efmr9650796vsp.3.1712080697549; Tue, 02 Apr 2024 10:58:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF8b3uQ69B5cqo+ud6RtEbqNi2TEDMHUU32VESs2Pw1E24CP/zf32LkrpOQk6Mcp1ToEoA3Uw== X-Received: by 2002:a05:6102:93:b0:476:e72e:94ef with SMTP id t19-20020a056102009300b00476e72e94efmr9650757vsp.3.1712080696946; Tue, 02 Apr 2024 10:58:16 -0700 (PDT) Received: from x1n ([99.254.121.117]) by smtp.gmail.com with ESMTPSA id kk15-20020a056214508f00b00696a78b9cc6sm5720428qvb.53.2024.04.02.10.58.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 10:58:16 -0700 (PDT) Date: Tue, 2 Apr 2024 13:58:12 -0400 From: Peter Xu To: Ryan Roberts Cc: David Hildenbrand , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Yang Shi , "Kirill A . Shutemov" , Mike Kravetz , John Hubbard , Michael Ellerman , Andrew Jones , Muchun Song , linux-riscv@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, Christophe Leroy , Andrew Morton , Christoph Hellwig , Lorenzo Stoakes , Matthew Wilcox , Rik van Riel , linux-arm-kernel@lists.infradead.org, Andrea Arcangeli , "Aneesh Kumar K . V" , Vlastimil Babka , James Houghton , Jason Gunthorpe , Mike Rapoport , Axel Rasmussen Subject: Re: [PATCH v4 13/13] mm/gup: Handle hugetlb in the generic follow_page_mask code Message-ID: References: <20240327152332.950956-1-peterx@redhat.com> <20240327152332.950956-14-peterx@redhat.com> <5d9dd9a7-e544-4741-944c-469b79c2c649@redhat.com> MIME-Version: 1.0 In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240402_105828_893275_490E5309 X-CRM114-Status: GOOD ( 11.81 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Apr 02, 2024 at 05:46:57PM +0100, Ryan Roberts wrote: > I'll leave you to do the testing on this, if that's ok. Definitely. I'll test and send formal patches. > > Just to make my config explicit, I have this kernel command line, which reserves > hugetlbs of all sizes for the tests: > > "transparent_hugepage=madvise earlycon root=/dev/vda2 secretmem.enable > hugepagesz=1G hugepages=0:2,1:2 hugepagesz=32M hugepages=0:2,1:2 > default_hugepagesz=2M hugepages=0:64,1:64 hugepagesz=64K hugepages=0:2,1:2" This helps, thanks. -- Peter Xu _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel