Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp242570rdh; Mon, 18 Dec 2023 18:43:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IHU0nuTUnElmQRr4iAlWHv1sngMdXnY4VkbwGsQN+sagW/G/kBs5YUO3E5b5iT1ZYoP/xs4 X-Received: by 2002:a05:6a20:3cac:b0:18f:d9ed:fcda with SMTP id b44-20020a056a203cac00b0018fd9edfcdamr483839pzj.13.1702953789396; Mon, 18 Dec 2023 18:43:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702953789; cv=none; d=google.com; s=arc-20160816; b=ewBdH+8P5dpttlfFw64MXi3m8E8jH/Yra8RDFU/kWNvTHRkhO3VXLxq2RgUfiIAR4n WtRS4zo+xWAS52HAEMmy4ZyLSUyJMjxfLvriAakI88jaPiMeLXpRFdzQV8y2LZqOwa/r H02xeVFBKRArahREf8sgWmiLO+mwyvgxra3KD+VoikyGJ1hL0CLjrBuNu5z6JEMJSu4j ABpPnrVZriPg8a+3fiMKRcM4NYPu9MQD9aXvKfK4We3Mq7YBfnOs/2XwZvDM4JQDgyXp Os83wsLK44vWs8RpuwVzc4G2ul+Fueo7HOnlQ2yIqfc5YJ+rRD4QAkhwSM95QHFhhnvH 8OzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=kafwFbeCPbyi1kYL/tlFLELLALqjnRZugmWnSB7FZa4=; fh=LhRAuR7mnPUf2lm0avoqobx1z6sFYhmPMF/sryImvNg=; b=Awa6LCd2lOPNmJ4SdQx6B9jlcoydm6cpwo+9VWoHXhJ46+BbHIJ+wIQ0L2rHwfAaN3 cxA69LOdRRg/YLi50utke/4Z7TR70aSGyICtlQYQw4VwbaSzLVlxKGrpXD0bupPA3BX4 NsA0imvwvEa+DWbt/ldjZr23CIw+ou4hbfs9r8H4QidRDGPZrErZK3s/1ceM2rAowHJU cHQC45OdbIRX1cZpGbohZdukjXtxhOF6bK3wxiNJNoWwF4aUO2SAa4dd/JqYcjk1KfLo X0Jtwwkuo2RKWjVDiy3VT2WtW7xMZtcUwQeqCWj5jTZ0licCfcGmYxwkBzAHKk0o7YSP /xGQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-4609-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4609-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 p26-20020aa79e9a000000b006d0d83a11b1si5256526pfq.54.2023.12.18.18.43.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 18:43:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4609-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-4609-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4609-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 1AA6A283F5C for ; Tue, 19 Dec 2023 02:43:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9A713747E; Tue, 19 Dec 2023 02:42:53 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from out30-98.freemail.mail.aliyun.com (out30-98.freemail.mail.aliyun.com [115.124.30.98]) (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 CE4DC5C98; Tue, 19 Dec 2023 02:42:49 +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=01201311R681e4;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=7;SR=0;TI=SMTPD_---0Vyp0Roi_1702953766; Received: from localhost(mailfrom:jefflexu@linux.alibaba.com fp:SMTPD_---0Vyp0Roi_1702953766) by smtp.aliyun-inc.com; Tue, 19 Dec 2023 10:42:47 +0800 From: Jingbo Xu To: shr@devkernel.io, akpm@linux-foundation.org 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 Subject: [PATCH v2 0/2] mm: fix arithmetic for bdi min_ratio and Date: Tue, 19 Dec 2023 10:42:44 +0800 Message-Id: <20231219024246.65654-1-jefflexu@linux.alibaba.com> X-Mailer: git-send-email 2.19.1.6.gb485710b Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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/ 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