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

From: Tim Chen
Date: Wed Oct 26 2016 - 15:39:04 EST


On Wed, 2016-10-26 at 20:11 +0200, Thomas Gleixner wrote:
> 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.

Ok. I'll clear itmt_sysctl_header here.

Thanks.

Tim