Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp403340lqo; Wed, 8 May 2024 03:30:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUZ9AurwCwQnjY2w3rHQ8XCZ2jYrxQFJLV3hP5+wnTw6jCEDGxVw3ELX7p47SL8HOuKJdSzKiV/8pD0ciAdepxzdxFk3iRvNwng1T9aQw== X-Google-Smtp-Source: AGHT+IEU9+fTWpZUFMsxixNaEiEiM6dV6txmL9NfRW87zSS+GeMaz2mgUEYhCbNead6xdKqGnw8D X-Received: by 2002:a17:903:228f:b0:1e8:a63b:d427 with SMTP id d9443c01a7336-1eeb0791c73mr25024915ad.49.1715164216200; Wed, 08 May 2024 03:30:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715164216; cv=pass; d=google.com; s=arc-20160816; b=S2OjZoeQFHyF6casLVjxcMHw5wfpMKq/xibzPZMqOkuxcAAPw0HoMY+3FIzw+h5Rwx H4oTuV0Zg1Rq/OirjIF+O3C+GhEtdAThmVdFYE2gv9W1d9Tr/eKKmCePbYGDtpz28cP+ MJSsom7/AFgiUjBLFrQPt6gvNvm3eBGwovFzkHOnDok8P3HGNgIDprPHByZ0/sOzhTCJ hrJXBTykZokQrKWIQDKyFZR+Xw7NhoXTvy98cvzE1LxwJpynyV4Fc/T10nw3gfGV797K W/nTgFKylCTZE/gkC6MbGcUx3PyxTaLJOn+jpm+8ttd9YhhpDVBF6RfC2cEAzVHMb0Ng uAYw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:dkim-signature:message-id; bh=vVwZL+A9cHtGAyQ2u3Cbb3pzinsuz96Kz1POWPk+6nU=; fh=hSF8cHKfq+5K5kJ5N7bjPSFgQsOUsC/noALkUKtYPjE=; b=tHerMDCg/E2mol9cNfRPTdlpWeEWplvKjAwS8BfFHyT+bD+u/6sZzhTrrFrsP7dzWQ ge6ESZIiOYMDOzWU8fSQgOJC8VVwJuY+jryTHAcuQt9JYXhc+02N087ubnPJMe783PDp p2UAdUzi9GM1Eyy4fgJx2i0bTav6VWyi4LULKbCCzQTzoyY+eSXpMWn4db8CNWfTB8d7 VTnq11nN3A/yJvcoTYuiYRLvwWRsb/tobtFtzUGMpGeSjhD7nuGBQIvf6ufJc05Kjrke MaK3G1vq+YsjQAmMrJ+dIhLejVR8co92t036Ar6n9U5nDvPmDJyeKKwyfLTAq7VH/5u/ yGeA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=AaMZ6JR6; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-173065-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173065-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id p15-20020a170902780f00b001ed4504201csi10022537pll.447.2024.05.08.03.30.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 03:30:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173065-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=AaMZ6JR6; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-173065-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173065-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 5207B2860FA for ; Wed, 8 May 2024 10:29:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D0DAF7D3FB; Wed, 8 May 2024 10:29:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="AaMZ6JR6" Received: from out-172.mta1.migadu.com (out-172.mta1.migadu.com [95.215.58.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 64D34BA27 for ; Wed, 8 May 2024 10:29:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715164163; cv=none; b=YlxR7U/EKHXpIiXPz8s7SpIlBqpzg6Tsvprhl2KEwTOFgI8R/yNUH+TVQBPV1knVqnJAfupj5ylrsx9l+jLM7iGz7jcJ87BmS4mVHuBmmrPBiSxSdGQDQgmhvkbpuqZATNqdW7YG3GAHIhNy42VmeH1maN0o1uYbgAypQePZhLc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715164163; c=relaxed/simple; bh=6hxnY/6kr68Jv4coWbRBirLa5oPBci7/ve/IiJK6WAo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=dHb7WwmOodRmmwx3wBneWEcDLXXzHyN8MLH2S0+guuiWTA/Dx49iiBnY4YsX2kYGvuuUuowsptiXBuQyALaLQzDYENrxCBHm8R0F1jxhe763OCFBU1QaHaJs/0WbwUy3BelscvjXrfE8pA2Pv0raR+Q4VRRvFYBBBIDwzCnKWTk= 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=AaMZ6JR6; arc=none smtp.client-ip=95.215.58.172 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 Message-ID: <03536b50-d5bb-41f1-8916-2adff05435f2@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1715164159; 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; bh=vVwZL+A9cHtGAyQ2u3Cbb3pzinsuz96Kz1POWPk+6nU=; b=AaMZ6JR6QzMY6s/Bt6hrM8uEqE44J3xRmB1GhPM6NmMheRatVvMWySpjMQBmzeAyNsZb1+ yhWGn670cM8EmVHzRM+ED5xzASOxPPhKOEywRLx3jbAcx8w8Y49PNfE7vnE4EO4Ls+KBLV wOBK1+0DlR28YtXEK4yqPeZyl12it18= Date: Wed, 8 May 2024 18:28:51 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH 0/4] mm/ksm: fix some accounting problems To: David Hildenbrand , Andrew Morton , Stefan Roesch , xu xin Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, zhouchengming@bytedance.com References: <20240508-b4-ksm-counters-v1-0-e2a9b13f70c5@linux.dev> <9a1fdac7-8bbd-48f4-bf31-86916ddcf4ed@redhat.com> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Chengming Zhou In-Reply-To: <9a1fdac7-8bbd-48f4-bf31-86916ddcf4ed@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 2024/5/8 18:24, David Hildenbrand wrote: > On 08.05.24 11:55, Chengming Zhou wrote: >> We encounter some abnormal ksm_pages_scanned and ksm_zero_pages during >> some random tests. >> >> 1. ksm_pages_scanned unchanged even ksmd scanning has progress. >> 2. ksm_zero_pages maybe -1 in some rare cases. >> >> The first two patches fix these problems and the last two patches > > Can you find+add "Fixes:" tags for these? They look sane after having a quick peek. > Right, will add "Fixes:" tags. Thanks.