From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9EE7DC19F32 for ; Wed, 5 Mar 2025 22:38:22 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7486A280005; Wed, 5 Mar 2025 17:38:19 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 6CF5E280003; Wed, 5 Mar 2025 17:38:19 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 521EE280005; Wed, 5 Mar 2025 17:38:19 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 30C52280003 for ; Wed, 5 Mar 2025 17:38:19 -0500 (EST) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 408501A0BBC for ; Wed, 5 Mar 2025 22:38:21 +0000 (UTC) X-FDA: 83188962402.12.7F15919 Received: from mail-oo1-f53.google.com (mail-oo1-f53.google.com [209.85.161.53]) by imf24.hostedemail.com (Postfix) with ESMTP id 6EF5D180003 for ; Wed, 5 Mar 2025 22:38:19 +0000 (UTC) Authentication-Results: imf24.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=Z20OXJZx; spf=pass (imf24.hostedemail.com: domain of hughd@google.com designates 209.85.161.53 as permitted sender) smtp.mailfrom=hughd@google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1741214299; h=from:from:sender: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: in-reply-to:in-reply-to:references:references:dkim-signature; bh=SjOvi6sl2VIvgnDBWTKhh6QRUEoSop9v3GepSmadXxw=; b=opoengnSgxVQbqOw/82/3ZBs4S7bTmUSEyYNPf6C3jJEYsFplZ5yKF1DFBBfUuNrwVfim3 vkkJ2F93r+PUq4q4tMj/kHJHVDtw7p6gn1h07fO27lF58a+UuwpbKBpfFF+CZitCQvUjgz FUvSlLvn2DNkyC5rQm8uPrmK+peIAt8= ARC-Authentication-Results: i=1; imf24.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=Z20OXJZx; spf=pass (imf24.hostedemail.com: domain of hughd@google.com designates 209.85.161.53 as permitted sender) smtp.mailfrom=hughd@google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1741214299; a=rsa-sha256; cv=none; b=sfkf6syCvebbVcoUFkcIr4jhxjmsf+yjUqcRrRW8qoJO84ir/ozYwKvsq/mkqNoHnE29dj KURNq1eQ0YpTH67GU+skDWpCdvbNPNowgV7tCLRn2ap4lmLQNc+aXiSXYqBUXUSF9hCHub NiS9Eo8GSJGqAbI8MSpAQz1ft863pRY= Received: by mail-oo1-f53.google.com with SMTP id 006d021491bc7-5fe86c16f5dso14259eaf.1 for ; Wed, 05 Mar 2025 14:38:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1741214298; x=1741819098; darn=kvack.org; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=SjOvi6sl2VIvgnDBWTKhh6QRUEoSop9v3GepSmadXxw=; b=Z20OXJZxvkGXwcqHDmk3+NcuGdTPW0sZ6/54Ths5v8wv33ZiYEwp0I/IbheHVUheIT k7Ef6wxUYcxH7j9f0oFDlb+YIGgfuYLKPXHnYqN8/gMUNtexhu1v+3ui6vO+l6d1ImDy +Z4gWXnZRx2xe6DX8mB9VFFbmDQ0tVP6LgVIBHah+jF87QSUqf1mn1xS2QnsrTFEZMZR kLWjqOzZaInDomSfOARkRisCU4I9uCfiMPZC+YaSkbkfYaSvGfWobltWi0t69Cex4qU7 5EfVcv37KlWlTLEAGNloGeqkKnHHv0UfQWBhXfT7nkL2dLI0gi956KyjvhB2manu3l6c il3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741214298; x=1741819098; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SjOvi6sl2VIvgnDBWTKhh6QRUEoSop9v3GepSmadXxw=; b=BEJbx3qDstcD5fga8EC2nzNG+NCpZsOWkZsyjAXyOUd05ULI3tstIyaD+KHRjxvfPm 9bLnu4ee2e8RdGlCm8xWiZbLRSREzVikM7h8aJDMFrUaXevEBI86rW7t3+TWpoyFIVFY j129/hesZlJGCUn14pQzEJZijn6SU5iJcjJDIzsQmVjdXZaL7odFa0c3FWv+Sh4kElLW cmsPGAY+2QJNiV134YV8QlnSUwTB13PFji5t6X+Rl5wGVYOQPmDymxwV4iBLDvJ9IErN p6+0BS/FLBDt+ehtAiiOfvz7o/5OvSBA6WV9ZR5urw9HG1Am85ah6VsejmNyEnbWiKQA 5m/Q== X-Forwarded-Encrypted: i=1; AJvYcCV2YnK6PuWpyBJSOCXY29WXCilcf+dSWEEqaEkzAFzUl9TSAvZcZPHpim9QXTQKvL5BhljWuAbpbw==@kvack.org X-Gm-Message-State: AOJu0YyZusEKJ2sAmQuV6/E5iJcKJJLVafGBURqqtAsIkxILhc3+AqjB ER301nrcgBMcfxo22wFiaNtZgGu7CWnD5CLjVsuBDCk6uovJ9X3VKL74PcPg2w== X-Gm-Gg: ASbGncvmf/fmHR+pU+1D5LvKRDWMATi29R0PwSf+N6/IMv0s4BXFI/BKZWVS49iLtsr 7J2zh0WTF58S0maAvWEZREvdYu0K8orxiPw04D1MN/L2uVh0V51HxDd+0ifgAKtNCPhLyun+08l yUwLyH27l4KuuPlCn2WlC3I+FUoXTS1dKHHoe+FmDU+V+9e04N8S43n0iDi+bC462wAWCOaRzhD hKp9gCXv8DIH1Z+F5MjH1Es3NZ6HaIiteTSs4ZUdaqg++ics1LxWGvS+nYqfa08j5HuTanE9pB5 XW8Ob/txTDlVQIJeYUNukPq+iNbJfWHteia9JBd3wXmLs6nEXOHWMhix3ub4oefe8P4DBiCcAxi GUSY5ytWV0tAEcMNwuZV6EGsRx0L9 X-Google-Smtp-Source: AGHT+IENCRda4YblETp7vN9oJvjvecYwsrpti/odR7sPkl62SCbV9fZvgs2gw1PyJJPEAr1GtS158Q== X-Received: by 2002:a05:6820:a01:b0:5fa:6805:645b with SMTP id 006d021491bc7-600336499dbmr2496467eaf.6.1741214298269; Wed, 05 Mar 2025 14:38:18 -0800 (PST) Received: from darker.attlocal.net (172-10-233-147.lightspeed.sntcca.sbcglobal.net. [172.10.233.147]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-600410a0db9sm3504eaf.26.2025.03.05.14.38.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Mar 2025 14:38:15 -0800 (PST) Date: Wed, 5 Mar 2025 14:38:12 -0800 (PST) From: Hugh Dickins To: Zi Yan cc: Hugh Dickins , Andrew Morton , linux-mm@kvack.org, "Kirill A . Shutemov" , "Matthew Wilcox (Oracle)" , Ryan Roberts , David Hildenbrand , Yang Shi , Miaohe Lin , Kefeng Wang , Yu Zhao , John Hubbard , Baolin Wang , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Kairui Song , Liu Shixin Subject: Re: [PATCH v9 2/8] mm/huge_memory: add two new (not yet used) functions for folio_split() In-Reply-To: <2D7DFB2E-DB80-4F6C-A580-DEBC70318364@nvidia.com> Message-ID: <176731de-6a3b-270b-6b5d-dfce124c8789@google.com> References: <20250226210032.2044041-1-ziy@nvidia.com> <20250226210032.2044041-3-ziy@nvidia.com> <2fae27fe-6e2e-3587-4b68-072118d80cf8@google.com> <408B0C17-E144-4729-9461-80E8B5D1360C@nvidia.com> <0582f898-bd35-15cc-6b4d-0a3ad9c2a1a4@google.com> <2D7DFB2E-DB80-4F6C-A580-DEBC70318364@nvidia.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="-1463770367-323578906-1741214295=:4219" X-Rspam-User: X-Stat-Signature: 71ipqptu5x7qkxm9xcg4aix6kzaq1ahh X-Rspamd-Queue-Id: 6EF5D180003 X-Rspamd-Server: rspam07 X-HE-Tag: 1741214299-208992 X-HE-Meta: U2FsdGVkX19AhktrNGNb25iHBpvWruq2XoIuJCoBrM+IqnU0TKgPIap35I2l8dX3YQkkeCwdxgvgwsod8WuVG0MsIDvgG5Y7hWjIz0Zw39senzsMGn8BcV7SGAnn/SRpwBfbQBX+tc/VPQpX4pVsCwbZFLKpCH2XNCaYE3bNKlOtPVm5MBVB84zzW9OlC3wxVen0ml3RoPeZ+sxdBfkrEpSmk2wdoDSEtV46FrJ3BeuXpP4gPaf0KyeMdl/ufuSUgXks1g951A3sHMQTeCJ3SJmOUTJ/8K/0d/yh3be34UFwAqEHuUM2B3xKa+y6HkfsxhZZoBTYUHGP2AqTZUStBGeDZ1W7NYmn2cED2TMip9UmuqxaZjJt/C2DlbTez28naeLi3KMYKCwHV7ocd0rg4Qqa3W3np9Udi/s0RHf/BJ4JyBfqzlVCb/ydO4e/EWMrGXI5Eo839O7k5hTD6Pdm/Tzj1pQjlLFdCZpU672bt9+ovmXF/su8b1Bb8UjqWchFc8ShDjZFYgW+7CWUsS8Ag4UjnLsRIAvBbmPIAuobaEFO1CekiwcOVzozRuaF2Ylsque1QoGzyavh3iMSXmxLW0T1Y5ubEfwZ64s9Xus21+xuowlzW0puGvLjxyFaHA+oRn7xb7qvIZGt7Zm0uTYOyWh5aIGn/q+YXqlebnrQdHRaP0t82hNgpdlqkZ/IfO+7c2LZb91FVw6bu56JIpi7E4yPz1LEOVqXFkwvC+PEUME1bBYl/Cv1CyrDw9HCa924E7+ZOyVGZhXA+7xDxUo3eAlsY9/wCGyQkXHGPSS76lAxSwV3SfMO32h1NqlxpO2Te/TL8jappM8zeLwPdQq7pYKvq+DstPIGA787lfVgc/gRgbe5gB/vK5AuDWrqWkZvDUo2UHqSQaxUwpB4YdJVjoNQBRtTSijFw32LH4FbPqwJgeWq7uVfAJgmj2/eoN/BEyxzEznjNPzEIgUBL7O 2xFBO3cZ wkViu0Pn1MUu+6tnvNY4P+9DF9M7smnoPhCkOIRvvzLmUExQaShhEjU5PhV5qVwI/nw63TcJGpl+TchSnnaclQY6BCFDelmDXDdi6lImBReYxLfyCg2uTQ21Uhcx8nzoW9gvlXxHHbEg5akkPKyiyuddsGgzGzkL2XmmZ17m9/8A6BFH2QkyCLqjl/px1Lp/rLG0l9SfP6QANhxSlTAN+dP6h5NuBgtCtVQzSIWN2/D8ZBJAfuOSh74TU2WVdm5ASJlvYYoap9Gs6Am9kU6NCD03gCJxDkcicqd+FY2H5DEhwxOHnpjYYvzQXGWySVWGxCOYJB69sUlvbG2J1wJKwI0UOAGbP4fD+wyijlpWJVGbGY58TqDPcr4GUldXUjRbLH+LExhd4QWd2IGDTn3m4SCy5NzBS2xiR73Sa4R8jAZPNepTlgTn3lcy5assyOB5kqvLt5OQGgFJ1D0CbgArxa9S6EhlSCvRVLfZc5bq2jVBhB8k= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1463770367-323578906-1741214295=:4219 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Wed, 5 Mar 2025, Zi Yan wrote: > On 5 Mar 2025, at 16:03, Hugh Dickins wrote: > > > > Beyond checking that, I didn't have time yesterday to investigate > > further, but I'll try again today (still using last weekend's mm.git). >=20 > I am trying to replicate your runs locally. Can you clarify your steps > of =E2=80=9Ckernel builds on huge tmpfs while swapping to SSD=E2=80=9D? D= o you impose > a memory limit so that anonymous memory is swapped to SSD or make tmpfs > swap to SSD? Yeah, my heart sank a bit when I saw Andrew (with good intention) asking you to repeat my testing. We could spend weeks going back and forth on that, and neither of us has weeks to spare. "To fulfil contractual obligations" I'll mail you the tarfile I send out each time I'm asked for this; but I haven't updated that tarfile in four years, whereas I'm frequently tweaking things to match what's needed (most recently and relevantly, I guess enabling 64kB hugepages for anon and shmem in addition to the PMD-sized). Please don't waste much of your time over trying to replicate what I'm doing: just give the scripts a glance, as a source for "oh, I could exercise something like that in my testing too" ideas. Yes, I limit physical memory by booting with mem=3D1G, and also apply lower memcg v1 limits. I made a point of saying "SSD" there because I'm not testing zram or zswap at all, whereas many others are testing those rather than disk. swapoff, and ext4 on loop0 on tmpfs, feature in what I exercise, but are NOT relevant to the corruption I'm seeing here - that can occur before any swapoff, and it's always on the kernel build in tmpfs: the parallel build in ext4 on loop0 on tmpfs completes successfully. Hugh ---1463770367-323578906-1741214295=:4219--