Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp675080rdb; Thu, 15 Feb 2024 11:41:24 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUFoKUU/VrjiTLZEBNbZIjeshPr/z74j+yrjY2O4zhRcF4duSJsRwcZgEzDDt5NapXHCkBinKit9b/4RJDoDG8PnbHAlEAPn9wjT+RtsQ== X-Google-Smtp-Source: AGHT+IEt4NxtbRFQExiP4EaCRMoSQnjZpI8cTxwFvF53gpimAy+95nACo8to9aHe/rjSh10D5WDv X-Received: by 2002:a05:6a21:7897:b0:19e:cb4a:4b08 with SMTP id bf23-20020a056a21789700b0019ecb4a4b08mr3227990pzc.33.1708026084691; Thu, 15 Feb 2024 11:41:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708026084; cv=pass; d=google.com; s=arc-20160816; b=oAyfSf6hdZEiQFDGymusd7g6oPJ0hKHBF938dD/tJ1ocy5/Xf/UyXSH8gsmzdGR0RP Evo6VFYsHzawMwJhwD2Wq+sSyCnyr3S+4I15h4ZU1gXMqKzniPD9HD2ejL+/HmrYq9/0 9es0k5ir9ELUQAzsFrwKcommQCeRUILm971tXeYzsARYo/0Xrj1iRcBJo91alPuieP7N Vs+3GJbCKfZmi218mqmcnqvz1Xu8mi0bdE97+6/wGxCKPkPFbL91n5H7ceO7pDFIIp+d yPBEqZJHrMX0umP8tqZ1t7V0slac2Q520HLLFjij8PUYSpc8lRI3h3+R/+z6vezaQ2vy 0k6g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=tQxAkf7EqPypbKDt7TF564JQz3o1NG3h/y6tnCm919U=; fh=mywGOeRaikbQFavjuWfpzVs/mPzhC5y8mVRfJEJQhxY=; b=JyaHfmuVDQMCnLFfQsGAV6nainuYYAvAjg0590IDGyXwF2NSR7Sii6b7twwopAhqac mmO5MpwxpaTy2BgE24w4/6ZKpz2sMdI8/hyMfHqzEH5rxwX5I7CySG6KUJnY6TbwuULg Gi28CQfuZG6/v1jMWKV/wdIylwdO9zignOMbH2+5W4ooAaXxrlhabvznnaQnTIXNsXEr YXWZ8DtmPi93WBQWWiafTSoNnr1yWTCUxR1drD76/sAoXOa+3YjUWSzyQxsFw2QQxaXp F2MoTI/U4a60/KynkPTREKzlLKBgzDrl9f1ftt3hcUxgIfMh+cZhIOICzwjcs6IpU2yo gsUQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ionos.com header.s=google header.b=WdBuzJY6; arc=pass (i=1 spf=pass spfdomain=ionos.com dkim=pass dkdomain=ionos.com dmarc=pass fromdomain=ionos.com); spf=pass (google.com: domain of linux-kernel+bounces-67601-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67601-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ionos.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id y21-20020a63b515000000b005dc189d320csi1562836pge.399.2024.02.15.11.41.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 11:41:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67601-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=@ionos.com header.s=google header.b=WdBuzJY6; arc=pass (i=1 spf=pass spfdomain=ionos.com dkim=pass dkdomain=ionos.com dmarc=pass fromdomain=ionos.com); spf=pass (google.com: domain of linux-kernel+bounces-67601-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67601-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ionos.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 659F5281276 for ; Thu, 15 Feb 2024 19:41:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 30F3413A25A; Thu, 15 Feb 2024 19:41:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ionos.com header.i=@ionos.com header.b="WdBuzJY6" Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B38124369A for ; Thu, 15 Feb 2024 19:41:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708026080; cv=none; b=FHYlRFynVHCqTCcm534zmY3R5TypZ4iLwFno8AlVKqfT1+z22mn6TZ7PhoiwMvyQbjt/iULZ9myZurJzxsCe+Ylk7gRxzNYsmAzCYR+MxKtRxdtecShQR6a1LvmdfOSjCvEBRsRxF+R0uOLjPyb+ENjERvb005RNjgXGDK6D9IQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708026080; c=relaxed/simple; bh=js+qlWFrKknlzpSM/jHeumdYYFRrXXK6eHPX6OIlimw=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=M5GIz9TmsQfTQ4FHhRPd2DsUnuoHhxWeLFht1ksRVK/K61xth48eUAE9J1lt7spKIqMKansRn57GosIUac5p4Bzf71C3r/n/BEnfcAo423zGf7CrOkLtc0wKlnVX5UhIVPUdz6nmVLlpa+AQRpR6ahMUuY/qWbJ0SVsXDNAKZQs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ionos.com; spf=pass smtp.mailfrom=ionos.com; dkim=pass (2048-bit key) header.d=ionos.com header.i=@ionos.com header.b=WdBuzJY6; arc=none smtp.client-ip=209.85.208.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ionos.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ionos.com Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-2d0fd07ba8bso258321fa.1 for ; Thu, 15 Feb 2024 11:41:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ionos.com; s=google; t=1708026076; x=1708630876; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=tQxAkf7EqPypbKDt7TF564JQz3o1NG3h/y6tnCm919U=; b=WdBuzJY6F9RmTXl3ZWTFenhzz6iu7+kZ+funjhVkmerM3n8/yikd9CW4MJ82eFtNEf j9+Zgk6Alv6es4kW0Ei2i0CaSixr2HhRcpTB85RhZawZr9oWeweRR6jymNL7Qo9/Rplh JC+Q6QOFW7RE6XXsaEzhlZrQdJ3ZSHLkT/ep7zybD+Xps8P8s48/1BppONJtNAXe75D9 1wY1JCCpIxZOuXyjqGHSWOSgoMU24yP0zt5+kf5GwQpmgr4MLdMIAE0BglRQoUVRfpCC VWQY2oRPd3OY6FJgrdS38qGc7LXkgsmNSR3g6jwtBug3/nLkcGZ0WQK8/32KRcSNUT01 wAVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708026076; x=1708630876; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tQxAkf7EqPypbKDt7TF564JQz3o1NG3h/y6tnCm919U=; b=E5TyhPhCfOyBYogSDxeYQZLWWcODAYns1uDVG8KBRqIUi2ZuA7dT67cx0E9TcuGUwP jCkfzJGK/DY3xW9QPe6GBe6eyp/+UCSJDWDenfImesnl/b4ztxYYcmIWOOyXlygOKECT ztUeAxlPyyfMIXFQHSZGlKuCFJNwG/1XTCWmSMyiLsmAyIzdUhIt7SbmTT9RnnnVx0aP cP28jSaktGqmZFGrMBXflOvW1xwP9BnPypV7E8QRrfuZj91lO6WIBIk1bJr4TUj0Og4A 4s2Ee8EWe9fliF8dxn6s54F1y6nx6Eu5zQZ9iBqYTCU+tms8fW+dMVCQfiul2X6bSSmh ho7g== X-Forwarded-Encrypted: i=1; AJvYcCV7k5UWXqvUf3h6Uw4vALaxaB3MRpt7weTXOTtzKeE+TzWYDxOi4dUyPFh1NJMLQKQvnYMPl+sAUKGk9lnFQYUGwx4Skv74TsokoERd X-Gm-Message-State: AOJu0Yz6Wv+ThtKZV7n7H4ea8pZmmY7S/IQKwJmhBRNoh7Nt1geA4zEu diPAjT13BWD8i1LhhGur8FyQnCMGoyb7k+B4sE5YV0avpiesaSkxiflDo5B62HLPHe0XKzpT7+c sAbrRHS2jCKt1XOnP9fQTLy21HC6kCdRo+Cpczrjc7r6HV/1W X-Received: by 2002:a2e:a4a7:0:b0:2d0:908e:d825 with SMTP id g7-20020a2ea4a7000000b002d0908ed825mr1938523ljm.21.1708026075691; Thu, 15 Feb 2024 11:41:15 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240215145602.1371274-1-max.kellermann@ionos.com> <20240215145602.1371274-8-max.kellermann@ionos.com> In-Reply-To: From: Max Kellermann Date: Thu, 15 Feb 2024 20:41:04 +0100 Message-ID: Subject: Re: [PATCH v1 07/14] linux/mm.h: move folio_next() to mm/folio_next.h To: Matthew Wilcox Cc: akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Feb 15, 2024 at 8:27=E2=80=AFPM Matthew Wilcox wrote: > I feel there's a lot more you could say here. Like "There are N files > which only include mm.h in order to use folio_next()". You can see this detail in the last patch (14/14), but if you prefer to have this spelled out here, I'll amend the patch description. Though I only worked on the headers, not the thousands of sources which might also be able to reduce their header dependencies. Getting the exact number of those is a huge effort, and it's worth it, but not today. Once this patch series is merged, we can incrementally start this, but these patches are the precondition. > Otherwise ... > why is this more than churn? This is about code correctness and faster compile times. You may or may not value that, much of this is really just opinion. Similar efforts have been merged recently, which is why I thought this goal was consensus among kernel people.