Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp391651ybt; Wed, 24 Jun 2020 01:44:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzIeDhyiiOmKNYmJQZOcTrQVKjFhgxKlyVX2X21gbsd3FXpyrVnmp1yAdoCsSMUhEwVwzdC X-Received: by 2002:a17:906:c452:: with SMTP id ck18mr6777766ejb.415.1592988245323; Wed, 24 Jun 2020 01:44:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592988245; cv=none; d=google.com; s=arc-20160816; b=MIhULzjsplV49RRg6Wok9bk/eCLuh2upafHNd1j5bF3YfQiaPaxuOapzjwNCD8I8e+ Mi4WKA7+xoEVDzi4IYPZcooO89zWdMLAti3WeHNdvwwRvPT0sfn1malsGc99dDnxddQB J3kWuxCI/OGHS/soRYnc6KycONRx9QOCxtm8/6AFWmgKaTegKDVagvqYXT1uwrxayOYQ fy2kq4RrLAzBfxOIO7F+GQrRJ0STSOzZ7+D69ldl7t3334gaeutQMWD5/HIJeCu+nljx 3ZfdBsfszG+WHvXk1FO8LjcJjygKNbMD3XgN9sZ5K/LXt9WOw1SqSDbq5Zf5wI8Y0xic yJUg== 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:organization:autocrypt:from:references:cc:to:subject :dkim-signature; bh=E+estH4EdjrW+MiADgrXiqRySg8d73d2Yrxn+s0Dvkg=; b=nWay7Ig/wK2KmvBgL6DUNBr8nMTc/mYePeRDIy9tM1GkaLyT0Kl2ZKd4W27vvRIWB/ WEN1Q+vQb8RV1z1zMLVY1NZqo3sS2hHSvaHkcP5W6sN+pR5V3nIeCtH/DKTQ1+owZgsk JFGhOqEMiSmrYYdSmB0w01ET+qDNP2/kQ5UTldkalhbvXkemXbCnA/z1wFp02BBl/7dL o7Esbr0uFCH9cyZbsTV86hEbMtqjMYRL4np3PaQ4NqYMeGMecgjeVbRv62J9ORJDI7PR kti2cJ6LSP1Y+9bEwwD5qfSEW5NAlP0MK5++PHXIuHK+eQhD+vYL/2fZHdcNYOSH2leI zPxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SM4RjJuz; 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 cy20si2294902edb.344.2020.06.24.01.43.41; Wed, 24 Jun 2020 01:44:05 -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=SM4RjJuz; 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 S2387981AbgFXIl2 (ORCPT + 99 others); Wed, 24 Jun 2020 04:41:28 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:54428 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387686AbgFXIl1 (ORCPT ); Wed, 24 Jun 2020 04:41:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1592988085; 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:autocrypt:autocrypt; bh=E+estH4EdjrW+MiADgrXiqRySg8d73d2Yrxn+s0Dvkg=; b=SM4RjJuzdX3qJ2tOHO2m9WPgluWy5DsZAE7lcA0VAwChMf5K4JafIyZTqXryqtzJRyTjd/ cZPNVJP8Mhw1ho0PsqsWPubWBhmLSH5bWeAeiagdQBmYli+4Nlsf5WVIg5d7tWKjPKsU0Z oHQ+gAbpv4gNI30MJIi5aq3l+5hCGA0= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-99-9t1Q-Vz4Pb-j7VSAGd5MDA-1; Wed, 24 Jun 2020 04:41:22 -0400 X-MC-Unique: 9t1Q-Vz4Pb-j7VSAGd5MDA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 67597107B783; Wed, 24 Jun 2020 08:41:21 +0000 (UTC) Received: from [10.36.113.65] (ovpn-113-65.ams2.redhat.com [10.36.113.65]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7C86511CC03; Wed, 24 Jun 2020 08:41:19 +0000 (UTC) Subject: Re: [PATCH] mm/spase: never partially remove memmap for early section To: Wei Yang Cc: Michal Hocko , akpm@linux-foundation.org, osalvador@suse.de, dan.j.williams@intel.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <20200623094258.6705-1-richard.weiyang@linux.alibaba.com> <20200623151828.GA31426@dhcp22.suse.cz> <57d8a558-dcb3-b318-8e38-6c016b050414@redhat.com> <20200624081324.GA12461@L-31X9LVDL-1304.local> From: David Hildenbrand Autocrypt: addr=david@redhat.com; prefer-encrypt=mutual; keydata= mQINBFXLn5EBEAC+zYvAFJxCBY9Tr1xZgcESmxVNI/0ffzE/ZQOiHJl6mGkmA1R7/uUpiCjJ dBrn+lhhOYjjNefFQou6478faXE6o2AhmebqT4KiQoUQFV4R7y1KMEKoSy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AECAA8FAlXLn5ECGwwFCQlmAYAACgkQTd4Q 9wD/g1qA6w/+M+ggFv+JdVsz5+ZIc6MSyGUozASX+bmIuPeIecc9UsFRatc91LuJCKMkD9Uv GOcWSeFpLrSGRQ1Z7EMzFVU//qVs6uzhsNk0RYMyS0B6oloW3FpyQ+zOVylFWQCzoyyf227y GW8HnXunJSC+4PtlL2AY4yZjAVAPLK2l6mhgClVXTQ/S7cBoTQKP+jvVJOoYkpnFxWE9pn4t H5QIFk7Ip8TKr5k3fXVWk4lnUi9MTF/5L/mWqdyIO1s7cjharQCstfWCzWrVeVctpVoDfJWp 4LwTuQ5yEM2KcPeElLg5fR7WB2zH97oI6/Ko2DlovmfQqXh9xWozQt0iGy5tWzh6I0JrlcxJ ileZWLccC4XKD1037Hy2FLAjzfoWgwBLA6ULu0exOOdIa58H4PsXtkFPrUF980EEibUp0zFz GotRVekFAceUaRvAj7dh76cToeZkfsjAvBVb4COXuhgX6N4pofgNkW2AtgYu1nUsPAo+NftU CxrhjHtLn4QEBpkbErnXQyMjHpIatlYGutVMS91XTQXYydCh5crMPs7hYVsvnmGHIaB9ZMfB njnuI31KBiLUks+paRkHQlFcgS2N3gkRBzH7xSZ+t7Re3jvXdXEzKBbQ+dC3lpJB0wPnyMcX FOTT3aZT7IgePkt5iC/BKBk3hqKteTnJFeVIT7EC+a6YUFg= Organization: Red Hat GmbH Message-ID: <2b2b722a-58de-4c6e-a04e-dc3516b1b8ab@redhat.com> Date: Wed, 24 Jun 2020 10:41:18 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200624081324.GA12461@L-31X9LVDL-1304.local> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24.06.20 10:13, Wei Yang wrote: > On Wed, Jun 24, 2020 at 09:48:43AM +0200, David Hildenbrand wrote: >> On 23.06.20 17:18, Michal Hocko wrote: >>> On Tue 23-06-20 17:42:58, Wei Yang wrote: >>>> For early sections, we assumes its memmap will never be partially >>>> removed. But current behavior breaks this. >>>> >>>> Let's correct it. >>>> >>>> Fixes: ba72b4c8cf60 ("mm/sparsemem: support sub-section hotplug") >>>> Signed-off-by: Wei Yang >>> >>> Can a user trigger this or is this a theoretical bug? >> >> I tried to reproduce it, but somehow I get unexpected behavior. >> With a hacked QEMU I can get > > David, > > Thanks for your effort. Would you mind sharing your qemu command line, so that > I can have a try at my side? The following change to QEMU: diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 51b3050d01..c6a78d83c0 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -1010,7 +1010,7 @@ void pc_memory_init(PCMachineState *pcms, } machine->device_memory->base = - ROUND_UP(0x100000000ULL + x86ms->above_4g_mem_size, 1 * GiB); + 0x100000000ULL + x86ms->above_4g_mem_size; if (pcmc->enforce_aligned_dimm) { /* size device region assuming 1G page max alignment per slot */ Then you can use the following QEMU cmdline: #! /bin/bash sudo x86_64-softmmu/qemu-system-x86_64 \ --enable-kvm \ -m 4160M,maxmem=20G,slots=1 \ -smp sockets=2,cores=16 \ -numa node,nodeid=0,cpus=0-1 -numa node,nodeid=1,cpus=2-3 \ -machine pc,nvdimm \ -nographic \ -hda /home/dhildenb/git/Fedora-Cloud-Base-31-1.9.x86_64.qcow2 \ -nodefaults \ -net nic -net user \ -chardev stdio,nosignal,id=serial \ -device isa-serial,chardev=serial \ -chardev socket,id=monitor,path=/var/tmp/monitor,server,nowait \ -mon chardev=monitor,mode=readline \ -object memory-backend-ram,id=mem0,size=8G \ -device nvdimm,id=vm0,memdev=mem0,node=0,addr=0x144000000,label-size=128k > >> >> $ cat /proc/iomem >> [...] >> 100000000-143ffffff : System RAM >> 144000000-343dfffff : Persistent Memory >> 144000000-1441fffff : namespace0.0 >> 144200000-144ffffff : dax0.0 >> >> After >> $ ndctl create-namespace --force --reconfig=namespace0.0 --mode=devdax --size=16M >> >> I get >> >> $ cat /proc/iomem >> [...] >> 100000000-143ffffff : System RAM >> 144000000-343dfffff : Persistent Memory >> 144000000-1441fffff : namespace0.0 >> 144200000-144ffffff : dax0.0 >> > > The memory layout seems not changed. Yeah, sorry, int he first example, dax0.0 should be missing (on a fresh QEMU instance instead of after a reboot). > >> I can trigger remove+re-add via >> $ ndctl create-namespace --force --reconfig=namespace0.0 --mode=devdax --size=16M > > Do we need to change the mode to force the reconfig? No, that's sufficient. > >> >> So we clearly have an overlap between System RAM and dax0.0 within a section. >> However, I never get early_section() to trigger in >> section_activate()/section_deactivate() ? That's unexpected >> >> >> Definitely something seems to go wrong after the first "ndctl create-namespace". >> Using a random page walker: >> >> [root@localhost ~]# ./page-types > > What is this page-types? > >> [ 387.019229] general protection fault, probably for non-canonical address 0xfdfdfdfdfdfdfdfc: 0000 [#1] SMP NOPTI >> [ 387.020172] CPU: 17 PID: 1314 Comm: page-types Kdump: loaded Tainted: G W 5.8.0-rc2 #20 >> [ 387.021015] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.13.0-0-gf21b5a4aeb02-prebuilt.qemu.4 >> [ 387.022056] RIP: 0010:stable_page_flags+0x27/0x3f0 >> [ 387.022519] Code: 00 00 00 66 66 66 66 90 48 85 ff 0f 84 d2 03 00 00 41 54 55 48 89 fd 53 48 8b 57 08 48 8b 1f 48f >> [ 387.024291] RSP: 0018:ffff9f8781057e58 EFLAGS: 00010202 >> [ 387.024775] RAX: fdfdfdfdfdfdfdfc RBX: fdfdfdfdfdfdfdfd RCX: 00007ffc4f4f1f78 >> [ 387.025423] RDX: 0000000000000001 RSI: 0000002000000000 RDI: ffffc590c5100000 >> [ 387.026052] RBP: ffffc590c5100000 R08: 0000000000000001 R09: 0000000000000000 >> [ 387.026696] R10: 0000000000000000 R11: 0000000000000000 R12: 00007ffc4f4f1f80 >> [ 387.027324] R13: 0000000000040000 R14: 00007ffc4f4d1f80 R15: ffffffffa1577ee0 >> [ 387.027974] FS: 00007f91a0f9c580(0000) GS:ffff888b3f7c0000(0000) knlGS:0000000000000000 >> [ 387.028699] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 >> [ 387.029223] CR2: 0000000000449b00 CR3: 000000007a7fc000 CR4: 00000000000006e0 >> [ 387.029864] Call Trace: >> [ 387.030108] kpageflags_read+0xcc/0x160 >> [ 387.030473] proc_reg_read+0x53/0x80 >> [ 387.030809] vfs_read+0x9d/0x150 >> [ 387.031114] ksys_pread64+0x65/0xa0 >> [ 387.031449] do_syscall_64+0x4d/0x90 >> [ 387.031783] entry_SYSCALL_64_after_hwframe+0x44/0xa9 It's a tool located in Linux tools/vm/page-types. So with two printk's, I can spot: [ 24.185558] section_deactivate(): depopulate_section_memmap [ 24.202689] pmem0: detected capacity change from 0 to 16777216 [ 24.229747] section_activate(): early_section, not populating memmap [ 24.229777] memmap_init_zone_device initialised 3584 pages in 0ms But nothing actually breaks .... because *drummroll* we use huge pages in the vmemmap, so the partial depopulate will not actually depopulate anything here. Huge page is 2M, the memmap of 128MB sections is exactly 2MB == one hugepages. Trying to depopulate a fraction (e.g., 16MB) of that won't do anything. Now, forcing a CPU without hugepages - PSE (QEMU: "-cpu host,pse=off)", I can trigger via ndctl create-namespace --force --reconfig=namespace0.0 --mode=devdax --size=16M [ 18.044973] pmem0: detected capacity change from 0 to 16777216 [ 18.073813] BUG: unable to handle page fault for address: ffffec73c51000b4 [ 18.076236] #PF: supervisor write access in kernel mode [ 18.077211] #PF: error_code(0x0002) - not-present page [ 18.077943] PGD 81ff8067 P4D 81ff8067 PUD 81ff7067 PMD 1437cb067 PTE 0 [ 18.078551] Oops: 0002 [#1] SMP NOPTI [ 18.078915] CPU: 16 PID: 1348 Comm: ndctl Kdump: loaded Tainted: G W 5.8.0-rc2+ #24 [ 18.079718] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.13.0-0-gf21b5a4aeb02-prebuilt.qemu.4 [ 18.080750] RIP: 0010:memmap_init_zone+0x154/0x1c2 [ 18.081213] Code: 77 16 f6 40 10 02 74 10 48 03 48 08 48 89 cb 48 c1 eb 0c e9 3a ff ff ff 48 89 df 48 c1 e7 06 48f [ 18.082902] RSP: 0018:ffffbdc7011a39b0 EFLAGS: 00010282 [ 18.083395] RAX: ffffec73c5100088 RBX: 0000000000144002 RCX: 0000000000144000 [ 18.084057] RDX: 0000000000000004 RSI: 007ffe0000000000 RDI: ffffec73c5100080 [ 18.084704] RBP: 027ffe0000000000 R08: 0000000000000001 R09: ffff9f8d38f6d708 [ 18.085369] R10: ffffec73c0000000 R11: 0000000000000000 R12: 0000000000000004 [ 18.086020] R13: 0000000000000001 R14: 0000000000144200 R15: 0000000000000000 [ 18.086670] FS: 00007efe6b65d780(0000) GS:ffff9f8d3f780000(0000) knlGS:0000000000000000 [ 18.087417] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 18.087965] CR2: ffffec73c51000b4 CR3: 000000007d718000 CR4: 0000000000340ee0 [ 18.088623] Call Trace: [ 18.088884] move_pfn_range_to_zone+0x128/0x150 [ 18.089313] memremap_pages+0x4e4/0x5a0 [ 18.089681] devm_memremap_pages+0x1e/0x60 [ 18.090081] dev_dax_probe+0x69/0x160 [device_dax] [ 18.090533] really_probe+0x298/0x3c0 [ 18.090896] driver_probe_device+0xe1/0x150 [ 18.091303] ? driver_allows_async_probing+0x50/0x50 [ 18.091780] bus_for_each_drv+0x7e/0xc0 [ 18.092154] __device_attach+0xdf/0x160 [ 18.092527] bus_probe_device+0x8e/0xa0 [ 18.092916] device_add+0x3b9/0x740 [ 18.093258] __devm_create_dev_dax+0x127/0x1c0 [ 18.093686] __dax_pmem_probe+0x1f2/0x219 [dax_pmem_core] [ 18.094200] dax_pmem_probe+0xc/0x1b [dax_pmem] [ 18.094632] nvdimm_bus_probe+0x69/0x1c0 [libnvdimm] [ 18.095109] really_probe+0x147/0x3c0 [ 18.095470] driver_probe_device+0xe1/0x150 [ 18.095883] device_driver_attach+0x53/0x60 [ 18.096289] bind_store+0xd1/0x110 [ 18.096627] kernfs_fop_write+0xce/0x1b0 [ 18.097017] vfs_write+0xb6/0x1a0 [ 18.097350] ksys_write+0x5f/0xe0 [ 18.097681] do_syscall_64+0x4d/0x90 [ 18.098041] entry_SYSCALL_64_after_hwframe+0x44/0xa9 -- Thanks, David / dhildenb