ci starts bisection 2023-09-14 12:28:46.399391457 +0000 UTC m=+91470.418515475 bisecting cause commit starting from 98897dc735cf6635f0966f76eb0108354168fb15 building syzkaller on 0b6a67ac4b0dc26f43030c5edd01c9175f13b784 ensuring issue is reproducible on original commit 98897dc735cf6635f0966f76eb0108354168fb15 testing commit 98897dc735cf6635f0966f76eb0108354168fb15 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 40f1b38ee973803acad51bd13f8215b79f067927b5da4738a866663976a75c26 run #0: basic kernel testing failed: WARNING in page_add_anon_rmap run #1: basic kernel testing failed: WARNING in page_add_anon_rmap run #2: crashed: WARNING in page_copy_sane run #3: crashed: WARNING in page_copy_sane run #4: crashed: WARNING in page_copy_sane run #5: crashed: WARNING in page_copy_sane run #6: crashed: WARNING in page_copy_sane run #7: crashed: WARNING in page_copy_sane run #8: crashed: WARNING in page_copy_sane run #9: crashed: WARNING in page_copy_sane run #10: crashed: WARNING in page_copy_sane run #11: crashed: WARNING in page_copy_sane run #12: crashed: WARNING in page_copy_sane run #13: crashed: WARNING in page_copy_sane run #14: crashed: WARNING in page_copy_sane run #15: crashed: WARNING in page_copy_sane run #16: crashed: WARNING in page_copy_sane run #17: crashed: WARNING in page_copy_sane run #18: crashed: WARNING in page_copy_sane run #19: crashed: WARNING in page_copy_sane representative crash: WARNING in page_copy_sane, types: [WARNING] check whether we can drop unnecessary instrumentation disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 98897dc735cf6635f0966f76eb0108354168fb15 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: aa2c06405e2de8376bc43510f76f2adf1c3aaf05615efb426f2d1fc1a479c609 all runs: boot failed: BUG: unable to handle kernel NULL pointer dereference in stack_depot_save_flags unable to determine the verdict: 0 good runs (wanted 5), for bad wanted 5 in total, got 0 kconfig minimization: base=3883 full=7700 leaves diff=2021 split chunks (needed=false): <2021> split chunk #0 of len 2021 into 5 parts testing without sub-chunk 1/5 testing commit 98897dc735cf6635f0966f76eb0108354168fb15 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c9f88f61bc3bf06089798b15c015b1d2051bdd9e6e2c08e9864793ec950cc932 run #0: basic kernel testing failed: WARNING in page_add_anon_rmap run #1: crashed: WARNING in page_copy_sane run #2: crashed: WARNING in page_copy_sane run #3: crashed: WARNING in page_copy_sane run #4: crashed: WARNING in page_copy_sane run #5: crashed: WARNING in page_copy_sane run #6: crashed: WARNING in page_copy_sane run #7: crashed: WARNING in page_copy_sane run #8: crashed: WARNING in page_copy_sane run #9: crashed: WARNING in page_copy_sane representative crash: WARNING in page_copy_sane, types: [WARNING] the chunk can be dropped testing without sub-chunk 2/5 testing commit 98897dc735cf6635f0966f76eb0108354168fb15 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8580816b046abf6b729ed61c3d1b31fdd8ee0c94df5bbc12f97b1c645c2f7c44 run #0: basic kernel testing failed: WARNING in page_add_anon_rmap run #1: crashed: WARNING in page_copy_sane run #2: crashed: WARNING in page_copy_sane run #3: crashed: WARNING in page_copy_sane run #4: crashed: WARNING in page_copy_sane run #5: crashed: WARNING in page_copy_sane run #6: crashed: WARNING in page_copy_sane run #7: crashed: WARNING in page_copy_sane run #8: crashed: WARNING in page_copy_sane run #9: crashed: WARNING in page_copy_sane representative crash: WARNING in page_copy_sane, types: [WARNING] the chunk can be dropped testing without sub-chunk 3/5 testing commit 98897dc735cf6635f0966f76eb0108354168fb15 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 726c6ee89a387be9a6696efbfbd175dd384b6bb9c7b35f96b199616d9df2966b run #0: basic kernel testing failed: WARNING in page_add_anon_rmap run #1: crashed: WARNING in page_copy_sane run #2: crashed: WARNING in page_copy_sane run #3: crashed: WARNING in page_copy_sane run #4: crashed: WARNING in page_copy_sane run #5: crashed: WARNING in page_copy_sane run #6: crashed: WARNING in page_copy_sane run #7: crashed: WARNING in page_copy_sane run #8: crashed: WARNING in page_copy_sane run #9: crashed: WARNING in page_copy_sane representative crash: WARNING in page_copy_sane, types: [WARNING] the chunk can be dropped testing without sub-chunk 4/5 testing commit 98897dc735cf6635f0966f76eb0108354168fb15 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ff8fa5b28321f5ea73d689fe0cca1a62bd3f1ddbb29e2737daf46ca06aa6252d all runs: crashed: WARNING in page_copy_sane representative crash: WARNING in page_copy_sane, types: [WARNING] the chunk can be dropped testing without sub-chunk 5/5 testing commit 98897dc735cf6635f0966f76eb0108354168fb15 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 35360f16a674d3cd52391f2da08e7ff7e4dd330a266ccf1fb76ed5a6651a3590 all runs: crashed: kernel BUG in __filemap_add_folio representative crash: kernel BUG in __filemap_add_folio, types: [BUG] the chunk can be dropped picked [v6.5 v6.4 v6.3 v6.1 v5.19 v5.17 v5.15 v5.13 v5.10 v5.7 v5.4 v5.1 v4.19] out of 28 release tags testing release v6.5 testing commit 2dde18cd1d8fac735875f2e4987f11817cc0bc2c gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8c154fcee1244ec46f4e8e71fea36fb3bcbe96c87ab8fa6b888e06adbe990ac8 all runs: OK false negative chance: 0.000 # git bisect start 98897dc735cf6635f0966f76eb0108354168fb15 2dde18cd1d8fac735875f2e4987f11817cc0bc2c Bisecting: 9270 revisions left to test after this (roughly 13 steps) [f35d1706159e015848ec7421e91b44b614c02dc2] Merge tag 'nfsd-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux testing commit f35d1706159e015848ec7421e91b44b614c02dc2 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 23654679218f8da003c741799b3f7342d627faf32e3431620cccaea042673d0b all runs: OK false negative chance: 0.000 # git bisect good f35d1706159e015848ec7421e91b44b614c02dc2 Bisecting: 4634 revisions left to test after this (roughly 12 steps) [9324b53621dd1affd525d1e968f0ab85b3872ed9] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git testing commit 9324b53621dd1affd525d1e968f0ab85b3872ed9 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1cfc184845905e6b60d252f6a04de844b2abaa142891ab6bbbe00e1afca95cc7 all runs: crashed: kernel BUG in __filemap_add_folio representative crash: kernel BUG in __filemap_add_folio, types: [BUG] # git bisect bad 9324b53621dd1affd525d1e968f0ab85b3872ed9 Bisecting: 2326 revisions left to test after this (roughly 11 steps) [d8723062a26b17080d89e6b4d360ba50d1e453dd] Merge tag 'mfd-next-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd testing commit d8723062a26b17080d89e6b4d360ba50d1e453dd gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2ad6a9c0b7b08d0e5a8305bbe0d39e90670c2876d3ef5bcbb9c80e96b710643c all runs: OK false negative chance: 0.000 # git bisect good d8723062a26b17080d89e6b4d360ba50d1e453dd Bisecting: 1160 revisions left to test after this (roughly 10 steps) [a48fa7efaf1161c1c898931fe4c7f0070964233a] Merge tag 'drm-next-2023-09-08' of git://anongit.freedesktop.org/drm/drm testing commit a48fa7efaf1161c1c898931fe4c7f0070964233a gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6f73eb863f274e670b4d1f1fc3707b9e06c4a0327d4405568a5548306cda3c4d all runs: OK false negative chance: 0.000 # git bisect good a48fa7efaf1161c1c898931fe4c7f0070964233a Bisecting: 580 revisions left to test after this (roughly 9 steps) [4471da7fe0c737a92a48a1b201ac6348b1eab180] lib/stackdepot, kasan: add flags to __stack_depot_save and rename testing commit 4471da7fe0c737a92a48a1b201ac6348b1eab180 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2d1e21dc5743231fceee41820f9aa6b864d6e7f65f8aa8c4f309dd3322351c9c all runs: crashed: kernel BUG in __filemap_add_folio representative crash: kernel BUG in __filemap_add_folio, types: [BUG] # git bisect bad 4471da7fe0c737a92a48a1b201ac6348b1eab180 Bisecting: 360 revisions left to test after this (roughly 8 steps) [45fc4628c15ab2cb7b2f53354b21db63f0a41f81] perf parse-events: Fix driver config term testing commit 45fc4628c15ab2cb7b2f53354b21db63f0a41f81 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d1e45ca8054d2fd637a506c207f42ff3d99dd305612be4d4db52ac1bdbe419d0 all runs: OK false negative chance: 0.000 # git bisect good 45fc4628c15ab2cb7b2f53354b21db63f0a41f81 Bisecting: 173 revisions left to test after this (roughly 8 steps) [1b37a0a2d46f0c5fa5eee170ddeeb83342faa117] Merge tag 'riscv-for-linus-6.6-mw2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux testing commit 1b37a0a2d46f0c5fa5eee170ddeeb83342faa117 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 985998683a54f7409320aedfce18f5c8385bc0037cc887f159123fdee645169e all runs: OK false negative chance: 0.000 # git bisect good 1b37a0a2d46f0c5fa5eee170ddeeb83342faa117 Bisecting: 86 revisions left to test after this (roughly 7 steps) [6b5a26e13cd7346d8deecc47b497daa06ddc62af] mm/damon/core: remove 'struct target *' parameter from damon_aggregated tracepoint testing commit 6b5a26e13cd7346d8deecc47b497daa06ddc62af gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 251252f9939fd22c12e7320aac5ce09a4b82a088cc0700e16a745d0cb2a96822 all runs: OK false negative chance: 0.000 # git bisect good 6b5a26e13cd7346d8deecc47b497daa06ddc62af Bisecting: 43 revisions left to test after this (roughly 6 steps) [2dcf55b872409d0c5d090a9370ead5267853bc40] vmw_balloon: dynamically allocate the vmw-balloon shrinker testing commit 2dcf55b872409d0c5d090a9370ead5267853bc40 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d38cec2fffdec16481b6cb1ed9f6b30502fcafea1c003fe501c6326b46aab051 all runs: OK false negative chance: 0.000 # git bisect good 2dcf55b872409d0c5d090a9370ead5267853bc40 Bisecting: 21 revisions left to test after this (roughly 5 steps) [97858745cd3a280e1426208df9de966059b79391] mm: page_alloc: fix move_freepages_block() range error testing commit 97858745cd3a280e1426208df9de966059b79391 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e8b335db4af311156c4ba9c3f2aae08f95aff18e52753734c1daab3a2a0cc9fe all runs: OK false negative chance: 0.000 # git bisect good 97858745cd3a280e1426208df9de966059b79391 Bisecting: 10 revisions left to test after this (roughly 4 steps) [c3de8352261910d3fb7b8d9eed65d67302285c34] lib/stackdepot: drop valid bit from handles testing commit c3de8352261910d3fb7b8d9eed65d67302285c34 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 42960475f9c934939e665dd06f93cf72d16930fd757b0c26d73ce5c21f31a236 all runs: crashed: kernel BUG in __filemap_add_folio representative crash: kernel BUG in __filemap_add_folio, types: [BUG] # git bisect bad c3de8352261910d3fb7b8d9eed65d67302285c34 Bisecting: 5 revisions left to test after this (roughly 3 steps) [949304f03bede700a434191f6fa92571f091cb48] acpi, hmat: refactor hmat_register_target_initiators() testing commit 949304f03bede700a434191f6fa92571f091cb48 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d9ed8efd7e7a7a228811d5420743f04138f5f90f7a3d38f81c30334fca14510e all runs: OK false negative chance: 0.000 # git bisect good 949304f03bede700a434191f6fa92571f091cb48 Bisecting: 2 revisions left to test after this (roughly 2 steps) [591a2520fbfd6565d9a5c732afa53f62228798e6] mm/filemap: remove hugetlb special casing in filemap.c testing commit 591a2520fbfd6565d9a5c732afa53f62228798e6 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f26d453188b0eca28601e6fb149b3dfeea9833bfe0436e51a17759b127739762 all runs: crashed: kernel BUG in __filemap_add_folio representative crash: kernel BUG in __filemap_add_folio, types: [BUG] # git bisect bad 591a2520fbfd6565d9a5c732afa53f62228798e6 Bisecting: 0 revisions left to test after this (roughly 1 step) [c1c3c4c283defe36b2c084ba504015c536cd5412] dax, kmem: calculate abstract distance with general interface testing commit c1c3c4c283defe36b2c084ba504015c536cd5412 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a7265921807f8d8890bddcdb5b454442ee678d3f827037898080013a041adeed all runs: OK false negative chance: 0.000 # git bisect good c1c3c4c283defe36b2c084ba504015c536cd5412 591a2520fbfd6565d9a5c732afa53f62228798e6 is the first bad commit commit 591a2520fbfd6565d9a5c732afa53f62228798e6 Author: Sidhartha Kumar Date: Mon Sep 11 14:53:19 2023 -0700 mm/filemap: remove hugetlb special casing in filemap.c Remove special cased hugetlb handling code within the page cache by changing the granularity of ->index to the base page size rather than the huge page size. The motivation of this patch is to reduce complexity within the filemap code while also increasing performance by removing branches that are evaluated on every page cache lookup. To support the change in index, new wrappers for hugetlb page cache interactions are added. These wrappers perform the conversion to a linear index which is now expected by the page cache for huge pages. ========================= PERFORMANCE ====================================== Perf was used to check the performance differences after the patch. Overall the performance is similar to mainline with a very small larger overhead that occurs in __filemap_add_folio() and hugetlb_add_to_page_cache(). This is because of the larger overhead that occurs in xa_load() and xa_store() as the xarray is now using more entries to store hugetlb folios in the page cache. Timing aarch64 2MB Page Size 6.5-rc3 + this patch: [root@sidhakum-ol9-1 hugepages]# time fallocate -l 700GB test.txt real 1m49.568s user 0m0.000s sys 1m49.461s 6.5-rc3: [root]# time fallocate -l 700GB test.txt real 1m47.495s user 0m0.000s sys 1m47.370s 1GB Page Size 6.5-rc3 + this patch: [root@sidhakum-ol9-1 hugepages1G]# time fallocate -l 700GB test.txt real 1m47.024s user 0m0.000s sys 1m46.921s 6.5-rc3: [root@sidhakum-ol9-1 hugepages1G]# time fallocate -l 700GB test.txt real 1m44.551s user 0m0.000s sys 1m44.438s x86 2MB Page Size 6.5-rc3 + this patch: [root@sidhakum-ol9-2 hugepages]# time fallocate -l 100GB test.txt real 0m22.383s user 0m0.000s sys 0m22.255s 6.5-rc3: [opc@sidhakum-ol9-2 hugepages]$ time sudo fallocate -l 100GB /dev/hugepages/test.txt real 0m22.735s user 0m0.038s sys 0m22.567s 1GB Page Size 6.5-rc3 + this patch: [root@sidhakum-ol9-2 hugepages1GB]# time fallocate -l 100GB test.txt real 0m25.786s user 0m0.001s sys 0m25.589s 6.5-rc3: [root@sidhakum-ol9-2 hugepages1G]# time fallocate -l 100GB test.txt real 0m33.454s user 0m0.001s sys 0m33.193s aarch64: workload - fallocate a 700GB file backed by huge pages 6.5-rc3 + this patch: 2MB Page Size: --100.00%--__arm64_sys_fallocate ksys_fallocate vfs_fallocate hugetlbfs_fallocate | |--95.04%--__pi_clear_page | |--3.57%--clear_huge_page | | | |--2.63%--rcu_all_qs | | | --0.91%--__cond_resched | --0.67%--__cond_resched 0.17% 0.00% 0 fallocate [kernel.vmlinux] [k] hugetlb_add_to_page_cache 0.14% 0.10% 11 fallocate [kernel.vmlinux] [k] __filemap_add_folio 6.5-rc3 2MB Page Size: --100.00%--__arm64_sys_fallocate ksys_fallocate vfs_fallocate hugetlbfs_fallocate | |--94.91%--__pi_clear_page | |--4.11%--clear_huge_page | | | |--3.00%--rcu_all_qs | | | --1.10%--__cond_resched | --0.59%--__cond_resched 0.08% 0.01% 1 fallocate [kernel.kallsyms] [k] hugetlb_add_to_page_cache 0.05% 0.03% 3 fallocate [kernel.kallsyms] [k] __filemap_add_folio x86 workload - fallocate a 100GB file backed by huge pages 6.5-rc3 + this patch: 2MB Page Size: hugetlbfs_fallocate | --99.57%--clear_huge_page | --98.47%--clear_page_erms | --0.53%--asm_sysvec_apic_timer_interrupt 0.04% 0.04% 1 fallocate [kernel.kallsyms] [k] xa_load 0.04% 0.00% 0 fallocate [kernel.kallsyms] [k] hugetlb_add_to_page_cache 0.04% 0.00% 0 fallocate [kernel.kallsyms] [k] __filemap_add_folio 0.04% 0.00% 0 fallocate [kernel.kallsyms] [k] xas_store 6.5-rc3 2MB Page Size: --99.93%--__x64_sys_fallocate vfs_fallocate hugetlbfs_fallocate | --99.38%--clear_huge_page | |--98.40%--clear_page_erms | --0.59%--__cond_resched 0.03% 0.03% 1 fallocate [kernel.kallsyms] [k] __filemap_add_folio ========================= TESTING ====================================== This patch passes libhugetlbfs tests and LTP hugetlb tests ********** TEST SUMMARY * 2M * 32-bit 64-bit * Total testcases: 110 113 * Skipped: 0 0 * PASS: 107 113 * FAIL: 0 0 * Killed by signal: 3 0 * Bad configuration: 0 0 * Expected FAIL: 0 0 * Unexpected PASS: 0 0 * Test not present: 0 0 * Strange test result: 0 0 ********** Done executing testcases. LTP Version: 20220527-178-g2761a81c4 page migration was also tested using Mike Kravetz's test program.[8] [1]: https://lore.kernel.org/linux-mm/20230519220142.212051-1-sidhartha.kumar@oracle.com/T/ [2]: https://lore.kernel.org/lkml/20230609194947.37196-1-sidhartha.kumar@oracle.com/ [3]: https://lore.kernel.org/lkml/ZLtVlJA+V2+2yjxc@casper.infradead.org/T/ [4]: https://lore.kernel.org/lkml/20230811233939.GA105247@monkey/T/ [5]: https://lore.kernel.org/linux-mm/202308151231.L2pfzOmu-lkp@intel.com/T/#t [6]: https://lore.kernel.org/linux-mm/20230815191932.273054-1-sidhartha.kumar@oracle.com/T/ [7]: https://lore.kernel.org/linux-mm/ZOTtK1Kfa5gCS3Gb@casper.infradead.org/T/ [8]: https://lore.kernel.org/linux-mm/20230907001832.GA63356@monkey/T/#m35ed80fc2bb21d613bc4cc8771159d6ae0b5a264 Link: https://lkml.kernel.org/r/20230911215319.644224-1-sidhartha.kumar@oracle.com Signed-off-by: Sidhartha Kumar Cc: Matthew Wilcox (Oracle) Cc: Mike Kravetz Cc: Muchun Song Signed-off-by: Andrew Morton fs/hugetlbfs/inode.c | 15 ++++++++------- include/linux/hugetlb.h | 12 ++++++++++++ include/linux/pagemap.h | 32 ++------------------------------ mm/filemap.c | 34 ++++++++++------------------------ mm/hugetlb.c | 32 ++++++-------------------------- mm/migrate.c | 6 +++--- 6 files changed, 41 insertions(+), 90 deletions(-) accumulated error probability: 0.00 culprit signature: f26d453188b0eca28601e6fb149b3dfeea9833bfe0436e51a17759b127739762 parent signature: a7265921807f8d8890bddcdb5b454442ee678d3f827037898080013a041adeed revisions tested: 22, total time: 10h8m24.541166542s (build: 6h25m9.446572587s, test: 3h22m50.74448278s) first bad commit: 591a2520fbfd6565d9a5c732afa53f62228798e6 mm/filemap: remove hugetlb special casing in filemap.c recipients (to): ["akpm@linux-foundation.org" "akpm@linux-foundation.org" "linux-fsdevel@vger.kernel.org" "linux-mm@kvack.org" "mike.kravetz@oracle.com" "muchun.song@linux.dev" "sidhartha.kumar@oracle.com" "willy@infradead.org"] recipients (cc): ["linux-kernel@vger.kernel.org"] crash: kernel BUG in __filemap_add_folio ------------[ cut here ]------------ kernel BUG at include/linux/xarray.h:1653! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 1867 Comm: syz-executor.0 Not tainted 6.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:xas_set_order include/linux/xarray.h:1653 [inline] RIP: 0010:__filemap_add_folio+0x721/0x8b0 mm/filemap.c:861 Code: ef e8 53 52 0b 00 0f 0b 48 c7 c6 e0 57 6d 83 48 89 ef e8 42 52 0b 00 0f 0b 48 c7 c6 40 58 6d 83 48 89 ef e8 31 52 0b 00 0f 0b <0f> 0b 0f 0b e9 0b fe ff ff 0f 0b e9 15 ff ff ff 4c 89 ff e8 67 72 RSP: 0018:ffffc9000257f958 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffffea0004460000 RCX: 1ffffd400088c000 RDX: 1ffffd400088c008 RSI: 0000000000000008 RDI: ffffea0004460040 RBP: ffffea0004460000 R08: 0000000000000000 R09: fffff9400088c000 R10: ffffea0004460007 R11: 0000000000000001 R12: ffff88810ae5c7b8 R13: 0000000000000000 R14: 0000000000000000 R15: 0002000000000001 FS: 00007f2a54f256c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2a554be0c0 CR3: 00000001037f2000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hugetlb_add_to_page_cache+0x123/0x260 mm/hugetlb.c:5723 hugetlb_no_page mm/hugetlb.c:5888 [inline] hugetlb_fault+0x1231/0x18c0 mm/hugetlb.c:6091 handle_mm_fault+0x56e/0x730 mm/memory.c:5283 faultin_page mm/gup.c:956 [inline] __get_user_pages+0x316/0xe10 mm/gup.c:1239 populate_vma_page_range+0x1e2/0x2c0 mm/gup.c:1666 __mm_populate+0x1f0/0x300 mm/gup.c:1775 mm_populate include/linux/mm.h:3297 [inline] vm_mmap_pgoff+0x262/0x350 mm/util.c:551 ksys_mmap_pgoff+0x309/0x4e0 mm/mmap.c:1400 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f2a553a2ae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2a54f250c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f2a554c1f80 RCX: 00007f2a553a2ae9 RDX: 0000000002000002 RSI: 0000000000800000 RDI: 0000000020000000 RBP: 00007f2a553ee47a R08: 0000000000000003 R09: 0000000000000000 R10: 000000000004d091 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f2a554c1f80 R15: 00007ffc61777d38 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:xas_set_order include/linux/xarray.h:1653 [inline] RIP: 0010:__filemap_add_folio+0x721/0x8b0 mm/filemap.c:861 Code: ef e8 53 52 0b 00 0f 0b 48 c7 c6 e0 57 6d 83 48 89 ef e8 42 52 0b 00 0f 0b 48 c7 c6 40 58 6d 83 48 89 ef e8 31 52 0b 00 0f 0b <0f> 0b 0f 0b e9 0b fe ff ff 0f 0b e9 15 ff ff ff 4c 89 ff e8 67 72 RSP: 0018:ffffc9000257f958 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffffea0004460000 RCX: 1ffffd400088c000 RDX: 1ffffd400088c008 RSI: 0000000000000008 RDI: ffffea0004460040 RBP: ffffea0004460000 R08: 0000000000000000 R09: fffff9400088c000 R10: ffffea0004460007 R11: 0000000000000001 R12: ffff88810ae5c7b8 R13: 0000000000000000 R14: 0000000000000000 R15: 0002000000000001 FS: 00007f2a54f256c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2a554be0c0 CR3: 00000001037f2000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400