Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp3100836lqo; Tue, 14 May 2024 22:25:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUh6GYWQK1SHua8gHsNwY+awYcn2meLRE2gPni4E+qUzks5UCPlZmfjiFt5xX0Jxdn51nace/2FDfxRzP2e22rjMFHrxrxHX5S3eL0+/A== X-Google-Smtp-Source: AGHT+IGteK5A1xUze8MKiYePOjlOBHZT5TKIxoia329Ep5Lj3mCMqm8EYhh2Y2wZNaEHYrwsUrdm X-Received: by 2002:a17:902:fc4e:b0:1e3:dfdb:ac6b with SMTP id d9443c01a7336-1ef43c0c988mr183825825ad.4.1715750731796; Tue, 14 May 2024 22:25:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715750731; cv=pass; d=google.com; s=arc-20160816; b=tMGL7mjZhKsdjKgYcMg48OvRAFMNJJJFOtOSa377zSsICYJYBUDFnMGPoEsTkXqIcP wQJiYcMk7eO6ngBMJp/qOGDKsNcl4q+JSP4q4wGvgqEXvoArVMAN5Cf777Uyn2AMCyWL IDZxqdtjFTb0Ji3WM066Khc1dMZsvvgfAUdEBTlXBEKH/N58LJSaLpxrgW9UEt15XlXw tuFJrqdgRAYkEsNeH6dlTYeqaPBqVfiCJcPZwaZDuyskec7Lkv8fBv1wqo4orQJ/+X/G Zir1penP0xNOcJF+ICZVRgYEB/6maOd4B9fDIJCZquBK/sog27tbSRIPvkzJR4ZQfw4M /Utw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=fLAgEShe7dMtqipBc1HSHbcuyfF24sU6RugfONHtSCs=; fh=ijsqagkQZLVlgJEyAUk+b8QIJ1j4NeR8QFvyoOY3Hes=; b=FdoauJQoeofx5phx1A7PefnubOYTKqAmroNXNBVpiIUUI/KuSw+f97D+jOkWnfzGbN WXQOoNd1bYOhB+tdso6foLaIrwYQXeTS+xzHcuqyLxipACwSgfrQlQP6/8FcW2M1ViCW TrwCnTZZPX50zG1P80OkY6RQQPfRfPtlzwiJeGslv27UfhgDamLDRP7rVdvCA1XJSHt5 LPwBUR+hN1o0NBUHuvzQP24X+7amtoi0KUvESuI9FuhpqwLke4Y6dJ6n6+VN1bgiYU3M SOGAIBEwmYZ5VHqyyBZI0hLEKXedAWk/jdmvy7fryMB+1TKgMTU99RXj+lWvjZOtAez/ krRg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=q4MzV1Uj; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-179390-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179390-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 d9443c01a7336-1ef0b9cf6c7si124821655ad.64.2024.05.14.22.25.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 22:25:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-179390-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=@infradead.org header.s=casper.20170209 header.b=q4MzV1Uj; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-179390-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179390-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 0EEF02836DC for ; Wed, 15 May 2024 04:09:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B960038DE0; Wed, 15 May 2024 04:09:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="q4MzV1Uj" Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (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 6522E23D7; Wed, 15 May 2024 04:09:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715746179; cv=none; b=kb8dyLcHOdhXiACBllA/HQYvP+Ar+ffDRU12GMhplZtN1Bj2zuCuiwU+di8GTKIxFGuDJo/tt2zOa2HQiUeTuzcEPqrAPfbmHE/qNxP3dWsfOgYRco7uKQSM5pKUgwTBiN5UoTdWhfOviY+XjYoe00lLl85x38uRFqCkSqmNoeo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715746179; c=relaxed/simple; bh=wGOV1mZ+pdVrfptpS5boXGVzJ4/MpBPVNFEfmzjHpSU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fZWDtwaDBYK0RtqDOjNfq71sAVqB4f4J7CBuw/cFty32RNjBGfMsW9ABt9RYhrttjL7sGiHhfZkACSRuFEqHrBUfOki6biKILkqCh4WwhZKK22S//mZ1jcyx4qAxarfgAgtZ4MFUMoD+PhX4/OWdw+onQfdrtLIIBauuklm8dys= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=q4MzV1Uj; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=fLAgEShe7dMtqipBc1HSHbcuyfF24sU6RugfONHtSCs=; b=q4MzV1UjJV63c3p5yjjaLOQ3SI eVeE0HWSGanF4JappNKQfh2wg7MY1fgJmkusADZl3RREZBJJgYVc1Er68xB+od/I0rlDEGTyJNuPg uOHTyH/yGMtJLJFuJcq39IDEJTdqvq2wUKlRYixClLNy55kyf5wsjyPcoxQnJM2jnJSQLQBE4UA7m 0zqYvZTxbbMymV4hneBRwBVJEh+GOTLP+cceocAO/XbOHtcaJGKUVa5xmPLtM56Na1s+ybX2Vue4v hGV4C/jUR0hRZr5e4iN0WxsHsBGuuE4z1Pe1/v7t2raHVCJjIwL0U72wsG2djNggFIeXo33z44dF9 iFlnBwGw==; Received: from willy by casper.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1s75xG-00000009uEl-10EI; Wed, 15 May 2024 04:09:26 +0000 Date: Wed, 15 May 2024 05:09:26 +0100 From: Matthew Wilcox To: "zhaoyang.huang" Cc: Andrew Morton , Jens Axboe , Tejun Heo , Josef Bacik , Baolin Wang , linux-mm@kvack.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, Zhaoyang Huang , steve.kang@unisoc.com Subject: Re: [RFC PATCH 2/2] mm: introduce budgt control in readahead Message-ID: References: <20240515012350.1166350-1-zhaoyang.huang@unisoc.com> <20240515012350.1166350-3-zhaoyang.huang@unisoc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240515012350.1166350-3-zhaoyang.huang@unisoc.com> On Wed, May 15, 2024 at 09:23:50AM +0800, zhaoyang.huang wrote: > + unsigned long budgt = inode->i_sb->s_bdev ? > + blk_throttle_budgt(inode->i_sb->s_bdev) : 0; NAK as previously explained.