> 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 */