[linux] 05/07: [rt] Refresh patchset against 4.9.82.

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Mon Feb 19 12:35:18 UTC 2018


This is an automated email from the git hooks/post-receive script.

corsac pushed a commit to branch stretch
in repository linux.

commit 5b2e34df4bcbeaf46d9c3aa5e9dd295d30c9bd09
Author: Yves-Alexis Perez <corsac at corsac.net>
Date:   Sun Feb 18 18:06:57 2018 +0100

    [rt] Refresh patchset against 4.9.82.
---
 debian/changelog                                   |  1 +
 ...55-posix-timers-Prevent-broadcast-signals.patch | 22 +++++++++++-----------
 ...qwork-push-most-work-into-softirq-context.patch |  8 ++++----
 .../rt/0309-x86-Support-for-lazy-preemption.patch  |  4 ++--
 4 files changed, 18 insertions(+), 17 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c003d31..f819340 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -81,6 +81,7 @@ linux (4.9.82-1) UNRELEASED; urgency=medium
   * [x86] linux-headers: Depend on updated linux-compiler-gcc-6-x86 for
     retpoline support.
   * [x86] Add versioned build-dependency on gcc-6 for retpoline support.
+  * [rt] Refresh patchset against 4.9.82.
 
  -- Yves-Alexis Perez <corsac at debian.org>  Tue, 13 Feb 2018 17:44:41 +0100
 
diff --git a/debian/patches/features/all/rt/0055-posix-timers-Prevent-broadcast-signals.patch b/debian/patches/features/all/rt/0055-posix-timers-Prevent-broadcast-signals.patch
index a11624a..44c5102 100644
--- a/debian/patches/features/all/rt/0055-posix-timers-Prevent-broadcast-signals.patch
+++ b/debian/patches/features/all/rt/0055-posix-timers-Prevent-broadcast-signals.patch
@@ -21,15 +21,15 @@ index f2826c35e918..81aec84e65e7 100644
  	struct task_struct *rtn = current->group_leader;
 +	int sig = event->sigev_signo;
  
- 	if ((event->sigev_notify & SIGEV_THREAD_ID ) &&
- 		(!(rtn = find_task_by_vpid(event->sigev_notify_thread_id)) ||
+ 	switch (event->sigev_notify) {
+ 	case SIGEV_SIGNAL | SIGEV_THREAD_ID:
 @@ -514,7 +515,8 @@ static struct pid *good_sigevent(sigevent_t * event)
- 		return NULL;
- 
- 	if (((event->sigev_notify & ~SIGEV_THREAD_ID) != SIGEV_NONE) &&
--	    ((event->sigev_signo <= 0) || (event->sigev_signo > SIGRTMAX)))
-+	    (sig <= 0 || sig > SIGRTMAX || sig_kernel_only(sig) ||
-+	     sig_kernel_coredump(sig)))
- 		return NULL;
- 
- 	return task_pid(rtn);
+ 		/* FALLTHRU */
+ 	case SIGEV_SIGNAL:
+ 	case SIGEV_THREAD:
+-		if (event->sigev_signo <= 0 || event->sigev_signo > SIGRTMAX)
++	  if (sig <= 0 || sig > SIGRTMAX || sig_kernel_only(sig) ||
++	     sig_kernel_coredump(sig))
+ 			return NULL;
+ 		/* FALLTHRU */
+ 	case SIGEV_NONE:
diff --git a/debian/patches/features/all/rt/0248-irqwork-push-most-work-into-softirq-context.patch b/debian/patches/features/all/rt/0248-irqwork-push-most-work-into-softirq-context.patch
index 62c3561..caf5bdc 100644
--- a/debian/patches/features/all/rt/0248-irqwork-push-most-work-into-softirq-context.patch
+++ b/debian/patches/features/all/rt/0248-irqwork-push-most-work-into-softirq-context.patch
@@ -151,13 +151,13 @@ index f5a1132f9014..b0691f4e7d49 100644
 --- a/kernel/sched/rt.c
 +++ b/kernel/sched/rt.c
 @@ -102,6 +102,7 @@ void init_rt_rq(struct rt_rq *rt_rq)
- 	rt_rq->push_cpu = nr_cpu_ids;
- 	raw_spin_lock_init(&rt_rq->push_lock);
- 	init_irq_work(&rt_rq->push_work, push_irq_work_func);
+ 	rt_rq->rt_nr_migratory = 0;
+ 	rt_rq->overloaded = 0;
+ 	plist_head_init(&rt_rq->pushable_tasks);
 +	rt_rq->push_work.flags |= IRQ_WORK_HARD_IRQ;
- #endif
  #endif /* CONFIG_SMP */
  	/* We start is dequeued state, because no RT tasks are queued */
+ 	rt_rq->rt_queued = 0;
 diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
 index 4367249e0dde..66d85482a96e 100644
 --- a/kernel/time/tick-sched.c
diff --git a/debian/patches/features/all/rt/0309-x86-Support-for-lazy-preemption.patch b/debian/patches/features/all/rt/0309-x86-Support-for-lazy-preemption.patch
index 178b95a..3014685 100644
--- a/debian/patches/features/all/rt/0309-x86-Support-for-lazy-preemption.patch
+++ b/debian/patches/features/all/rt/0309-x86-Support-for-lazy-preemption.patch
@@ -164,10 +164,10 @@ diff --git a/arch/x86/include/asm/thread_info.h b/arch/x86/include/asm/thread_in
 index ad6f5eb07a95..5ceb3a1c2b1a 100644
 --- a/arch/x86/include/asm/thread_info.h
 +++ b/arch/x86/include/asm/thread_info.h
-@@ -54,11 +54,14 @@ struct task_struct;
- 
+@@ -55,11 +55,14 @@ struct task_struct;
  struct thread_info {
  	unsigned long		flags;		/* low level flags */
+ 	u32			status;		/* thread synchronous flags */
 +	int                     preempt_lazy_count;     /* 0 => lazy preemptable
 +							   <0 => BUG */
  };

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git



More information about the Kernel-svn-changes mailing list