Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2164526pxb; Fri, 17 Sep 2021 03:50:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzK5KvCHmOvvmspqzDiRSkIwu6j7vBooXyhLqsu+wNU6/wOU3STppHViL5iCpI3ioqaaGsB X-Received: by 2002:a17:907:2651:: with SMTP id ar17mr11521849ejc.15.1631875836225; Fri, 17 Sep 2021 03:50:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631875836; cv=none; d=google.com; s=arc-20160816; b=cW0XNpXnSP691Sov1Ks/udEtoOhk8a7f3KebA1WRJ1J2qxowVVQQZTEvfAIhUCx55P hSIVRKrV6NGKJfAKbJBbzMtxuaz83uV4wlyjdTm/O98jP1LOXaoRzsXiBBM5BFkH3QtV OZ7eMEtOiZIHi9QNfStef9iv91jxWgKHXHJoxsP0E5LAh2HFyzQ+oTi2QdUDrDYOHup4 Pp4+d/X/skLQ9C6QvMSuV1DolpMtgcLLSUmxvI5X2eT+sv6rIenTigYxe8CbCUk1oD+c A/6mXafk4M2DTGYbXruFZ7DQHA4xDV3gkBeFvNckCseiffG6ubnq5E55S4uh5gQbppxP PDbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=lXg7b67tonaDwOcYQzrzVEci7F/ax354VR4+gAw8iYI=; b=JsSLGPMr7sW1VLSUUKivkKl6YFgfvlzZ8AgCQV7uvnySlSAXKZ+oKuoEVVlrIDaRk1 Kh+uzusDgwB3KvNqJ/9/mzJC7VHux++afWvUYZp/6+yqGrkQzT76h22BlDzAQGQs5zOo CLbEOyf5bM75p2eLdU9OD/RfoxVD4+ucfyMRmIFmkXVuXv5ZlyPz+0B1V1z59iatGVlj /0pT7C9egl3ihsvrJnLppEgGkt0Ylu+y0Ey3xrVFAbphKx+etXAKBZXCCa48hqBYPBtg 9cBQLKOO9UiptvUP/Xcvm0A/U+/MYthL9eFZIOWX5MVCFx/XVQlltKH7kBIQ+0nk/3BG tl6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ff3M2R5C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w8si6533033ede.307.2021.09.17.03.50.12; Fri, 17 Sep 2021 03:50:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ff3M2R5C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234698AbhIQAE5 (ORCPT + 99 others); Thu, 16 Sep 2021 20:04:57 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:49543 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229842AbhIQAEy (ORCPT ); Thu, 16 Sep 2021 20:04:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1631837012; 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=lXg7b67tonaDwOcYQzrzVEci7F/ax354VR4+gAw8iYI=; b=Ff3M2R5Cpeus88jnibeiXvj0Ly5fjiDma0DYeLfyU6UFMGGDQVhqOVoyxIQ1/77IvrZOmu sPCeg1I+NIX+Ry5Ec6wLEfMkJMwEiQfDmZ3Rp9WA16OAaRxd4n0tsL2gLjK0eClHGEjPil URICuQDt5ZUVftGsujqmeurIXCH1GbU= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-326-tsy3v-vqMSiiHwYjbrrndw-1; Thu, 16 Sep 2021 20:03:32 -0400 X-MC-Unique: tsy3v-vqMSiiHwYjbrrndw-1 Received: by mail-qv1-f69.google.com with SMTP id r18-20020a056214069200b0037a291a6081so79462171qvz.18 for ; Thu, 16 Sep 2021 17:03:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=lXg7b67tonaDwOcYQzrzVEci7F/ax354VR4+gAw8iYI=; b=qFMhGervwRBErkamDAhsDJS1IJkeK5OXTWRB8jq9IF1mG+3jPhvdLrLDNEkKXQUlC8 nx/AP4RPr2dlDY0AQcl8UaEUR8a7HfoPkF3fUbUFGCXCNdgqIQvKPYJhMISu7cY3C1nm qucmWZb8coG36bdCyDfpdnVINzfxQnQWZbCEWwZG2v2fvqms+ealy/yOE8yNhlhUktBk VSgb83/ZmKVCC9O5S6HH5I5NBjQDaLpOwhX3fNycGFWaycERnM/FnzBboO+R4AxZJoDg mEt1wrTbdCuutL47PIfhi3CgKhb/i6wVUvOW1Q+xNqglOyfT56o9gdCf2jSWDoW/0+CD hXCQ== X-Gm-Message-State: AOAM530NZJaCie2Z/r2IhDggLWGsx2fL14a7UZCCeTILJmdukK6Z1+YT ciHQcITytDbxJULMtPqp56bm8eZlW6qHBWdd3rqCyopZOn+FClR6GPR/nwFGK6xR+WYJr/FNqDf mX1SsrzKzAsI5ZY50fIsBOFfN X-Received: by 2002:a05:622a:1654:: with SMTP id y20mr7636919qtj.261.1631837011124; Thu, 16 Sep 2021 17:03:31 -0700 (PDT) X-Received: by 2002:a05:622a:1654:: with SMTP id y20mr7636908qtj.261.1631837010898; Thu, 16 Sep 2021 17:03:30 -0700 (PDT) Received: from t490s ([2607:fea8:56a2:9100::d35a]) by smtp.gmail.com with ESMTPSA id d12sm3547474qka.60.2021.09.16.17.03.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Sep 2021 17:03:30 -0700 (PDT) Date: Thu, 16 Sep 2021 20:03:28 -0400 From: Peter Xu To: John Hubbard Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Andrew Morton , Mike Kravetz Subject: Re: [PATCH] mm/hugetlb: Drop __unmap_hugepage_range definition from hugetlb.h Message-ID: References: <20210916212816.86838-1-peterx@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 16, 2021 at 03:57:38PM -0700, John Hubbard wrote: > On 9/16/21 14:28, Peter Xu wrote: > > Drop it in the header since it's only used in hugetlb.c. > > Hi Peter, Hi, John, > > Tiny documentation tweak: could the above line please be changed to > something approximately like this: > > "Remove __unmap_hugepage_range() from the header file, because it is > only used in the .c file." > > ? Sure thing. > > Because: "drop it in" is so close to "drop it into" (which means, "add > it to"), that it's actually reading a lot like the opposite of what you > intend to say. > > > > > Suggested-by: Mike Kravetz > > Signed-off-by: Peter Xu > > --- > > include/linux/hugetlb.h | 10 ---------- > > mm/hugetlb.c | 6 +++--- > > 2 files changed, 3 insertions(+), 13 deletions(-) > > > The change itself looks accurate for the current top of tree, so: > > Reviewed-by: John Hubbard Thanks! -- Peter Xu