[rt] Update to 3.2.30-rt45

svn path=/dists/sid/linux/; revision=19428
This commit is contained in:
Ben Hutchings 2012-10-10 05:15:23 +00:00
parent fe2bf16875
commit 31166c5d8e
282 changed files with 901 additions and 1559 deletions

1
debian/changelog vendored
View File

@ -5,6 +5,7 @@ linux (3.2.30-2) UNRELEASED; urgency=low
* tg3: Fix TSO CAP for 5704 devs w / ASF enabled
* SUNRPC: Set alloc_slot for backchannel tcp ops (regression in 3.2.30)
* iwlwifi: Do not request unreleased firmware for IWL6000 (Closes: #689416)
* [rt] Update to 3.2.30-rt45
-- Ben Hutchings <ben@decadent.org.uk> Sat, 29 Sep 2012 14:19:46 +0200

View File

@ -1,7 +1,7 @@
From 725ba598c5ebd4ec77f6d3ec962d6ab2979dd920 Mon Sep 17 00:00:00 2001
From c0107fb6e406066fe2ea2ddec08465642b5caba1 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/278] Revert "workqueue: skip nr_running sanity check in
Subject: [PATCH 001/279] 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 a650bee..5f10406 100644
index 979d4de..e4f72b8 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -1215,13 +1215,8 @@ static void worker_enter_idle(struct worker *worker)
@ -33,6 +33,3 @@ index a650bee..5f10406 100644
atomic_read(get_gcwq_nr_running(gcwq->cpu)));
}
--
1.7.10

View File

@ -1,7 +1,7 @@
From 7a97f92df8e832ae54548829c4bc730a6d72ccc6 Mon Sep 17 00:00:00 2001
From 8d82cf985362d9c076de7c9c09ee02c83df5df21 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/278] x86: Call idle notifier after irq_enter()
Subject: [PATCH 002/279] 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
@ -150,6 +150,3 @@ index 429e0c9..5d31e5b 100644
inc_irq_stat(x86_platform_ipis);
if (x86_platform_ipi_callback)
--
1.7.10

View File

@ -1,7 +1,7 @@
From 5ec2b6e86384683829d92d05eba6da276b1ea074 Mon Sep 17 00:00:00 2001
From 29d251239b94a5f1c3ac48c80263e86bcafc882a 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/278] slab, lockdep: Annotate all slab caches
Subject: [PATCH 003/279] slab, lockdep: Annotate all slab caches
Currently we only annotate the kmalloc caches, annotate all of them.
@ -132,6 +132,3 @@ index cd3ab93..2ab1bc2 100644
/* cache setup completed, link it into the list */
list_add(&cachep->next, &cache_chain);
oops:
--
1.7.10

View File

@ -1,7 +1,7 @@
From 5bca309af751493b41793bc39f6c355a42b28b9d Mon Sep 17 00:00:00 2001
From 706a0afeea8b2b7e2437e0c42b9fbe6e227273bd 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/278] x86: kprobes: Remove remove bogus preempt_enable
Subject: [PATCH 004/279] x86: kprobes: Remove remove bogus preempt_enable
The CONFIG_PREEMPT=n section of setup_singlestep() contains:
@ -28,6 +28,3 @@ index 7da647d..5604455 100644
return;
}
#endif
--
1.7.10

View File

@ -1,7 +1,7 @@
From 4c705aa589faee0c03085164a6bc3568d837d031 Mon Sep 17 00:00:00 2001
From 49491a436b404bb21cf691ed81c318d4aebdf8cb 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/278] x86: hpet: Disable MSI on Lenovo W510
Subject: [PATCH 005/279] 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
@ -65,6 +65,3 @@ index 1bb0bf4..d86b821 100644
if (hpet_msi_disable)
return;
--
1.7.10

View File

@ -1,7 +1,7 @@
From fd2d8d719ca1033b352dd17b639c65384b4192d7 Mon Sep 17 00:00:00 2001
From ed5d2302703743ee776f883cd9c4f6f70c634b6b 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/278] block: Shorten interrupt disabled regions
Subject: [PATCH 006/279] 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
@ -116,6 +116,3 @@ index 49d9e91..33bf42c 100644
}
void blk_finish_plug(struct blk_plug *plug)
--
1.7.10

View File

@ -1,7 +1,7 @@
From dc3b172ea83cb5c21f627c701aad214041d591eb Mon Sep 17 00:00:00 2001
From 69fede1fd86b2673c8df8e977460ad981c4385e8 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/278] sched: Distangle worker accounting from rq-%3Elock
Subject: [PATCH 007/279] 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,7 +30,7 @@ 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 e0431c4..96e6c01 100644
index 910db7d..07a2a01 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -2640,10 +2640,6 @@ static void ttwu_activate(struct rq *rq, struct task_struct *p, int en_flags)
@ -85,7 +85,7 @@ index e0431c4..96e6c01 100644
* wake_up_process - Wake up a specific process
* @p: The process to be woken up.
*
@@ -4606,19 +4568,6 @@ need_resched:
@@ -4612,19 +4574,6 @@ need_resched:
} else {
deactivate_task(rq, prev, DEQUEUE_SLEEP);
prev->on_rq = 0;
@ -105,7 +105,7 @@ index e0431c4..96e6c01 100644
}
switch_count = &prev->nvcsw;
}
@@ -4661,6 +4610,14 @@ static inline void sched_submit_work(struct task_struct *tsk)
@@ -4667,6 +4616,14 @@ static inline void sched_submit_work(struct task_struct *tsk)
{
if (!tsk->state)
return;
@ -120,7 +120,7 @@ index e0431c4..96e6c01 100644
/*
* If we are going to sleep and we have plugged IO queued,
* make sure to submit it to avoid deadlocks.
@@ -4669,12 +4626,19 @@ static inline void sched_submit_work(struct task_struct *tsk)
@@ -4675,12 +4632,19 @@ static inline void sched_submit_work(struct task_struct *tsk)
blk_schedule_flush_plug(tsk);
}
@ -141,7 +141,7 @@ index e0431c4..96e6c01 100644
EXPORT_SYMBOL(schedule);
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 5f10406..f850ee0 100644
index e4f72b8..42f7949 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -137,6 +137,7 @@ struct worker {
@ -261,6 +261,3 @@ index 2d10fc9..3bf73e2 100644
- unsigned int cpu);
+void wq_worker_running(struct task_struct *task);
+void wq_worker_sleeping(struct task_struct *task);
--
1.7.10

View File

@ -1,7 +1,7 @@
From 3edbcd47a4cccb1827bd392a53037ae44bab3420 Mon Sep 17 00:00:00 2001
From b638717f75841033d14a45893d7ea7d8b68be7a8 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/278] mips-enable-interrupts-in-signal.patch
Subject: [PATCH 008/279] mips-enable-interrupts-in-signal.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
@ -22,6 +22,3 @@ index f852400..1c8f34c 100644
if (test_thread_flag(TIF_RESTORE_SIGMASK))
oldset = &current->saved_sigmask;
else
--
1.7.10

View File

@ -1,7 +1,7 @@
From 1359b204cc586ea28d277fb17345e92b995cec2b Mon Sep 17 00:00:00 2001
From 709e184013ab2f74b299bd91a556a6b4e494ebbd 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/278] arm-enable-interrupts-in-signal-code.patch
Subject: [PATCH 009/279] arm-enable-interrupts-in-signal-code.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
@ -22,6 +22,3 @@ index 9e617bd..c7001bc 100644
/*
* If we were from a system call, check for system call restarting...
*/
--
1.7.10

View File

@ -1,7 +1,7 @@
From 522d65300397e1dc9b10fb50696ae2d16cf9bc65 Mon Sep 17 00:00:00 2001
From f45cec8040f75c8ab87efd7bff1a29f49f8f0d1e 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/278] powerpc: 85xx: Mark cascade irq IRQF_NO_THREAD
Subject: [PATCH 010/279] powerpc: 85xx: Mark cascade irq IRQF_NO_THREAD
Cascade interrupt must run in hard interrupt context.
@ -23,6 +23,3 @@ index 66cb8d6..7e2a4d2 100644
.name = "8259 cascade",
};
#endif /* PPC_I8259 */
--
1.7.10

View File

@ -1,7 +1,7 @@
From 1276fa4494ce97340d440f621eb5fdd7d2a57070 Mon Sep 17 00:00:00 2001
From 19f19b3ffe2a7f3b29db10656488ae4496aca77a 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/278] powerpc: wsp: Mark opb cascade handler
Subject: [PATCH 011/279] powerpc: wsp: Mark opb cascade handler
IRQF_NO_THREAD
Cascade handlers must run in hard interrupt context.
@ -25,6 +25,3 @@ index be05631..19f353d 100644
if (rc) {
printk("opb: request_irq failed: %d\n", rc);
continue;
--
1.7.10

View File

@ -1,7 +1,7 @@
From c14339cf854c01f0a801265a9b97e67b12614522 Mon Sep 17 00:00:00 2001
From 7462184650a57730f725fa3884cf3fb6486d0db6 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/278] powerpc: Mark IPI interrupts IRQF_NO_THREAD
Subject: [PATCH 012/279] powerpc: Mark IPI interrupts IRQF_NO_THREAD
IPI handlers cannot be threaded. Remove the obsolete IRQF_DISABLED
flag (see commit e58aa3d2) while at it.
@ -14,7 +14,7 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
3 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c
index 6df7090..abdedd3 100644
index fe04b4a..2216eb2 100644
--- a/arch/powerpc/kernel/smp.c
+++ b/arch/powerpc/kernel/smp.c
@@ -187,8 +187,8 @@ int smp_request_message_ipi(int virq, int msg)
@ -68,6 +68,3 @@ index 63762c6..4ba6194 100644
}
int __init xics_smp_probe(void)
--
1.7.10

