lkml.org 
[lkml]   [2015]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v8 7/7] x86, mm: Add set_memory_wt() for WT
From
Date
On Wed, 2015-02-25 at 08:22 +0100, Ingo Molnar wrote:
> * Toshi Kani <toshi.kani@hp.com> wrote:
>
> > +int set_pages_array_wt(struct page **pages, int addrinarray)
> > +{
> > + return _set_pages_array(pages, addrinarray, _PAGE_CACHE_MODE_WT);
> > +}
> > +EXPORT_SYMBOL(set_pages_array_wt);
>
> So by default we make new APIs EXPORT_SYMBOL_GPL(): we
> don't want proprietary modules mucking around with new code
> PAT interfaces, we only want modules we can analyze and fix
> in detail.

Right. I have one question for this case. This set_pages_array_wt()
extends the set_pages_array_xx() family, which are all exported with
EXPORT_SYMBOL() today. In this case, should we keep them exported in
the consistent manner, or should we still use GPL when adding a new one?

Thanks,
-Toshi



\
 
 \ /
  Last update: 2015-02-25 16:41    [W:0.062 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site