Re: [patch 11/11] x66/vdso: Add CLOCK_TAI support

From: Thomas Gleixner
Date: Sun Sep 16 2018 - 05:39:15 EST


On Fri, 14 Sep 2018, Andy Lutomirski wrote:
> > On Sep 14, 2018, at 7:27 AM, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> > On Fri, 14 Sep 2018, Andy Lutomirski wrote:
> >> Thatâs... horrible. In an amazing way. Can you add BUILD_BUG_ON somewhere
> >> to assert that this actually works?
> >
> > Sure, but changing any of the clock ids will cause more wreckage than that.
> >
> Iâm more concerned that we add a new one and break the magic
> masking. Maybe two start sharing the same slot.

You are right. The obvious extension is CLOCK_BOOTTIME. That's id 7 which
indeed conflicts. I'll remove the magic.

Thanks,

tglx