lkml.org 
[lkml]   [2023]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] livepatch,sched: Add livepatch task switching to cond_resched()
Date
v2:
- Avoid calling klp_cond_resched_disable() in klp_cancel_transition()
- Fix race in klp_reverse_transition()

Fix patching stalls caused by busy kthreads.

Josh Poimboeuf (3):
livepatch: Skip task_call_func() for current task
livepatch,sched: Add livepatch task switching to cond_resched()
vhost: Fix livepatch timeouts in vhost_worker()

drivers/vhost/vhost.c | 3 +-
include/linux/livepatch.h | 1 +
include/linux/livepatch_sched.h | 29 ++++++++++++
include/linux/sched.h | 20 ++++++--
kernel/livepatch/transition.c | 84 ++++++++++++++++++++++++++++-----
kernel/sched/core.c | 64 +++++++++++++++++++++----
6 files changed, 174 insertions(+), 27 deletions(-)
create mode 100644 include/linux/livepatch_sched.h

--
2.39.1

\
 
 \ /
  Last update: 2023-03-27 00:27    [W:0.070 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site