ARM: renumber bits related to _TIF_WORK_MASK
stable inclusion from stable-v5.10.163 commit 9620f8a5c72f57074ac09d5e392de89f0c02d60a category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7PJ9N Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=9620f8a5c72f57074ac09d5e392de89f0c02d60a ---------------------------------------------------- commit 191f8453 upstream. We want to ensure that the mask related to calling do_work_pending() is within the first 16 bits. Move bits unrelated to that outside of that range, to avoid spuriously calling do_work_pending() when we don't need to. Cc: stable@vger.kernel.org Fixes: 32d59773 ("arm: add support for TIF_NOTIFY_SIGNAL") Reported-and-tested-by:Hui Tang <tanghui20@huawei.com> Suggested-by:
Russell King (Oracle) <linux@armlinux.org.uk> Link: https://lore.kernel.org/lkml/7ecb8f3c-2aeb-a905-0d4a-aa768b9649b5@huawei.com/ Signed-off-by:
Jens Axboe <axboe@kernel.dk> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
zhaoxiaoqiang11 <zhaoxiaoqiang11@jd.com> Conflicts: arch/arm/include/asm/thread_info.h
Loading
Please sign in to comment