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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3FA77C38A02 for ; Fri, 28 Oct 2022 23:24:24 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id AE86C6B0072; Fri, 28 Oct 2022 19:24:23 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A71506B0073; Fri, 28 Oct 2022 19:24:23 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8EA846B0074; Fri, 28 Oct 2022 19:24:23 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 7889D6B0072 for ; Fri, 28 Oct 2022 19:24:23 -0400 (EDT) Received: from smtpin19.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 55B5EA026D for ; Fri, 28 Oct 2022 23:24:23 +0000 (UTC) X-FDA: 80071939206.19.C3F109F Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf07.hostedemail.com (Postfix) with ESMTP id F124C4000C for ; Fri, 28 Oct 2022 23:24:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1666999462; 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=cRyNGp9vBF4GSRr09z30VvDe1naMezW0SypBh95qjuw=; b=ezCbbW+fUw6C/btLTjIcrDPmsx0pesNlWLId9pf/bM+PeNukgR+lMJvL9LNjZFgiuVfvHJ fM9zYLWkyTFst1G+vmqczc2t3UON9r6rBvvjYIPw1GKxZ4vvKG5jiup7XOSEhHyDtTzJCd DVn99c0Qd3TvdoqdOltn4elHXXIZihA= Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-570--FsSGugxOf-_XeqHw7c_RA-1; Fri, 28 Oct 2022 19:24:21 -0400 X-MC-Unique: -FsSGugxOf-_XeqHw7c_RA-1 Received: by mail-qv1-f72.google.com with SMTP id ob9-20020a0562142f8900b004bba5363ad9so3486398qvb.8 for ; Fri, 28 Oct 2022 16:24:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=cRyNGp9vBF4GSRr09z30VvDe1naMezW0SypBh95qjuw=; b=N8XFzVc+7d9TzWRjhI6hOUnTDRmxyIOOCShHP2aoiznMkuCBLxx1ixCnW8JDu3Nsyu al1pnHMLQmAlIal6EwrIqS8zxS2n3Sv7U1NG+ebif3fvZBQJnOfdlPLmdi4niU/RqemZ 5bwYlbTak8qJOmIrG/ug/3JaDVP1pxXgaPxpxJ3/0F+b/iUfAJlGdDb7c+q4YjMKdwvG +F+1bOYItQQRgtSXAiPnL9ozdVklHEZqo9++SXgQ30MNWGb3yzkjPUNOXhHckNSe1ST6 K0nUb+jm5jHNLZlCDya6/H3/LPpVhKoM45aqigPE6GefHZI6C4OeR8GDqcuqwgeUJR3t QzjQ== X-Gm-Message-State: ACrzQf1D8q2WFEy488Ler2YIIb1qT0xn8g/0qNhqwaHx5ToaDURO0dHH 8Uqhfxn40E59EKczulnq/21934LetO1K3WwuVLe1P99a11L5GQ5xejHD6zwm9U+gRuFTTGva+qP 4h0rAcaG85mk= X-Received: by 2002:ad4:4ea2:0:b0:4b7:e8a3:e043 with SMTP id ed2-20020ad44ea2000000b004b7e8a3e043mr1727884qvb.34.1666999460667; Fri, 28 Oct 2022 16:24:20 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5O9D8mCa0VSNsJWqYFF4hzhXh38xZVkwpvXIFKcJlS4quyWCJ+vSPpcEiNhIciaQuZzCKa1g== X-Received: by 2002:ad4:4ea2:0:b0:4b7:e8a3:e043 with SMTP id ed2-20020ad44ea2000000b004b7e8a3e043mr1727871qvb.34.1666999460480; Fri, 28 Oct 2022 16:24:20 -0700 (PDT) Received: from x1n (bras-base-aurron9127w-grc-46-70-31-27-79.dsl.bell.ca. [70.31.27.79]) by smtp.gmail.com with ESMTPSA id d9-20020a05620a240900b006b8e8c657ccsm3976351qkn.117.2022.10.28.16.24.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Oct 2022 16:24:19 -0700 (PDT) Date: Fri, 28 Oct 2022 19:24:18 -0400 From: Peter Xu To: Mike Kravetz Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-ia64@vger.kernel.org, Baolin Wang , Christophe Leroy , David Hildenbrand , "Aneesh Kumar K . V" , Naoya Horiguchi , Michael Ellerman , Muchun Song , Andrew Morton Subject: Re: [PATCH v4] hugetlb: simplify hugetlb handling in follow_page_mask Message-ID: References: <20221028181108.119432-1-mike.kravetz@oracle.com> MIME-Version: 1.0 In-Reply-To: <20221028181108.119432-1-mike.kravetz@oracle.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1666999463; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=cRyNGp9vBF4GSRr09z30VvDe1naMezW0SypBh95qjuw=; b=i6v1Is3l5ZUuVxpIfMUuI7zxYushiCvS4B3NdPgKX8IWm8oW6zwzobNZP1ikFcGx1FnmKk 8hLLItFlOctcwqE4wXEb83PtR+5/ssUHTo5Cj3p8Zsp0LlA7p5cViReVvY7zg1Gyh0aDZ1 5szCVd7c+RFFsjmTZq9Zph85wjfE24Q= ARC-Authentication-Results: i=1; imf07.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=ezCbbW+f; spf=pass (imf07.hostedemail.com: domain of peterx@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=peterx@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1666999463; a=rsa-sha256; cv=none; b=5I6V0Ff7jhcxeNEIVpy6BZuqsk/dK+ZcwSvDVcJQOqsoKDiKH3N2ChwJvD38c24aPW2acM ueiDpreIXY+lzdS+CMaWXLeycs3s0PVtTPpXs08ysT1L7hs+P96VaZAlxeru4RwH+1CKTP tPW4wz78CKY9huyn3+56rUjb6WtxjwU= X-Stat-Signature: di1sjkxgzscfc8dxnk4fiy5sxhg3ao34 X-Rspamd-Queue-Id: F124C4000C Authentication-Results: imf07.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=ezCbbW+f; spf=pass (imf07.hostedemail.com: domain of peterx@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=peterx@redhat.com; dmarc=pass (policy=none) header.from=redhat.com X-Rspam-User: X-Rspamd-Server: rspam01 X-HE-Tag: 1666999462-754601 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Fri, Oct 28, 2022 at 11:11:08AM -0700, Mike Kravetz wrote: > v4 - Remove vma (pmd sharing) locking as this can be called with > FOLL_NOWAIT. Peter Thanks, Mike. For the gup safety on pmd unshare, I'll prepare a few small patches and post hopefully early next week (will be off-work on Mon & Tue, but maybe I'll still try). -- Peter Xu