View File

@ -1,7 +1,7 @@
From 257aeb591198f517f2eb3a502dd93b0b3eefea70 Mon Sep 17 00:00:00 2001
From cd864725615da8f5ff7508a1b84b0a941a216c2f 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/278] powerpc: Allow irq threading
Subject: [PATCH 013/279] 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.

View File

@ -1,7 +1,7 @@
From f86cf7321c400d110c8deb3d671d72732648595a Mon Sep 17 00:00:00 2001
From c73848b8914851ed695e596958143e487536b8f1 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/278] sched: Keep period timer ticking when throttling
Subject: [PATCH 014/279] sched: Keep period timer ticking when throttling
active
When a runqueue is throttled we cannot disable the period timer
@ -63,6 +63,3 @@ index 78fcacf..40d97e1 100644
curr->se.sum_exec_runtime += delta_exec;
account_group_exec_runtime(curr, delta_exec);
--
1.7.10

View File

@ -1,7 +1,7 @@
From 35f698e897c79a7a71fc942f674e8bb284e4d15f Mon Sep 17 00:00:00 2001
From 641ef3395e71a5085ad4ea513af769f9758946de 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/278] sched: Do not throttle due to PI boosting
Subject: [PATCH 015/279] 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
@ -47,6 +47,3 @@ index 40d97e1..c108b9c 100644
if (rt_rq_throttled(rt_rq)) {
sched_rt_rq_dequeue(rt_rq);
return 1;
--
1.7.10

View File

@ -1,7 +1,7 @@
From d4eb502dfbde3486f4f1ffe51dd40a09faef1394 Mon Sep 17 00:00:00 2001
From 1fce51e16df9a8fd243d99dcb4c41bad9fd2c5ea 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/278] time: Remove bogus comments
Subject: [PATCH 016/279] 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
@ -37,6 +37,3 @@ index 73e416d..ba744cf 100644
return 0;
}
--
1.7.10

View File

@ -1,7 +1,7 @@
From 3783790c9b1edea465d17ae78819d8425280eb81 Mon Sep 17 00:00:00 2001
From d1f35b1f2ffa112b4c2585e20c8d68befb7581f7 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/278] x86: vdso: Remove bogus locking in
Subject: [PATCH 017/279] x86: vdso: Remove bogus locking in
update_vsyscall_tz()
Changing the sequence count in update_vsyscall_tz() is completely
@ -32,6 +32,3 @@ index e4d4a22..f04adbd 100644
}
void update_vsyscall(struct timespec *wall_time, struct timespec *wtm,
--
1.7.10

View File

@ -1,7 +1,7 @@
From 8fde1843b53baa06ad35c1f4ebec45ebb7518c91 Mon Sep 17 00:00:00 2001
From 9aed04c2415725c8f25fc5cb845244fb8d06c97c 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/278] x86: vdso: Use seqcount instead of seqlock
Subject: [PATCH 018/279] 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.
@ -123,6 +123,3 @@ index 6bc0e72..d8511fb 100644
/* wall_time_nsec and wall_to_monotonic.tv_nsec are
* guaranteed to be between 0 and NSEC_PER_SEC.
--
1.7.10

View File

@ -1,7 +1,7 @@
From 554750ed6f6e8bd9aaad9f7cc2a16cb2a5639780 Mon Sep 17 00:00:00 2001
From f182edcdffd71ae882d3a09ffbdc79e1c60cff94 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/278] ia64: vsyscall: Use seqcount instead of seqlock
Subject: [PATCH 019/279] 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.
@ -90,6 +90,3 @@ index 43920de..8e991a0 100644
+ write_seqcount_end(&fsyscall_gtod_data.seq);
}
--
1.7.10

View File

@ -1,7 +1,7 @@
From 1355b1c4c3eb874721e0f942e8d5d29f90272f18 Mon Sep 17 00:00:00 2001
From d224ed10fa321e76c9ba732240ec3749fe76d94c 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/278] seqlock: Remove unused functions
Subject: [PATCH 020/279] seqlock: Remove unused functions
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
@ -45,6 +45,3 @@ index bb1fac5..f12fc43 100644
- })
-
#endif /* __LINUX_SEQLOCK_H */
--
1.7.10

View File

@ -1,7 +1,7 @@
From 05bf9a254739e1568bba006b81ee8104626b6fc8 Mon Sep 17 00:00:00 2001
From 459317141f3e7cf8a8bf7d129cc351191b06b218 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/278] seqlock: Use seqcount
Subject: [PATCH 021/279] seqlock: Use seqcount
No point in having different implementations for the same thing.
@ -219,6 +219,3 @@ index f12fc43..cc7b65d 100644
+}
#endif /* __LINUX_SEQLOCK_H */
--
1.7.10

View File

@ -1,7 +1,7 @@
From 16de1e1d6a371a5a55b92c294a59ea8cbc30bbc2 Mon Sep 17 00:00:00 2001
From b6d8bddc76fee940b351b7162d57a47517ecf590 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/278] vfs: fs_struct: Move code out of seqcount write
Subject: [PATCH 022/279] vfs: fs_struct: Move code out of seqcount write
sections
RT cannot disable preemption in the seqcount write sections due to
@ -86,6 +86,3 @@ index 78b519c..f5818c4 100644
spin_unlock(&fs->lock);
}
task_unlock(p);
--
1.7.10

View File

@ -1,7 +1,7 @@
From 64b239cd4bef59829a36fbe94450c2dfeb9f48e7 Mon Sep 17 00:00:00 2001
From 2cf89017ea19acf83b659daab68c02f6d126f1b1 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/278] timekeeping: Split xtime_lock
Subject: [PATCH 023/279] 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
@ -17,11 +17,11 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/time/tick-sched.c | 16 +++++---
kernel/time/timekeeping.c | 90 +++++++++++++++++++++++++------------------
6 files changed, 89 insertions(+), 57 deletions(-)
[dannf: adjusted to apply to debian's 3.2.30]
diff -urpN a/kernel/time/jiffies.c b/kernel/time/jiffies.c
--- a/kernel/time/jiffies.c 2012-09-19 08:05:26.000000000 -0600
+++ b/kernel/time/jiffies.c 2012-09-24 06:56:39.098990499 -0600
diff --git a/kernel/time/jiffies.c b/kernel/time/jiffies.c
index a470154..21940eb 100644
--- a/kernel/time/jiffies.c
+++ b/kernel/time/jiffies.c
@@ -74,9 +74,9 @@ u64 get_jiffies_64(void)
u64 ret;
@ -34,9 +34,10 @@ diff -urpN a/kernel/time/jiffies.c b/kernel/time/jiffies.c
return ret;
}
EXPORT_SYMBOL(get_jiffies_64);
diff -urpN a/kernel/time/ntp.c b/kernel/time/ntp.c
--- a/kernel/time/ntp.c 2012-09-19 08:05:26.000000000 -0600
+++ b/kernel/time/ntp.c 2012-09-24 06:59:27.326992487 -0600
diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c
index f1eb182..09079b7 100644
--- a/kernel/time/ntp.c
+++ b/kernel/time/ntp.c
@@ -362,6 +362,9 @@ int second_overflow(unsigned long secs)
int leap = 0;
s64 delta;
@ -47,15 +48,15 @@ diff -urpN a/kernel/time/ntp.c b/kernel/time/ntp.c
/*
* Leap second processing. If in leap-insert state at the end of the
* day, the system clock is set back one second; if in leap-delete
@@ -403,6 +406,8 @@ int second_overflow(unsigned long secs)
@@ -402,6 +405,8 @@ int second_overflow(unsigned long secs)
break;
}
+ write_seqcount_end(&xtime_seq);
+ raw_spin_unlock(&xtime_lock);
/* Bump the maxerror field */
time_maxerror += MAXFREQ / NSEC_PER_USEC;
if (time_maxerror > NTP_PHASE_LIMIT) {
@@ -623,7 +628,8 @@ int do_adjtimex(struct timex *txc)
getnstimeofday(&ts);
@ -76,7 +77,7 @@ diff -urpN a/kernel/time/ntp.c b/kernel/time/ntp.c
txc->time.tv_sec = ts.tv_sec;
txc->time.tv_usec = ts.tv_nsec;
@@ -863,7 +870,8 @@ void hardpps(const struct timespec *phas
@@ -863,7 +870,8 @@ void hardpps(const struct timespec *phase_ts, const struct timespec *raw_ts)
pts_norm = pps_normalize_ts(*phase_ts);
@ -86,7 +87,7 @@ diff -urpN a/kernel/time/ntp.c b/kernel/time/ntp.c
/* clear the error bits, they will be set again if needed */
time_status &= ~(STA_PPSJITTER | STA_PPSWANDER | STA_PPSERROR);
@@ -876,7 +884,8 @@ void hardpps(const struct timespec *phas
@@ -876,7 +884,8 @@ void hardpps(const struct timespec *phase_ts, const struct timespec *raw_ts)
* just start the frequency interval */
if (unlikely(pps_fbase.tv_sec == 0)) {
pps_fbase = *raw_ts;
@ -96,7 +97,7 @@ diff -urpN a/kernel/time/ntp.c b/kernel/time/ntp.c
return;
}
@@ -891,7 +900,8 @@ void hardpps(const struct timespec *phas
@@ -891,7 +900,8 @@ void hardpps(const struct timespec *phase_ts, const struct timespec *raw_ts)
time_status |= STA_PPSJITTER;
/* restart the frequency calibration interval */
pps_fbase = *raw_ts;
@ -106,7 +107,7 @@ diff -urpN a/kernel/time/ntp.c b/kernel/time/ntp.c
pr_err("hardpps: PPSJITTER: bad pulse\n");
return;
}
@@ -908,7 +918,8 @@ void hardpps(const struct timespec *phas
@@ -908,7 +918,8 @@ void hardpps(const struct timespec *phase_ts, const struct timespec *raw_ts)
hardpps_update_phase(pts_norm.nsec);
@ -116,9 +117,10 @@ diff -urpN a/kernel/time/ntp.c b/kernel/time/ntp.c
}
EXPORT_SYMBOL(hardpps);
diff -urpN a/kernel/time/tick-common.c b/kernel/time/tick-common.c
--- a/kernel/time/tick-common.c 2012-09-19 08:05:26.000000000 -0600
+++ b/kernel/time/tick-common.c 2012-09-24 07:00:21.214993125 -0600
diff --git a/kernel/time/tick-common.c b/kernel/time/tick-common.c
index da6c9ec..39de540 100644
--- a/kernel/time/tick-common.c
+++ b/kernel/time/tick-common.c
@@ -63,13 +63,15 @@ int tick_is_oneshot_available(void)
static void tick_periodic(int cpu)
{
@ -137,7 +139,7 @@ diff -urpN a/kernel/time/tick-common.c b/kernel/time/tick-common.c
}
update_process_times(user_mode(get_irq_regs()));
@@ -130,9 +132,9 @@ void tick_setup_periodic(struct clock_ev
@@ -130,9 +132,9 @@ void tick_setup_periodic(struct clock_event_device *dev, int broadcast)
ktime_t next;
do {
@ -149,20 +151,22 @@ diff -urpN a/kernel/time/tick-common.c b/kernel/time/tick-common.c
clockevents_set_mode(dev, CLOCK_EVT_MODE_ONESHOT);
diff -urpN a/kernel/time/tick-internal.h b/kernel/time/tick-internal.h
--- a/kernel/time/tick-internal.h 2012-09-19 08:05:26.000000000 -0600
+++ b/kernel/time/tick-internal.h 2012-09-24 07:00:47.430993435 -0600
@@ -141,4 +141,5 @@ static inline int tick_device_is_functio
diff --git a/kernel/time/tick-internal.h b/kernel/time/tick-internal.h
index 4e265b9..c91100d 100644
--- a/kernel/time/tick-internal.h
+++ b/kernel/time/tick-internal.h
@@ -141,4 +141,5 @@ static inline int tick_device_is_functional(struct clock_event_device *dev)
#endif
extern void do_timer(unsigned long ticks);
-extern seqlock_t xtime_lock;
+extern raw_spinlock_t xtime_lock;
+extern seqcount_t xtime_seq;
diff -urpN a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
--- a/kernel/time/tick-sched.c 2012-09-19 08:05:26.000000000 -0600
+++ b/kernel/time/tick-sched.c 2012-09-24 07:02:42.934994801 -0600
@@ -56,7 +56,8 @@ static void tick_do_update_jiffies64(kti
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
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)
return;
/* Reevalute with xtime_lock held */
@ -172,7 +176,7 @@ diff -urpN a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
delta = ktime_sub(now, last_jiffies_update);
if (delta.tv64 >= tick_period.tv64) {
@@ -79,7 +80,8 @@ static void tick_do_update_jiffies64(kti
@@ -79,7 +80,8 @@ static void tick_do_update_jiffies64(ktime_t now)
/* Keep the tick_next_period variable up to date */
tick_next_period = ktime_add(last_jiffies_update, tick_period);
}
@ -182,7 +186,7 @@ diff -urpN a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
}
/*
@@ -89,12 +91,14 @@ static ktime_t tick_init_jiffy_update(vo
@@ -89,12 +91,14 @@ static ktime_t tick_init_jiffy_update(void)
{
ktime_t period;
@ -199,7 +203,7 @@ diff -urpN a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
return period;
}
@@ -345,11 +349,11 @@ void tick_nohz_stop_sched_tick(int inidl
@@ -345,11 +349,11 @@ void tick_nohz_stop_sched_tick(int inidle)
ts->idle_calls++;
/* Read jiffies and the time when jiffies were updated last */
do {
@ -213,10 +217,11 @@ diff -urpN a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
if (rcu_needs_cpu(cpu) || printk_needs_cpu(cpu) ||
arch_needs_cpu(cpu)) {
diff -urpN a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
--- a/kernel/time/timekeeping.c 2012-09-19 08:05:26.000000000 -0600
+++ b/kernel/time/timekeeping.c 2012-09-24 07:15:47.391004077 -0600
@@ -139,8 +139,8 @@ static inline s64 timekeeping_get_ns_raw
diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
index 5ee1ac0..7940c71 100644
--- a/kernel/time/timekeeping.c
+++ b/kernel/time/timekeeping.c
@@ -139,8 +139,8 @@ static inline s64 timekeeping_get_ns_raw(void)
* This read-write spinlock protects us from races in SMP while
* playing with xtime.
*/
@ -279,7 +284,7 @@ diff -urpN a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
set_normalized_timespec(ts, ts->tv_sec + tomono.tv_sec,
ts->tv_nsec + tomono.tv_nsec + nsecs);
@@ -333,7 +333,7 @@ void getnstime_raw_and_real(struct times
@@ -333,7 +333,7 @@ void getnstime_raw_and_real(struct timespec *ts_raw, struct timespec *ts_real)
do {
u32 arch_offset;
@ -288,7 +293,7 @@ diff -urpN a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
*ts_raw = raw_time;
*ts_real = xtime;
@@ -346,7 +346,7 @@ void getnstime_raw_and_real(struct times
@@ -346,7 +346,7 @@ void getnstime_raw_and_real(struct timespec *ts_raw, struct timespec *ts_real)
nsecs_raw += arch_offset;
nsecs_real += arch_offset;
@ -297,7 +302,7 @@ diff -urpN a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
timespec_add_ns(ts_raw, nsecs_raw);
timespec_add_ns(ts_real, nsecs_real);
@@ -385,7 +385,8 @@ int do_settimeofday(const struct timespe
@@ -385,7 +385,8 @@ int do_settimeofday(const struct timespec *tv)
if (!timespec_valid_strict(tv))
return -EINVAL;
@ -307,7 +312,7 @@ diff -urpN a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
timekeeping_forward_now();
@@ -397,7 +398,8 @@ int do_settimeofday(const struct timespe
@@ -397,7 +398,8 @@ int do_settimeofday(const struct timespec *tv)
timekeeping_update(true);
@ -317,7 +322,7 @@ diff -urpN a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
/* signal hrtimers about time change */
clock_was_set();
@@ -423,7 +425,8 @@ int timekeeping_inject_offset(struct tim
@@ -423,7 +425,8 @@ int timekeeping_inject_offset(struct timespec *ts)
if ((unsigned long)ts->tv_nsec >= NSEC_PER_SEC)
return -EINVAL;
@ -327,7 +332,7 @@ diff -urpN a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
timekeeping_forward_now();
@@ -439,7 +442,8 @@ int timekeeping_inject_offset(struct tim
@@ -439,7 +442,8 @@ int timekeeping_inject_offset(struct timespec *ts)
error: /* even if we error out, we forwarded the time, so call update */
timekeeping_update(true);
@ -337,7 +342,7 @@ diff -urpN a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
/* signal hrtimers about time change */
clock_was_set();
@@ -511,11 +515,11 @@ void getrawmonotonic(struct timespec *ts
@@ -511,11 +515,11 @@ void getrawmonotonic(struct timespec *ts)
s64 nsecs;
do {
@ -385,7 +390,7 @@ diff -urpN a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
}
/* time in seconds when suspend began */
@@ -681,14 +687,16 @@ void timekeeping_inject_sleeptime(struct
@@ -681,14 +687,16 @@ void timekeeping_inject_sleeptime(struct timespec *delta)
if (!(ts.tv_sec == 0 && ts.tv_nsec == 0))
return;
@ -444,7 +449,7 @@ diff -urpN a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
clockevents_notify(CLOCK_EVT_NOTIFY_SUSPEND, NULL);
clocksource_suspend();
@@ -1152,13 +1164,13 @@ void get_monotonic_boottime(struct times
@@ -1152,13 +1164,13 @@ void get_monotonic_boottime(struct timespec *ts)
WARN_ON(timekeeping_suspended);
do {
@ -460,7 +465,7 @@ diff -urpN a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
set_normalized_timespec(ts, ts->tv_sec + tomono.tv_sec + sleep.tv_sec,
ts->tv_nsec + tomono.tv_nsec + sleep.tv_nsec + nsecs);
@@ -1209,10 +1221,10 @@ struct timespec current_kernel_time(void
@@ -1209,10 +1221,10 @@ struct timespec current_kernel_time(void)
unsigned long seq;
do {
@ -473,7 +478,7 @@ diff -urpN a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
return now;
}
@@ -1224,11 +1236,11 @@ struct timespec get_monotonic_coarse(voi
@@ -1224,11 +1236,11 @@ struct timespec get_monotonic_coarse(void)
unsigned long seq;
do {
@ -487,7 +492,7 @@ diff -urpN a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
set_normalized_timespec(&now, now.tv_sec + mono.tv_sec,
now.tv_nsec + mono.tv_nsec);
@@ -1260,11 +1272,11 @@ void get_xtime_and_monotonic_and_sleep_o
@@ -1260,11 +1272,11 @@ void get_xtime_and_monotonic_and_sleep_offset(struct timespec *xtim,
unsigned long seq;
do {

View File

@ -1,7 +1,7 @@
From 754e2ca2275224cba429248d0ad2dd94c175ae02 Mon Sep 17 00:00:00 2001
From 78f32058480a16144423b6ccac67931986a89048 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/278] intel_idle: Convert i7300_idle_lock to raw spinlock
Subject: [PATCH 024/279] 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.
@ -67,6 +67,3 @@ index c976285..5537d7c 100644
total_us = 0;
if (i7300_idle_platform_probe(&fbd_dev, &ioat_dev, forceload))
--
1.7.10

View File

@ -1,7 +1,7 @@
From 0254e805e13705ea423e869b8ccf1f46a4ba0eda Mon Sep 17 00:00:00 2001
From 0f4e890306f3e3581caf96f429c02b80fc167b1d 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/278] mm: memcg: shorten preempt-disabled section around
Subject: [PATCH 025/279] mm: memcg: shorten preempt-disabled section around
event checks
Only the ratelimit checks themselves have to run with preemption
@ -120,6 +120,3 @@ index c8425b1..9c92c4d 100644
}
static struct mem_cgroup *mem_cgroup_from_cont(struct cgroup *cont)
--
1.7.10

View File

@ -1,7 +1,7 @@
From 3d02572ca7de93b735ade14b946e3e085abde7d8 Mon Sep 17 00:00:00 2001
From 1eddefb30f2e290550ee0a3798e8ef8f51d0136d 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/278] tracing: Account for preempt off in
Subject: [PATCH 026/279] 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 96e6c01..ebed875 100644
index 07a2a01..4a7ef27 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -4706,7 +4706,16 @@ asmlinkage void __sched notrace preempt_schedule(void)
@@ -4712,7 +4712,16 @@ asmlinkage void __sched notrace preempt_schedule(void)
do {
add_preempt_count_notrace(PREEMPT_ACTIVE);
@ -48,6 +48,3 @@ index 96e6c01..ebed875 100644
sub_preempt_count_notrace(PREEMPT_ACTIVE);
/*
--
1.7.10

View File

@ -1,7 +1,7 @@
From 3d9c4530b2d16453ebb7504fb0f08921d44bacca Mon Sep 17 00:00:00 2001
From 3f5b15afbee92a0b85e488a35c8783ea2e3ff7e4 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/278] signal-revert-ptrace-preempt-magic.patch
Subject: [PATCH 027/279] signal-revert-ptrace-preempt-magic.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
@ -28,6 +28,3 @@ index 08e0b97..9b6bd34 100644
schedule();
} else {
/*
--
1.7.10

View File

@ -1,7 +1,7 @@
From 3095e46325794520111e76e7f25aa01eb11780ff Mon Sep 17 00:00:00 2001
From 712eee138a095e3fea5c79d62d6cbb3793ef8adf 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/278] arm: Mark pmu interupt IRQF_NO_THREAD
Subject: [PATCH 028/279] 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.
@ -24,6 +24,3 @@ index ecebb89..e1286fb 100644
"arm-pmu", armpmu);
if (err) {
pr_err("unable to request IRQ%d for ARM PMU counters\n",
--
1.7.10

View File

@ -1,7 +1,7 @@
From 55846b94874ba3ac54b0b81a6cac866f372dbea3 Mon Sep 17 00:00:00 2001
From ed12ac7e188ee795c5f6b6f1594fe4996751ef2b 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/278] arm: Allow forced irq threading
Subject: [PATCH 029/279] arm: Allow forced irq threading
All timer interrupts and the perf interrupt are marked NO_THREAD, so
its safe to allow forced interrupt threading.

View File

@ -1,7 +1,7 @@
From ca1dac9c781fca20831fb5492b9c7e44235baed9 Mon Sep 17 00:00:00 2001
From bea227532d63bc4441ad8eedbd20e82d00091b8e 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/278] preempt-rt: Convert arm boot_lock to raw
Subject: [PATCH 030/279] 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.
@ -289,6 +289,3 @@ index 92f18d3..287bbb5 100644
return pen_release != -1 ? -ENOSYS : 0;
}
--
1.7.10

View File

@ -1,7 +1,7 @@
From 8e86db375477910f6859f65ee8fa79ca441df0d0 Mon Sep 17 00:00:00 2001
From d8e9ce22d847df143e08b456f77929718c59ec13 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/278] sched: Create schedule_preempt_disabled()
Subject: [PATCH 031/279] sched: Create schedule_preempt_disabled()
Get rid of the ever repeating:
@ -28,10 +28,10 @@ index 1e86bb4..f618dc8 100644
struct nsproxy;
diff --git a/kernel/sched.c b/kernel/sched.c
index ebed875..cfb575d 100644
index 4a7ef27..197a00d 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -4642,6 +4642,18 @@ asmlinkage void __sched schedule(void)
@@ -4648,6 +4648,18 @@ asmlinkage void __sched schedule(void)
}
EXPORT_SYMBOL(schedule);
@ -50,6 +50,3 @@ index ebed875..cfb575d 100644
#ifdef CONFIG_MUTEX_SPIN_ON_OWNER
static inline bool owner_running(struct mutex *lock, struct task_struct *owner)
--
1.7.10

View File

@ -1,7 +1,7 @@
From ba7ca55af162dee8411b97a82ca64e2a6e72c03e Mon Sep 17 00:00:00 2001
From 5d05860f2131b7b4b3901fcc20e9b18f4ff5a087 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/278] sched: Use schedule_preempt_disabled()
Subject: [PATCH 032/279] sched: Use schedule_preempt_disabled()
Coccinelle based conversion.
@ -495,6 +495,3 @@ index 2c71d91..c9da2c8 100644
}
__set_current_state(TASK_RUNNING);
--
1.7.10

View File

@ -1,7 +1,7 @@
From 1ed6c05441c55256e62efff4c97eab3c099de2bc Mon Sep 17 00:00:00 2001
From 2beb1d0c02845c7da8bdf7e8df986c7c12252cab 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/278] signals: Do not wakeup self
Subject: [PATCH 033/279] signals: Do not wakeup self
Signals which are delivered by current to current can do without
waking up current :)
@ -25,6 +25,3 @@ index 9b6bd34..fffb683 100644
/*
* For SIGKILL, we want to wake it up in the stopped/traced/killable
* case. We don't check t->state here because there is a race with it
--
1.7.10

View File

@ -1,7 +1,7 @@
From 89d1936c7f2832c8041276de3e562190268f4b08 Mon Sep 17 00:00:00 2001
From 72277cac512e232902aedec80e60b6eb8e90636e 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/278] posix-timers: Prevent broadcast signals
Subject: [PATCH 034/279] posix-timers: Prevent broadcast signals
Posix timers should not send broadcast signals and kernel only
signals. Prevent it.
@ -33,6 +33,3 @@ index 69185ae..7b73c34 100644
return NULL;
return task_pid(rtn);
--
1.7.10

View File

@ -1,7 +1,7 @@
From cd046316bd6fc7026d8e3b81d80fc7427431adec Mon Sep 17 00:00:00 2001
From ff56dc80a7cad2392e5622f653339692b57ab73d 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/278] signals: Allow rt tasks to cache one sigqueue struct
Subject: [PATCH 035/279] signals: Allow rt tasks to cache one sigqueue struct
To avoid allocation allow rt tasks to cache one sigqueue struct in
task struct.
@ -213,6 +213,3 @@ index fffb683..92c5605 100644
if (q)
q->flags |= SIGQUEUE_PREALLOC;
--
1.7.10

View File

@ -1,7 +1,7 @@
From 91970538c94931ab0eb6dc2317a688014d14c101 Mon Sep 17 00:00:00 2001
From 028391afadb85e44d3846484169ef24e07521934 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/278] signal/x86: Delay calling signals in atomic
Subject: [PATCH 036/279] 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
@ -150,6 +150,3 @@ index 92c5605..385d137 100644
/*
* Nuke all other threads in the group.
*/
--
1.7.10

View File

@ -1,7 +1,7 @@
From 1937f965fa043ced1de6fe6436cfb6a7cd349aee Mon Sep 17 00:00:00 2001
From ed09d3b2f6378c8d5e9e75bd1a0c78cd2953384b 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/278] generic: Use raw local irq variant for generic
Subject: [PATCH 037/279] generic: Use raw local irq variant for generic
cmpxchg
No point in tracing those.
@ -48,6 +48,3 @@ index 2533fdd..d8d4c89 100644
return prev;
}
--
1.7.10

View File

@ -1,7 +1,7 @@
From 7f8ed26dea5fc738a34a25c7d6030bfc30cfc3ed Mon Sep 17 00:00:00 2001
From 426cb56599cae6bec3411bd2c56c864a6d39d9c0 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/278] drivers: random: Reduce preempt disabled region
Subject: [PATCH 038/279] drivers: random: Reduce preempt disabled region
No need to keep preemption disabled across the whole function.
@ -12,7 +12,7 @@ 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 631d4f6..6380143 100644
index 8ae9235..62d59ed 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -701,8 +701,11 @@ static void add_timer_randomness(struct timer_rand_state *state, unsigned num)
@ -38,6 +38,3 @@ index 631d4f6..6380143 100644
}
void add_input_randomness(unsigned int type, unsigned int code,
--
1.7.10

View File

@ -1,7 +1,7 @@
From 30fe79de10b0ea596c8698052c90324f148dc15a Mon Sep 17 00:00:00 2001
From ca3693aaeba8be58b2a5f9c47393fd8b5f00d3f2 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/278] ARM: AT91: PIT: Remove irq handler when clock event
Subject: [PATCH 039/279] ARM: AT91: PIT: Remove irq handler when clock event
is unused
Setup and remove the interrupt handler in clock event mode selection.
@ -66,6 +66,3 @@ index 4ba8549..97d1e14 100644
break;
case CLOCK_EVT_MODE_RESUME:
break;
--
1.7.10

View File

@ -1,7 +1,7 @@
From cd88752a3328a8f663b9212f2cffe8d6bcfffa44 Mon Sep 17 00:00:00 2001
From ed92fe0984334119d8efce97cc3c55b51f60190a 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/278] clocksource: TCLIB: Allow higher clock rates for
Subject: [PATCH 040/279] clocksource: TCLIB: Allow higher clock rates for
clock events
As default the TCLIB uses the 32KiHz base clock rate for clock events.
@ -162,6 +162,3 @@ index 5664696..f3031a4 100644
config IBM_ASM
tristate "Device driver for IBM RSA service processor"
depends on X86 && PCI && INPUT && EXPERIMENTAL
--
1.7.10

View File

@ -1,7 +1,7 @@
From 24a3a844552bca1b58ffb36e7edf0936ae579243 Mon Sep 17 00:00:00 2001
From 9a5b2e41cf3306821839666dfa435f88dfca9909 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/278] drivers/net: tulip_remove_one needs to call
Subject: [PATCH 041/279] drivers/net: tulip_remove_one needs to call
pci_disable_device()
Otherwise the device is not completely shut down.
@ -24,6 +24,3 @@ index 9656dd0..ef7df09 100644
pci_set_drvdata (pdev, NULL);
/* pci_power_off (pdev, -1); */
--
1.7.10

View File

@ -1,7 +1,7 @@
From 2d8c32d685416585011c7722567c7030f4d35e99 Mon Sep 17 00:00:00 2001
From c2892cc91afa072a75278a345515a53dfea62f61 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/278] drivers/net: Use disable_irq_nosync() in 8139too
Subject: [PATCH 042/279] 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.
@ -25,6 +25,3 @@ index 4d6b254..004c054 100644
rtl8139_interrupt(dev->irq, dev);
enable_irq(dev->irq);
}
--
1.7.10

View File

@ -1,7 +1,7 @@
From e381e57d5b52668aafa409b47d62a43986edff47 Mon Sep 17 00:00:00 2001
From cebb99bfaff8cebe141c8599e010cd8da4bce13d 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/278] drivers: net: ehea: Make rx irq handler non-threaded
Subject: [PATCH 043/279] drivers: net: ehea: Make rx irq handler non-threaded
(IRQF_NO_THREAD)
The underlying hardware is edge triggered but presented by XICS as level
@ -52,6 +52,3 @@ index bfeccbf..fddfaf1 100644
pr);
if (ret) {
netdev_err(dev, "failed registering irq for ehea_queue port_res_nr:%d, ist=%X\n",
--
1.7.10

View File

@ -1,7 +1,7 @@
From ed15bdb1f20fa4c7b8d881f6c0c9d990b736c7e5 Mon Sep 17 00:00:00 2001
From 1b383b666220725d954764984deab644d13bda26 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/278] drivers: net: at91_ether: Make mdio protection -rt
Subject: [PATCH 044/279] drivers: net: at91_ether: Make mdio protection -rt
safe
Neither the phy interrupt nor the timer callback which updates the
@ -53,6 +53,3 @@ index 56624d3..ad4dbea 100644
mod_timer(&lp->check_timer, jiffies + LINK_POLL_INTERVAL);
}
--
1.7.10

View File

@ -1,7 +1,7 @@
From 3598f7a1f68e41b68dc0aac40dcd77bc08e6f44b Mon Sep 17 00:00:00 2001
From b40ff51450c1890b72940b7e5c1b457234ab3b5f 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/278] preempt-mark-legitimated-no-resched-sites.patch
Subject: [PATCH 045/279] 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 cfb575d..231081a 100644
index 197a00d..f41adf5 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -4601,7 +4601,7 @@ need_resched:
@@ -4607,7 +4607,7 @@ need_resched:
post_schedule(rq);
@ -79,7 +79,7 @@ index cfb575d..231081a 100644
if (need_resched())
goto need_resched;
}
@@ -4649,7 +4649,7 @@ EXPORT_SYMBOL(schedule);
@@ -4655,7 +4655,7 @@ EXPORT_SYMBOL(schedule);
*/
void __sched schedule_preempt_disabled(void)
{
@ -88,7 +88,7 @@ index cfb575d..231081a 100644
schedule();
preempt_disable();
}
@@ -5891,7 +5891,7 @@ SYSCALL_DEFINE0(sched_yield)
@@ -5897,7 +5897,7 @@ SYSCALL_DEFINE0(sched_yield)
__release(rq->lock);
spin_release(&rq->lock.dep_map, 1, _THIS_IP_);
do_raw_spin_unlock(&rq->lock);
@ -119,6 +119,3 @@ index c9da2c8..a8becbf 100644
cond_resched();
preempt_disable();
rcu_note_context_switch((long)__bind_cpu);
--
1.7.10

View File

@ -1,7 +1,7 @@
From 6f0a00b4eb54655af3e68ec70cdb9565debc9a3c Mon Sep 17 00:00:00 2001
From bce5105198cf65f128469f7c91da131e0a871dfa 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/278] mm: Prepare decoupling the page fault disabling
Subject: [PATCH 046/279] mm: Prepare decoupling the page fault disabling
logic
Add a pagefault_disabled variable to task_struct to allow decoupling
@ -125,6 +125,3 @@ index 70f5daf..b50e579 100644
/*
* By the time we get here, we already hold the mm semaphore
*/
--
1.7.10

View File

@ -1,7 +1,7 @@
From 9b61007695964aff339bb7ff40da33454e4d33d5 Mon Sep 17 00:00:00 2001
From e54bf6a8b851fbb9ed585194be95637df9d951ee 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/278] mm: Fixup all fault handlers to check
Subject: [PATCH 047/279] mm: Fixup all fault handlers to check
current->pagefault_disable
Necessary for decoupling pagefault disable from preempt count.
@ -332,6 +332,3 @@ index e367e30..705f483 100644
bad_page_fault(regs, address, SIGSEGV);
return;
}
--
1.7.10

View File

@ -1,7 +1,7 @@
From f6326a91506c0c98813fe616fafa928bcad4473e Mon Sep 17 00:00:00 2001
From 66b72c87271032bbe96a0db94614f644e05c6fc8 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/278] mm: pagefault_disabled()
Subject: [PATCH 048/279] 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.
@ -389,6 +389,3 @@ index a49f324..78335bb 100644
#ifdef CONFIG_LOCKDEP
p->lockdep_depth = 0; /* no locks held yet */
p->curr_chain_key = 0;
--
1.7.10

View File

@ -1,7 +1,7 @@
From a9acb94421d3de3ba40da52fc3319b49db2a2504 Mon Sep 17 00:00:00 2001
From 118aa2287145b3683e24a79480b66a6dfe342964 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/278] mm: raw_pagefault_disable
Subject: [PATCH 049/279] 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.
@ -149,6 +149,3 @@ index b50e579..cbbba51 100644
/*
* By the time we get here, we already hold the mm semaphore
--
1.7.10

View File

@ -1,7 +1,7 @@
From 15acd084e123d614aa6749b4409a74df7620925d Mon Sep 17 00:00:00 2001
From a7aa74f9e0ddd4d7e55c7ffe214d598a9a1d34a1 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/278] filemap-fix-up.patch
Subject: [PATCH 050/279] filemap-fix-up.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Wrecked-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
@ -23,6 +23,3 @@ index 556858c..015f07e 100644
kaddr = kmap_atomic(page, KM_USER0);
if (likely(i->nr_segs == 1)) {
int left;
--
1.7.10

View File

@ -1,7 +1,7 @@
From 404d14cd9556ddaf51469a8a7108b29e75277d21 Mon Sep 17 00:00:00 2001
From 77127521edc92e8e6a613b071c2cb0e2f1592041 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/278] mm: Remove preempt count from pagefault
Subject: [PATCH 051/279] mm: Remove preempt count from pagefault
disable/enable
Now that all users are cleaned up, we can remove the preemption count.
@ -36,6 +36,3 @@ index cbbba51..c2575a6 100644
}
EXPORT_SYMBOL_GPL(pagefault_enable);
#endif
--
1.7.10

View File

@ -1,7 +1,7 @@
From 8879708e9d8842b1b6ffeeae07109da8f3b6dabf Mon Sep 17 00:00:00 2001
From d659381cf8e7cf0a7f24a3fff728608deec900a7 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/278] x86: highmem: Replace BUG_ON by WARN_ON
Subject: [PATCH 052/279] 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.
@ -25,6 +25,3 @@ index f4f29b1..71bd7d6 100644
set_pte(kmap_pte-idx, mk_pte(page, prot));
arch_flush_lazy_mmu_mode();
--
1.7.10

View File

@ -1,7 +1,7 @@
From d1d9e3f9e95b437f05581805ffcdd834da67b01a Mon Sep 17 00:00:00 2001
From 3ba8c22d27c718de6a81228964b13b86b42dbe08 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/278] suspend: Prevent might sleep splats
Subject: [PATCH 053/279] 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
@ -111,6 +111,3 @@ index af48faa..ad3690c 100644
arch_suspend_enable_irqs();
BUG_ON(irqs_disabled());
--
1.7.10

View File

@ -1,7 +1,7 @@
From e81c558061a3deac192924f7f48849003aea57ff Mon Sep 17 00:00:00 2001
From 6edb6e5300ccde670540aed74a6395a309ab435c 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/278] OF: Fixup resursive locking code paths
Subject: [PATCH 054/279] 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
@ -193,6 +193,3 @@ index 9b6588e..200f2dd 100644
break;
}
of_node_put(from);
--
1.7.10

View File

@ -1,7 +1,7 @@
From 600b271432842573c9810a6b4680867fe4212bf7 Mon Sep 17 00:00:00 2001
From d81c49f5eed6f04be41b463f9421edd6ff4102b3 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/278] of-convert-devtree-lock.patch
Subject: [PATCH 055/279] of-convert-devtree-lock.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
@ -391,6 +391,3 @@ index 4948552..e87303d 100644
static inline bool of_have_populated_dt(void)
{
--
1.7.10

View File

@ -1,7 +1,7 @@
From 141ba113386b9bfd3698eb3f20efd30d72905fbd Mon Sep 17 00:00:00 2001
From 99fe72ffca7514e04159d17860aa5dced932ff22 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/278] list-add-list-last-entry.patch
Subject: [PATCH 056/279] list-add-list-last-entry.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
@ -30,6 +30,3 @@ index cc6d2aa..7a9851b 100644
* list_for_each - iterate over a list
* @pos: the &struct list_head to use as a loop cursor.
* @head: the head for your list.
--
1.7.10

View File

@ -1,7 +1,7 @@
From c63efdacbaf3a68885a6013f5ae64135dbef826b Mon Sep 17 00:00:00 2001
From 8172adb329510cc64a0629213ce444c324f10df1 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/278] mm-page-alloc-use-list-last-entry.patch
Subject: [PATCH 057/279] mm-page-alloc-use-list-last-entry.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
@ -21,6 +21,3 @@ index 6e51bf0..9a27890 100644
/* must delete as __free_one_page list manipulates */
list_del(&page->lru);
/* MIGRATE_MOVABLE list may include MIGRATE_RESERVEs */
--
1.7.10

View File

@ -1,7 +1,7 @@
From 21e8b0e7d81da110784e56e4250ffbfc802f36a1 Mon Sep 17 00:00:00 2001
From 5e6925996a8a714aadb16cf2abdfe881551129ec 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/278] mm-slab-move-debug-out.patch
Subject: [PATCH 058/279] mm-slab-move-debug-out.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
@ -37,6 +37,3 @@ index 2ab1bc2..d98f861 100644
__cache_free(c, (void *)objp, __builtin_return_address(0));
local_irq_restore(flags);
}
--
1.7.10

View File

@ -1,7 +1,7 @@
From 88dd850b572fb7a18239a28cff4ccd35cff695ad Mon Sep 17 00:00:00 2001
From 5b5a36631431504a9dbffad0943b7a38e89ad31c 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/278] rwsem-inlcude-fix.patch
Subject: [PATCH 059/279] rwsem-inlcude-fix.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
@ -20,6 +20,3 @@ index b152d44..7f33683 100644
enum pid_type
{
--
1.7.10

View File

@ -1,7 +1,7 @@
From a8f98be9b2c02ba69dcbb3991a384e6f600d6bd1 Mon Sep 17 00:00:00 2001
From bd5b89bdb06c1f8c18b41488d290a81e4886b2fa 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/278] sysctl-include-fix.patch
Subject: [PATCH 060/279] sysctl-include-fix.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
@ -20,6 +20,3 @@ index 703cfa33..b954c41 100644
/* For the /proc/sys support */
struct ctl_table;
--
1.7.10

