Re: [PATCH v6 5/9] x86/sysctl: Add sysctl for ITMT scheduling feature

From: Thomas Gleixner
Date: Wed Oct 26 2016 - 14:14:05 EST


On Wed, 26 Oct 2016, Tim Chen wrote:

> On Wed, 2016-10-26 at 12:52 +0200, Thomas Gleixner wrote:
> > On Thu, 20 Oct 2016, Tim Chen wrote:
> > >
> > > Â
> > > + if (itmt_sysctl_header)
> > > + unregister_sysctl_table(itmt_sysctl_header);
> > What sets itmt_sysctl_header to NULL?
> >
>
> If the registration of the itmt sysctl table has failed, it will
> be NULL.

And what clears it _AFTER_ the deregistration? Nothing, AFAICT.