From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 533A0C43334 for ; Sat, 2 Jul 2022 12:10:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0XkMQMOm7OReFa1zL7oqujTRXCHfk4aJU2Yvu8P/fJ8=; b=rwRAh0N/LWt1gJ GT59o9KP8yDoaaGcbfL0V/epJ5itl8WbEpR7Ik0EyvLuHAUHNFAlJta5p/FoBQFX8uoLWMa/ZUuAO 8wRHvTaMg4WrSeCmo6o1tOmJRedZOgMbfxntlBUmYSSWjA7LCUIwm2DEjSH4oDkAIj535yyrRj3pI Tge/N8cmGBsPVn7cXzE7EFRDjsy76n96JyOv5rwiXNYhnyaZVnJXyLE3cfwZrC7sQ62dEJTLP79dj GhUP1mnF2P0pnXtHCTdjybbbK1QRicBWU1cYUggc84yjQAN+1gBDTRlTF4/XeMVEJrTLuUIVv/uZw hcPhhoO7Tjj3HSthy3VA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o7bwi-009Qsp-Im; Sat, 02 Jul 2022 12:09:56 +0000 Received: from mga01.intel.com ([192.55.52.88]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o7bwe-009QqC-7h for linux-arm-kernel@lists.infradead.org; Sat, 02 Jul 2022 12:09:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656763792; x=1688299792; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=yq/niB36C+kmBjxAX8/BvYD9grF4zUI1khCx8AbNpZA=; b=kIGbEdQvvFgY6NH6bIyDuq//cXb/MOcaLpCpe7pPZ77iMJ16VjqTECxL fK7j2g0sM+MH45mHWZknscZqcWQMYKzX4ZuTwMFvvTP5Xwo7DuvmAndia AxQSVDa+KYIsg8r4yi+gjXktlppw75MQmFvDLTpAyeKtOssnV3yS4L1DM UwRX+UZbAgVSfGArDig74FSWSvjkKKh6vb6Pbv7hFvYAqbWqMfukGmKzQ 75uIUM3vZjtHQm60eJWAVlZ4+9H8Quh3HVEmxWwCeBPSk4j/aHL3z7DiC 7kBZOntAIeRp0ijU+fbiwDUhb6FBFvkvAjuZDupyNxLbGbjae+VrUYZ5X w==; X-IronPort-AV: E=McAfee;i="6400,9594,10395"; a="308355330" X-IronPort-AV: E=Sophos;i="5.92,239,1650956400"; d="scan'208";a="308355330" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jul 2022 05:09:49 -0700 X-IronPort-AV: E=Sophos;i="5.92,239,1650956400"; d="scan'208";a="591991334" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jul 2022 05:09:45 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1o7bwT-0013bJ-09; Sat, 02 Jul 2022 15:09:41 +0300 Date: Sat, 2 Jul 2022 15:09:40 +0300 From: Andy Shevchenko To: Yury Norov Cc: linux-kernel@vger.kernel.org, Andrew Morton , David Howells , Geert Uytterhoeven , Jonathan Corbet , "Kirill A . Shutemov" , Matthew Wilcox , NeilBrown , Rasmus Villemoes , Russell King , Vlastimil Babka , William Kucharski , linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org Subject: Re: [PATCH 7/8] mm: split include/linux/gfp.h Message-ID: References: <20220701125430.2907638-1-yury.norov@gmail.com> <20220701125430.2907638-8-yury.norov@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220702_050952_313522_F9F8AA21 X-CRM114-Status: GOOD ( 15.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, Jul 02, 2022 at 03:05:39PM +0300, Andy Shevchenko wrote: > On Fri, Jul 01, 2022 at 05:54:29AM -0700, Yury Norov wrote: > > gfp.h belongs to many include paths, and it causes circular dependencies > > when, for example, trying to keep cpumask one-line wrappers in headers. > > > > In many cases, sources need only gfp flags. This patch splits gfp.h by > > moving flags to include/linux/gfp_flags.h. It helps to move trivial > > wrappers from c-file to header in the following patch for cpumask. > > Wondering if you checked Ingo's gigantic series [1] for something similar. > Maybe you may utilize his work if there is anything like this. > > [1]: https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/log/?h=sched/headers https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?h=sched/headers&id=56a20d45417dc517d91626e5ef9f5492a5e901aa and a few more patches on top -- With Best Regards, Andy Shevchenko _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel