aboutsummaryrefslogtreecommitdiffstats
path: root/lib/net_utils.c
diff options
context:
space:
mode:
authorShrikanth Hegde <[email protected]>2024-11-16 19:23:06 +0000
committerMadhavan Srinivasan <[email protected]>2024-12-19 08:51:08 +0000
commiteda86a41a1c7700757c9217f74b9d57431c3e5f4 (patch)
treea2d6fdc748008274abfc6b7eab2eea7b445d27aa /lib/net_utils.c
parentpowerpc: Add preempt lazy support (diff)
downloadkernel-eda86a41a1c7700757c9217f74b9d57431c3e5f4.tar.gz
kernel-eda86a41a1c7700757c9217f74b9d57431c3e5f4.zip
powerpc: Large user copy aware of full:rt:lazy preemption
Large user copy_to/from (more than 16 bytes) uses vmx instructions to speed things up. Once the copy is done, it makes sense to try schedule as soon as possible for preemptible kernels. So do this for preempt=full/lazy and rt kernel. Not checking for lazy bit here, since it could lead to unnecessary context switches. Suggested-by: Sebastian Andrzej Siewior <[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 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions