Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2243850rwd; Fri, 16 Jun 2023 00:56:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6tDTKuE2WLwLIvWMg0QwSrfcTKmNQsHQt3d8TFJp1QeQo85FS4h4J+qCwX78SRbHMjfedh X-Received: by 2002:a05:6a20:442a:b0:100:ba96:e5e7 with SMTP id ce42-20020a056a20442a00b00100ba96e5e7mr1764657pzb.18.1686902185541; Fri, 16 Jun 2023 00:56:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686902185; cv=none; d=google.com; s=arc-20160816; b=PJXE/XdLV/4FscGVD3ZTbHyvMlTwf6mvn/CdpvtPvDlZvT+gKTJITjlTH5zppbhPd+ +1JP4BFOS1Q58gc7dWsVyhl/2Hlt5qcVg9L/DoKOjtmflVyVKSXuTMC2wots52nUm5gE r9Mem89fx5vWTjj8v8ID6nVGFgRSc+NC37RzS09NEnnjFHCHsbx0t4PddRo57k2KomVk rndOGiavI+gKM82o38+TYsai4r8P3VXMklOuOG2C+j4KXxu4QkioQwXkpA3qokjevnvw UZsI5gvnB4sFn3JgY3nT5IEdOkRaJxcvrT9VHpeKdoL2xKstgeaj/CV2WotZp4h9umKy 4dsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=oXBh3WfPI9MVT50Pe8Afg210FLgWLd3bSOuVVKJkhWo=; b=ie9VVTwprBMmUI24yjThEQmf+FVve+/fwiUFc8wv0lueubOeGp/ChOziJNtgiZ8XZn IQ8jxjGibtv2y/jVOiWpXztbaEpKoicx1XLJ4N6lu8FRH5wlULcLhnuRGR668EyJ7IM+ cN0wBH7PA3DySgv5hei8drkDy20JjSf3rO72XuAHJ7LJ16Xyf51WKRRZBnnaYGHVttXk WzxhP+62JEa9SX5Y8BtfCJVWP+7qNadTiWabpxWkugzXuiI9bNsr9M7gR+r+HGLNWngN LefTQEY8HGyKVthmwLNZqJuPcB+khM/uFoTnWnrsmxirjnvD1Ggc1m1T+TsLYPO2wrb/ raeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dGmUTxle; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b13-20020a63d80d000000b0053f3d04e66csi11701800pgh.699.2023.06.16.00.56.10; Fri, 16 Jun 2023 00:56:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dGmUTxle; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S234035AbjFPHsq (ORCPT + 99 others); Fri, 16 Jun 2023 03:48:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234196AbjFPHso (ORCPT ); Fri, 16 Jun 2023 03:48:44 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F31022D4A for ; Fri, 16 Jun 2023 00:47:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1686901674; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oXBh3WfPI9MVT50Pe8Afg210FLgWLd3bSOuVVKJkhWo=; b=dGmUTxle42pfzKyqiEj9rLKQSjOXTXevCBzo3oNI53TvUR3OMSXEu9Y0lSnvdIeSyzkeFL xVwl33KVljLawo0UKnduplTbkfD0+9gc4ElxpbD7HauOZtIyo2Wwi3JX+xsGjrrl69ktGE JpXJJXMgIxCxAho/amOgKAmd18621NE= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-252-XfBdK-ZxNNqFGTG0qudQ_w-1; Fri, 16 Jun 2023 03:47:50 -0400 X-MC-Unique: XfBdK-ZxNNqFGTG0qudQ_w-1 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-3f81dda24d3so6451775e9.1 for ; Fri, 16 Jun 2023 00:47:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686901669; x=1689493669; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oXBh3WfPI9MVT50Pe8Afg210FLgWLd3bSOuVVKJkhWo=; b=S3Che7KchoyJfZvIqydsFsb/2SyHX9FevYAIWTN16HflX9FHy/qM59QeNRNqRqW+cS wKLXl13dZZNvVM54yHLcXGl5sERJmsUGAO6zxwjO5dbjebz3ZgBWOQjwSBIVb/W0eQLy 8D7bxNddlSpt0+PHjm96Am8A/UMceZSM4baMIiBYXR3WIeqASAhpX2EaDKx53KRk7kFv fGIubTYjQXGaUQiv1OswDphM8PJe6tP483NxsXQcLmQWWIQRlkE4vIgoIV6T42blsUK2 Tw8dI9IFcHHW2SJ5SrnQDPjBxf+d8lSoUhu5gIG/CpAC4iKDV8kWXQpUjE8ZbpFmUkz5 CBkw== X-Gm-Message-State: AC+VfDzrCvYnFJtOHoqxGC5+s/AmabCW7QLDD2wUAhTewrdpFZ0lyB/T tp6h4qb17RqcpiFxGdJ1MQO31Z6HlY9Z3OvZk81uMnj4mnN0uXlI4FcQdJB1Toy1lTdihKXNZPX Rricj6VVrs1A+EFd+n5W9Fs+F X-Received: by 2002:a1c:4b0d:0:b0:3f7:f544:4993 with SMTP id y13-20020a1c4b0d000000b003f7f5444993mr1141179wma.20.1686901669251; Fri, 16 Jun 2023 00:47:49 -0700 (PDT) X-Received: by 2002:a1c:4b0d:0:b0:3f7:f544:4993 with SMTP id y13-20020a1c4b0d000000b003f7f5444993mr1141163wma.20.1686901669008; Fri, 16 Jun 2023 00:47:49 -0700 (PDT) Received: from ?IPV6:2003:cb:c707:9800:59ba:1006:9052:fb40? (p200300cbc707980059ba10069052fb40.dip0.t-ipconnect.de. [2003:cb:c707:9800:59ba:1006:9052:fb40]) by smtp.gmail.com with ESMTPSA id f13-20020a7bcd0d000000b003f7ba52eeccsm1427266wmj.7.2023.06.16.00.47.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Jun 2023 00:47:48 -0700 (PDT) Message-ID: Date: Fri, 16 Jun 2023 09:47:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 2/3] mm/memory_hotplug: Export symbol mhp_supports_memmap_on_memory() Content-Language: en-US To: Vishal Verma , "Rafael J. Wysocki" , Len Brown , Andrew Morton , Oscar Salvador , Dan Williams , Dave Jiang Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, nvdimm@lists.linux.dev, linux-cxl@vger.kernel.org, Huang Ying , Dave Hansen References: <20230613-vv-kmem_memmap-v1-0-f6de9c6af2c6@intel.com> <20230613-vv-kmem_memmap-v1-2-f6de9c6af2c6@intel.com> From: David Hildenbrand Organization: Red Hat In-Reply-To: <20230613-vv-kmem_memmap-v1-2-f6de9c6af2c6@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16.06.23 00:00, Vishal Verma wrote: > In preparation for the dax/kmem driver, which can be built as a module, > to use this interface, export it with EXPORT_SYMBOL_GPL(). > > Cc: "Rafael J. Wysocki" > Cc: Len Brown > Cc: Andrew Morton > Cc: David Hildenbrand > Cc: Oscar Salvador > Cc: Dan Williams > Cc: Dave Jiang > Cc: Dave Hansen > Cc: Huang Ying > Signed-off-by: Vishal Verma > --- > mm/memory_hotplug.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c > index bb3845830922..92922080d3fa 100644 > --- a/mm/memory_hotplug.c > +++ b/mm/memory_hotplug.c > @@ -1328,6 +1328,7 @@ bool mhp_supports_memmap_on_memory(unsigned long size, mhp_t mhp_flags) > IS_ALIGNED(remaining_size, (pageblock_nr_pages << PAGE_SHIFT)); > return false; > } > +EXPORT_SYMBOL_GPL(mhp_supports_memmap_on_memory); > > /* > * NOTE: The caller must call lock_device_hotplug() to serialize hotplug > Reviewed-by: David Hildenbrand -- Cheers, David / dhildenb