From: Stephen Rothwell Subject: Re: [PATCH] mm: Move p?d_alloc_track to separate header file Date: Wed, 10 Jun 2020 01:53:27 +1000 Message-ID: <20200610015327.02d210ba@canb.auug.org.au> References: <20200609120533.25867-1-joro@8bytes.org> <2aecbc65-db1a-dccd-046d-b7c97b714ee0@csgroup.eu> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/rdvwFz8_JqljFG+KPhRUM/U"; protocol="application/pgp-signature"; micalg=pgp-sha256 Return-path: Received: from ozlabs.org ([203.11.71.1]:49977 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730603AbgFIPxe (ORCPT ); Tue, 9 Jun 2020 11:53:34 -0400 In-Reply-To: <2aecbc65-db1a-dccd-046d-b7c97b714ee0@csgroup.eu> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Christophe Leroy Cc: Joerg Roedel , Andrew Morton , linux-arch@vger.kernel.org, jroedel@suse.de, linux-mm@kvack.org, peterz@infradead.org, Linus Torvalds , linuxppc-dev@lists.ozlabs.org, Steven Rostedt , Mike Rapoport , Abdul Haleem , linux-next@vger.kernel.org, Satheesh Rajendran , Andy Lutomirski , manvanth@linux.vnet.ibm.com, hch@lst.de, linux-kernel@vger.kernel.org --Sig_/rdvwFz8_JqljFG+KPhRUM/U Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Christophe, On Tue, 9 Jun 2020 17:24:14 +0200 Christophe Leroy wrote: > > Le 09/06/2020 =C3=A0 14:05, Joerg Roedel a =C3=A9crit=C2=A0: > > From: Joerg Roedel > >=20 > > The functions are only used in two source files, so there is no need > > for them to be in the global header. Move them to the new > > header and include it only where needed. =20 >=20 > Do you mean we will now create a new header file for any new couple on=20 > functions based on where they are used ? >=20 > Can you explain why this change is needed or is a plus ? Well at a minimum, it means 45 lines less to be parsed every time the linux/mm is included (in at last count, 1996 places some of which are include files included by other files). And, as someone who does a lot of builds every day, I am in favour of that :-) --=20 Cheers, Stephen Rothwell --Sig_/rdvwFz8_JqljFG+KPhRUM/U Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl7fsHcACgkQAVBC80lX 0Gweigf+PD8mMUG1c9BtwY0sS3cc9f4TEcShuv7vlAhWEDtMJ9S9N9/8iPkWNrhV ULELcWDWgQozqP470o451a9APq+Llzh+bKUho77kXN3GEXlkeiR0Q0VzEIDRqB2u D4fwyQH7pdPTQTnXCKffVuHk9D7PIp4/Y/d4oMwDRVkHppv7GmXzyq8iWjoZwkJm E2hfxBWErz7ZQxHbkv7ns7pWvBSgjn0VYr6JqsyW4Sv199pESrO97zgKJFk7FD3M NcqyhVvPxGwVYA8TstWfsokP5tPRz5RSABoZTNqmdwzu+I1gYEANCmPDnC9zetHn pvmbLciQrEbjgRevDnJHaJQZiNKVnw== =xmAg -----END PGP SIGNATURE----- --Sig_/rdvwFz8_JqljFG+KPhRUM/U--