Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp290125rdb; Tue, 19 Dec 2023 17:44:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IG1ldUhBPttYkXB1NrFNUVAsHiPYE+YuuFPzFxXG9tw2KA97Jn9s159IiGuLyFq0a+8ez5w X-Received: by 2002:a92:c544:0:b0:35f:9bad:cee7 with SMTP id a4-20020a92c544000000b0035f9badcee7mr11327063ilj.65.1703036664003; Tue, 19 Dec 2023 17:44:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703036663; cv=none; d=google.com; s=arc-20160816; b=ALXAvEWkLv+A9Edt5v82fHOhaFQps2qe0PtWzr/74GV4EOU2cU3WQk3GOeUozM7fF6 9cd5XyJJAS139+0FoWYRQZrRMaTfVoG4O/VLW8LvKtrCKTrkZsk87CxSEv+Jqc+njpL+ /3HKku24Wg2RWWhOswNkNPQYgBPbMxRkK8IX/CseQHiZia4FDIYgoirQB9gox96DCcI7 rky3/GZhNfa7pK0SiBrNyN+d/svDf++C86QkQ5L1Zthwj9VZkGSm1kFQwLW4Vo5tuXRi Ba5xU6SfYu/htkH9xezv07d3p4nUBo7/8sYAoyTQldfLpqPI/Q4C3VfjVQjmSOZSugC0 aeaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=9JydaLxftJaGeL/THG4gEwDZtWGHIlmS0gnHce2Q2KI=; fh=9TCfh6NDHLj0ybBz9pQZA+IAMGh6Bue8raV9yl+EQK4=; b=eajNJf5PY72Mp/07Xt74SbYt+J/CwAkPBnNPD1NE0FXx3RNZRF2hcxY2PCYJkMJtwb 6YYWV0FzjI2vBkKOdEfAeLdY+/sITaMXz4Zl+8P3KkE3oz65ImwIIvbC472Ac+hw4aXG 7O5CCcmIE+oR3GWfZPbcsID/tBkl3J1k7tsVhyTd3MPMWtN7bS7FlmQnkj1AztC76Fv9 tqMmZKlzwbe38zt/Mcs+bLKdo0biLfig0N9wNNrHN/ko9qXKSW6a57C5x6pqDTEiL/V6 8o8U7uf8FF/OIj4zjxISseQ3PXAHXmclZ1rW/tXwANLOWVZ0841pAskrLXLarCCsoa0V A3HQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-6261-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6261-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id c12-20020a170903234c00b001cfcf1faaa6si21163784plh.206.2023.12.19.17.44.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 17:44:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6261-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; spf=pass (google.com: domain of linux-kernel+bounces-6261-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6261-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com 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 A4FD428687F for ; Wed, 20 Dec 2023 01:44:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C04C911734; Wed, 20 Dec 2023 01:44:12 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from out199-6.us.a.mail.aliyun.com (out199-6.us.a.mail.aliyun.com [47.90.199.6]) (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 C4371F9D5; Wed, 20 Dec 2023 01:44:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R131e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045192;MF=jefflexu@linux.alibaba.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---0VysQptC_1703036628; Received: from 30.221.146.138(mailfrom:jefflexu@linux.alibaba.com fp:SMTPD_---0VysQptC_1703036628) by smtp.aliyun-inc.com; Wed, 20 Dec 2023 09:43:49 +0800 Message-ID: <9f11d308-54a8-4152-9da7-90a49de8d5e0@linux.alibaba.com> Date: Wed, 20 Dec 2023 09:43:47 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 0/2] mm: fix arithmetic for bdi min_ratio and max_ratio Content-Language: en-US To: Stefan Roesch , Andrew Morton Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, joseph.qi@linux.alibaba.com, linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, willy@infradead.org References: <20231219142508.86265-1-jefflexu@linux.alibaba.com> <79e0cb77-ea6a-427f-af5e-c1762049ac89@app.fastmail.com> From: Jingbo Xu In-Reply-To: <79e0cb77-ea6a-427f-af5e-c1762049ac89@app.fastmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 12/20/23 1:56 AM, Stefan Roesch wrote: > It would be good if the cover letter describes what this fixes. Thanks. Would notice that next time :) > > On Tue, Dec 19, 2023, at 6:25 AM, Jingbo Xu wrote: >> changes since v2: >> - patch 2: drop div64_u64(), instead write it out mathematically >> (Matthew Wilcox) >> >> changes since v1: >> - split the previous v1 patch into two separate patches with >> corresponding "Fixes" tag (Andrew Morton) >> - patch 2: remove "UL" suffix for the "100" constant >> >> v1: >> https://lore.kernel.org/all/20231218031640.77983-1-jefflexu@linux.alibaba.com/ >> v2: >> https://lore.kernel.org/all/20231219024246.65654-1-jefflexu@linux.alibaba.com/ >> >> Jingbo Xu (2): >> mm: fix arithmetic for bdi min_ratio >> mm: fix arithmetic for max_prop_frac when setting max_ratio >> >> mm/page-writeback.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> -- >> 2.19.1.6.gb485710b -- Thanks, Jingbo