locking/qspinlock: Introduce starvation avoidance into CNA
maillist inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8T8XV Reference: https://lore.kernel.org/linux-arm-kernel/20210514200743.3026725-5-alex.kogan@oracle.com -------------------------------- Keep track of the time the thread at the head of the secondary queue has been waiting, and force inter-node handoff once this time passes a preset threshold. The default value for the threshold (1ms) can be overridden with the new kernel boot command-line option "qspinlock.numa_spinlock_threshold_ns". Signed-off-by:Alex Kogan <alex.kogan@oracle.com> Reviewed-by:
Steve Sistare <steven.sistare@oracle.com> Reviewed-by:
Waiman Long <longman@redhat.com> Signed-off-by:
Wei Li <liwei391@huawei.com>
Loading
Please sign in to comment