Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp83858rdb; Tue, 19 Dec 2023 10:00:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IFSPKiVK140+2CUTFI5/beFZxnUZLBw9KsUz1k2sa9bv4hCMY8ZJuLMbr64VcDSux1nWIlK X-Received: by 2002:a05:6871:d206:b0:1fb:75c:400b with SMTP id pk6-20020a056871d20600b001fb075c400bmr23021437oac.107.1703008833630; Tue, 19 Dec 2023 10:00:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703008833; cv=none; d=google.com; s=arc-20160816; b=GETSd0dgBGqMQbGgjL3P1cZQGeJ645q+tYDd7Y1OLoPdYbgSubFgcBlzRiJ/iwnRJa RxVh/xv4chq3L22mAAFrFE3jr77aFgx8XF6R6eTOxCdy47yyeBx8CjadyRtWITmK6SLZ xewQxJXYYo51+ja6fAPu1T/xmmt3+ZAgxmi+nFf6/D4WWyVrY4AT2xyZtdm1cBvK+5BI sA6tAcyXzeNGu9V5g4xzZ7oC9D9Z0EQ5002483MjAsKQXvoVGT9ti61YMEuXqp1GOma2 Kz4o7GyyuTXu2yjwSHvu0XJ2Xp8UbVDr93hyAwW3hnUq0xS7cAMWODCABI/ubODiFRiV WssQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:cc:to:from:date:references:in-reply-to:message-id :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:feedback-id:dkim-signature:dkim-signature; bh=WU2yvYz91boprhIP6+puBEddYZyA+Gt+AEiyct5l+lI=; fh=MtMCwwEG8nbrOqkw2HuTZJTnd1jHzWJhUeG2oOhVQpw=; b=dfFq5IsP6CAdiUkeidw4+OAdtyS3RsD0ChNdAFAXFn4W0AKbWwiuZE91hrordB/XvP JW2G7A7RrdnjsJ9LliPo1YGel5upo5jg9GA2LQh0blnnnxHxATczNkX88BoG9CxGbIl8 HLGltW/1Yku9wnqDGABL+A4axw6wEdvenzd0pj5JTM7/07wEVHJbwAHX2Az70/cPprRG OuNqReBFTBnbMd46OYaF67GpS+BMKs4fgirxEHaGLXRKY0uNEd5WoA53cKGx+H/hAgGX r75AnX4BYLKvq8F6guh9KIp18X8pPSNcpAA9lTcSlu1vb82mTxdi4ak1aUSzkp1lXIYJ 4J5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@devkernel.io header.s=fm3 header.b=dvjG3qMo; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=LAjWUgxd; spf=pass (google.com: domain of linux-kernel+bounces-5752-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5752-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id f4-20020a635544000000b005c70983efc3si17389248pgm.205.2023.12.19.10.00.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 10:00:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5752-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@devkernel.io header.s=fm3 header.b=dvjG3qMo; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=LAjWUgxd; spf=pass (google.com: domain of linux-kernel+bounces-5752-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5752-linux.lists.archive=gmail.com@vger.kernel.org" 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 1875028843B for ; Tue, 19 Dec 2023 18:00:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AE5823986C; Tue, 19 Dec 2023 17:56:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=devkernel.io header.i=@devkernel.io header.b="dvjG3qMo"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="LAjWUgxd" X-Original-To: linux-kernel@vger.kernel.org Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (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 4503A37D04; Tue, 19 Dec 2023 17:56:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=devkernel.io Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=devkernel.io Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 49FAA5C01CF; Tue, 19 Dec 2023 12:56:34 -0500 (EST) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Tue, 19 Dec 2023 12:56:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=devkernel.io; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1703008594; x=1703094994; bh=WU2yvYz91b oprhIP6+puBEddYZyA+Gt+AEiyct5l+lI=; b=dvjG3qMoNl9UGeyecEjJDCHnYd 2dJrM02zRpoAh3BwrJVyhz2biS2BZzRMgNxs8RIqCeWAn8tNXUgpWeaK5C3JTmA7 UwWTVY0DsYlUsYeZMzmFoE3mNUeFzz/+tAh24W8+hJmIa2ztb3mnyPQoV1Pm1cvW S6urYKvOCjhmQ0VHnw9B6Gy5DqTGo1G+HkirihxPB3NfnBmIFVYLqDPt6nAVeOaB A8At/HO3cCrycOp/dzTZ+npiPojsdDH7AhJviSHDKPaVBVDXuGbYBRTgZavzDdVV v2NNVvu4qEKI7Q5lny4BrsDQ4nSz/nDghbNL4B3nkj+IgJMkYfVXdPSTN5kw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1703008594; x=1703094994; bh=WU2yvYz91boprhIP6+puBEddYZyA +Gt+AEiyct5l+lI=; b=LAjWUgxdNQEEA7YL6h9fYC30mhGXTmWiOtzP1t+2r+ID UGmiL9g+TTZ5TOTCGNN3+5Z1LjfX3a7nA74wBI5Ky2Ixjrg9dFQpWLektiv9LAan +vLbv4VG6tmP4y4FJ+w9DngEKC3pMCMrtFgg/2/BD0rp6v8vs2CXTz6Gh7p/9v3o fBfBxgifOZV6wN0yOl42+TY/UbGeUIpgHbLpnO/DH0e8yTVc6OorT8Y0Dvdh3eRt oXV1eBl0oapZ/++1Iv7DGM2pDMYJtNUM3ZW6g8Goi0O2Zv8fheIlYgalZpefy1sg j454hi3496+qrKuu22vg/bx9Kj9Xrds2w31MDq2Sdg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvddutddguddtiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvfevufgtse httdertderredtnecuhfhrohhmpedfufhtvghfrghnucftohgvshgthhdfuceoshhhrhes uggvvhhkvghrnhgvlhdrihhoqeenucggtffrrghtthgvrhhnpeekheefvdetueetffffhe ffhfdutddtkeejueffveeijedvgffhffehvefhgefggfenucffohhmrghinhepkhgvrhhn vghlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepshhhrhesuggvvhhkvghrnhgvlhdrihho X-ME-Proxy: Feedback-ID: i84614614:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 60A88B6008D; Tue, 19 Dec 2023 12:56:33 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1350-g1d0a93a8fb-fm-20231218.001-g1d0a93a8 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <79e0cb77-ea6a-427f-af5e-c1762049ac89@app.fastmail.com> In-Reply-To: <20231219142508.86265-1-jefflexu@linux.alibaba.com> References: <20231219142508.86265-1-jefflexu@linux.alibaba.com> Date: Tue, 19 Dec 2023 09:56:12 -0800 From: "Stefan Roesch" To: "Jingbo Xu" , "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 Subject: Re: [PATCH v3 0/2] mm: fix arithmetic for bdi min_ratio and max_ratio Content-Type: text/plain It would be good if the cover letter describes what this fixes. 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