Authentication-Results: smtp.subspace.kernel.org; dkim=none Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4AC2B7 for ; Sat, 25 Nov 2023 04:01:03 -0800 (PST) Received: from dggpemm500005.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Scr5Y2L31zvR21; Sat, 25 Nov 2023 20:00:33 +0800 (CST) Received: from [10.69.30.204] (10.69.30.204) by dggpemm500005.china.huawei.com (7.185.36.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Sat, 25 Nov 2023 20:01:00 +0800 Subject: Re: [PATCH net-next v3 2/3] page_pool: halve BIAS_MAX for fragment multiple user references To: Liang Chen , , , , , , CC: , References: <20231124073439.52626-1-liangchen.linux@gmail.com> <20231124073439.52626-3-liangchen.linux@gmail.com> From: Yunsheng Lin Message-ID: Date: Sat, 25 Nov 2023 20:01:00 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <20231124073439.52626-3-liangchen.linux@gmail.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggpemm500005.china.huawei.com (7.185.36.74) X-CFilter-Loop: Reflected On 2023/11/24 15:34, Liang Chen wrote: The title seems a little hard for me to understand, but the description below does seem clear to me, so LGTM. Reviewed-by: Yunsheng Lin > Referring to patch [1], in order to support multiple users referencing the > same fragment and prevent overflow from pp_ref_count growing, the initial > value of pp_ref_count is halved, leaving room for pp_ref_count to increment > before the page is drained.