Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1924143lqb; Mon, 27 May 2024 01:53:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVeBvUnFPabYsNH7vsX7axq8exC6b+hcuToZyxG7Hw5kHfm2je43SKkipk8DMTAJWp75Xh7DxJH02o4EH6sDbuof4IERtCYJNCF/BUzFg== X-Google-Smtp-Source: AGHT+IFw47q6wiMPEc+6aqMCDBSyyY5k3opApT+JGz65xXvkFe8gZHBbbQxQTm6xjSCdG6PFkK7i X-Received: by 2002:ac8:5a13:0:b0:43e:19d6:ec15 with SMTP id d75a77b69052e-43fb0e9c46bmr105148891cf.37.1716800019792; Mon, 27 May 2024 01:53:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716800019; cv=pass; d=google.com; s=arc-20160816; b=u1QyhWacywly+X9SYsk4l6XarQLbhGvm8XmCKIoQbnQZKSRX5/x/+KW//OPNWwaUwq 7tMhuh0oISdIGdutrOijRxTT8Ai9SWbBI3m4HnSvGBkIhOltonk2rKVGGVXID7WvMc+e 9VJbpBC6xNVA3LZWGOOsHlTaV5zLqa7ax5DOPr04js9GpFwsk/wU9iBlyl5Xsh5jebxW Sudjhw2grM1BMJv9DeuvfoVFWrL9iZGFQiOy0Do0R8OCoqSR7P6j4pnSDg/iQRxERO1H RfkTOj0ypS7kZ9LSuIzSYHwaoKFfAA6nfX1PRxi/HzcN8iWGRazhSY6bUXJ/JwYpe++0 rH6g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=XPQUqFdtvvs2dAPHMtj4XC01+ObsZNB1T1TqSRk+bE4=; fh=6wdMxPjFBI5eJ60HITxHtXG6zkDXqK/iy+91YthkgWo=; b=QgnlRSi8sKoE94r72ONEN/rytV05H0aO540exsrG4a4Fldo7ELlYBXZHmiduyDtczG ZBoTR3SWQFBkVlJJecNrT0FVFElC0o4OBahPTTAg+CEkjlW9r8Q9BN7nrqvTiFLYtwqK 32Iff/5Ktl7DMvMSJF65/CGUYx97uYNhQz23PBySfn5xO4SqjXBAWQQGgCEO8U3udRdM aouhtsskjBELZC/2g7URDFsWY8C8Pc4O3aO12BQ7Q3dowr05NCJOfk0dTYe535eDl6Gh Z0LCBQK79H4T+1KH5nYfPJgb+QdnqOBP4QmBI+jvHuKYJqnv76ZUTX9j4Q8rg599uwAW HANA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="luIE/lyj"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-190267-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190267-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43fb18b2b2asi76053081cf.455.2024.05.27.01.53.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 01:53:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190267-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="luIE/lyj"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-190267-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190267-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 756F51C218EE for ; Mon, 27 May 2024 08:53:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5B67069953; Mon, 27 May 2024 08:53:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="luIE/lyj" Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 09B1B130482 for ; Mon, 27 May 2024 08:53:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716800014; cv=none; b=k2Vmkwy8NDXxBmv4SgPXYEgSW5sY3ebeG42V60MhLemHnflj8N1J6OypgqRv6mgUQnhSFtAwvKMrq64GX85nOGopKiMaXinHu/SsQdGGT01lceqDoXToQyfstzfqMAShWTW3rARHGaXk1Is979fqL0o2gNeXVriXygDidKeY6x4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716800014; c=relaxed/simple; bh=YydZI2byttztf02/9moN2/RK0Mx/ONRzJ5Vy7ocEhjM=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Re80pa0Umcc0jddEk+yoxEeQ5haGSlde5V0wI0QfAOLDUWnyqPoktUnwjLasT4uUhnbmCGnBVOunG+9GJLgR2SMSAabC2lDkHR/+VxLLCYJW8Tw7Q4Chg5UN3hWWWANjVm4UJ9KLuaRRqN82mEJG32fM57nqqAnbcJz3ssZUd8c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=luIE/lyj; arc=none smtp.client-ip=209.85.208.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-2e968e77515so22524661fa.0 for ; Mon, 27 May 2024 01:53:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716800010; x=1717404810; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=XPQUqFdtvvs2dAPHMtj4XC01+ObsZNB1T1TqSRk+bE4=; b=luIE/lyj7me6vWYfFJt9sjBt/8QFk+1MIjYnQwJjK9e6vcwqtDcT7p5nKpeZfPWySF zPuH9J/Ez72WyvqZKwTXxMqTbm/uCH35fg2GHnTMOSdGQsDrc0hVuGnJ0jF3k8g3IrW+ gbsBd1XwHeGNJ/NoSz90HhjvJ/Ibv/AqTEbYTKuVX7p6lwsmcWdQGiek26cblBz/zgGL aT6W8JuK2dJtM0J3swMvuzg+AwcsoL0px4e1UoFr7BT1ln335UXBGjd6yXDuO95LfCwR 5wa50v0K7JnsDZc63FMj92pgCA2lzFYB4/u1Zq+c1jcNSSUtwJoibGvln6o/YQanD2e3 1b2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716800010; x=1717404810; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XPQUqFdtvvs2dAPHMtj4XC01+ObsZNB1T1TqSRk+bE4=; b=eUTfCLQFWwfggIbghicAAbZ2CZjTSvsBVkxUeuuOLTN+Oe2XDLbu+SLEhM2DJLzk6q 9aNYJAo1y2W/MlY7T4w2KMbH16OcC94Bkka8Xg0zMkABQyWZYsZVyIR9CcA+shYFXhaB +I5fPW9vxxkg1pV9RC3zZLyry77sFSr67WzDnWxDwOv7MMar/nByFF8w+j4UwBTFyEHh s7cLZCNn+U22/Oyp0CJC+znHxdBm4xp0gOM3wQZ6fbq7aUuovjRV3uYquHSKbT6k2kGb m2yNzN9EMOC/v+xTV1PdCbJzi97As2JfQry8KlGke9xjarLQxVh5awj5fb+xTSKFcjy8 ZxWQ== X-Forwarded-Encrypted: i=1; AJvYcCXt9weJfqGBL459XdgcjFDVn+pQHPWbld4gORxb2UL1MWJenDeXQEaKFwJbvRNL2HC7EPREbr4bWEaI8oOyxW4kI3LMyKyKmJ0XEZbI X-Gm-Message-State: AOJu0YzW3AinQNTgZUfKupKNbs3QaCOggdJF+LIbgahBgI2RZ2aYUpTt G3RotBMPG0pJXAOQm9beoLfov9v7W5Nj8UEBXxX5W+l9lzp1agP1YObqano+q6zoTnIr5lxjOye aaty5FIG4mlX8LR0Y5lJpjaqzMwk= X-Received: by 2002:a2e:9b08:0:b0:2de:73b5:427c with SMTP id 38308e7fff4ca-2e95b096cdfmr53444831fa.9.1716800009908; Mon, 27 May 2024 01:53:29 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240412064353.133497-1-zhaoyang.huang@unisoc.com> <20240412143457.5c6c0ae8f6df0f647d7cf0be@linux-foundation.org> <2652f0c1-acc9-4288-8bca-c95ee49aa562@marcinwanat.pl> <5f989315-e380-46aa-80d1-ce8608889e5f@marcinwanat.pl> In-Reply-To: <5f989315-e380-46aa-80d1-ce8608889e5f@marcinwanat.pl> From: Zhaoyang Huang Date: Mon, 27 May 2024 16:53:18 +0800 Message-ID: Subject: Re: [PATCH 1/1] mm: protect xa split stuff under lruvec->lru_lock during migration To: Marcin Wanat Cc: Dave Chinner , Andrew Morton , "zhaoyang.huang" , Alex Shi , "Kirill A . Shutemov" , Hugh Dickins , Baolin Wang , linux-mm@kvack.org, linux-kernel@vger.kernel.org, steve.kang@unisoc.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, May 27, 2024 at 4:22=E2=80=AFPM Marcin Wanat wrote: > > On 22.05.2024 12:13, Marcin Wanat wrote: > > On 22.05.2024 07:37, Zhaoyang Huang wrote: > >> On Tue, May 21, 2024 at 11:47=E2=80=AFPM Marcin Wanat > >> wrote: > >>> > >>> On 21.05.2024 03:00, Zhaoyang Huang wrote: > >>>> On Tue, May 21, 2024 at 8:58=E2=80=AFAM Zhaoyang Huang > >>>> wrote: > >>>>> > >>>>> On Tue, May 21, 2024 at 3:42=E2=80=AFAM Marcin Wanat > >>>>> wrote: > >>>>>> > >>>>>> On 15.04.2024 03:50, Zhaoyang Huang wrote: > >>>>>> I have around 50 hosts handling high I/O (each with 20Gbps+ uplink= s > >>>>>> and multiple NVMe drives), running RockyLinux 8/9. The stock RHEL > >>>>>> kernel 8/9 is NOT affected, and the long-term kernel 5.15.X is NOT > >>>>>> affected. > >>>>>> However, with long-term kernels 6.1.XX and 6.6.XX, > >>>>>> (tested at least 10 different versions), this lockup always appear= s > >>>>>> after 2-30 days, similar to the report in the original thread. > >>>>>> The more load (for example, copying a lot of local files while > >>>>>> serving 20Gbps traffic), the higher the chance that the bug will > >>>>>> appear. > >>>>>> > >>>>>> I haven't been able to reproduce this during synthetic tests, > >>>>>> but it always occurs in production on 6.1.X and 6.6.X within 2-30 > >>>>>> days. > >>>>>> If anyone can provide a patch, I can test it on multiple machines > >>>>>> over the next few days. > >>>>> Could you please try this one which could be applied on 6.6 > >>>>> directly. Thank you! > >>>> URL: https://lore.kernel.org/linux-mm/20240412064353.133497-1- > >>>> zhaoyang.huang@unisoc.com/ > >>>> > >>> > >>> Unfortunately, I am unable to cleanly apply this patch against the > >>> latest 6.6.31 > >> Please try below one which works on my v6.6 based android. Thank you > >> for your test in advance :D > >> > >> mm/huge_memory.c | 22 ++++++++++++++-------- > >> 1 file changed, 14 insertions(+), 8 deletions(-) > >> > >> diff --git a/mm/huge_memory.c b/mm/huge_memory.c > > > > I have compiled 6.6.31 with this patch and will test it on multiple > > machines over the next 30 days. I will provide an update after 30 days > > if everything is fine or sooner if any of the hosts experience the same > > soft lockup again. > > > > First server with 6.6.31 and this patch hang today. Soft lockup changed > to hard lockup: > > [26887.389623] watchdog: Watchdog detected hard LOCKUP on cpu 21 > [26887.389626] Modules linked in: nft_limit xt_limit xt_hashlimit > ip6t_REJECT nf_reject_ipv6 ipt_REJECT nf_reject_ipv4 xt_connlimit > nf_conncount tls xt_set ip_set_hash_net ip_set xt_CT xt_conntrack > nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables > nfnetlink rfkill intel_rapl_msr intel_rapl_common intel_uncore_frequency > intel_uncore_frequency_common isst_if_common skx_edac nfit libnvdimm > x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass > rapl intel_cstate ipmi_ssif irdma ext4 mbcache ice iTCO_wdt jbd2 mgag200 > intel_pmc_bxt iTCO_vendor_support ib_uverbs i2c_algo_bit acpi_ipmi > intel_uncore mei_me drm_shmem_helper pcspkr ib_core i2c_i801 ipmi_si > drm_kms_helper mei lpc_ich i2c_smbus ioatdma intel_pch_thermal > ipmi_devintf ipmi_msghandler acpi_pad acpi_power_meter joydev tcp_bbr > drm fuse xfs libcrc32c sd_mod t10_pi sg crct10dif_pclmul crc32_pclmul > crc32c_intel ixgbe polyval_clmulni ahci polyval_generic libahci mdio > i40e libata megaraid_sas dca ghash_clmulni_intel wmi > [26887.389682] CPU: 21 PID: 264 Comm: kswapd0 Kdump: loaded Tainted: G > W 6.6.31.el9 #3 > [26887.389685] Hardware name: FUJITSU PRIMERGY RX2540 M4/D3384-A1, BIOS > V5.0.0.12 R1.22.0 for D3384-A1x 06/04/2018 > [26887.389687] RIP: 0010:native_queued_spin_lock_slowpath+0x6e/0x2c0 > [26887.389696] Code: 08 0f 92 c2 8b 45 00 0f b6 d2 c1 e2 08 30 e4 09 d0 > a9 00 01 ff ff 0f 85 ea 01 00 00 85 c0 74 12 0f b6 45 00 84 c0 74 0a f3 > 90 <0f> b6 45 00 84 c0 75 f6 b8 01 00 00 00 66 89 45 00 5b 5d 41 5c 41 > [26887.389698] RSP: 0018:ffffb3e587a87a20 EFLAGS: 00000002 > [26887.389700] RAX: 0000000000000001 RBX: ffff9ad6c6f67050 RCX: > 0000000000000000 > [26887.389701] RDX: 0000000000000000 RSI: 0000000000000000 RDI: > ffff9ad6c6f67050 > [26887.389703] RBP: ffff9ad6c6f67050 R08: 0000000000000000 R09: > 0000000000000067 > [26887.389704] R10: 0000000000000000 R11: 0000000000000000 R12: > 0000000000000046 > [26887.389705] R13: 0000000000000200 R14: 0000000000000000 R15: > ffffe1138aa98000 > [26887.389707] FS: 0000000000000000(0000) GS:ffff9ade20340000(0000) > knlGS:0000000000000000 > [26887.389708] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [26887.389710] CR2: 000000002912809b CR3: 000000064401e003 CR4: > 00000000007706e0 > [26887.389711] DR0: 0000000000000000 DR1: 0000000000000000 DR2: > 0000000000000000 > [26887.389712] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: > 0000000000000400 > [26887.389713] PKRU: 55555554 > [26887.389714] Call Trace: > [26887.389717] > [26887.389720] ? watchdog_hardlockup_check+0xac/0x150 > [26887.389725] ? __perf_event_overflow+0x102/0x1d0 > [26887.389729] ? handle_pmi_common+0x189/0x3e0 > [26887.389735] ? set_pte_vaddr_p4d+0x4a/0x60 > [26887.389738] ? flush_tlb_one_kernel+0xa/0x20 > [26887.389742] ? native_set_fixmap+0x65/0x80 > [26887.389745] ? ghes_copy_tofrom_phys+0x75/0x110 > [26887.389751] ? __ghes_peek_estatus.isra.0+0x49/0xb0 > [26887.389755] ? intel_pmu_handle_irq+0x10b/0x230 > [26887.389756] ? perf_event_nmi_handler+0x28/0x50 > [26887.389759] ? nmi_handle+0x58/0x150 > [26887.389764] ? native_queued_spin_lock_slowpath+0x6e/0x2c0 > [26887.389768] ? default_do_nmi+0x6b/0x170 > [26887.389770] ? exc_nmi+0x12c/0x1a0 > [26887.389772] ? end_repeat_nmi+0x16/0x1f > [26887.389777] ? native_queued_spin_lock_slowpath+0x6e/0x2c0 > [26887.389780] ? native_queued_spin_lock_slowpath+0x6e/0x2c0 > [26887.389784] ? native_queued_spin_lock_slowpath+0x6e/0x2c0 > [26887.389787] > [26887.389788] > [26887.389789] __raw_spin_lock_irqsave+0x3d/0x50 > [26887.389793] folio_lruvec_lock_irqsave+0x5e/0x90 > [26887.389798] __page_cache_release+0x68/0x230 > [26887.389801] ? remove_migration_ptes+0x5c/0x80 > [26887.389807] __folio_put+0x24/0x60 > [26887.389808] __split_huge_page+0x368/0x520 > [26887.389812] split_huge_page_to_list+0x4b3/0x570 > [26887.389816] deferred_split_scan+0x1c8/0x290 > [26887.389819] do_shrink_slab+0x12f/0x2d0 > [26887.389824] shrink_slab_memcg+0x133/0x1d0 > [26887.389829] shrink_node_memcgs+0x18e/0x1d0 > [26887.389832] shrink_node+0xa7/0x370 > [26887.389836] balance_pgdat+0x332/0x6f0 > [26887.389842] kswapd+0xf0/0x190 > [26887.389845] ? balance_pgdat+0x6f0/0x6f0 > [26887.389848] kthread+0xee/0x120 > [26887.389851] ? kthread_complete_and_exit+0x20/0x20 > [26887.389853] ret_from_fork+0x2d/0x50 > [26887.389857] ? kthread_complete_and_exit+0x20/0x20 > [26887.389859] ret_from_fork_asm+0x11/0x20 > [26887.389864] > [26887.389865] Kernel panic - not syncing: Hard LOCKUP > [26887.389867] CPU: 21 PID: 264 Comm: kswapd0 Kdump: loaded Tainted: G > W 6.6.31.el9 #3 > [26887.389869] Hardware name: FUJITSU PRIMERGY RX2540 M4/D3384-A1, BIOS > V5.0.0.12 R1.22.0 for D3384-A1x 06/04/2018 > [26887.389870] Call Trace: > [26887.389871] > [26887.389872] dump_stack_lvl+0x44/0x60 > [26887.389877] panic+0x241/0x330 > [26887.389881] nmi_panic+0x2f/0x40 > [26887.389883] watchdog_hardlockup_check+0x119/0x150 > [26887.389886] __perf_event_overflow+0x102/0x1d0 > [26887.389889] handle_pmi_common+0x189/0x3e0 > [26887.389893] ? set_pte_vaddr_p4d+0x4a/0x60 > [26887.389896] ? flush_tlb_one_kernel+0xa/0x20 > [26887.389899] ? native_set_fixmap+0x65/0x80 > [26887.389902] ? ghes_copy_tofrom_phys+0x75/0x110 > [26887.389906] ? __ghes_peek_estatus.isra.0+0x49/0xb0 > [26887.389909] intel_pmu_handle_irq+0x10b/0x230 > [26887.389911] perf_event_nmi_handler+0x28/0x50 > [26887.389913] nmi_handle+0x58/0x150 > [26887.389916] ? native_queued_spin_lock_slowpath+0x6e/0x2c0 > [26887.389920] default_do_nmi+0x6b/0x170 > [26887.389922] exc_nmi+0x12c/0x1a0 > [26887.389923] end_repeat_nmi+0x16/0x1f > [26887.389926] RIP: 0010:native_queued_spin_lock_slowpath+0x6e/0x2c0 > [26887.389930] Code: 08 0f 92 c2 8b 45 00 0f b6 d2 c1 e2 08 30 e4 09 d0 > a9 00 01 ff ff 0f 85 ea 01 00 00 85 c0 74 12 0f b6 45 00 84 c0 74 0a f3 > 90 <0f> b6 45 00 84 c0 75 f6 b8 01 00 00 00 66 89 45 00 5b 5d 41 5c 41 > [26887.389931] RSP: 0018:ffffb3e587a87a20 EFLAGS: 00000002 > [26887.389933] RAX: 0000000000000001 RBX: ffff9ad6c6f67050 RCX: > 0000000000000000 > [26887.389934] RDX: 0000000000000000 RSI: 0000000000000000 RDI: > ffff9ad6c6f67050 > [26887.389935] RBP: ffff9ad6c6f67050 R08: 0000000000000000 R09: > 0000000000000067 > [26887.389936] R10: 0000000000000000 R11: 0000000000000000 R12: > 0000000000000046 > [26887.389937] R13: 0000000000000200 R14: 0000000000000000 R15: > ffffe1138aa98000 > [26887.389940] ? native_queued_spin_lock_slowpath+0x6e/0x2c0 > [26887.389943] ? native_queued_spin_lock_slowpath+0x6e/0x2c0 > [26887.389946] > [26887.389947] > [26887.389947] __raw_spin_lock_irqsave+0x3d/0x50 > [26887.389950] folio_lruvec_lock_irqsave+0x5e/0x90 > [26887.389953] __page_cache_release+0x68/0x230 > [26887.389955] ? remove_migration_ptes+0x5c/0x80 > [26887.389958] __folio_put+0x24/0x60 > [26887.389960] __split_huge_page+0x368/0x520 > [26887.389963] split_huge_page_to_list+0x4b3/0x570 > [26887.389967] deferred_split_scan+0x1c8/0x290 > [26887.389971] do_shrink_slab+0x12f/0x2d0 > [26887.389974] shrink_slab_memcg+0x133/0x1d0 > [26887.389978] shrink_node_memcgs+0x18e/0x1d0 > [26887.389982] shrink_node+0xa7/0x370 > [26887.389985] balance_pgdat+0x332/0x6f0 > [26887.389991] kswapd+0xf0/0x190 > [26887.389994] ? balance_pgdat+0x6f0/0x6f0 > [26887.389997] kthread+0xee/0x120 > [26887.389998] ? kthread_complete_and_exit+0x20/0x20 > [26887.390000] ret_from_fork+0x2d/0x50 > [26887.390003] ? kthread_complete_and_exit+0x20/0x20 > [26887.390004] ret_from_fork_asm+0x11/0x20 > [26887.390009] > ok, thanks for the information. That should be generated by lock's contention. I will check the code and keep you posted.