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 6E155C43334 for ; Sat, 2 Jul 2022 12:06:50 +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=DI2WfYWsI+UJbgJHsn7/j74Epf+JEAp5tq3VT5IKEWE=; b=g6IIUrV2dPAXeh 6LuKnOBxm0VdJxxU5r2hfmB9/Co+dqcs+NaXo6K1SODTZj4DXpD7GaBMMsI3iRVM7fhAxuHBVQ815 s1/SfhrPnohvurStGyU7p2M1m6YiaqJ3/TSuYebzL3JY8HM87zpUZ99r0bA8NDMKAwEsUrT6N5kd2 Z1U4DiijREUlOxkRlluag+zjWEJxShOCcxnnwIcU8F7kMznGCJF0FUB+Bx/AIagxY1bFFi07HaXkC pm/lJU/CEg7/WkzXDhrkPoTKmlIvojgKWZftSriLnFIeEp2uJyQ9L0RrG6FH8wY5YL5yYLfvx+HOl mM5kUJNIXvXmcIqSPRYQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o7bsl-009Pkn-Ua; Sat, 02 Jul 2022 12:05:52 +0000 Received: from mga06b.intel.com ([134.134.136.31] helo=mga06.intel.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o7bsj-009Pk7-Bv for linux-arm-kernel@lists.infradead.org; Sat, 02 Jul 2022 12:05:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656763549; x=1688299549; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=1X9AhfDF/UQuIagUhUV1PLkN0an++X08KVSCFikKIto=; b=g316zFP4U+VV91GImce8zOrtHKnFNPRuU6brnRMwYrkJTHK0/kOE95Ny HA59MThltXeJDyN9E6/rIBo/sOXFNZRQWNTgvQptFCxEXw5NyrwRvLUpA Ciuyt50HC6fEGwvIh316w3JEwzhiQ3vW3t6XZ/tkMiINwbwWMCNA1NWto Mw02m8udGvNRXS26ewr2E7il17t+mShWsrdKU7M2bVPeD0bpmD8RWMsa/ /rwCS49tRG+3FemFCnq5KmAw2hoRYqAcIyC8Xpm+JFwfMcKNPsyT8lxL5 J7lBf5S5TheVa/KPrIjk5k6JHZc3wJKkVxqCi829ds1cS8jUnUlz/koTM Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10395"; a="344508398" X-IronPort-AV: E=Sophos;i="5.92,239,1650956400"; d="scan'208";a="344508398" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jul 2022 05:05:48 -0700 X-IronPort-AV: E=Sophos;i="5.92,239,1650956400"; d="scan'208";a="596550381" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jul 2022 05:05:44 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1o7bsZ-0013b7-1H; Sat, 02 Jul 2022 15:05:39 +0300 Date: Sat, 2 Jul 2022 15:05:39 +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: <20220701125430.2907638-8-yury.norov@gmail.com> 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_050549_518045_CF532449 X-CRM114-Status: UNSURE ( 9.87 ) X-CRM114-Notice: Please train this message. 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 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 -- 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