ANBZ: #7862
We introduced preempt dynamic to switch dynamic mode among: none,
voluntary and full. However, considering our own demands, we disable
the dynamic switch from none/voluntary to full. As a result, there're
large amount of codes which are introduced for dynamic full mode that
won't take effect. So, we can delete these codes. After testing,
deleting these useless codes can improve basic performance such as Unixbench.
In following commits, we will also revert related codes in arm64.
Fixes from 1eca80ad8bb1(static_call/x86: Add __static_call_return0()) to
4533f50c8c99(anolis: preempt/dynamic : Disable preempt dynamically
change to full mode)
Signed-off-by: zhouzhixin.zzx <zhixin.zhou@linux.alibaba.com>
Reviewed-by: Cruz Zhao <CruzZhao@linux.alibaba.com>
Link: https://gitee.com/anolis/cloud-kernel/pulls/3349