[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181123084709.GB8625@dhcp22.suse.cz>
Date: Fri, 23 Nov 2018 09:47:09 +0100
From: Michal Hocko <mhocko@...nel.org>
To: Christoph Hellwig <hch@....de>
Cc: Dan Williams <dan.j.williams@...el.com>, akpm@...ux-foundation.org,
Jérôme Glisse <jglisse@...hat.com>,
torvalds@...ux-foundation.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org
Subject: Re: [PATCH v8 1/7] mm, devm_memremap_pages: Mark
devm_memremap_pages() EXPORT_SYMBOL_GPL
On Thu 22-11-18 17:38:58, Christoph Hellwig wrote:
> On Thu, Nov 22, 2018 at 02:30:13PM +0100, Michal Hocko wrote:
> > Whoever needs a wrapper around arch_add_memory can do so because this
> > symbol has no restriction for the usage.
>
> arch_add_memory is not exported, and it really should not be.
It is not, but nobody really prevents from wrapping it and exporting.
I am definitely not arguing for that and I would even agree with you
that it shouldn't be exported at all unless there is a _very_ good
reason for that. Because usecases is what we care about here.
--
Michal Hocko
SUSE Labs
Powered by blists - more mailing lists