From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mta1.migadu.com (out-71.mta1.migadu.com [95.215.58.71]) (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 C78553D0908 for ; Wed, 14 Oct 2026 16:04:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.71 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791993885; cv=none; b=sjcsrEbyfykV5IIUROv3upcF0pmgHzw1W8JzTv4+d7W673A5uy6V8ArwKaojtqMA+dIHyexYr8Q0X/B/n3Vvd0GN2YXjwmq0Y2+7DUxad+THaF1kalH3RK2xP1ax1BvlJ9NpojXKiQoa1Qt4R/bk+VaNz/mhm8eliwy+a1nOVrw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791993885; c=relaxed/simple; bh=PI0fOAv5zzJ41Ji3Z2QtwoPTiCXvJem5/RFTA0ekY0U=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=HhoqHZWLiG4UeHq8ziDVr21thBS01FJTgLW+X36IP32gbcGgIw665jnk6AqjBUolIgBWyKTi9CIBGrCnZryis2Vb4pll25OCECrWKj62swSSaK4X4ZYnMt01emsQMVdPIuBgFShxoCaZr7u+5V0C9m77xdit9vjlJQpkJsv4CvM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=FB2ic1WG; arc=none smtp.client-ip=95.215.58.71 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="FB2ic1WG" X-Envelope-To: kvm@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=PI0fOAv5zzJ41Ji3Z2QtwoPTiCXvJem5/RFTA0ekY0U=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1791993881; v=1; x=1792598681; b=FB2ic1WGugcHaPbviCEivRkLZWw6rAaFPdy2BZYb5aDlbMVpLQ4QRp/EaFsTU3lA6tRJugoS l/P+Y1zD2kd/5w573b/aFKTNx03vEhPg5K6XeQ/2N/QhYiJ3qoDoGXWldnKvH6p88DlRCbbU0h+ /CIC+skOEpBCvkjLuyFJijRo= X-Envelope-To: kvm@vger.kernel.org Received: by smtp.migadu.com with ESMTPS id 0ac52b3081cf7048; Wed, 14 Oct 2026 16:04:41 +0000 X-Mizu-Trace-ID: 0ac52b3081cf7048 X-Migadu-Flow: FLOW_OUT Message-ID: <73f0dafd-5b26-42b9-a77b-90c32976942f@linux.dev> Date: Thu, 15 Oct 2026 00:04:23 +0800 Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 0/2] mm/huge_memory: fix the copy of special PMDs at fork Content-Language: en-US To: Konstantin Khorenko , Zi Yan Cc: Andrew Morton , David Hildenbrand , Baolin Wang , "Liam R. Howlett" , Nico Pache , Ryan Roberts , Dev Jain , Barry Song , Usama Arif , Kiryl Shutsemau , Peter Xu , Alex Williamson , kvm@vger.kernel.org, =?UTF-8?Q?Lo=C3=AFc_Molinari?= , dri-devel@lists.freedesktop.org, Madhavan Srinivasan , "Ritesh Harjani (IBM)" , linuxppc-dev@lists.ozlabs.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Jason Gunthorpe , stable@vger.kernel.org, Sashiko References: <20261014-b4-prep-vstor-149847-copy_huge_pmd-recheck-special-pmd-v3-0-85eaec8417f6@virtuozzo.com> From: Lance Yang In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2026/10/14 23:57, Zi Yan wrote: > On 14 Oct 2026, at 11:46, Konstantin Khorenko wrote: > > > >> >> >> Signed-off-by: Konstantin Khorenko >> --- >> Changes in v3: >> - Patch 1: recheck the PMD with pmd_none(), as only a zap can change >> it and a zap leaves it none (Lance Yang). >> - Link to v2: https://patch.msgid.link/20261014-b4-prep-vstor-149847-copy_huge_pmd-recheck-special-pmd-v2-0-e1548488fa68@virtuozzo.com >> >> Changes in v2: >> - Add patch 2, the page table deposit for ppc64 hash, reported by >> Sashiko. >> - Patch 1: name panthor instead of drm_gem_shmem as the driver whose >> stale child mapping reaches freed pages: drm_gem_shmem keeps the >> pages of a purged object until the last mapping goes away. >> - Link to v1: https://patch.msgid.link/20261014-b4-prep-vstor-149847-copy_huge_pmd-recheck-special-pmd-v1-1-d225c60bc316@virtuozzo.com >> > > Please stop sending new versions of a patchset repeatedly. > Wait at least a day for others to catch up. +1 Please slow down a bit. You don't need to respin every few hours. That just makes everyone start over ... Post a version, wait for feedback, then revise. Twice a week is plenty, honestly :) Cheers, Lance > Thanks. > >> --- >> Konstantin Khorenko (2): >> mm/huge_memory: recheck a special PMD under the lock in copy_huge_pmd() >> mm/huge_memory: deposit a page table for a special PMD copied by fork >> >> mm/huge_memory.c | 34 +++++++++++++++++++++++++++------- >> 1 file changed, 27 insertions(+), 7 deletions(-) >> --- >> base-commit: 24a19b953e2a3d0ea5a8c4951a0ab8f32720c907 >> change-id: 20261014-b4-prep-vstor-149847-copy_huge_pmd-recheck-special-pmd-bdf7efb612c2 >> >> Best regards, >> -- >> Konstantin Khorenko > > > Best Regards, > Yan, Zi