v6.4-rc5-rt4
Subsystems (3)
Dear RT folks!
I'm pleased to announce the v6.4-rc5-rt4 patch set.
Changes since v6.4-rc5-rt3:
- Drop the sigqueue caching patch which was introduced in v6.3-rc5-rt8. After discussion with upstream it is probably not worth it.
- Alternative fix for ptrace/ wait_task_inactive().
Known issues
None
The delta patch against v6.4-rc5-rt3 is appended below and can be found here:
https://cdn.kernel.org/pub/linux/kernel/projects/rt/6.4/incr/patch-6.4-rc5-rt3-rt4.patch.xz
You can get this release via the git tree at:
git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git v6.4-rc5-rt4
The RT patch against v6.4-rc5 can be found here:
https://cdn.kernel.org/pub/linux/kernel/projects/rt/6.4/older/patch-6.4-rc5-rt4.patch.xz
The split quilt queue is available at:
https://cdn.kernel.org/pub/linux/kernel/projects/rt/6.4/older/patches-6.4-rc5-rt4.tar.xz
Sebastian
include/linux/sched.h +2 -5
@@ -2011,15 +2011,12 @@ static __always_inline void scheduler_ipi(void)*/ preempt_fold_need_resched(); } -extern unsigned long wait_task_inactive (struct task_struct *,unsigned int match_state);#else static inline void scheduler_ipi (void ) { } -static inline unsigned long wait_task_inactive (struct task_struct *p,unsigned int match_state) -{ -return 1 ; -}#endif +extern unsigned long wait_task_inactive (struct task_struct *,unsigned int match_state); +/* * Set thread flags in other task's structures. * See asm/thread_info.h for TIF_xxxx flags available:
include/linux/sched/signal.h +0 -2
@@ -22,7 +22,6 @@ struct sighand_struct {refcount_t count;wait_queue_head_t signalfd_wqh;struct k_sigaction action[_NSIG]; -struct sigqueue *sigqueue_cache; };/*
@@ -350,7 +349,6 @@ extern int send_sig(int, struct task_struct *, int);extern int zap_other_threads (struct task_struct *p);extern struct sigqueue *sigqueue_alloc (void );extern void sigqueue_free (struct sigqueue *); -extern void sigqueue_free_cached_entry (struct sigqueue *q);extern int send_sigqueue (struct sigqueue *,struct pid *,enum pid_type );extern int do_sigaction (int ,struct k_sigaction *,struct k_sigaction *);
kernel/fork.c +0 -11
@@ -1814,7 +1814,6 @@ static int copy_sighand(unsigned long clone_flags, struct task_struct *tsk)RCU_INIT_POINTER (tsk->sighand, sig);if (!sig)return -ENOMEM ; - sig->sigqueue_cache =NULL ;refcount_set (&sig->count,1 );spin_lock_irq (¤t->sighand->siglock);
@@ -1831,17 +1830,7 @@ static int copy_sighand(unsigned long clone_flags, struct task_struct *tsk)void __cleanup_sighand (struct sighand_struct *sighand) {if (refcount_dec_and_test (&sighand->count)) { -struct sigqueue *sigqueue =NULL ; -signalfd_cleanup (sighand); -spin_lock_irq (&sighand->siglock); -if (sighand->sigqueue_cache) { - sigqueue = sighand->sigqueue_cache; - sighand->sigqueue_cache =NULL ; - } -spin_unlock_irq (&sighand->siglock); - -sigqueue_free_cached_entry (sigqueue);/* * sighand_cachep is SLAB_TYPESAFE_BY_RCU so we can free it * without an RCU grace period, see __lock_task_sighand().
kernel/sched/core.c +153 -187
371 lines not on this page · raw message
kernel/signal.c +4 -44
72 lines not on this page · raw message
localversion-rt +1 -1
@@ -1 +1 @@ --rt3 +-rt4