View File

@ -1,7 +1,7 @@
From 76c8ae139f82a88fb5223436276d20b55a14f901 Mon Sep 17 00:00:00 2001
From 53464fe98e39597c3d0ba2e91e8cdfeb71abbf76 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/278] net-flip-lock-dep-thingy.patch
Subject: [PATCH 061/279] net-flip-lock-dep-thingy.patch
=======================================================
[ INFO: possible circular locking dependency detected ]
@ -93,10 +93,10 @@ Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/net/core/sock.c b/net/core/sock.c
index 8d095b9..718314b 100644
index 018fd41..7b6161d 100644
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -2034,12 +2034,11 @@ void lock_sock_nested(struct sock *sk, int subclass)
@@ -2035,12 +2035,11 @@ void lock_sock_nested(struct sock *sk, int subclass)
if (sk->sk_lock.owned)
__lock_sock(sk);
sk->sk_lock.owned = 1;
@ -110,6 +110,3 @@ index 8d095b9..718314b 100644
}
EXPORT_SYMBOL(lock_sock_nested);
--
1.7.10

View File

@ -1,7 +1,7 @@
From 6bdbb730c0aa2151b3f9541720d17c5674d4126f Mon Sep 17 00:00:00 2001
From 6bf82fb7b377c475551b8bfc6898a7a0822cedb9 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/278] softirq-thread-do-softirq.patch
Subject: [PATCH 062/279] 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 4b18703..0a81763 100644
index 832ba6d..b707c2a 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -3011,7 +3011,7 @@ int netif_rx_ni(struct sk_buff *skb)
@@ -3029,7 +3029,7 @@ int netif_rx_ni(struct sk_buff *skb)
preempt_disable();
err = netif_rx(skb);
if (local_softirq_pending())
@ -35,6 +35,3 @@ index 4b18703..0a81763 100644
preempt_enable();
return err;
--
1.7.10

View File

@ -1,7 +1,7 @@
From e5198456b06368fe14edf2c366747240a78a2d90 Mon Sep 17 00:00:00 2001
From d4da817eb3f5d9348d1b722b18a4f7c58618c951 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/278] softirq-split-out-code.patch
Subject: [PATCH 063/279] softirq-split-out-code.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
@ -154,6 +154,3 @@ index a8becbf..c6c5824 100644
__preempt_enable_no_resched();
cond_resched();
preempt_disable();
--
1.7.10

View File

@ -1,7 +1,7 @@
From 13abccb92dfd7557706b4fe65370d0446ca2a78b Mon Sep 17 00:00:00 2001
From 8d8c4b715f80dfd3139e7a0ae91bf26759ad0679 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/278] x86: Do not unmask io_apic when interrupt is in
Subject: [PATCH 064/279] x86: Do not unmask io_apic when interrupt is in
progress
With threaded interrupts we might see an interrupt in progress on
@ -27,6 +27,3 @@ index 8980555..91527bc 100644
do_unmask_irq = 1;
mask_ioapic(cfg);
}
--
1.7.10

View File

@ -1,7 +1,7 @@
From daad36ef25b50ddea27f26041da1e6111c567074 Mon Sep 17 00:00:00 2001
From 0ed203123dfd3bfecf6f0143d0c94309ec7e5f2c 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/278] x86-32-fix-signal-crap.patch
Subject: [PATCH 065/279] x86-32-fix-signal-crap.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
@ -36,6 +36,3 @@ index bcda816..426cf51 100644
jmp resume_userspace_sig
END(work_pending)
--
1.7.10

View File

@ -1,7 +1,7 @@
From 2107f9cfc2f3ca9e1bfead7852e45c48b2fc5811 Mon Sep 17 00:00:00 2001
From cb01474fb7d7beee50f3f738cb6b9f543dec0693 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/278] x86: Do not disable preemption in int3 on 32bit
Subject: [PATCH 066/279] 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
@ -113,6 +113,3 @@ index 31d9d0f..cc88aec 100644
return;
}
--
1.7.10

View File

@ -1,7 +1,7 @@
From 1387a1a51f1f13f741eb59ca2c70a3b969c26f45 Mon Sep 17 00:00:00 2001
From 00bd14b1d4a83a644e655492cea4ef67dfac7841 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/278] rcu: Reduce lock section
Subject: [PATCH 067/279] rcu: Reduce lock section
So the waitqueue wakeup is outside the raw locked section.
@ -93,6 +93,3 @@ index 4b9b9f8..73cab33 100644
}
#endif /* #ifdef CONFIG_HOTPLUG_CPU */
--
1.7.10

View File

@ -1,7 +1,7 @@
From 317170e636003f7068b5f6be64087d8daefd9659 Mon Sep 17 00:00:00 2001
From 5b87eb4cbf67eb1574cc627959e90ad834c273e2 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/278] locking-various-init-fixes.patch
Subject: [PATCH 068/279] locking-various-init-fixes.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
@ -13,7 +13,7 @@ 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 6380143..3e1bdd0 100644
index 62d59ed..d38af32 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -445,7 +445,7 @@ static struct entropy_store input_pool = {
@ -95,6 +95,3 @@ index 48c6fd3..482a0e3 100644
};
#endif
--
1.7.10

View File

@ -1,7 +1,7 @@
From fb667ce78c9eebc2880212d6c9e53240b95fad8e Mon Sep 17 00:00:00 2001
From b0885be6a7391a7612db2356d7fc026d839696cc 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/278] wait: Provide __wake_up_all_locked
Subject: [PATCH 069/279] 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 231081a..86cc07e 100644
index f41adf5..0aca7d2 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -4823,9 +4823,9 @@ EXPORT_SYMBOL(__wake_up);
@@ -4829,9 +4829,9 @@ EXPORT_SYMBOL(__wake_up);
/*
* Same as __wake_up but called with the spinlock in wait_queue_head_t held.
*/
@ -53,6 +53,3 @@ index 231081a..86cc07e 100644
}
EXPORT_SYMBOL_GPL(__wake_up_locked);
--
1.7.10

View File

@ -1,7 +1,7 @@
From 12eb0bb3ba30d4af0992d3992d49c0422cf795c3 Mon Sep 17 00:00:00 2001
From b62f3b10fc55cc3a7cefbe327c5c92cc9b72fe4e 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/278] pci: Use __wake_up_all_locked
Subject: [PATCH 070/279] 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
@ -27,6 +27,3 @@ index fdaa42a..1a6cc67 100644
raw_spin_unlock_irqrestore(&pci_lock, flags);
}
EXPORT_SYMBOL_GPL(pci_unblock_user_cfg_access);
--
1.7.10

View File

@ -1,7 +1,7 @@
From b65fb4b8a925705a806a596ed58f1cd0fe5a3130 Mon Sep 17 00:00:00 2001
From e2e4923b0683b2aca80a314727786122a6085bdc 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/278] latency-hist.patch
Subject: [PATCH 071/279] latency-hist.patch
This patch provides a recording mechanism to store data of potential
sources of system latencies. The recordings separately determine the
@ -1791,6 +1791,3 @@ index 20dad0d..1e6c33e 100644
if (preempt_trace() && !irq_trace())
start_critical_timing(a0, a1);
}
--
1.7.10

View File

@ -1,7 +1,7 @@
From 618ca650950b983c46c54337c1c872e836c85607 Mon Sep 17 00:00:00 2001
From 2c9b68137c29dc1cc749ecaf73b0b50a78a3118a 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/278] hwlatdetect.patch
Subject: [PATCH 072/279] hwlatdetect.patch
Jon Masters developed this wonderful SMI detector. For details please
consult Documentation/hwlat_detector.txt. It could be ported to Linux
@ -89,7 +89,7 @@ index 0000000..cb61516
+then we write to a global sample ring buffer of 8K samples, which is
+consumed by reading from the "sample" (pipe) debugfs file interface.
diff --git a/MAINTAINERS b/MAINTAINERS
index f986e7d..b257477 100644
index 82d7fa6..92a9df2 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -3008,6 +3008,15 @@ L: linuxppc-dev@lists.ozlabs.org
@ -1375,6 +1375,3 @@ index 0000000..b7b7c90
+
+module_init(detector_init);
+module_exit(detector_exit);
--
1.7.10

View File

@ -1,7 +1,7 @@
From fcf8c894c3091477ee01bd0571d2ec3d7def3869 Mon Sep 17 00:00:00 2001
From 8970b43883e5cdce9bd6f2360b5d8dcfdcf7d837 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/278] localversion.patch
Subject: [PATCH 073/279] localversion.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
@ -18,6 +18,3 @@ index 0000000..b2111a2
+++ b/localversion-rt
@@ -0,0 +1 @@
+-rt24
--
1.7.10

View File

@ -1,7 +1,7 @@
From 798408ac06a5251d5b78b02af144cea741031e57 Mon Sep 17 00:00:00 2001
From 09e6b68fd3582684451160581019b7f48a533fde 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/278] early-printk-consolidate.patch
Subject: [PATCH 074/279] early-printk-consolidate.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
@ -494,6 +494,3 @@ index 7982a0a..b7aa50e 100644
static int __read_mostly ignore_loglevel;
static int __init ignore_loglevel_setup(char *str)
--
1.7.10

View File

@ -1,7 +1,7 @@
From 05fb3fbd4f0fe9b226c11df593866edea3303f41 Mon Sep 17 00:00:00 2001
From deb6f0b43549dd681de87ce5d6a1fdfaf47d5704 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/278] printk-kill.patch
Subject: [PATCH 075/279] printk-kill.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
@ -120,6 +120,3 @@ index 1d7bca7..c7e2a2f 100644
__this_cpu_write(hard_watchdog_warn, true);
return;
--
1.7.10

View File

@ -1,7 +1,7 @@
From ba527c602c2458230136fbd44ef2e164a41cbd9b Mon Sep 17 00:00:00 2001
From f7bbbb4af64ce540efc723144c728090af29394b 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/278] printk: 'force_early_printk' boot param to help with
Subject: [PATCH 076/279] printk: 'force_early_printk' boot param to help with
debugging
Gives me an option to screw printk and actually see what the machine
@ -33,6 +33,3 @@ index 96ee3cd..1f06626 100644
void printk_kill(void)
{
printk_killswitch = 1;
--
1.7.10

View File

@ -1,7 +1,7 @@
From c7694b21ffb225e2352fa57679b1c4c4995c1e83 Mon Sep 17 00:00:00 2001
From 7049885b8904594cb115a89dd211ae20a2baa0be 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/278] rt-preempt-base-config.patch
Subject: [PATCH 077/279] rt-preempt-base-config.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
@ -50,6 +50,3 @@ index 24e7cb0..35c6f20 100644
endchoice
config PREEMPT_COUNT
--
1.7.10

View File

@ -1,7 +1,7 @@
From 908bd00f5fe6dd62e9e36bfad5c49bbac95fed27 Mon Sep 17 00:00:00 2001
From 503d40d836ae3b9bebe67bca2c0ee9392dc42be1 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/278] bug: BUG_ON/WARN_ON variants dependend on RT/!RT
Subject: [PATCH 078/279] 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>
@ -43,6 +43,3 @@ index 84458b0..97c1eaf 100644
+#endif
+
#endif
--
1.7.10

View File

@ -1,7 +1,7 @@
From 9db20408f1850bf63ce685b129d5cb06991625f2 Mon Sep 17 00:00:00 2001
From e56c62bef773d984a0163489d3799a1dffff22cb 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/278] rt: local_irq_* variants depending on RT/!RT
Subject: [PATCH 079/279] 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
@ -54,6 +54,3 @@ index d176d65..37b13c4 100644
+#endif
+
#endif
--
1.7.10

View File

@ -1,7 +1,7 @@
From 87ed9b7a9b3db7b5207efacb72c649d86a68b13f Mon Sep 17 00:00:00 2001
From 804e6b7724f5828c6830ec4e1180127096e010b3 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/278] preempt: Provide preempt_*_(no)rt variants
Subject: [PATCH 080/279] preempt: Provide preempt_*_(no)rt variants
RT needs a few preempt_disable/enable points which are not necessary
otherwise. Implement variants to avoid #ifdeffery.
@ -52,6 +52,3 @@ index 227b0f5..29db25f 100644
#ifdef CONFIG_PREEMPT_NOTIFIERS
struct preempt_notifier;
--
1.7.10

View File

@ -1,7 +1,7 @@
From 50df976ad46056cee2b8463ce825e46eb4b7533a Mon Sep 17 00:00:00 2001
From b76299dae5b121ab493048dedb4b56e554885474 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/278] ata: Do not disable interrupts in ide code for
Subject: [PATCH 081/279] ata: Do not disable interrupts in ide code for
preempt-rt
Use the local_irq_*_nort variants.
@ -65,6 +65,3 @@ index 4cadfa2..100f85c 100644
} else {
buf = page_address(page);
consumed = ap->ops->sff_data_xfer(dev, buf + offset,
--
1.7.10

View File

@ -1,7 +1,7 @@
From d9acdaad1f2c12b39334c6e1c18862f64cbcb672 Mon Sep 17 00:00:00 2001
From 9aeaa864962e79ffd6140503d8cc578f9688751c 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/278] ide: Do not disable interrupts for PREEMPT-RT
Subject: [PATCH 082/279] ide: Do not disable interrupts for PREEMPT-RT
Use the local_irq_*_nort variants.
@ -181,6 +181,3 @@ index 5bc2839..da861a6 100644
ide_set_handler(drive, &task_pio_intr, WAIT_WORSTCASE);
--
1.7.10

View File

@ -1,7 +1,7 @@
From 2c77a71ad7457d6cb08ce5d9410c1be6ae7b42f6 Mon Sep 17 00:00:00 2001
From adfba66092ecef070f0a6053428058c2acc92052 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/278] infiniband: Mellanox IB driver patch use _nort()
Subject: [PATCH 083/279] infiniband: Mellanox IB driver patch use _nort()
primitives
Fixes in_atomic stack-dump, when Mellanox module is loaded into the RT
@ -41,6 +41,3 @@ index e5069b4..2683192 100644
/* We have to cancel outside of the spinlock */
list_for_each_entry_safe(mcast, tmcast, &remove_list, list) {
--
1.7.10

View File

@ -1,7 +1,7 @@
From 26991f68b79e03ff3463c4cfc7e877acfb8a5ef9 Mon Sep 17 00:00:00 2001
From 90bcaa3aa928de6d96cc2538492c064de13f7e3a 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/278] input: gameport: Do not disable interrupts on
Subject: [PATCH 084/279] input: gameport: Do not disable interrupts on
PREEMPT_RT
Use the _nort() primitives.
@ -45,6 +45,3 @@ index c351aa4..1ecaf60 100644
udelay(i * 10);
if (t2 - t1 < tx) tx = t2 - t1;
}
--
1.7.10

View File

@ -1,7 +1,7 @@
From cc5b1f22bf2d4ca3b414b4137e52de06645dea85 Mon Sep 17 00:00:00 2001
From 1fab476fb124a18d5859cd80f9e5f670a543b33e 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/278] acpi: Do not disable interrupts on PREEMPT_RT
Subject: [PATCH 085/279] acpi: Do not disable interrupts on PREEMPT_RT
Use the local_irq_*_nort() variants.
@ -25,6 +25,3 @@ index 610001d..c1c23d2 100644
#define ACPI_FLUSH_CPU_CACHE() wbinvd()
int __acpi_acquire_global_lock(unsigned int *lock);
--
1.7.10

View File

@ -1,7 +1,7 @@
From 48fbafb29f2ed0df85015cf5a4588aa83843f6ab Mon Sep 17 00:00:00 2001
From bf8acf98e7db215050916146af2b8be8f5d5bcaa 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/278] core: Do not disable interrupts on RT in
Subject: [PATCH 086/279] core: Do not disable interrupts on RT in
kernel/users.c
Use the local_irq_*_nort variants to reduce latencies in RT. The code
@ -30,6 +30,3 @@ index 71dd236..b831e51 100644
}
struct user_struct *alloc_uid(struct user_namespace *ns, uid_t uid)
--
1.7.10

View File

@ -1,7 +1,7 @@
From 02450f5f87495e095a51383011f5bc578c2d154c Mon Sep 17 00:00:00 2001
From fe7811b66b6e3e6837f48f8a9d786698fd4bf1a1 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/278] core: Do not disable interrupts on RT in
Subject: [PATCH 087/279] core: Do not disable interrupts on RT in
res_counter.c
Frederic Weisbecker reported this warning:
@ -85,6 +85,3 @@ index 34683ef..21e9ec4 100644
}
--
1.7.10

View File

@ -1,7 +1,7 @@
From f6777dad6900ca6155909ac92afd43323387c5cf Mon Sep 17 00:00:00 2001
From 4a479bffead52c88dd910b566f05cc23bb3b559c 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/278] usb: Use local_irq_*_nort() variants
Subject: [PATCH 088/279] usb: Use local_irq_*_nort() variants
[ tglx: Now that irqf_disabled is dead we should kill that ]
@ -34,6 +34,3 @@ index 8cb9304..32dfd76 100644
return rc;
}
EXPORT_SYMBOL_GPL(usb_hcd_irq);
--
1.7.10

View File

@ -1,7 +1,7 @@
From 6d52f6005ad4b00ece0e928d283b5cb11097d86a Mon Sep 17 00:00:00 2001
From 1480103712b38e0dbffa9a66628030638c1c88f5 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/278] tty: Do not disable interrupts in put_ldisc on -rt
Subject: [PATCH 089/279] tty: Do not disable interrupts in put_ldisc on -rt
Fixes the following on PREEMPT_RT:
@ -47,6 +47,3 @@ index 8e0924f..820f7dc 100644
wake_up(&tty_ldisc_idle);
}
--
1.7.10

View File

@ -1,7 +1,7 @@
From bc3b959ddab89ba97e9306d7693652af076ba7e9 Mon Sep 17 00:00:00 2001
From 094707f371b2d20ca67b5f32f97458f52cf74666 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/278] mm: scatterlist dont disable irqs on RT
Subject: [PATCH 090/279] mm: scatterlist dont disable irqs on RT
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
@ -39,6 +39,3 @@ index 4ceb05d..181f364 100644
return offset;
}
--
1.7.10

View File

@ -1,7 +1,7 @@
From 8050380868f440147751701b6eb181ea6b024bb2 Mon Sep 17 00:00:00 2001
From 54f7e1e25103cdc60f97bc1db95332e7cadae35e 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/278] signal-fix-up-rcu-wreckage.patch
Subject: [PATCH 091/279] signal-fix-up-rcu-wreckage.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
@ -36,6 +36,3 @@ index 385d137..6b744cb 100644
}
return sighand;
--
1.7.10

View File

@ -1,7 +1,7 @@
From 0d92caa024cabf5a47ad9be8a5b20cef67360238 Mon Sep 17 00:00:00 2001
From 0ef590b5b9fe24da443cb3ef3f1d80a68ab88a83 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/278] net-wireless-warn-nort.patch
Subject: [PATCH 092/279] net-wireless-warn-nort.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
@ -21,6 +21,3 @@ index cda4875..6791b22 100644
if (WARN_ON(status->band < 0 ||
status->band >= IEEE80211_NUM_BANDS))
--
1.7.10

View File

@ -1,7 +1,7 @@
From 19bd2789319486d3fb67c558adf63ddae40fd6a5 Mon Sep 17 00:00:00 2001
From 66fee2fe064206b1e50710b949dfdf725e4de121 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/278] mm: Replace cgroup_page bit spinlock
Subject: [PATCH 093/279] mm: Replace cgroup_page bit spinlock
Bit spinlocks are not working on RT. Replace them.
@ -93,6 +93,3 @@ index 2d123f9..2e0d18d 100644
}
static unsigned long total_usage;
--
1.7.10

View File

@ -1,7 +1,7 @@
From 102af809f9709c00543fddb164bf9172a17aee07 Mon Sep 17 00:00:00 2001
From d17cd1958ec16ff58013fe8f875c2731da43e10e 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/278] buffer_head: Replace bh_uptodate_lock for -rt
Subject: [PATCH 094/279] 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 4115eca..039fbba 100644
index 19a4f0b..997b199 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 4115eca..039fbba 100644
}
EXPORT_SYMBOL(end_buffer_async_write);
@@ -3229,6 +3221,7 @@ struct buffer_head *alloc_buffer_head(gfp_t gfp_flags)
@@ -3222,6 +3214,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);
@ -166,6 +166,3 @@ index 458f497..5c16cf1 100644
/*
* macro tricks to expand the set_buffer_foo(), clear_buffer_foo()
* and buffer_foo() functions.
--
1.7.10

View File

@ -1,7 +1,7 @@
From 4374cc1753a5bbb642b8a73f56c7773e25818faf Mon Sep 17 00:00:00 2001
From 5c1cac09a9b45ef43183e25b88828896b3dab638 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/278] fs: jbd/jbd2: Make state lock and journal head lock
Subject: [PATCH 095/279] fs: jbd/jbd2: Make state lock and journal head lock
rt safe
bit_spin_locks break under RT.
@ -108,6 +108,3 @@ index 6230f85..11c313e 100644
}
#endif
--
1.7.10

View File

@ -1,7 +1,7 @@
From 1743138982598a9edb7eb5685e6f4027d60baacb Mon Sep 17 00:00:00 2001
From 4508f1b89648b1307d421cedcc114df47e68dfa4 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/278] genirq: Disable DEBUG_SHIRQ for rt
Subject: [PATCH 096/279] genirq: Disable DEBUG_SHIRQ for rt
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
@ -21,6 +21,3 @@ index 82928f5..c347db3 100644
help
Enable this to generate a spurious interrupt as soon as a shared
interrupt handler is registered, and just before one is deregistered.
--
1.7.10

View File

@ -1,7 +1,7 @@
From 648e61fb6deff5e0e38e4205a71d16872181a82a Mon Sep 17 00:00:00 2001
From 4e091bb33fc16ca13dfa826d3efa02675963a03f 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/278] genirq: Disable random call on preempt-rt
Subject: [PATCH 097/279] genirq: Disable random call on preempt-rt
The random call introduces high latencies and is almost
unused. Disable it for -rt.
@ -26,6 +26,3 @@ index 10e0772..a768885 100644
if (!noirqdebug)
note_interrupt(irq, desc, retval);
--
1.7.10

View File

@ -1,7 +1,7 @@
From d065f8bc0d129cbe6e9d77668daf954073868025 Mon Sep 17 00:00:00 2001
From 60054c61b43d1bd6d06080f1545b59528c6ac47f 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/278] genirq: disable irqpoll on -rt
Subject: [PATCH 098/279] genirq: disable irqpoll on -rt
Creates long latencies for no value
@ -39,6 +39,3 @@ index dc813a9..d09e0f5 100644
irqfixup = 2;
printk(KERN_WARNING "Misrouted IRQ fixup and polling support "
"enabled\n");
--
1.7.10

View File

@ -1,7 +1,7 @@
From 66125474c0d5b90240d41db5b5dfdf685efecbad Mon Sep 17 00:00:00 2001
From f212a83619a09ca820e2f5f7d1d4a559e995e15e 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/278] genirq-force-threading.patch
Subject: [PATCH 099/279] genirq-force-threading.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
@ -49,6 +49,3 @@ index 7600092..b3e6228 100644
#endif
/**
--
1.7.10

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