[rt] Update to 3.2.27-rt40

add_interrupt_randomness() is disabled again, but I am querying this.

svn path=/dists/sid/linux/; revision=19324
This commit is contained in:
Ben Hutchings 2012-08-14 05:46:25 +00:00
parent 94ee7c7fb6
commit c4144348c0
281 changed files with 1076 additions and 1046 deletions

2
debian/changelog vendored
View File

@ -85,7 +85,7 @@ linux (3.2.27-1) UNRELEASED; urgency=low
- Drop kconfig options; restrictions can only be disabled by sysctl
- Change the audit message type from AUDIT_AVC (1400) to
AUDIT_ANON_LINK (1702)
* [rt] Update to 3.2.26-rt39:
* [rt] Update to 3.2.27-rt40:
- time/rt: Fix up leap-second backport for RT changes
* rds: set correct msg_namelen (CVE-2012-3430)
* e1000: add dropped DMA receive enable back in for WoL (Closes: #684618)

View File

@ -1,7 +1,7 @@
From df8f6206fd5fb81d73536194733e346c58ecb8fd Mon Sep 17 00:00:00 2001
From d3230c7d959ebf5534b47b1785d91c0ecf30e273 Mon Sep 17 00:00:00 2001
From: Steven Rostedt <srostedt@redhat.com>
Date: Wed, 6 Jun 2012 17:07:34 -0400
Subject: [PATCH 001/282] Revert "workqueue: skip nr_running sanity check in
Subject: [PATCH 001/277] Revert "workqueue: skip nr_running sanity check in
worker_enter_idle() if trustee is active"
This reverts commit 5d79c6f64a904afc92a329f80abe693e3ae105fe.
@ -14,7 +14,7 @@ Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 7947e16..bb425b1 100644
index a650bee..5f10406 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -1215,13 +1215,8 @@ static void worker_enter_idle(struct worker *worker)

View File

@ -1,7 +1,7 @@
From e779dd5c5090622cff55f83eeaf97519ee520ef2 Mon Sep 17 00:00:00 2001
From c86d8945a1beebae0d0c18f1b261e6cca73fd02d Mon Sep 17 00:00:00 2001
From: Frederic Weisbecker <fweisbec@gmail.com>
Date: Mon, 26 Sep 2011 12:19:11 +0200
Subject: [PATCH 002/282] x86: Call idle notifier after irq_enter()
Subject: [PATCH 002/277] x86: Call idle notifier after irq_enter()
Interrupts notify the idle exit state before calling irq_enter(). But
the notifier code calls rcu_read_lock() and this is not allowed while

View File

@ -1,7 +1,7 @@
From c51107c1d3a916cb1c5bad8f9f1964100648de80 Mon Sep 17 00:00:00 2001
From c64b520ede85cae2935158c40edcc1bae0814261 Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <a.p.zijlstra@chello.nl>
Date: Mon, 28 Nov 2011 19:51:51 +0100
Subject: [PATCH 003/282] slab, lockdep: Annotate all slab caches
Subject: [PATCH 003/277] slab, lockdep: Annotate all slab caches
Currently we only annotate the kmalloc caches, annotate all of them.
@ -20,7 +20,7 @@ Link: http://lkml.kernel.org/n/tip-10bey2cgpcvtbdkgigaoab8w@git.kernel.org
1 file changed, 28 insertions(+), 24 deletions(-)
diff --git a/mm/slab.c b/mm/slab.c
index 83311c9a..b76905e 100644
index cd3ab93..2ab1bc2 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -607,6 +607,12 @@ int slab_is_available(void)

View File

@ -1,7 +1,7 @@
From aadc4017f6542080912118dfb9a623cb2c1b2d63 Mon Sep 17 00:00:00 2001
From 230ac34fd5bfffe7591923d9adcfd67034a80369 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 17 Mar 2011 11:02:15 +0100
Subject: [PATCH 004/282] x86: kprobes: Remove remove bogus preempt_enable
Subject: [PATCH 004/277] x86: kprobes: Remove remove bogus preempt_enable
The CONFIG_PREEMPT=n section of setup_singlestep() contains:

View File

@ -1,7 +1,7 @@
From b6576b10d4b78f0dbd01e69b5b6bcefa4f233d84 Mon Sep 17 00:00:00 2001
From 21811b2b8a5b267c6fef760900e7524474ce4d92 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 30 Sep 2011 20:03:37 +0200
Subject: [PATCH 005/282] x86: hpet: Disable MSI on Lenovo W510
Subject: [PATCH 005/277] x86: hpet: Disable MSI on Lenovo W510
MSI based per cpu timers lose interrupts when intel_idle() is enabled
- independent of the c-state. With idle=poll the problem cannot be

View File

@ -1,7 +1,7 @@
From 62cddd5874f53444b20c8614191387f0e4da0be0 Mon Sep 17 00:00:00 2001
From 394e721d0e9b9bcb7fc839d61e1dcfff3851f628 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Wed, 22 Jun 2011 19:47:02 +0200
Subject: [PATCH 006/282] block: Shorten interrupt disabled regions
Subject: [PATCH 006/277] block: Shorten interrupt disabled regions
Moving the blk_sched_flush_plug() call out of the interrupt/preempt
disabled region in the scheduler allows us to replace
@ -48,7 +48,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 file changed, 8 insertions(+), 12 deletions(-)
diff --git a/block/blk-core.c b/block/blk-core.c
index 15de223..7366ad4 100644
index 49d9e91..33bf42c 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -300,7 +300,11 @@ void __blk_run_queue(struct request_queue *q)

View File

@ -1,7 +1,7 @@
From edfc408c63ce9889f9f998383af0e16e8cf3793c Mon Sep 17 00:00:00 2001
From c8f182d4fb16c3697685d10d2488275caa24ac97 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Wed, 22 Jun 2011 19:47:03 +0200
Subject: [PATCH 007/282] sched: Distangle worker accounting from rq-%3Elock
Subject: [PATCH 007/277] sched: Distangle worker accounting from rq-%3Elock
The worker accounting for cpu bound workers is plugged into the core
scheduler code and the wakeup code. This is not a hard requirement and
@ -30,10 +30,10 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
3 files changed, 47 insertions(+), 91 deletions(-)
diff --git a/kernel/sched.c b/kernel/sched.c
index 576a27f..9265088 100644
index e0431c4..96e6c01 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -2644,10 +2644,6 @@ static void ttwu_activate(struct rq *rq, struct task_struct *p, int en_flags)
@@ -2640,10 +2640,6 @@ static void ttwu_activate(struct rq *rq, struct task_struct *p, int en_flags)
{
activate_task(rq, p, en_flags);
p->on_rq = 1;
@ -44,7 +44,7 @@ index 576a27f..9265088 100644
}
/*
@@ -2882,40 +2878,6 @@ out:
@@ -2878,40 +2874,6 @@ out:
}
/**
@ -85,7 +85,7 @@ index 576a27f..9265088 100644
* wake_up_process - Wake up a specific process
* @p: The process to be woken up.
*
@@ -4419,19 +4381,6 @@ need_resched:
@@ -4606,19 +4568,6 @@ need_resched:
} else {
deactivate_task(rq, prev, DEQUEUE_SLEEP);
prev->on_rq = 0;
@ -105,7 +105,7 @@ index 576a27f..9265088 100644
}
switch_count = &prev->nvcsw;
}
@@ -4474,6 +4423,14 @@ static inline void sched_submit_work(struct task_struct *tsk)
@@ -4661,6 +4610,14 @@ static inline void sched_submit_work(struct task_struct *tsk)
{
if (!tsk->state)
return;
@ -120,7 +120,7 @@ index 576a27f..9265088 100644
/*
* If we are going to sleep and we have plugged IO queued,
* make sure to submit it to avoid deadlocks.
@@ -4482,12 +4439,19 @@ static inline void sched_submit_work(struct task_struct *tsk)
@@ -4669,12 +4626,19 @@ static inline void sched_submit_work(struct task_struct *tsk)
blk_schedule_flush_plug(tsk);
}
@ -141,7 +141,7 @@ index 576a27f..9265088 100644
EXPORT_SYMBOL(schedule);
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index bb425b1..4b4421d 100644
index 5f10406..f850ee0 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -137,6 +137,7 @@ struct worker {

View File

@ -1,7 +1,7 @@
From 274242382e55c6ccb013869fbfbb5fda0cd70357 Mon Sep 17 00:00:00 2001
From 2fd8f97f119d315b0ae308ba6d399d8447984441 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 18 Jul 2011 21:32:10 +0200
Subject: [PATCH 008/282] mips-enable-interrupts-in-signal.patch
Subject: [PATCH 008/277] mips-enable-interrupts-in-signal.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---

View File

@ -1,7 +1,7 @@
From 9df8de9aa343f8bc114a45488268597963386bf7 Mon Sep 17 00:00:00 2001
From e54d7cd02c80eb02cfeaee7654278efdd10ef4e6 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sat, 16 Jul 2011 16:27:13 +0200
Subject: [PATCH 009/282] arm-enable-interrupts-in-signal-code.patch
Subject: [PATCH 009/277] arm-enable-interrupts-in-signal-code.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---

View File

@ -1,7 +1,7 @@
From 04066457b0b4a8e13ca83290bb719d62ffb069f6 Mon Sep 17 00:00:00 2001
From f168895c496de96a5d1480a36c92e9739c172189 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sat, 16 Jul 2011 12:09:54 +0200
Subject: [PATCH 010/282] powerpc: 85xx: Mark cascade irq IRQF_NO_THREAD
Subject: [PATCH 010/277] powerpc: 85xx: Mark cascade irq IRQF_NO_THREAD
Cascade interrupt must run in hard interrupt context.

View File

@ -1,7 +1,7 @@
From 85b69fe3ede77b0b6ffbf5c48b6073c11e4c9628 Mon Sep 17 00:00:00 2001
From 52028fe738c8f2bdf7a04959ba45307295d0b526 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Wed, 5 Oct 2011 14:11:24 +0200
Subject: [PATCH 011/282] powerpc: wsp: Mark opb cascade handler
Subject: [PATCH 011/277] powerpc: wsp: Mark opb cascade handler
IRQF_NO_THREAD
Cascade handlers must run in hard interrupt context.

View File

@ -1,7 +1,7 @@
From d79419ba7414be1de16b767776b6559604a2ec83 Mon Sep 17 00:00:00 2001
From 5ca2fa9b8497251f0f7bff23e654f784510358ef Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Wed, 5 Oct 2011 14:00:26 +0200
Subject: [PATCH 012/282] powerpc: Mark IPI interrupts IRQF_NO_THREAD
Subject: [PATCH 012/277] powerpc: Mark IPI interrupts IRQF_NO_THREAD
IPI handlers cannot be threaded. Remove the obsolete IRQF_DISABLED
flag (see commit e58aa3d2) while at it.

View File

@ -1,7 +1,7 @@
From 94b3babc05617f3a97c28cccb43dcc8e76c474a8 Mon Sep 17 00:00:00 2001
From e8fa36c0b7ec0d1bb5492054fca46a7979e3d413 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sat, 16 Jul 2011 13:16:24 +0200
Subject: [PATCH 013/282] powerpc: Allow irq threading
Subject: [PATCH 013/277] powerpc: Allow irq threading
All interrupts which must be non threaded are marked
IRQF_NO_THREAD. So it's safe to allow force threaded handlers.
@ -14,7 +14,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -132,6 +132,7 @@
@@ -132,6 +132,7 @@ config PPC
select IRQ_PER_CPU
select GENERIC_IRQ_SHOW
select GENERIC_IRQ_SHOW_LEVEL

View File

@ -1,7 +1,7 @@
From 1893db2f433c1cf3248fc5d04c737d8b9c3a8ba8 Mon Sep 17 00:00:00 2001
From 09b3b9e267571bdfb091cbe5490862c6b0bb8bf9 Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org>
Date: Tue, 18 Oct 2011 22:03:48 +0200
Subject: [PATCH 014/282] sched: Keep period timer ticking when throttling
Subject: [PATCH 014/277] sched: Keep period timer ticking when throttling
active
When a runqueue is throttled we cannot disable the period timer

View File

@ -1,7 +1,7 @@
From a1793342c661b599d1ac6b004faa3b84cec58bab Mon Sep 17 00:00:00 2001
From 0d04a058f49be26460b98a7dc552432668f60a5d Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org>
Date: Tue, 18 Oct 2011 22:03:48 +0200
Subject: [PATCH 015/282] sched: Do not throttle due to PI boosting
Subject: [PATCH 015/277] sched: Do not throttle due to PI boosting
When a runqueue has rt_runtime_us = 0 then the only way it can
accumulate rt_time is via PI boosting. Though that causes the runqueue

View File

@ -1,7 +1,7 @@
From aacf7a45f6bba6c2406139679498bb6c28e5a7e3 Mon Sep 17 00:00:00 2001
From f95f89403d3839d184b0b3044c5f7d56b25c4a52 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Tue, 28 Feb 2012 19:06:50 +0100
Subject: [PATCH 016/282] time: Remove bogus comments
Subject: [PATCH 016/277] time: Remove bogus comments
There is no global irq lock which makes a syscall magically SMP
safe. Remove the outdated comment concerning do_settimeofday() as

View File

@ -1,7 +1,7 @@
From 2cf94f15307db51a842030f33d189750a44a77f5 Mon Sep 17 00:00:00 2001
From 22d6f2509a1b68a06b7a99dae397eb2903e3d90d Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Tue, 28 Feb 2012 19:10:46 +0100
Subject: [PATCH 017/282] x86: vdso: Remove bogus locking in
Subject: [PATCH 017/277] x86: vdso: Remove bogus locking in
update_vsyscall_tz()
Changing the sequence count in update_vsyscall_tz() is completely

View File

@ -1,7 +1,7 @@
From ba2e176229c72d7a64ca08be5e7e5f14d039b2db Mon Sep 17 00:00:00 2001
From 71895de2d64e3676791ae1ba02476d5142a03c3d Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Tue, 28 Feb 2012 18:24:07 +0100
Subject: [PATCH 018/282] x86: vdso: Use seqcount instead of seqlock
Subject: [PATCH 018/277] x86: vdso: Use seqcount instead of seqlock
The update of the vdso data happens under xtime_lock, so adding a
nested lock is pointless. Just use a seqcount to sync the readers.

View File

@ -1,7 +1,7 @@
From 8f76333e428ea32fd34348568c3660699a9c38b0 Mon Sep 17 00:00:00 2001
From a8ea8f497964aa76beeb3be7db08002d64b81632 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Tue, 28 Feb 2012 18:33:08 +0100
Subject: [PATCH 019/282] ia64: vsyscall: Use seqcount instead of seqlock
Subject: [PATCH 019/277] ia64: vsyscall: Use seqcount instead of seqlock
The update of the vdso data happens under xtime_lock, so adding a
nested lock is pointless. Just use a seqcount to sync the readers.

View File

@ -1,7 +1,7 @@
From 2a7c481c816dae54aca417bfe13b43f555fa9be1 Mon Sep 17 00:00:00 2001
From 28c6701ae1a4939c853be2cca89479da5ebba924 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sat, 16 Jul 2011 18:38:22 +0200
Subject: [PATCH 020/282] seqlock: Remove unused functions
Subject: [PATCH 020/277] seqlock: Remove unused functions
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---

View File

@ -1,7 +1,7 @@
From d5a1cbf4a2056b0b1d272e1fa41737eb3e369b88 Mon Sep 17 00:00:00 2001
From 8f8db2368172db418e8cb7c6ed3c82f67d519ea5 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sat, 16 Jul 2011 18:40:26 +0200
Subject: [PATCH 021/282] seqlock: Use seqcount
Subject: [PATCH 021/277] seqlock: Use seqcount
No point in having different implementations for the same thing.

View File

@ -1,7 +1,7 @@
From 81b4f3af5bb25586b58c3893d824e5807be76e89 Mon Sep 17 00:00:00 2001
From f56b7e07ecffa3f669566eea338d726a5a69121d Mon Sep 17 00:00:00 2001
From: Al Viro <viro@ZenIV.linux.org.uk>
Date: Thu, 15 Mar 2012 18:39:40 +0000
Subject: [PATCH 022/282] vfs: fs_struct: Move code out of seqcount write
Subject: [PATCH 022/277] vfs: fs_struct: Move code out of seqcount write
sections
RT cannot disable preemption in the seqcount write sections due to

View File

@ -1,7 +1,7 @@
From 6279b0161cf978d1c6c12a7991cc27676ad1fbc2 Mon Sep 17 00:00:00 2001
From 9e3cde365519b872b4ab8e11d41a2abe92a959c9 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 1 Mar 2012 15:14:06 +0100
Subject: [PATCH 023/283] timekeeping: Split xtime_lock
Subject: [PATCH 023/277] timekeeping: Split xtime_lock
xtime_lock is going to be split apart in mainline, so we can shorten
the seqcount protected regions and avoid updating seqcount in some
@ -163,7 +163,7 @@ index 4e265b9..c91100d 100644
+extern raw_spinlock_t xtime_lock;
+extern seqcount_t xtime_seq;
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
index 9955ebd..f8d1e36 100644
index 793548c..9964bda 100644
--- a/kernel/time/tick-sched.c
+++ b/kernel/time/tick-sched.c
@@ -56,7 +56,8 @@ static void tick_do_update_jiffies64(ktime_t now)

View File

@ -1,7 +1,7 @@
From 0d4c84bb31993d503d6e72b50c187bff31868454 Mon Sep 17 00:00:00 2001
From 2b4e7cd93090f74f3559357740492b6d166b17a2 Mon Sep 17 00:00:00 2001
From: Mike Galbraith <efault@gmx.de>
Date: Wed, 7 Dec 2011 12:48:42 +0100
Subject: [PATCH 024/282] intel_idle: Convert i7300_idle_lock to raw spinlock
Subject: [PATCH 024/277] intel_idle: Convert i7300_idle_lock to raw spinlock
24 core Intel box's first exposure to 3.0.12-rt30-rc3 didn't go well.

View File

@ -1,7 +1,7 @@
From 01623084ff8da3904d8d101224f9daaa35f633d5 Mon Sep 17 00:00:00 2001
From 216cb64619e5f31bcd7bfea3f9d148465a561d8b Mon Sep 17 00:00:00 2001
From: Johannes Weiner <hannes@cmpxchg.org>
Date: Thu, 17 Nov 2011 07:49:25 +0100
Subject: [PATCH 025/282] mm: memcg: shorten preempt-disabled section around
Subject: [PATCH 025/277] mm: memcg: shorten preempt-disabled section around
event checks
Only the ratelimit checks themselves have to run with preemption

View File

@ -1,7 +1,7 @@
From 481a66cf0672618cc8ed0cbc13cb2fccde74f726 Mon Sep 17 00:00:00 2001
From dcb5f419cd57688c5d770db9f80be7392801d2ca Mon Sep 17 00:00:00 2001
From: Steven Rostedt <rostedt@goodmis.org>
Date: Thu, 29 Sep 2011 12:24:30 -0500
Subject: [PATCH 026/282] tracing: Account for preempt off in
Subject: [PATCH 026/277] tracing: Account for preempt off in
preempt_schedule()
The preempt_schedule() uses the preempt_disable_notrace() version
@ -28,10 +28,10 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 file changed, 9 insertions(+)
diff --git a/kernel/sched.c b/kernel/sched.c
index 9265088..24d3ce6 100644
index 96e6c01..ebed875 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -4519,7 +4519,16 @@ asmlinkage void __sched notrace preempt_schedule(void)
@@ -4706,7 +4706,16 @@ asmlinkage void __sched notrace preempt_schedule(void)
do {
add_preempt_count_notrace(PREEMPT_ACTIVE);

View File

@ -1,7 +1,7 @@
From 69d6f6891fe67ea6b7b9b71102ec1b3b2d98a494 Mon Sep 17 00:00:00 2001
From 1f1ba17135b3bcd45581e7855e5a0a2441f4b465 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Wed, 21 Sep 2011 19:57:12 +0200
Subject: [PATCH 027/282] signal-revert-ptrace-preempt-magic.patch
Subject: [PATCH 027/277] signal-revert-ptrace-preempt-magic.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---

View File

@ -1,7 +1,7 @@
From 71e5e2ebb0a3ba921ca19597d84e5b6a251828a6 Mon Sep 17 00:00:00 2001
From 3720905492d805e2fd8f55891c0ed09b6aabe2b3 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Wed, 16 Mar 2011 14:45:31 +0100
Subject: [PATCH 028/282] arm: Mark pmu interupt IRQF_NO_THREAD
Subject: [PATCH 028/277] arm: Mark pmu interupt IRQF_NO_THREAD
PMU interrupt must not be threaded. Remove IRQF_DISABLED while at it
as we run all handlers with interrupts disabled anyway.

View File

@ -1,7 +1,7 @@
From 9976b6cb61e9ee39c598c0b7e94265a6e437d47a Mon Sep 17 00:00:00 2001
From 47ab5557626ff17d0749caf00890a59fccd55e2c Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sat, 16 Jul 2011 13:15:20 +0200
Subject: [PATCH 029/282] arm: Allow forced irq threading
Subject: [PATCH 029/277] arm: Allow forced irq threading
All timer interrupts and the perf interrupt are marked NO_THREAD, so
its safe to allow forced interrupt threading.
@ -14,7 +14,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -29,6 +29,7 @@
@@ -29,6 +29,7 @@ config ARM
select HAVE_GENERIC_HARDIRQS
select HAVE_SPARSE_IRQ
select GENERIC_IRQ_SHOW

View File

@ -1,7 +1,7 @@
From 737d2b3d4598d1d990c769c861ab82e47c56b01f Mon Sep 17 00:00:00 2001
From 2b0b125342ae77d38b8a1e0194e00a8d33289b58 Mon Sep 17 00:00:00 2001
From: Frank Rowand <frank.rowand@am.sony.com>
Date: Mon, 19 Sep 2011 14:51:14 -0700
Subject: [PATCH 030/282] preempt-rt: Convert arm boot_lock to raw
Subject: [PATCH 030/277] preempt-rt: Convert arm boot_lock to raw
The arm boot_lock is used by the secondary processor startup code. The locking
task is the idle thread, which has idle->sched_class == &idle_sched_class.

View File

@ -1,7 +1,7 @@
From fc45413dddb8b0b912e1cf860840bb9f6163459e Mon Sep 17 00:00:00 2001
From d433b7ca62e79d01313785aeaa377074b8ce6c31 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 21 Mar 2011 12:09:35 +0100
Subject: [PATCH 031/282] sched: Create schedule_preempt_disabled()
Subject: [PATCH 031/277] sched: Create schedule_preempt_disabled()
Get rid of the ever repeating:
@ -16,10 +16,10 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2 files changed, 13 insertions(+)
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 1c4f3e9..9897fe6 100644
index 1e86bb4..f618dc8 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -359,6 +359,7 @@ extern signed long schedule_timeout_interruptible(signed long timeout);
@@ -360,6 +360,7 @@ extern signed long schedule_timeout_interruptible(signed long timeout);
extern signed long schedule_timeout_killable(signed long timeout);
extern signed long schedule_timeout_uninterruptible(signed long timeout);
asmlinkage void schedule(void);
@ -28,10 +28,10 @@ index 1c4f3e9..9897fe6 100644
struct nsproxy;
diff --git a/kernel/sched.c b/kernel/sched.c
index 24d3ce6..9be2b0e 100644
index ebed875..cfb575d 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -4455,6 +4455,18 @@ asmlinkage void __sched schedule(void)
@@ -4642,6 +4642,18 @@ asmlinkage void __sched schedule(void)
}
EXPORT_SYMBOL(schedule);

View File

@ -1,7 +1,7 @@
From b59fa84e861a863651fe170a2b7f1b10d8b64d75 Mon Sep 17 00:00:00 2001
From 64d4854733c8f4d33d9c420827ce09be85d2841e Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 21 Mar 2011 12:33:18 +0100
Subject: [PATCH 032/282] sched: Use schedule_preempt_disabled()
Subject: [PATCH 032/277] sched: Use schedule_preempt_disabled()
Coccinelle based conversion.
@ -38,10 +38,10 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
28 files changed, 36 insertions(+), 95 deletions(-)
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c
index 3d0c6fb..54833ff 100644
index e68d251..3577921 100644
--- a/arch/arm/kernel/process.c
+++ b/arch/arm/kernel/process.c
@@ -214,9 +214,7 @@ void cpu_idle(void)
@@ -215,9 +215,7 @@ void cpu_idle(void)
}
leds_event(led_idle_end);
tick_nohz_restart_sched_tick();
@ -404,7 +404,7 @@ index 9c45d8b..5a8b631 100644
}
diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c
index 8598296..ada175e3 100644
index 8598296..ada175e 100644
--- a/arch/x86/kernel/process_32.c
+++ b/arch/x86/kernel/process_32.c
@@ -117,9 +117,7 @@ void cpu_idle(void)

View File

@ -1,7 +1,7 @@
From 706fd306d5dd5bff323a372e21eb279c552c401f Mon Sep 17 00:00:00 2001
From 79d022dd7558ae000e65fb1ea0273f5753fca389 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 3 Jul 2009 08:44:44 -0500
Subject: [PATCH 033/282] signals: Do not wakeup self
Subject: [PATCH 033/277] signals: Do not wakeup self
Signals which are delivered by current to current can do without
waking up current :)

View File

@ -1,7 +1,7 @@
From 692aa380692e9ed146c1c0af67d5fd3617c73cee Mon Sep 17 00:00:00 2001
From c001b21b557befe725fda1588e37057843d4fe97 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 3 Jul 2009 08:29:20 -0500
Subject: [PATCH 034/282] posix-timers: Prevent broadcast signals
Subject: [PATCH 034/277] posix-timers: Prevent broadcast signals
Posix timers should not send broadcast signals and kernel only
signals. Prevent it.

View File

@ -1,7 +1,7 @@
From 22663329dd88d5ef844c5a53f09cc5697b8a3608 Mon Sep 17 00:00:00 2001
From a42c494927735bedac5afc5ca5a145c9b19c722a Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 3 Jul 2009 08:44:56 -0500
Subject: [PATCH 035/282] signals: Allow rt tasks to cache one sigqueue struct
Subject: [PATCH 035/277] signals: Allow rt tasks to cache one sigqueue struct
To avoid allocation allow rt tasks to cache one sigqueue struct in
task struct.
@ -16,10 +16,10 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
5 files changed, 83 insertions(+), 5 deletions(-)
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 9897fe6..7268acf 100644
index f618dc8..814d47a 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1387,6 +1387,7 @@ struct task_struct {
@@ -1391,6 +1391,7 @@ struct task_struct {
/* signal handlers */
struct signal_struct *signal;
struct sighand_struct *sighand;
@ -53,10 +53,10 @@ index 5a8a66e..9ed0883 100644
spin_unlock(&sighand->siglock);
diff --git a/kernel/fork.c b/kernel/fork.c
index 79ee71f..7335449 100644
index 222457a..d1c6b43 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1136,6 +1136,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
@@ -1139,6 +1139,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
spin_lock_init(&p->alloc_lock);
init_sigpending(&p->pending);

View File

@ -1,7 +1,7 @@
From 51f5cd3d4c8eea0a72478d6334dcc1cf7fd50bfe Mon Sep 17 00:00:00 2001
From 9aeabea088c8676939b9f9861b02626073ad4ac4 Mon Sep 17 00:00:00 2001
From: Oleg Nesterov <oleg@redhat.com>
Date: Tue, 10 Apr 2012 14:33:53 -0400
Subject: [PATCH 036/282] signal/x86: Delay calling signals in atomic
Subject: [PATCH 036/277] signal/x86: Delay calling signals in atomic
On x86_64 we must disable preemption before we enable interrupts
for stack faults, int3 and debugging, because the current task is using
@ -81,10 +81,10 @@ index 54ddaeb2..12c4d53 100644
if (thread_info_flags & _TIF_SIGPENDING)
do_signal(regs);
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 7268acf..ed2b9f9 100644
index 814d47a..3795654 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1392,6 +1392,10 @@ struct task_struct {
@@ -1396,6 +1396,10 @@ struct task_struct {
sigset_t blocked, real_blocked;
sigset_t saved_sigmask; /* restored if set_restore_sigmask() was used */
struct sigpending pending;

View File

@ -1,7 +1,7 @@
From 1463a7be1c84f98deced7c275c225f5a624435aa Mon Sep 17 00:00:00 2001
From 8143d31fb7c070cd714cb29eb2ef91edcdc564b3 Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 3 Jul 2009 08:29:30 -0500
Subject: [PATCH 037/282] generic: Use raw local irq variant for generic
Subject: [PATCH 037/277] generic: Use raw local irq variant for generic
cmpxchg
No point in tracing those.

View File

@ -1,7 +1,7 @@
From 23bee4ce4cad995ff398b8c4a69c96d2e602e49d Mon Sep 17 00:00:00 2001
From e2b0c11ee4241389b42a0c4f0b3277a2e7dc31bb Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 3 Jul 2009 08:29:30 -0500
Subject: [PATCH 038/282] drivers: random: Reduce preempt disabled region
Subject: [PATCH 038/277] drivers: random: Reduce preempt disabled region
No need to keep preemption disabled across the whole function.
@ -12,10 +12,10 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/char/random.c b/drivers/char/random.c
index 6035ab8..786a856 100644
index 631d4f6..6380143 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -633,8 +633,11 @@ static void add_timer_randomness(struct timer_rand_state *state, unsigned num)
@@ -701,8 +701,11 @@ static void add_timer_randomness(struct timer_rand_state *state, unsigned num)
preempt_disable();
/* if over the trickle threshold, use only 1 in 4096 samples */
if (input_pool.entropy_count > trickle_thresh &&
@ -29,7 +29,7 @@ index 6035ab8..786a856 100644
sample.jiffies = jiffies;
sample.cycles = get_cycles();
@@ -676,8 +679,6 @@ static void add_timer_randomness(struct timer_rand_state *state, unsigned num)
@@ -744,8 +747,6 @@ static void add_timer_randomness(struct timer_rand_state *state, unsigned num)
credit_entropy_bits(&input_pool,
min_t(int, fls(delta>>1), 11));
}

View File

@ -1,7 +1,7 @@
From 772049eeffd011595163efb489be9dbeb509585f Mon Sep 17 00:00:00 2001
From f4b8e688b97b2f7e2f80477134bd3dcb12f217f3 Mon Sep 17 00:00:00 2001
From: Benedikt Spranger <b.spranger@linutronix.de>
Date: Sat, 6 Mar 2010 17:47:10 +0100
Subject: [PATCH 039/282] ARM: AT91: PIT: Remove irq handler when clock event
Subject: [PATCH 039/277] ARM: AT91: PIT: Remove irq handler when clock event
is unused
Setup and remove the interrupt handler in clock event mode selection.

View File

@ -1,7 +1,7 @@
From c663f3c77a47b494829bba21208b32b7468e10a1 Mon Sep 17 00:00:00 2001
From ba6efc0c126656984922773bf803409acc47b0ad Mon Sep 17 00:00:00 2001
From: Benedikt Spranger <b.spranger@linutronix.de>
Date: Mon, 8 Mar 2010 18:57:04 +0100
Subject: [PATCH 040/282] clocksource: TCLIB: Allow higher clock rates for
Subject: [PATCH 040/277] clocksource: TCLIB: Allow higher clock rates for
clock events
As default the TCLIB uses the 32KiHz base clock rate for clock events.

View File

@ -1,7 +1,7 @@
From 43d8e50128290b6f176551cbb4e0c914a41483fa Mon Sep 17 00:00:00 2001
From 30026103d2f04b6f446d8b380c085d8e8c8e99f0 Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 3 Jul 2009 08:30:18 -0500
Subject: [PATCH 041/282] drivers/net: tulip_remove_one needs to call
Subject: [PATCH 041/277] drivers/net: tulip_remove_one needs to call
pci_disable_device()
Otherwise the device is not completely shut down.

View File

@ -1,7 +1,7 @@
From 44ce96bb095262405acdaf6273702bcae65a7a5c Mon Sep 17 00:00:00 2001
From 550a3f042f8f8f7e45750e3b54726b068adf8c7a Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 3 Jul 2009 08:29:24 -0500
Subject: [PATCH 042/282] drivers/net: Use disable_irq_nosync() in 8139too
Subject: [PATCH 042/277] drivers/net: Use disable_irq_nosync() in 8139too
Use disable_irq_nosync() instead of disable_irq() as this might be
called in atomic context with netpoll.

View File

@ -1,7 +1,7 @@
From b108d0a78f44b51092f1832a7186f5f6e24e62ec Mon Sep 17 00:00:00 2001
From ea33c7d97bd60ebb26a278508c3a10c3fdd4b2e8 Mon Sep 17 00:00:00 2001
From: Darren Hart <dvhltc@us.ibm.com>
Date: Tue, 18 May 2010 14:33:07 -0700
Subject: [PATCH 043/282] drivers: net: ehea: Make rx irq handler non-threaded
Subject: [PATCH 043/277] drivers: net: ehea: Make rx irq handler non-threaded
(IRQF_NO_THREAD)
The underlying hardware is edge triggered but presented by XICS as level

View File

@ -1,7 +1,7 @@
From cab3b57256443dd4f0a2abb34385d5628b5c64f8 Mon Sep 17 00:00:00 2001
From e255f0a7ce50e57c327c05937e26f7d386f92bfe Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Tue, 17 Nov 2009 12:02:43 +0100
Subject: [PATCH 044/282] drivers: net: at91_ether: Make mdio protection -rt
Subject: [PATCH 044/277] drivers: net: at91_ether: Make mdio protection -rt
safe
Neither the phy interrupt nor the timer callback which updates the

View File

@ -1,7 +1,7 @@
From 2f48b271a36fd8ae61b91bebf615b0012edca4e7 Mon Sep 17 00:00:00 2001
From dcd3123c0f8c68fd3afc437e59082782b129bf82 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 21 Mar 2011 13:32:17 +0100
Subject: [PATCH 045/282] preempt-mark-legitimated-no-resched-sites.patch
Subject: [PATCH 045/277] preempt-mark-legitimated-no-resched-sites.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
@ -67,10 +67,10 @@ index 58969b2..227b0f5 100644
#define preempt_enable() do { } while (0)
diff --git a/kernel/sched.c b/kernel/sched.c
index 9be2b0e..cd07a59 100644
index cfb575d..231081a 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -4414,7 +4414,7 @@ need_resched:
@@ -4601,7 +4601,7 @@ need_resched:
post_schedule(rq);
@ -79,7 +79,7 @@ index 9be2b0e..cd07a59 100644
if (need_resched())
goto need_resched;
}
@@ -4462,7 +4462,7 @@ EXPORT_SYMBOL(schedule);
@@ -4649,7 +4649,7 @@ EXPORT_SYMBOL(schedule);
*/
void __sched schedule_preempt_disabled(void)
{
@ -88,7 +88,7 @@ index 9be2b0e..cd07a59 100644
schedule();
preempt_disable();
}
@@ -5704,7 +5704,7 @@ SYSCALL_DEFINE0(sched_yield)
@@ -5891,7 +5891,7 @@ SYSCALL_DEFINE0(sched_yield)
__release(rq->lock);
spin_release(&rq->lock.dep_map, 1, _THIS_IP_);
do_raw_spin_unlock(&rq->lock);

View File

@ -1,7 +1,7 @@
From 7615c02d701ec4b9eea84515e036bd2b599210a5 Mon Sep 17 00:00:00 2001
From a66c97210ba08c749aa3c5a8ea5badd3aaebfb57 Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 3 Jul 2009 08:30:37 -0500
Subject: [PATCH 046/282] mm: Prepare decoupling the page fault disabling
Subject: [PATCH 046/277] mm: Prepare decoupling the page fault disabling
logic
Add a pagefault_disabled variable to task_struct to allow decoupling
@ -17,10 +17,10 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
4 files changed, 34 insertions(+), 30 deletions(-)
diff --git a/include/linux/sched.h b/include/linux/sched.h
index ed2b9f9..bce86f9 100644
index 3795654..4ccb25e 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1435,6 +1435,7 @@ struct task_struct {
@@ -1439,6 +1439,7 @@ struct task_struct {
/* mutex deadlock detection */
struct mutex_waiter *blocked_on;
#endif
@ -74,10 +74,10 @@ index 5ca0951..9414a1b 100644
#ifndef ARCH_HAS_NOCACHE_UACCESS
diff --git a/kernel/fork.c b/kernel/fork.c
index 7335449..e2b9104 100644
index d1c6b43..a49f324 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1198,6 +1198,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
@@ -1201,6 +1201,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
p->hardirq_context = 0;
p->softirq_context = 0;
#endif
@ -86,10 +86,10 @@ index 7335449..e2b9104 100644
p->lockdep_depth = 0; /* no locks held yet */
p->curr_chain_key = 0;
diff --git a/mm/memory.c b/mm/memory.c
index 1b1ca17..454ad3f 100644
index 70f5daf..b50e579 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -3444,6 +3444,35 @@ unlock:
@@ -3447,6 +3447,35 @@ unlock:
return 0;
}

View File

@ -1,7 +1,7 @@
From fbf8000eb917b81ecc2d88a15e0b08f5037455fc Mon Sep 17 00:00:00 2001
From 5b9714616e3336b6fca87821e997202b5865d34a Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 17 Mar 2011 11:32:28 +0100
Subject: [PATCH 047/282] mm: Fixup all fault handlers to check
Subject: [PATCH 047/277] mm: Fixup all fault handlers to check
current->pagefault_disable
Necessary for decoupling pagefault disable from preempt count.
@ -203,7 +203,7 @@ index 5efe8c9..17f8bbe 100644
return SIGSEGV;
/* in_atomic() in user mode is really bad,
diff --git a/arch/s390/mm/fault.c b/arch/s390/mm/fault.c
index b28aaa4..4aaffe7 100644
index 0fc0a7e..b282958 100644
--- a/arch/s390/mm/fault.c
+++ b/arch/s390/mm/fault.c
@@ -294,7 +294,8 @@ static inline int do_exception(struct pt_regs *regs, int access,

View File

@ -1,7 +1,7 @@
From 78dc9bb9da11e3720c1ec2a8837fd8c9683fc19b Mon Sep 17 00:00:00 2001
From 491e202dcc0577685395039bd7ccd99369a4c1d0 Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <a.p.zijlstra@chello.nl>
Date: Thu, 11 Aug 2011 15:31:31 +0200
Subject: [PATCH 048/282] mm: pagefault_disabled()
Subject: [PATCH 048/277] mm: pagefault_disabled()
Wrap the test for pagefault_disabled() into a helper, this allows us
to remove the need for current->pagefault_disabled on !-rt kernels.
@ -206,7 +206,7 @@ index 17f8bbe..94bedd4 100644
return SIGSEGV;
/* in_atomic() in user mode is really bad,
diff --git a/arch/s390/mm/fault.c b/arch/s390/mm/fault.c
index 4aaffe7..78339f0 100644
index b282958..feb5518 100644
--- a/arch/s390/mm/fault.c
+++ b/arch/s390/mm/fault.c
@@ -294,8 +294,8 @@ static inline int do_exception(struct pt_regs *regs, int access,
@ -336,7 +336,7 @@ index 705f483..8f3f52a 100644
return;
}
diff --git a/include/linux/sched.h b/include/linux/sched.h
index bce86f9..8cb4365 100644
index 4ccb25e..2dc6c48 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -91,6 +91,7 @@ struct sched_param {
@ -347,7 +347,7 @@ index bce86f9..8cb4365 100644
#include <asm/processor.h>
@@ -1435,7 +1436,9 @@ struct task_struct {
@@ -1439,7 +1440,9 @@ struct task_struct {
/* mutex deadlock detection */
struct mutex_waiter *blocked_on;
#endif
@ -357,7 +357,7 @@ index bce86f9..8cb4365 100644
#ifdef CONFIG_TRACE_IRQFLAGS
unsigned int irq_events;
unsigned long hardirq_enable_ip;
@@ -1584,6 +1587,17 @@ struct task_struct {
@@ -1588,6 +1591,17 @@ struct task_struct {
/* Future-safe accessor for struct task_struct's cpus_allowed. */
#define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed)
@ -376,10 +376,10 @@ index bce86f9..8cb4365 100644
* Priority of a process goes from 0..MAX_PRIO-1, valid RT
* priority is 0..MAX_RT_PRIO-1, and SCHED_NORMAL/SCHED_BATCH
diff --git a/kernel/fork.c b/kernel/fork.c
index e2b9104..88712a6 100644
index a49f324..78335bb 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1198,7 +1198,9 @@ static struct task_struct *copy_process(unsigned long clone_flags,
@@ -1201,7 +1201,9 @@ static struct task_struct *copy_process(unsigned long clone_flags,
p->hardirq_context = 0;
p->softirq_context = 0;
#endif

View File

@ -1,7 +1,7 @@
From e27a4556f56fb713cc29af31d59d6525a71fd3ed Mon Sep 17 00:00:00 2001
From 3713a549e43b43d4717fd8231e7b9d3a1638bc21 Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <a.p.zijlstra@chello.nl>
Date: Fri, 5 Aug 2011 17:16:58 +0200
Subject: [PATCH 049/282] mm: raw_pagefault_disable
Subject: [PATCH 049/277] mm: raw_pagefault_disable
Adding migrate_disable() to pagefault_disable() to preserve the
per-cpu thing for kmap_atomic might not have been the best of choices.
@ -130,10 +130,10 @@ index 9414a1b..44b3751 100644
ret; \
})
diff --git a/mm/memory.c b/mm/memory.c
index 454ad3f..a3f7ed8 100644
index b50e579..cbbba51 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -3444,6 +3444,7 @@ unlock:
@@ -3447,6 +3447,7 @@ unlock:
return 0;
}
@ -141,7 +141,7 @@ index 454ad3f..a3f7ed8 100644
void pagefault_disable(void)
{
inc_preempt_count();
@@ -3472,6 +3473,7 @@ void pagefault_enable(void)
@@ -3475,6 +3476,7 @@ void pagefault_enable(void)
preempt_check_resched();
}
EXPORT_SYMBOL_GPL(pagefault_enable);

View File

@ -1,7 +1,7 @@
From fa9d4ffc8aacc17767dda0adb318f21c15caa0dc Mon Sep 17 00:00:00 2001
From c2a1f53889ed9690c8a6d71489f349d63e7d152a Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 17 Jun 2011 18:56:24 +0200
Subject: [PATCH 050/282] filemap-fix-up.patch
Subject: [PATCH 050/277] filemap-fix-up.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Wrecked-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
@ -11,10 +11,10 @@ Link: http://lkml.kernel.org/n/tip-m6yuzd6ul717hlnl2gj6p3ou@git.kernel.org
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/filemap.c b/mm/filemap.c
index 03c5b0e..4a30d36 100644
index 556858c..015f07e 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -2044,7 +2044,7 @@ size_t iov_iter_copy_from_user_atomic(struct page *page,
@@ -2047,7 +2047,7 @@ size_t iov_iter_copy_from_user_atomic(struct page *page,
char *kaddr;
size_t copied;

View File

@ -1,7 +1,7 @@
From f7459d07318f682ab2718c16381850151938d439 Mon Sep 17 00:00:00 2001
From f741483ccf4f424c038c98c3706ffd0cf4d269f6 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sat, 25 Jul 2009 22:06:27 +0200
Subject: [PATCH 051/282] mm: Remove preempt count from pagefault
Subject: [PATCH 051/277] mm: Remove preempt count from pagefault
disable/enable
Now that all users are cleaned up, we can remove the preemption count.
@ -12,10 +12,10 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 file changed, 7 deletions(-)
diff --git a/mm/memory.c b/mm/memory.c
index a3f7ed8..7fa62d9 100644
index cbbba51..c2575a6 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -3447,7 +3447,6 @@ unlock:
@@ -3450,7 +3450,6 @@ unlock:
#ifdef CONFIG_PREEMPT_RT_FULL
void pagefault_disable(void)
{
@ -23,7 +23,7 @@ index a3f7ed8..7fa62d9 100644
current->pagefault_disabled++;
/*
* make sure to have issued the store before a pagefault
@@ -3465,12 +3464,6 @@ void pagefault_enable(void)
@@ -3468,12 +3467,6 @@ void pagefault_enable(void)
*/
barrier();
current->pagefault_disabled--;

View File

@ -1,7 +1,7 @@
From 1258748aa11e6d483bcd1d697725f48be5915d05 Mon Sep 17 00:00:00 2001
From 8fcf0d364ca339c9c38ffbfbfa796efab33e5043 Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 3 Jul 2009 08:29:25 -0500
Subject: [PATCH 052/282] x86: highmem: Replace BUG_ON by WARN_ON
Subject: [PATCH 052/277] x86: highmem: Replace BUG_ON by WARN_ON
The machine might survive that problem and be at least in a state
which allows us to get more information about the problem.

View File

@ -1,7 +1,7 @@
From 078b6c93d66f27b476c95d7fc1a2355e928777f0 Mon Sep 17 00:00:00 2001
From 56fb8114e86a0a6a3644c08d5d5780090fd24756 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 15 Jul 2010 10:29:00 +0200
Subject: [PATCH 053/282] suspend: Prevent might sleep splats
Subject: [PATCH 053/277] suspend: Prevent might sleep splats
timekeeping suspend/resume calls read_persistant_clock() which takes
rtc_lock. That results in might sleep warnings because at that point
@ -37,7 +37,7 @@ index a70783d..22bdd4b 100644
#define TAINT_PROPRIETARY_MODULE 0
diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c
index 7c0d578..32741e2 100644
index 013bd2e..5b5dab4 100644
--- a/kernel/power/hibernate.c
+++ b/kernel/power/hibernate.c
@@ -284,6 +284,8 @@ static int create_image(int platform_mode)
@ -57,7 +57,7 @@ index 7c0d578..32741e2 100644
local_irq_enable();
Enable_cpus:
@@ -437,6 +440,7 @@ static int resume_target_kernel(bool platform_mode)
@@ -439,6 +442,7 @@ static int resume_target_kernel(bool platform_mode)
goto Enable_cpus;
local_irq_disable();
@ -65,7 +65,7 @@ index 7c0d578..32741e2 100644
error = syscore_suspend();
if (error)
@@ -470,6 +474,7 @@ static int resume_target_kernel(bool platform_mode)
@@ -472,6 +476,7 @@ static int resume_target_kernel(bool platform_mode)
syscore_resume();
Enable_irqs:
@ -73,7 +73,7 @@ index 7c0d578..32741e2 100644
local_irq_enable();
Enable_cpus:
@@ -549,6 +554,7 @@ int hibernation_platform_enter(void)
@@ -554,6 +559,7 @@ int hibernation_platform_enter(void)
goto Platform_finish;
local_irq_disable();
@ -81,7 +81,7 @@ index 7c0d578..32741e2 100644
syscore_suspend();
if (pm_wakeup_pending()) {
error = -EAGAIN;
@@ -561,6 +567,7 @@ int hibernation_platform_enter(void)
@@ -566,6 +572,7 @@ int hibernation_platform_enter(void)
Power_up:
syscore_resume();
@ -90,10 +90,10 @@ index 7c0d578..32741e2 100644
enable_nonboot_cpus();
diff --git a/kernel/power/suspend.c b/kernel/power/suspend.c
index 4953dc0..691f46e 100644
index af48faa..ad3690c 100644
--- a/kernel/power/suspend.c
+++ b/kernel/power/suspend.c
@@ -171,6 +171,8 @@ static int suspend_enter(suspend_state_t state, bool *wakeup)
@@ -172,6 +172,8 @@ static int suspend_enter(suspend_state_t state, bool *wakeup)
arch_suspend_disable_irqs();
BUG_ON(!irqs_disabled());
@ -102,7 +102,7 @@ index 4953dc0..691f46e 100644
error = syscore_suspend();
if (!error) {
*wakeup = pm_wakeup_pending();
@@ -181,6 +183,8 @@ static int suspend_enter(suspend_state_t state, bool *wakeup)
@@ -182,6 +184,8 @@ static int suspend_enter(suspend_state_t state, bool *wakeup)
syscore_resume();
}

View File

@ -1,7 +1,7 @@
From d0ce0d14fafba01db2056a5c0fcfa838ed34e6ee Mon Sep 17 00:00:00 2001
From 3d93eb4bace897b592509005063ed35825f4fe2c Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 13 Aug 2009 09:04:10 +0200
Subject: [PATCH 054/282] OF: Fixup resursive locking code paths
Subject: [PATCH 054/277] OF: Fixup resursive locking code paths
There is no real reason to use a rwlock for devtree_lock. It even
could be a mutex, but unfortunately it's locked from cpu hotplug

View File

@ -1,7 +1,7 @@
From d154b3c810bbe4485d3cc23193a75fbecaf2726b Mon Sep 17 00:00:00 2001
From de0a36126d7d9317ace8a136aaca091d7fdc5e47 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 21 Mar 2011 14:35:34 +0100
Subject: [PATCH 055/282] of-convert-devtree-lock.patch
Subject: [PATCH 055/277] of-convert-devtree-lock.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---

View File

@ -1,7 +1,7 @@
From 4d745bfbec66adc7ae9337aabff613d849d8da21 Mon Sep 17 00:00:00 2001
From 93f15d6349956a588727f1554be759e2dec43e60 Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org>
Date: Tue, 21 Jun 2011 11:22:36 +0200
Subject: [PATCH 056/282] list-add-list-last-entry.patch
Subject: [PATCH 056/277] list-add-list-last-entry.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---

View File

@ -1,7 +1,7 @@
From 8021899f80982b92a331dff238dbf25e5e969899 Mon Sep 17 00:00:00 2001
From 154410700283ef6988cb41c9108a7194cd20dce8 Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <peterz@infradead.org>
Date: Tue, 21 Jun 2011 11:24:35 +0200
Subject: [PATCH 057/282] mm-page-alloc-use-list-last-entry.patch
Subject: [PATCH 057/277] mm-page-alloc-use-list-last-entry.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
@ -9,7 +9,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 485be89..3344154 100644
index 6e51bf0..9a27890 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -625,7 +625,7 @@ static void free_pcppages_bulk(struct zone *zone, int count,

View File

@ -1,7 +1,7 @@
From 894cd71ae35e2b9734b63eed62d811719e7907b0 Mon Sep 17 00:00:00 2001
From ad6fa234efec5df10368fdc6f2a60c79e5b818af Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 20 Jun 2011 10:42:04 +0200
Subject: [PATCH 058/282] mm-slab-move-debug-out.patch
Subject: [PATCH 058/277] mm-slab-move-debug-out.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
@ -9,10 +9,10 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mm/slab.c b/mm/slab.c
index b76905e..1fd9983 100644
index 2ab1bc2..d98f861 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -3851,10 +3851,10 @@ void kmem_cache_free(struct kmem_cache *cachep, void *objp)
@@ -3854,10 +3854,10 @@ void kmem_cache_free(struct kmem_cache *cachep, void *objp)
{
unsigned long flags;
@ -24,7 +24,7 @@ index b76905e..1fd9983 100644
__cache_free(cachep, objp, __builtin_return_address(0));
local_irq_restore(flags);
@@ -3880,11 +3880,11 @@ void kfree(const void *objp)
@@ -3883,11 +3883,11 @@ void kfree(const void *objp)
if (unlikely(ZERO_OR_NULL_PTR(objp)))
return;

View File

@ -1,7 +1,7 @@
From c225a3215efc938787996cbe096d40e537992095 Mon Sep 17 00:00:00 2001
From d3e37730ccc5455b598ef216f10769b10560dce5 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 15 Jul 2011 21:24:27 +0200
Subject: [PATCH 059/282] rwsem-inlcude-fix.patch
Subject: [PATCH 059/277] rwsem-inlcude-fix.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---

View File

@ -1,7 +1,7 @@
From 0eb27cfadcebc59193ebb781e4b3c446eac76b6a Mon Sep 17 00:00:00 2001
From 5fd2b1e5aead0fe3ff03d7c81f7666ea69170fd8 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 14 Nov 2011 10:52:34 +0100
Subject: [PATCH 060/282] sysctl-include-fix.patch
Subject: [PATCH 060/277] sysctl-include-fix.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---

View File

@ -1,7 +1,7 @@
From 6e65253540403f6d75e1a84db73e842df83b33ac Mon Sep 17 00:00:00 2001
From 2a30ae5ad9a6bdd2e07339674d5e99babb4cc012 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Tue, 28 Jun 2011 10:59:58 +0200
Subject: [PATCH 061/282] net-flip-lock-dep-thingy.patch
Subject: [PATCH 061/277] net-flip-lock-dep-thingy.patch
=======================================================
[ INFO: possible circular locking dependency detected ]

View File

@ -1,7 +1,7 @@
From 7b28ede15f53b267a06036e16e25e7c2e94cf1fc Mon Sep 17 00:00:00 2001
From a490c263b9036b1820574dec2cd520cb56f3ed48 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Tue, 28 Jun 2011 15:44:15 +0200
Subject: [PATCH 062/282] softirq-thread-do-softirq.patch
Subject: [PATCH 062/277] softirq-thread-do-softirq.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
@ -23,10 +23,10 @@ index a64b00e..21b94de 100644
extern void softirq_init(void);
static inline void __raise_softirq_irqoff(unsigned int nr)
diff --git a/net/core/dev.c b/net/core/dev.c
index 1cbddc9..1297da7 100644
index 4b18703..0a81763 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -3031,7 +3031,7 @@ int netif_rx_ni(struct sk_buff *skb)
@@ -3011,7 +3011,7 @@ int netif_rx_ni(struct sk_buff *skb)
preempt_disable();
err = netif_rx(skb);
if (local_softirq_pending())

View File

@ -1,7 +1,7 @@
From ea39fba1257ff352dda686d745b385e6895d09dc Mon Sep 17 00:00:00 2001
From b26ba1d1cc1bc3e2c57c185ad75085df071280bd Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Tue, 28 Jun 2011 15:46:49 +0200
Subject: [PATCH 063/282] softirq-split-out-code.patch
Subject: [PATCH 063/277] softirq-split-out-code.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---

View File

@ -1,7 +1,7 @@
From 1eba6b2acc30d0cbdf7d16c410ccd07319a46428 Mon Sep 17 00:00:00 2001
From 6a2020db920a7a51fbe494e9f7b2445ee6c881aa Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 3 Jul 2009 08:29:27 -0500
Subject: [PATCH 064/282] x86: Do not unmask io_apic when interrupt is in
Subject: [PATCH 064/277] x86: Do not unmask io_apic when interrupt is in
progress
With threaded interrupts we might see an interrupt in progress on

View File

@ -1,7 +1,7 @@
From 1341768c6a3013a696272a93c096bef4d93c697e Mon Sep 17 00:00:00 2001
From 1cd350333b5183647c4e8f2447fde2cd1672cdc9 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 18 Jul 2011 15:59:38 +0200
Subject: [PATCH 065/282] x86-32-fix-signal-crap.patch
Subject: [PATCH 065/277] x86-32-fix-signal-crap.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---

View File

@ -1,7 +1,7 @@
From 4f4cbb93b53763c662169b6aae8238d1ab448982 Mon Sep 17 00:00:00 2001
From 4eb2e3862e4b6ffe2406c6c118f040f25a4e9aad Mon Sep 17 00:00:00 2001
From: Steven Rostedt <rostedt@goodmis.org>
Date: Tue, 10 Apr 2012 14:33:57 -0400
Subject: [PATCH 066/282] x86: Do not disable preemption in int3 on 32bit
Subject: [PATCH 066/277] x86: Do not disable preemption in int3 on 32bit
Preemption must be disabled before enabling interrupts in do_trap
on x86_64 because the stack in use for int3 and debug is a per CPU

View File

@ -1,7 +1,7 @@
From 4edf87bafe6164db4955cc5ce348afa435ca7388 Mon Sep 17 00:00:00 2001
From 5e997e26264eace044ce0fa8c47e7ab4f5ccf1bf Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 24 Jun 2011 22:23:02 +0200
Subject: [PATCH 067/282] rcu: Reduce lock section
Subject: [PATCH 067/277] rcu: Reduce lock section
So the waitqueue wakeup is outside the raw locked section.

View File

@ -1,7 +1,7 @@
From d41167e625e97da6ff9544cb3bbeb27aaf9aeba9 Mon Sep 17 00:00:00 2001
From 88ff5937c93002eabc823cac0cf688f3ae322098 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sun, 17 Jul 2011 21:25:03 +0200
Subject: [PATCH 068/282] locking-various-init-fixes.patch
Subject: [PATCH 068/277] locking-various-init-fixes.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
@ -13,10 +13,10 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
5 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/char/random.c b/drivers/char/random.c
index 786a856..026bdbb 100644
index 6380143..3e1bdd0 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -433,7 +433,7 @@ static struct entropy_store input_pool = {
@@ -445,7 +445,7 @@ static struct entropy_store input_pool = {
.poolinfo = &poolinfo_table[0],
.name = "input",
.limit = 1,
@ -25,7 +25,7 @@ index 786a856..026bdbb 100644
.pool = input_pool_data
};
@@ -442,7 +442,7 @@ static struct entropy_store blocking_pool = {
@@ -454,7 +454,7 @@ static struct entropy_store blocking_pool = {
.name = "blocking",
.limit = 1,
.pull = &input_pool,
@ -34,7 +34,7 @@ index 786a856..026bdbb 100644
.pool = blocking_pool_data
};
@@ -450,7 +450,7 @@ static struct entropy_store nonblocking_pool = {
@@ -462,7 +462,7 @@ static struct entropy_store nonblocking_pool = {
.poolinfo = &poolinfo_table[1],
.name = "nonblocking",
.pull = &input_pool,

View File

@ -1,7 +1,7 @@
From 95333bbde8ea68c4afcdaafdb1b453591fc2df8b Mon Sep 17 00:00:00 2001
From 2a7221e4372e2896b5926a44910727b25766bcc0 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 1 Dec 2011 00:04:00 +0100
Subject: [PATCH 069/282] wait: Provide __wake_up_all_locked
Subject: [PATCH 069/277] wait: Provide __wake_up_all_locked
For code which protects the waitqueue itself with another lock it
makes no sense to acquire the waitqueue lock for wakeup all. Provide
@ -38,10 +38,10 @@ index 3efc9f3..1e904b8 100644
#define wake_up_interruptible(x) __wake_up(x, TASK_INTERRUPTIBLE, 1, NULL)
#define wake_up_interruptible_nr(x, nr) __wake_up(x, TASK_INTERRUPTIBLE, nr, NULL)
diff --git a/kernel/sched.c b/kernel/sched.c
index cd07a59..f2fc6ee 100644
index 231081a..86cc07e 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -4636,9 +4636,9 @@ EXPORT_SYMBOL(__wake_up);
@@ -4823,9 +4823,9 @@ EXPORT_SYMBOL(__wake_up);
/*
* Same as __wake_up but called with the spinlock in wait_queue_head_t held.
*/

View File

@ -1,7 +1,7 @@
From 8c721a627561fd4b14ff3638e563f02412813c20 Mon Sep 17 00:00:00 2001
From 64b480037a402b649f456b2d430b174a3feff46f Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 1 Dec 2011 00:07:16 +0100
Subject: [PATCH 070/282] pci: Use __wake_up_all_locked
Subject: [PATCH 070/277] pci: Use __wake_up_all_locked
pci_unblock_user_cfg_access()
The waitqueue is protected by the pci_lock, so we can just avoid to

View File

@ -1,7 +1,7 @@
From f1b6f7811c3b510ff767bb639e71ca80cb2590af Mon Sep 17 00:00:00 2001
From 2ef79b92159c5c2667517cdb8740b28ad7f811c6 Mon Sep 17 00:00:00 2001
From: Carsten Emde <C.Emde@osadl.org>
Date: Tue, 19 Jul 2011 14:03:41 +0100
Subject: [PATCH 071/282] latency-hist.patch
Subject: [PATCH 071/277] latency-hist.patch
This patch provides a recording mechanism to store data of potential
sources of system latencies. The recordings separately determine the
@ -221,10 +221,10 @@ index 0000000..6f2aeab
+
+These data are also reset when the wakeup histogram is reset.
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 8cb4365..30ac0b5 100644
index 2dc6c48..c533510 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1570,6 +1570,12 @@ struct task_struct {
@@ -1574,6 +1574,12 @@ struct task_struct {
unsigned long trace;
/* bitmask and counter of trace recursion */
unsigned long trace_recursion;
@ -349,7 +349,7 @@ index 0000000..d6b5d77
+#endif /* _LATENCY_HIST_H */
+
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
index ae34bf5..1a3695e 100644
index 6db7a5e..7eec82d 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
@@ -49,6 +49,7 @@
@ -360,7 +360,7 @@ index ae34bf5..1a3695e 100644
/*
* The timer bases:
@@ -1236,6 +1237,8 @@ static void __run_hrtimer(struct hrtimer *timer, ktime_t *now)
@@ -1246,6 +1247,8 @@ static void __run_hrtimer(struct hrtimer *timer, ktime_t *now)
#ifdef CONFIG_HIGH_RES_TIMERS
@ -369,7 +369,7 @@ index ae34bf5..1a3695e 100644
/*
* High resolution timer interrupt
* Called with interrupts disabled
@@ -1280,6 +1283,14 @@ retry:
@@ -1289,6 +1292,14 @@ retry:
timer = container_of(node, struct hrtimer, node);

View File

@ -1,7 +1,7 @@
From 45ef50eea34f9e78db789e06cf73c681973d1517 Mon Sep 17 00:00:00 2001
From 6e0ff8d6098f52ded9df4112840f94d4287d5545 Mon Sep 17 00:00:00 2001
From: Carsten Emde <C.Emde@osadl.org>
Date: Tue, 19 Jul 2011 13:53:12 +0100
Subject: [PATCH 072/282] hwlatdetect.patch
Subject: [PATCH 072/277] hwlatdetect.patch
Jon Masters developed this wonderful SMI detector. For details please
consult Documentation/hwlat_detector.txt. It could be ported to Linux

View File

@ -1,7 +1,7 @@
From 82af6fac99160166f358d78e7f6e0c33e4d6d9ee Mon Sep 17 00:00:00 2001
From a5501567ba9a9840350a11283515a323b7393c64 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 8 Jul 2011 20:25:16 +0200
Subject: [PATCH 073/282] localversion.patch
Subject: [PATCH 073/277] localversion.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>

View File

@ -1,7 +1,7 @@
From 5251d708a751e91857000a401c0b220028c1189a Mon Sep 17 00:00:00 2001
From 2073f27cb66ae5cb8aafe318add97acf1e894410 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sat, 23 Jul 2011 11:04:08 +0200
Subject: [PATCH 074/282] early-printk-consolidate.patch
Subject: [PATCH 074/277] early-printk-consolidate.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---

View File

@ -1,7 +1,7 @@
From 5a299cda552af0c2bab626d3730c4cbeade11c2b Mon Sep 17 00:00:00 2001
From 9930bfd023036f40bcc8cee8bee1ce7b43d6b2e1 Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 22 Jul 2011 17:58:40 +0200
Subject: [PATCH 075/282] printk-kill.patch
Subject: [PATCH 075/277] printk-kill.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---

View File

@ -1,7 +1,7 @@
From ad64ef7c94c9a86722a1f9ce1664793baa28c5f5 Mon Sep 17 00:00:00 2001
From a32b819c2a0a6a57c37a9549420fcf7f67b9d76f Mon Sep 17 00:00:00 2001
From: Peter Zijlstra <a.p.zijlstra@chello.nl>
Date: Fri, 2 Sep 2011 14:29:33 +0200
Subject: [PATCH 076/282] printk: 'force_early_printk' boot param to help with
Subject: [PATCH 076/277] printk: 'force_early_printk' boot param to help with
debugging
Gives me an option to screw printk and actually see what the machine

View File

@ -1,7 +1,7 @@
From 048d30367fa7a4243c27d9c4874790fd256f5278 Mon Sep 17 00:00:00 2001
From ef0db4f0136d7876a188fd943e1b0fe5c9765987 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 17 Jun 2011 12:39:57 +0200
Subject: [PATCH 077/282] rt-preempt-base-config.patch
Subject: [PATCH 077/277] rt-preempt-base-config.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---

View File

@ -1,7 +1,7 @@
From 64cf889529be62fc6cc62df1ae4df10e1370f3bf Mon Sep 17 00:00:00 2001
From 50d87944f953e0923cbb4eceb88df052dc8bdad7 Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 3 Jul 2009 08:29:58 -0500
Subject: [PATCH 078/282] bug: BUG_ON/WARN_ON variants dependend on RT/!RT
Subject: [PATCH 078/277] bug: BUG_ON/WARN_ON variants dependend on RT/!RT
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

View File

@ -1,7 +1,7 @@
From f0213bc69b3cf36e06957f512e389a115b187625 Mon Sep 17 00:00:00 2001
From 5f7199c0522b5ea3cff8550c140496350e24614c Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Tue, 21 Jul 2009 22:34:14 +0200
Subject: [PATCH 079/282] rt: local_irq_* variants depending on RT/!RT
Subject: [PATCH 079/277] rt: local_irq_* variants depending on RT/!RT
Add local_irq_*_(no)rt variant which are mainly used to break
interrupt disabled sections on PREEMPT_RT or to explicitely disable

View File

@ -1,7 +1,7 @@
From c47b4bddc79e58cebe5229a428070e252f096131 Mon Sep 17 00:00:00 2001
From cc4cb84858c86a283939c73c689989b8b20ed031 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 24 Jul 2009 12:38:56 +0200
Subject: [PATCH 080/282] preempt: Provide preempt_*_(no)rt variants
Subject: [PATCH 080/277] preempt: Provide preempt_*_(no)rt variants
RT needs a few preempt_disable/enable points which are not necessary
otherwise. Implement variants to avoid #ifdeffery.

View File

@ -1,7 +1,7 @@
From 0355a5d1ba96389a4de2667088e226c46761b198 Mon Sep 17 00:00:00 2001
From 49e6593304aece5897b9b94053441cd9f7cf193b Mon Sep 17 00:00:00 2001
From: Steven Rostedt <srostedt@redhat.com>
Date: Fri, 3 Jul 2009 08:44:29 -0500
Subject: [PATCH 081/282] ata: Do not disable interrupts in ide code for
Subject: [PATCH 081/277] ata: Do not disable interrupts in ide code for
preempt-rt
Use the local_irq_*_nort variants.

View File

@ -1,7 +1,7 @@
From b6cee1d8a3da934baf76350fe3ba25b7b52ad6a8 Mon Sep 17 00:00:00 2001
From 5ddb94c98ee45f3148daf6e37c58ed773e8a1ba0 Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 3 Jul 2009 08:30:16 -0500
Subject: [PATCH 082/282] ide: Do not disable interrupts for PREEMPT-RT
Subject: [PATCH 082/277] ide: Do not disable interrupts for PREEMPT-RT
Use the local_irq_*_nort variants.

View File

@ -1,7 +1,7 @@
From 7191d9fbd82214e96f5d0c1e3bdf03da46b45110 Mon Sep 17 00:00:00 2001
From f9ed6bfe38c0afa3f7f8b987d7c5e68635c4ac80 Mon Sep 17 00:00:00 2001
From: Sven-Thorsten Dietrich <sdietrich@novell.com>
Date: Fri, 3 Jul 2009 08:30:35 -0500
Subject: [PATCH 083/282] infiniband: Mellanox IB driver patch use _nort()
Subject: [PATCH 083/277] infiniband: Mellanox IB driver patch use _nort()
primitives
Fixes in_atomic stack-dump, when Mellanox module is loaded into the RT

View File

@ -1,7 +1,7 @@
From 1e4ffeae63f0926e3c7821161b6278ec8c386851 Mon Sep 17 00:00:00 2001
From bda7a1aa2c84b4cc899008a1aa8bfbea9b0ef3c7 Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 3 Jul 2009 08:30:16 -0500
Subject: [PATCH 084/282] input: gameport: Do not disable interrupts on
Subject: [PATCH 084/277] input: gameport: Do not disable interrupts on
PREEMPT_RT
Use the _nort() primitives.

View File

@ -1,7 +1,7 @@
From db36ca412027b33bd89dcc04e3c6a5680701dcc1 Mon Sep 17 00:00:00 2001
From 8c4fb7f39327a4dddf885a6086d5ef1c36d4170d Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Tue, 21 Jul 2009 22:54:51 +0200
Subject: [PATCH 085/282] acpi: Do not disable interrupts on PREEMPT_RT
Subject: [PATCH 085/277] acpi: Do not disable interrupts on PREEMPT_RT
Use the local_irq_*_nort() variants.

View File

@ -1,7 +1,7 @@
From 88cbbcb43fb045f6c34ef6a1364efdee81870385 Mon Sep 17 00:00:00 2001
From c82e86a64346e32498509ea9e88f7144ff3e3443 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Tue, 21 Jul 2009 23:06:05 +0200
Subject: [PATCH 086/282] core: Do not disable interrupts on RT in
Subject: [PATCH 086/277] core: Do not disable interrupts on RT in
kernel/users.c
Use the local_irq_*_nort variants to reduce latencies in RT. The code

View File

@ -1,7 +1,7 @@
From 254ee7aa44ceb7c5b659f3a875511419d23dc062 Mon Sep 17 00:00:00 2001
From 3098ec16021322bd4fec04b774b099037e61fe15 Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 3 Jul 2009 08:44:33 -0500
Subject: [PATCH 087/282] core: Do not disable interrupts on RT in
Subject: [PATCH 087/277] core: Do not disable interrupts on RT in
res_counter.c
Frederic Weisbecker reported this warning:

View File

@ -1,7 +1,7 @@
From 1fd0ba792a8c99d373a6321ce1926add58737ae5 Mon Sep 17 00:00:00 2001
From 6439e2293289631051367d2a1c899efba8eddaab Mon Sep 17 00:00:00 2001
From: Steven Rostedt <srostedt@redhat.com>
Date: Fri, 3 Jul 2009 08:44:26 -0500
Subject: [PATCH 088/282] usb: Use local_irq_*_nort() variants
Subject: [PATCH 088/277] usb: Use local_irq_*_nort() variants
[ tglx: Now that irqf_disabled is dead we should kill that ]

View File

@ -1,7 +1,7 @@
From 10df02eacb757eaffa3bf4d52b3e57df1e2513a3 Mon Sep 17 00:00:00 2001
From 749701d44c4e7397a930a3b21fe1d981c08cb48b Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 17 Aug 2009 19:49:19 +0200
Subject: [PATCH 089/282] tty: Do not disable interrupts in put_ldisc on -rt
Subject: [PATCH 089/277] tty: Do not disable interrupts in put_ldisc on -rt
Fixes the following on PREEMPT_RT:

View File

@ -1,7 +1,7 @@
From 42eda548462d57760f150d4ff36757301c2aebc1 Mon Sep 17 00:00:00 2001
From 2dddb280fc9b83687b29a48b681a95b36ea83051 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 3 Jul 2009 08:44:34 -0500
Subject: [PATCH 090/282] mm: scatterlist dont disable irqs on RT
Subject: [PATCH 090/277] mm: scatterlist dont disable irqs on RT
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---

View File

@ -1,7 +1,7 @@
From c21774940bc7629c44fe4af5c285479b84c30f73 Mon Sep 17 00:00:00 2001
From 8d12f24e07f5accf853d7ef82433ba6a4a050e4e Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 22 Jul 2011 08:07:08 +0200
Subject: [PATCH 091/282] signal-fix-up-rcu-wreckage.patch
Subject: [PATCH 091/277] signal-fix-up-rcu-wreckage.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---

View File

@ -1,7 +1,7 @@
From d699bd4579ad9e91080cdfcec188802134aae309 Mon Sep 17 00:00:00 2001
From 2044bfbd35dd6915273415db5aa6c6b3482dacf3 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Thu, 21 Jul 2011 21:05:33 +0200
Subject: [PATCH 092/282] net-wireless-warn-nort.patch
Subject: [PATCH 092/277] net-wireless-warn-nort.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---

View File

@ -1,7 +1,7 @@
From a5974a016d5d7ee7da04337fe2aa0b20f093a33b Mon Sep 17 00:00:00 2001
From 32324e955792e3c50568aafd493e3c1d1ec0f53c Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Wed, 19 Aug 2009 09:56:42 +0200
Subject: [PATCH 093/282] mm: Replace cgroup_page bit spinlock
Subject: [PATCH 093/277] mm: Replace cgroup_page bit spinlock
Bit spinlocks are not working on RT. Replace them.

View File

@ -1,7 +1,7 @@
From df26a5cba834d9f4d824e34a038718c8aa2e079e Mon Sep 17 00:00:00 2001
From 82b127a1a3f5f021691879aa34861f4cb7a54e37 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 18 Mar 2011 09:18:52 +0100
Subject: [PATCH 094/282] buffer_head: Replace bh_uptodate_lock for -rt
Subject: [PATCH 094/277] buffer_head: Replace bh_uptodate_lock for -rt
Wrap the bit_spin_lock calls into a separate inline and add the RT
replacements with a real spinlock.
@ -14,7 +14,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
3 files changed, 44 insertions(+), 21 deletions(-)
diff --git a/fs/buffer.c b/fs/buffer.c
index c807931..10e5ea2 100644
index 4115eca..039fbba 100644
--- a/fs/buffer.c
+++ b/fs/buffer.c
@@ -331,8 +331,7 @@ static void end_buffer_async_read(struct buffer_head *bh, int uptodate)
@ -76,7 +76,7 @@ index c807931..10e5ea2 100644
}
EXPORT_SYMBOL(end_buffer_async_write);
@@ -3225,6 +3217,7 @@ struct buffer_head *alloc_buffer_head(gfp_t gfp_flags)
@@ -3229,6 +3221,7 @@ struct buffer_head *alloc_buffer_head(gfp_t gfp_flags)
struct buffer_head *ret = kmem_cache_zalloc(bh_cachep, gfp_flags);
if (ret) {
INIT_LIST_HEAD(&ret->b_assoc_buffers);

View File

@ -1,7 +1,7 @@
From 5422b7a233df86ab0aa48bf871410c17b70ff9ba Mon Sep 17 00:00:00 2001
From f63d770a1a818f5e3a47cb92b037b7b1459af15c Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 18 Mar 2011 10:11:25 +0100
Subject: [PATCH 095/282] fs: jbd/jbd2: Make state lock and journal head lock
Subject: [PATCH 095/277] fs: jbd/jbd2: Make state lock and journal head lock
rt safe
bit_spin_locks break under RT.

View File

@ -1,7 +1,7 @@
From 56fe10c465dfcceb087a80ac3b04601aab51015f Mon Sep 17 00:00:00 2001
From e8fb2932c8424d4ec26667f442b8d18c9792d28a Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Fri, 18 Mar 2011 10:22:04 +0100
Subject: [PATCH 096/282] genirq: Disable DEBUG_SHIRQ for rt
Subject: [PATCH 096/277] genirq: Disable DEBUG_SHIRQ for rt
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---

View File

@ -0,0 +1,31 @@
From 639c58be9a11cdfb4dc97cfac51eb6b3c726d27d Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Tue, 21 Jul 2009 16:07:37 +0200
Subject: [PATCH 097/277] genirq: Disable random call on preempt-rt
The random call introduces high latencies and is almost
unused. Disable it for -rt.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
kernel/irq/handle.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c
index 10e0772..a768885 100644
--- a/kernel/irq/handle.c
+++ b/kernel/irq/handle.c
@@ -156,7 +156,10 @@ handle_irq_event_percpu(struct irq_desc *desc, struct irqaction *action)
action = action->next;
} while (action);
+#ifndef CONFIG_PREEMPT_RT_FULL
+ /* FIXME: Can we unbreak that ? */
add_interrupt_randomness(irq, flags);
+#endif
if (!noirqdebug)
note_interrupt(irq, desc, retval);
--
1.7.10

View File

@ -1,7 +1,7 @@
From c68b73d5f260690c9f1331823d57dd7bbc77501a Mon Sep 17 00:00:00 2001
From 3d3f0659ab6a6052e76b561633642b0eb937da55 Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Fri, 3 Jul 2009 08:29:57 -0500
Subject: [PATCH 098/282] genirq: disable irqpoll on -rt
Subject: [PATCH 098/277] genirq: disable irqpoll on -rt
Creates long latencies for no value

View File

@ -1,7 +1,7 @@
From a844f84d36323fda82577275b0d78d1f9a5b7deb Mon Sep 17 00:00:00 2001
From 3d3300a8deae1aa408af38e060a5681741726212 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sun, 3 Apr 2011 11:57:29 +0200
Subject: [PATCH 099/282] genirq-force-threading.patch
Subject: [PATCH 099/277] genirq-force-threading.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---

Some files were not shown because too many files have changed in this diff Show More