From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mta20.hihonor.com (mta20.hihonor.com [81.70.206.69]) (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 63C5A30C618 for ; Tue, 28 Jul 2026 04:03:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=81.70.206.69 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785211398; cv=none; b=Xapi7JQ6To0RP6UFTCFl4680y1+6XC39cbMksVFzDPd0zrQK7K1iqk0RN0uoYVjtkaLtyAhdZDXlnFLfkhQuy0vcFrqxSmXAKxW7FhvGfxHHWKlyWDNpYoO6V6gRd/UlcFzc+I73yOfuKqkbQKzFd5XTaK7woQOV15Hw10aPzcw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785211398; c=relaxed/simple; bh=+rqQ2gTIZADtwBy3iw513eeIv+fFarHCaONw9Sjuw9w=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=WZiiGgtLExfs3O8gj4BuPq6rQwgujOw8p7muB+vCLjm5ngMEakEPn1kUDvQFISZDruPh0QkYW3ehdqLw+UWaKSgbBqtVSCOAVamp6bQ1XNfKSkSqeuqgnocnDfYcTJ62QJF/VNyJpWtw7CHNFlbR01B1z7X3Lm0iyC481qh46dY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=honor.com; spf=pass smtp.mailfrom=honor.com; arc=none smtp.client-ip=81.70.206.69 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=honor.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=honor.com Received: from TW004-1.hihonor.com (unknown [10.77.232.85]) by mta20.hihonor.com (SkyGuard) with ESMTPS id 4h8LxQ08q1zYl6Wq; Tue, 28 Jul 2026 11:46:50 +0800 (CST) Received: from TA012-1.hihonor.com (10.77.199.132) by TW004-1.hihonor.com (10.77.232.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.43; Tue, 28 Jul 2026 11:46:49 +0800 Received: from localhost.localdomain (10.144.5.36) by TA012-1.hihonor.com (10.77.199.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.45; Tue, 28 Jul 2026 11:46:48 +0800 From: Zicheng Wang To: , , CC: Zicheng Wang , , , , , , , , , , , , , , , , Subject: Re: [RFC PATCH v2 4/5] mm: mglru: run aging when pages are severely imbalanced across gens Date: Tue, 28 Jul 2026 11:46:33 +0800 Message-ID: <20260728034633.3387845-1-wangzicheng@honor.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20260726122123.7614-5-baohua@kernel.org> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: TW002-1.hihonor.com (10.72.0.137) To TA012-1.hihonor.com (10.77.199.132) Hi Barry, lyugaofei, The cover letter results look good. This change looks like it resolves the cross-type skew from 798c0330c2ca [1] (if I understand correctly). But: removed (798c0330c2ca): old * 4 < total 4/5: old * 4 < young Can a single type also skew, and does changing total to young have any downside? Nit: the old form derived the constant from (MIN_NR_GENS + 2). [1] https://lore.kernel.org/all/20241231043538.4075764-4-yuzhao@google.com/ Best, Zicheng