Re: [PATCH] mm/mmu_notifier: rename mmu_notifier_synchronize() to <...>_barrier()

From: Michal Hocko
Date: Tue Nov 06 2018 - 08:26:36 EST


On Mon 05-11-18 12:18:33, Andrew Morton wrote:
> On Mon, 5 Nov 2018 11:29:55 -0800 Sean Christopherson <sean.j.christopherson@xxxxxxxxx> wrote:
[...]
> > -EXPORT_SYMBOL_GPL(mmu_notifier_synchronize);
> > +EXPORT_SYMBOL_GPL(mmu_notifier_barrier);
> >
> > /*
> > * This function can't run concurrently against mmu_notifier_register
>
> But as it has no callers, why retain it?

Exported symbols are not freed and if this is not used by any in-kernel
code then I would just remove it.

--
Michal Hocko
SUSE Labs