aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorShrikanth Hegde <[email protected]>2024-11-16 19:23:05 +0000
committerMadhavan Srinivasan <[email protected]>2024-12-19 08:51:08 +0000
commit00199ed6f2ca6601b2c5856fac64132303d9437a (patch)
tree4937b100b45475323bf4dea7798b261ef111f5d3 /tools/testing/selftests/net/lib/py/utils.py
parentpowerpc/book3s64/hugetlb: Fix disabling hugetlb when fadump is active (diff)
downloadkernel-00199ed6f2ca6601b2c5856fac64132303d9437a.tar.gz
kernel-00199ed6f2ca6601b2c5856fac64132303d9437a.zip
powerpc: Add preempt lazy support
Define preempt lazy bit for Powerpc. Use bit 9 which is free and within 16 bit range of NEED_RESCHED, so compiler can issue single andi. Since Powerpc doesn't use the generic entry/exit, add lazy check at exit to user. CONFIG_PREEMPTION is defined for lazy/full/rt so use it for return to kernel. Ran a few benchmarks and db workload on Power10. Performance is close to preempt=none/voluntary. Since Powerpc systems can have large core count and large memory, preempt lazy is going to be helpful in avoiding soft lockup issues. Reviewed-by: Sebastian Andrzej Siewior <[email protected]> Reviewed-by: Ankur Arora <[email protected]> Signed-off-by: Shrikanth Hegde <[email protected]> Signed-off-by: Madhavan Srinivasan <[email protected]> Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions