live-patching.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] livepatch,sched: Add livepatch task switching to cond_resched()
@ 2023-02-17 22:22 Josh Poimboeuf
  2023-02-17 22:22 ` [PATCH v2 1/3] livepatch: Skip task_call_func() for current task Josh Poimboeuf
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Josh Poimboeuf @ 2023-02-17 22:22 UTC (permalink / raw)
  To: live-patching
  Cc: linux-kernel, Seth Forshee, Peter Zijlstra, Song Liu,
	Mark Rutland, Petr Mladek, Joe Lawrence, Miroslav Benes,
	Jiri Kosina, Ingo Molnar, Rik van Riel

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-02-24 16:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-17 22:22 [PATCH v2 0/3] livepatch,sched: Add livepatch task switching to cond_resched() Josh Poimboeuf
2023-02-17 22:22 ` [PATCH v2 1/3] livepatch: Skip task_call_func() for current task Josh Poimboeuf
2023-02-17 22:22 ` [PATCH v2 2/3] livepatch,sched: Add livepatch task switching to cond_resched() Josh Poimboeuf
2023-02-22 14:00   ` Petr Mladek
2023-02-24  1:34     ` Josh Poimboeuf
2023-02-24 16:01       ` Petr Mladek
2023-02-24 16:42         ` Josh Poimboeuf
2023-02-17 22:22 ` [PATCH v2 3/3] vhost: Fix livepatch timeouts in vhost_worker() Josh Poimboeuf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).