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 124AFC43334 for ; Sat, 2 Jul 2022 22:07:48 +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=2be9CiwC48dphDBf04czVlhihD86NFs9ZMgnqbXElwg=; b=sZFSR+DmJbILtV fBNXtDlWLAuorKPQ9Y88RnGCeu9PoZCzk3un2DNP5Xxwg/oqzlwKpM7t958aVsweGYXEgGQuieoMS jlJwaVI83LmYJwUrK5wSgak0WqZxh303bXOFc9IGoMCO4UAkwkOgEx+jxM3Uv/2Hp/NYH/+k81WTo fKLhiLUXF37Kc9VxyKeHtyJWtLkbQH81CX6QAFqC1ftDl7SDADTPl71+ERwPIJndHCorRd4DV4cUq L5KELV8KSA/XeX375nCph1dR7o1TRjXHfrMS6/Eo+9M+p044POcshOAJQM5WhG3efX8mMyrwvLVn7 1OX6wBX4MkmDTIWHkqHw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o7lGI-00Bs1R-9S; Sat, 02 Jul 2022 22:06:46 +0000 Received: from mail-qt1-x832.google.com ([2607:f8b0:4864:20::832]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o7lGE-00BrxF-J8 for linux-arm-kernel@lists.infradead.org; Sat, 02 Jul 2022 22:06:43 +0000 Received: by mail-qt1-x832.google.com with SMTP id ck6so4727715qtb.7 for ; Sat, 02 Jul 2022 15:06:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=qWVzoWJiukz0uMc/6nDJZct0as3OEPBskJtVTg6SlEg=; b=mc7H5jasd4LfEtY2rm4wZRl7UnEzyYM03PXLNK4gNksqdVesPr/gZzzyu0Eg4uuWwM 23RnsOURvmBEhBp+0Q7LrhTZ4r8nyDPhPdeY+L3pkBN/Iw1dppG6+XsdHfUIKruiE0Ki hJpTCrhsfM6iy7xy39Hk2yLXH+ciWFngkjpmtDsH7zvypETVllyKmY23delveTOU42df R/6o5f0lMwH7BeA/A8gm1WLvuL65sydYfRLFEBsMsR4FPfvl7ZY5oNrsUZiY4UsfzjKQ Em0qEFm7hrLooqSR1TbDgD+cFzHDaTwYTSHjOrKVDY2ilfC5delAoiUzsJo4OalIBoEW gXHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=qWVzoWJiukz0uMc/6nDJZct0as3OEPBskJtVTg6SlEg=; b=wQmM3wL7//4/ig++7NO2kt1U/v3Uw0Lx51eujD6TyrqbDpifcQa9aRJHfa0iSLjVnc t0yDs36/gRvbBX83zYsjbcS8x2XGhI8bloPZkevuRcdGqc49SpWdxiOjdimsExV/6VbM 5hxyEpxWN/OiTtoug/kWmdzOv/rhDMVhQHBYCXpN4VJt/mXCQhr8F46Jxvdoa3RosbBC iRxxRkeKYwDKA9MNvsi7sCDUkjiv56EOpl1LBqVcH1KRTHf7mtOnMFjGzvS244XSTNhr hKwKBeF9Ze2yanC33dsLWrZzMScub1bek+yhAJ6Q7bS93TOVrjJQ9yI+3aEQlGsZAtkL 82qw== X-Gm-Message-State: AJIora+/qX+V755zVj2ju+mro0VukXAtWINYsJwfMlfnJRr3eOIlskvM 0UGSf4xjy2aaW8/PD5feONU= X-Google-Smtp-Source: AGRyM1vq6UAVmcmt5d/O2DY7q4ksXfPBKaksojESvKdwWStGnRsTeqbeOkgRt3edMzGa3psAP0PpzA== X-Received: by 2002:ac8:5b0e:0:b0:31d:3b3d:37cd with SMTP id m14-20020ac85b0e000000b0031d3b3d37cdmr7456251qtw.657.1656799600667; Sat, 02 Jul 2022 15:06:40 -0700 (PDT) Received: from localhost ([2601:4c1:c100:1230:e838:b1c2:b125:986a]) by smtp.gmail.com with ESMTPSA id cb24-20020a05622a1f9800b003187c484027sm12140303qtb.73.2022.07.02.15.06.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Jul 2022 15:06:40 -0700 (PDT) Date: Sat, 2 Jul 2022 15:06:39 -0700 From: Yury Norov To: Andy Shevchenko 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: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220702_150642_669090_EDB5D292 X-CRM114-Status: GOOD ( 17.44 ) 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:09:40PM +0300, Andy Shevchenko wrote: > 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. No, I didn't. > > > > [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 OK, I'll try to use his patches. If they don't work - I'll take mine. > -- > 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