Re: preempt-rt + live patching + arm64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> If the new bit youa re adding is used in _TIF_WORK_MASK amke sure it is
> contiguous with the other bits in the mask. For reference:
>
>     https://lore.kernel.org/all/Y8lCspFtQ0wg6uCy@xxxxxxxx/
>

Ah, this is good info.  Fortunately, TIF_PATCH_PENDING isn't used in
_TIF_WORK_MASK.  Since TIF_NEED_RESCHED_LAZY *is* used in
_TIF_WORK_MASK, I'm going to resolve the conflict like this:
    #define TIF_NOTIFY_SIGNAL      6       /* signal notifications exist */
    -#define TIF_PATCH_PENDING      7       /* pending live patching update */
    +#define TIF_NEED_RESCHED_LAZY  7
    #define TIF_SYSCALL_TRACE      8       /* syscall trace active */
    #define TIF_SYSCALL_AUDIT      9       /* syscall auditing */
    #define TIF_SYSCALL_TRACEPOINT 10      /* syscall tracepoint for ftrace */
    #define TIF_SECCOMP            11      /* syscall secure computing */
    #define TIF_SYSCALL_EMU                12      /* syscall
emulation active */
    +#define TIF_PATCH_PENDING      13      /* pending live patching update */
    #define TIF_MEMDIE             18      /* is terminating due to
OOM killer */



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux