diff --git a/debian/changelog b/debian/changelog index 5eddae87e..61885a21f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -85,7 +85,7 @@ linux (3.2.32-1) UNRELEASED; urgency=low * connector: Make CONNECTOR built-in; enable PROC_EVENTS (Closes: #588200) * e1000e: Change wthresh to 1 to avoid possible Tx stalls * [x86] efi: Build EFI stub with EFI-appropriate options - * [rt] Update to 3.2.31-rt47: + * [rt] Update to 3.2.32-rt48: - random: Make add_interrupt_randomness() work on rt - softirq: Init softirq local lock after per cpu section is set up - mm: slab: Fix potential deadlock diff --git a/debian/patches/features/all/rt/0001-Revert-workqueue-skip-nr_running-sanity-check-in-wor.patch b/debian/patches/features/all/rt/0001-Revert-workqueue-skip-nr_running-sanity-check-in-wor.patch index 622d5e672..45e5c264e 100644 --- a/debian/patches/features/all/rt/0001-Revert-workqueue-skip-nr_running-sanity-check-in-wor.patch +++ b/debian/patches/features/all/rt/0001-Revert-workqueue-skip-nr_running-sanity-check-in-wor.patch @@ -1,7 +1,7 @@ -From 4849a4ba1ea32ff6c5733e5371c2341724dd0853 Mon Sep 17 00:00:00 2001 +From 40ff3fa2fc5f67823a7c8408dc2777cbd979a719 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Wed, 6 Jun 2012 17:07:34 -0400 -Subject: [PATCH 001/286] Revert "workqueue: skip nr_running sanity check in +Subject: [PATCH 001/287] 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 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/kernel/workqueue.c b/kernel/workqueue.c -index b413138..0828b8e 100644 +index 43a19c5..ecb92db 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -1215,13 +1215,8 @@ static void worker_enter_idle(struct worker *worker) diff --git a/debian/patches/features/all/rt/0002-x86-Call-idle-notifier-after-irq_enter.patch b/debian/patches/features/all/rt/0002-x86-Call-idle-notifier-after-irq_enter.patch index 4046561cf..ae497ea28 100644 --- a/debian/patches/features/all/rt/0002-x86-Call-idle-notifier-after-irq_enter.patch +++ b/debian/patches/features/all/rt/0002-x86-Call-idle-notifier-after-irq_enter.patch @@ -1,7 +1,7 @@ -From 03e8f637b811769cbe0feae2388c19a3452b611e Mon Sep 17 00:00:00 2001 +From 35ae5a058eec4261a05eea67efc7f76178d40e7a Mon Sep 17 00:00:00 2001 From: Frederic Weisbecker Date: Mon, 26 Sep 2011 12:19:11 +0200 -Subject: [PATCH 002/286] x86: Call idle notifier after irq_enter() +Subject: [PATCH 002/287] 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 diff --git a/debian/patches/features/all/rt/0003-slab-lockdep-Annotate-all-slab-caches.patch b/debian/patches/features/all/rt/0003-slab-lockdep-Annotate-all-slab-caches.patch index 649c8f0bd..3b523ee3a 100644 --- a/debian/patches/features/all/rt/0003-slab-lockdep-Annotate-all-slab-caches.patch +++ b/debian/patches/features/all/rt/0003-slab-lockdep-Annotate-all-slab-caches.patch @@ -1,7 +1,7 @@ -From ead56cb49250c8b6512dc7688019d07fdaa34941 Mon Sep 17 00:00:00 2001 +From 26486b9ff7aa913e61f1eb7f98385e9e84b9ebf0 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Mon, 28 Nov 2011 19:51:51 +0100 -Subject: [PATCH 003/286] slab, lockdep: Annotate all slab caches +Subject: [PATCH 003/287] slab, lockdep: Annotate all slab caches Currently we only annotate the kmalloc caches, annotate all of them. @@ -15,15 +15,15 @@ Cc: linux-mm@kvack.org Cc: David Rientjes Signed-off-by: Thomas Gleixner Link: http://lkml.kernel.org/n/tip-10bey2cgpcvtbdkgigaoab8w@git.kernel.org -[bwh: Adjust deletion of call to init_lock_keys() from kmem_cache_init_late(), - as it moved in 3.2.32] --- - mm/slab.c | 52 ++++++++++++++++++++++++++++------------------------ - 1 file changed, 28 insertions(+), 24 deletions(-) + mm/slab.c | 49 ++++++++++++++++++++++++++++--------------------- + 1 file changed, 28 insertions(+), 21 deletions(-) +diff --git a/mm/slab.c b/mm/slab.c +index 4c3b671..61dfda3 100644 --- a/mm/slab.c +++ b/mm/slab.c -@@ -609,6 +609,12 @@ int slab_is_available(void) +@@ -607,6 +607,12 @@ int slab_is_available(void) return g_cpucache_up >= EARLY; } @@ -36,7 +36,7 @@ Link: http://lkml.kernel.org/n/tip-10bey2cgpcvtbdkgigaoab8w@git.kernel.org #ifdef CONFIG_LOCKDEP /* -@@ -670,38 +676,41 @@ static void slab_set_debugobj_lock_class +@@ -668,38 +674,41 @@ static void slab_set_debugobj_lock_classes(struct kmem_cache *cachep) slab_set_debugobj_lock_classes_node(cachep, node); } @@ -92,7 +92,7 @@ Link: http://lkml.kernel.org/n/tip-10bey2cgpcvtbdkgigaoab8w@git.kernel.org { } -@@ -714,12 +723,6 @@ static void slab_set_debugobj_lock_class +@@ -712,12 +721,6 @@ static void slab_set_debugobj_lock_classes(struct kmem_cache *cachep) } #endif @@ -105,7 +105,7 @@ Link: http://lkml.kernel.org/n/tip-10bey2cgpcvtbdkgigaoab8w@git.kernel.org static DEFINE_PER_CPU(struct delayed_work, slab_reap_work); static inline struct array_cache *cpu_cache_get(struct kmem_cache *cachep) -@@ -1673,14 +1676,13 @@ void __init kmem_cache_init_late(void) +@@ -1671,9 +1674,11 @@ void __init kmem_cache_init_late(void) /* 6) resize the head arrays to their final sizes */ mutex_lock(&cache_chain_mutex); @@ -117,13 +117,8 @@ Link: http://lkml.kernel.org/n/tip-10bey2cgpcvtbdkgigaoab8w@git.kernel.org + } mutex_unlock(&cache_chain_mutex); -- /* Annotate slab for lockdep -- annotate the malloc caches */ -- init_lock_keys(); -- - /* Done! */ - g_cpucache_up = FULL; - -@@ -2481,6 +2483,8 @@ kmem_cache_create (const char *name, siz + /* Annotate slab for lockdep -- annotate the malloc caches */ +@@ -2479,6 +2484,8 @@ kmem_cache_create (const char *name, size_t size, size_t align, slab_set_debugobj_lock_classes(cachep); } diff --git a/debian/patches/features/all/rt/0004-x86-kprobes-Remove-remove-bogus-preempt_enable.patch b/debian/patches/features/all/rt/0004-x86-kprobes-Remove-remove-bogus-preempt_enable.patch index ca856c29b..46be47b4a 100644 --- a/debian/patches/features/all/rt/0004-x86-kprobes-Remove-remove-bogus-preempt_enable.patch +++ b/debian/patches/features/all/rt/0004-x86-kprobes-Remove-remove-bogus-preempt_enable.patch @@ -1,7 +1,7 @@ -From 0a7a9970e7211eaa71865b504d2b0a6c8fab7a78 Mon Sep 17 00:00:00 2001 +From 5500b2a2da3b94c18d1148cc504f5dd8a1e36ab2 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 17 Mar 2011 11:02:15 +0100 -Subject: [PATCH 004/286] x86: kprobes: Remove remove bogus preempt_enable +Subject: [PATCH 004/287] x86: kprobes: Remove remove bogus preempt_enable The CONFIG_PREEMPT=n section of setup_singlestep() contains: diff --git a/debian/patches/features/all/rt/0005-x86-hpet-Disable-MSI-on-Lenovo-W510.patch b/debian/patches/features/all/rt/0005-x86-hpet-Disable-MSI-on-Lenovo-W510.patch index b642aefac..d508e2172 100644 --- a/debian/patches/features/all/rt/0005-x86-hpet-Disable-MSI-on-Lenovo-W510.patch +++ b/debian/patches/features/all/rt/0005-x86-hpet-Disable-MSI-on-Lenovo-W510.patch @@ -1,7 +1,7 @@ -From c70c05919eefc99b75fe49087e759cd70d582469 Mon Sep 17 00:00:00 2001 +From bc0f69e0d04e2340bf45b020a7931abc7316493f Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 30 Sep 2011 20:03:37 +0200 -Subject: [PATCH 005/286] x86: hpet: Disable MSI on Lenovo W510 +Subject: [PATCH 005/287] 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 diff --git a/debian/patches/features/all/rt/0006-block-Shorten-interrupt-disabled-regions.patch b/debian/patches/features/all/rt/0006-block-Shorten-interrupt-disabled-regions.patch index 92b4620de..98c47eeba 100644 --- a/debian/patches/features/all/rt/0006-block-Shorten-interrupt-disabled-regions.patch +++ b/debian/patches/features/all/rt/0006-block-Shorten-interrupt-disabled-regions.patch @@ -1,7 +1,7 @@ -From fd79c81d963538047768ed9f94aa2af6a752835f Mon Sep 17 00:00:00 2001 +From 589b8e7af2f453e0ecfc074f114b4403ee214534 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 22 Jun 2011 19:47:02 +0200 -Subject: [PATCH 006/286] block: Shorten interrupt disabled regions +Subject: [PATCH 006/287] 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 diff --git a/debian/patches/features/all/rt/0007-sched-Distangle-worker-accounting-from-rq-3Elock.patch b/debian/patches/features/all/rt/0007-sched-Distangle-worker-accounting-from-rq-3Elock.patch index 18464d3ba..d6fb19ebd 100644 --- a/debian/patches/features/all/rt/0007-sched-Distangle-worker-accounting-from-rq-3Elock.patch +++ b/debian/patches/features/all/rt/0007-sched-Distangle-worker-accounting-from-rq-3Elock.patch @@ -1,7 +1,7 @@ -From ddab698615a4c4dc9361ede1a5c56fd17a463ffd Mon Sep 17 00:00:00 2001 +From 60eb537a57a37cadf0d8a50778ae8edd3f0a9c51 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 22 Jun 2011 19:47:03 +0200 -Subject: [PATCH 007/286] sched: Distangle worker accounting from rq-%3Elock +Subject: [PATCH 007/287] 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 @@ -141,7 +141,7 @@ index fcc893f..b14949d 100644 EXPORT_SYMBOL(schedule); diff --git a/kernel/workqueue.c b/kernel/workqueue.c -index 0828b8e..4bd2abb 100644 +index ecb92db..f09d7e2 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -137,6 +137,7 @@ struct worker { diff --git a/debian/patches/features/all/rt/0008-mips-enable-interrupts-in-signal.patch.patch b/debian/patches/features/all/rt/0008-mips-enable-interrupts-in-signal.patch.patch index 04ff073f3..a031e24df 100644 --- a/debian/patches/features/all/rt/0008-mips-enable-interrupts-in-signal.patch.patch +++ b/debian/patches/features/all/rt/0008-mips-enable-interrupts-in-signal.patch.patch @@ -1,7 +1,7 @@ -From e5d27504904a2b3c4109fd7cf0749315e0e0e1ed Mon Sep 17 00:00:00 2001 +From 1f00099ad5c8292e143c82254dcfe360b1a854bb Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 18 Jul 2011 21:32:10 +0200 -Subject: [PATCH 008/286] mips-enable-interrupts-in-signal.patch +Subject: [PATCH 008/287] mips-enable-interrupts-in-signal.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0009-arm-enable-interrupts-in-signal-code.patch.patch b/debian/patches/features/all/rt/0009-arm-enable-interrupts-in-signal-code.patch.patch index 501f8e24e..dfe6a443d 100644 --- a/debian/patches/features/all/rt/0009-arm-enable-interrupts-in-signal-code.patch.patch +++ b/debian/patches/features/all/rt/0009-arm-enable-interrupts-in-signal-code.patch.patch @@ -1,7 +1,7 @@ -From 2e3917d792d5bc6c1b5f0a0c47d12b38e6dcb95d Mon Sep 17 00:00:00 2001 +From 9358b9e7ea130be4f7761b7186e4a3184cedd778 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 16 Jul 2011 16:27:13 +0200 -Subject: [PATCH 009/286] arm-enable-interrupts-in-signal-code.patch +Subject: [PATCH 009/287] arm-enable-interrupts-in-signal-code.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0010-powerpc-85xx-Mark-cascade-irq-IRQF_NO_THREAD.patch b/debian/patches/features/all/rt/0010-powerpc-85xx-Mark-cascade-irq-IRQF_NO_THREAD.patch index 295b378d9..580904ace 100644 --- a/debian/patches/features/all/rt/0010-powerpc-85xx-Mark-cascade-irq-IRQF_NO_THREAD.patch +++ b/debian/patches/features/all/rt/0010-powerpc-85xx-Mark-cascade-irq-IRQF_NO_THREAD.patch @@ -1,7 +1,7 @@ -From 052bd8931248e14b2e0a5846596c05cd8ecff655 Mon Sep 17 00:00:00 2001 +From 3033f163ab076bb36afcd1500fe34887c6940fe3 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 16 Jul 2011 12:09:54 +0200 -Subject: [PATCH 010/286] powerpc: 85xx: Mark cascade irq IRQF_NO_THREAD +Subject: [PATCH 010/287] powerpc: 85xx: Mark cascade irq IRQF_NO_THREAD Cascade interrupt must run in hard interrupt context. diff --git a/debian/patches/features/all/rt/0011-powerpc-wsp-Mark-opb-cascade-handler-IRQF_NO_THREAD.patch b/debian/patches/features/all/rt/0011-powerpc-wsp-Mark-opb-cascade-handler-IRQF_NO_THREAD.patch index d10f16819..15a391326 100644 --- a/debian/patches/features/all/rt/0011-powerpc-wsp-Mark-opb-cascade-handler-IRQF_NO_THREAD.patch +++ b/debian/patches/features/all/rt/0011-powerpc-wsp-Mark-opb-cascade-handler-IRQF_NO_THREAD.patch @@ -1,7 +1,7 @@ -From 58286bd0d33f6befe2309ab52efeed3fb39b8107 Mon Sep 17 00:00:00 2001 +From 2308c8357855315c1f6c122d19938066709ca479 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 5 Oct 2011 14:11:24 +0200 -Subject: [PATCH 011/286] powerpc: wsp: Mark opb cascade handler +Subject: [PATCH 011/287] powerpc: wsp: Mark opb cascade handler IRQF_NO_THREAD Cascade handlers must run in hard interrupt context. diff --git a/debian/patches/features/all/rt/0012-powerpc-Mark-IPI-interrupts-IRQF_NO_THREAD.patch b/debian/patches/features/all/rt/0012-powerpc-Mark-IPI-interrupts-IRQF_NO_THREAD.patch index 718294257..25bd6a077 100644 --- a/debian/patches/features/all/rt/0012-powerpc-Mark-IPI-interrupts-IRQF_NO_THREAD.patch +++ b/debian/patches/features/all/rt/0012-powerpc-Mark-IPI-interrupts-IRQF_NO_THREAD.patch @@ -1,7 +1,7 @@ -From d218a80d59c66bed37eabbf86ff41e400d9e6d4a Mon Sep 17 00:00:00 2001 +From 763a68dbaffd6c11717b00bba84406c690b63aa3 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 5 Oct 2011 14:00:26 +0200 -Subject: [PATCH 012/286] powerpc: Mark IPI interrupts IRQF_NO_THREAD +Subject: [PATCH 012/287] powerpc: Mark IPI interrupts IRQF_NO_THREAD IPI handlers cannot be threaded. Remove the obsolete IRQF_DISABLED flag (see commit e58aa3d2) while at it. diff --git a/debian/patches/features/all/rt/0013-powerpc-Allow-irq-threading.patch b/debian/patches/features/all/rt/0013-powerpc-Allow-irq-threading.patch index cb1b8bb3e..b6db5e48d 100644 --- a/debian/patches/features/all/rt/0013-powerpc-Allow-irq-threading.patch +++ b/debian/patches/features/all/rt/0013-powerpc-Allow-irq-threading.patch @@ -1,7 +1,7 @@ -From 654ee649aa52817d2f3d0ae3a1584feefd034c9e Mon Sep 17 00:00:00 2001 +From f6ab8640973a65c68d9856cbf882db41f3984b57 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 16 Jul 2011 13:16:24 +0200 -Subject: [PATCH 013/286] powerpc: Allow irq threading +Subject: [PATCH 013/287] 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. diff --git a/debian/patches/features/all/rt/0014-sched-Keep-period-timer-ticking-when-throttling-acti.patch b/debian/patches/features/all/rt/0014-sched-Keep-period-timer-ticking-when-throttling-acti.patch index cd4ae05c5..fbb000a2c 100644 --- a/debian/patches/features/all/rt/0014-sched-Keep-period-timer-ticking-when-throttling-acti.patch +++ b/debian/patches/features/all/rt/0014-sched-Keep-period-timer-ticking-when-throttling-acti.patch @@ -1,7 +1,7 @@ -From c2baf65c7ce0d31526423fa2b9259b042b6cb2a6 Mon Sep 17 00:00:00 2001 +From 8dfe3bc738b6a4665d55058d9b88cc92815763ca Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Tue, 18 Oct 2011 22:03:48 +0200 -Subject: [PATCH 014/286] sched: Keep period timer ticking when throttling +Subject: [PATCH 014/287] sched: Keep period timer ticking when throttling active When a runqueue is throttled we cannot disable the period timer diff --git a/debian/patches/features/all/rt/0015-sched-Do-not-throttle-due-to-PI-boosting.patch b/debian/patches/features/all/rt/0015-sched-Do-not-throttle-due-to-PI-boosting.patch index f510958b5..4e91671e3 100644 --- a/debian/patches/features/all/rt/0015-sched-Do-not-throttle-due-to-PI-boosting.patch +++ b/debian/patches/features/all/rt/0015-sched-Do-not-throttle-due-to-PI-boosting.patch @@ -1,7 +1,7 @@ -From 2244c283d725f791c79def5c10f4c3455de14f30 Mon Sep 17 00:00:00 2001 +From 23b07592c9a5e02fd84685ba7272257884300038 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Tue, 18 Oct 2011 22:03:48 +0200 -Subject: [PATCH 015/286] sched: Do not throttle due to PI boosting +Subject: [PATCH 015/287] 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 diff --git a/debian/patches/features/all/rt/0016-time-Remove-bogus-comments.patch b/debian/patches/features/all/rt/0016-time-Remove-bogus-comments.patch index 6c66768dd..183142f10 100644 --- a/debian/patches/features/all/rt/0016-time-Remove-bogus-comments.patch +++ b/debian/patches/features/all/rt/0016-time-Remove-bogus-comments.patch @@ -1,7 +1,7 @@ -From ebaae87094f282b4d1bcea6e67ddcbda45ef4935 Mon Sep 17 00:00:00 2001 +From dcea59508d1c0e924d9fd1065d2fba394ddd3081 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 28 Feb 2012 19:06:50 +0100 -Subject: [PATCH 016/286] time: Remove bogus comments +Subject: [PATCH 016/287] 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 diff --git a/debian/patches/features/all/rt/0017-x86-vdso-Remove-bogus-locking-in-update_vsyscall_tz.patch b/debian/patches/features/all/rt/0017-x86-vdso-Remove-bogus-locking-in-update_vsyscall_tz.patch index 395a229d8..2308abc51 100644 --- a/debian/patches/features/all/rt/0017-x86-vdso-Remove-bogus-locking-in-update_vsyscall_tz.patch +++ b/debian/patches/features/all/rt/0017-x86-vdso-Remove-bogus-locking-in-update_vsyscall_tz.patch @@ -1,7 +1,7 @@ -From 46122818f49121bb3a5c114182a80fd771b7ee42 Mon Sep 17 00:00:00 2001 +From bd47276f21ee17dd70d67fb7f69499ce108a05bf Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 28 Feb 2012 19:10:46 +0100 -Subject: [PATCH 017/286] x86: vdso: Remove bogus locking in +Subject: [PATCH 017/287] x86: vdso: Remove bogus locking in update_vsyscall_tz() Changing the sequence count in update_vsyscall_tz() is completely diff --git a/debian/patches/features/all/rt/0018-x86-vdso-Use-seqcount-instead-of-seqlock.patch b/debian/patches/features/all/rt/0018-x86-vdso-Use-seqcount-instead-of-seqlock.patch index bbd7e5d2f..93acdb7bd 100644 --- a/debian/patches/features/all/rt/0018-x86-vdso-Use-seqcount-instead-of-seqlock.patch +++ b/debian/patches/features/all/rt/0018-x86-vdso-Use-seqcount-instead-of-seqlock.patch @@ -1,7 +1,7 @@ -From 869db02e87029302fbea05b05a0823f78fa5134c Mon Sep 17 00:00:00 2001 +From 4758d4523816d1fb22e28716c104f6218becff6b Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 28 Feb 2012 18:24:07 +0100 -Subject: [PATCH 018/286] x86: vdso: Use seqcount instead of seqlock +Subject: [PATCH 018/287] 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. diff --git a/debian/patches/features/all/rt/0019-ia64-vsyscall-Use-seqcount-instead-of-seqlock.patch b/debian/patches/features/all/rt/0019-ia64-vsyscall-Use-seqcount-instead-of-seqlock.patch index 2460204ab..48b1a818b 100644 --- a/debian/patches/features/all/rt/0019-ia64-vsyscall-Use-seqcount-instead-of-seqlock.patch +++ b/debian/patches/features/all/rt/0019-ia64-vsyscall-Use-seqcount-instead-of-seqlock.patch @@ -1,7 +1,7 @@ -From 1a845160bedcf7f4068a16575c7ae8e4e3f1e35b Mon Sep 17 00:00:00 2001 +From aa1031f98ea66c29b7eb74b966dc46f70ce2986b Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 28 Feb 2012 18:33:08 +0100 -Subject: [PATCH 019/286] ia64: vsyscall: Use seqcount instead of seqlock +Subject: [PATCH 019/287] 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. diff --git a/debian/patches/features/all/rt/0020-seqlock-Remove-unused-functions.patch b/debian/patches/features/all/rt/0020-seqlock-Remove-unused-functions.patch index 61726de38..b6464bdc8 100644 --- a/debian/patches/features/all/rt/0020-seqlock-Remove-unused-functions.patch +++ b/debian/patches/features/all/rt/0020-seqlock-Remove-unused-functions.patch @@ -1,7 +1,7 @@ -From 64c902aaa4ef1f83081bfb4e03b97fa67fda8526 Mon Sep 17 00:00:00 2001 +From 4f9bcfbe87eb3c5b820180f3b358ff71472bdebf Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 16 Jul 2011 18:38:22 +0200 -Subject: [PATCH 020/286] seqlock: Remove unused functions +Subject: [PATCH 020/287] seqlock: Remove unused functions Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0021-seqlock-Use-seqcount.patch b/debian/patches/features/all/rt/0021-seqlock-Use-seqcount.patch index 7ccdc282f..d7394b3b7 100644 --- a/debian/patches/features/all/rt/0021-seqlock-Use-seqcount.patch +++ b/debian/patches/features/all/rt/0021-seqlock-Use-seqcount.patch @@ -1,7 +1,7 @@ -From 43716713698afc1f3655f2483333f728bc0a64cc Mon Sep 17 00:00:00 2001 +From 362cd52317abd3342bbe8481cac294b9d609de39 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 16 Jul 2011 18:40:26 +0200 -Subject: [PATCH 021/286] seqlock: Use seqcount +Subject: [PATCH 021/287] seqlock: Use seqcount No point in having different implementations for the same thing. diff --git a/debian/patches/features/all/rt/0022-vfs-fs_struct-Move-code-out-of-seqcount-write-sectio.patch b/debian/patches/features/all/rt/0022-vfs-fs_struct-Move-code-out-of-seqcount-write-sectio.patch index 6796192de..cecd8ca09 100644 --- a/debian/patches/features/all/rt/0022-vfs-fs_struct-Move-code-out-of-seqcount-write-sectio.patch +++ b/debian/patches/features/all/rt/0022-vfs-fs_struct-Move-code-out-of-seqcount-write-sectio.patch @@ -1,7 +1,7 @@ -From 5252a61c6b1ef0f3179fde59711842b3a67c8c17 Mon Sep 17 00:00:00 2001 +From 01ac85bf1da4f6cbc74f7607bef99b3158517e44 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Thu, 15 Mar 2012 18:39:40 +0000 -Subject: [PATCH 022/286] vfs: fs_struct: Move code out of seqcount write +Subject: [PATCH 022/287] vfs: fs_struct: Move code out of seqcount write sections RT cannot disable preemption in the seqcount write sections due to diff --git a/debian/patches/features/all/rt/0023-timekeeping-Split-xtime_lock.patch b/debian/patches/features/all/rt/0023-timekeeping-Split-xtime_lock.patch index 62a8e00e9..b9d532121 100644 --- a/debian/patches/features/all/rt/0023-timekeeping-Split-xtime_lock.patch +++ b/debian/patches/features/all/rt/0023-timekeeping-Split-xtime_lock.patch @@ -1,7 +1,7 @@ -From dcbd9b2b809e0e9fc6a9bf744b52141baea3a278 Mon Sep 17 00:00:00 2001 +From 2f493e19de5da72f512f51a7bc226794e611bc0a Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 1 Mar 2012 15:14:06 +0100 -Subject: [PATCH 023/286] timekeeping: Split xtime_lock +Subject: [PATCH 023/287] 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 diff --git a/debian/patches/features/all/rt/0024-intel_idle-Convert-i7300_idle_lock-to-raw-spinlock.patch b/debian/patches/features/all/rt/0024-intel_idle-Convert-i7300_idle_lock-to-raw-spinlock.patch index 349e1af8b..9e6aaa630 100644 --- a/debian/patches/features/all/rt/0024-intel_idle-Convert-i7300_idle_lock-to-raw-spinlock.patch +++ b/debian/patches/features/all/rt/0024-intel_idle-Convert-i7300_idle_lock-to-raw-spinlock.patch @@ -1,7 +1,7 @@ -From 6784bc6d38894911273cead58948d9411f3c9356 Mon Sep 17 00:00:00 2001 +From 263e8db13e06ba2eb91d7977ecdea5d7255df62c Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Wed, 7 Dec 2011 12:48:42 +0100 -Subject: [PATCH 024/286] intel_idle: Convert i7300_idle_lock to raw spinlock +Subject: [PATCH 024/287] 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. diff --git a/debian/patches/features/all/rt/0025-mm-memcg-shorten-preempt-disabled-section-around-eve.patch b/debian/patches/features/all/rt/0025-mm-memcg-shorten-preempt-disabled-section-around-eve.patch index facb8ce41..958b2cc13 100644 --- a/debian/patches/features/all/rt/0025-mm-memcg-shorten-preempt-disabled-section-around-eve.patch +++ b/debian/patches/features/all/rt/0025-mm-memcg-shorten-preempt-disabled-section-around-eve.patch @@ -1,7 +1,7 @@ -From ade768511bd7e0672307abde5984ee8a2ea89d76 Mon Sep 17 00:00:00 2001 +From d83fe713b7be3b2bc2bfce1712de5e0900ae40fd Mon Sep 17 00:00:00 2001 From: Johannes Weiner Date: Thu, 17 Nov 2011 07:49:25 +0100 -Subject: [PATCH 025/286] mm: memcg: shorten preempt-disabled section around +Subject: [PATCH 025/287] mm: memcg: shorten preempt-disabled section around event checks Only the ratelimit checks themselves have to run with preemption diff --git a/debian/patches/features/all/rt/0026-tracing-Account-for-preempt-off-in-preempt_schedule.patch b/debian/patches/features/all/rt/0026-tracing-Account-for-preempt-off-in-preempt_schedule.patch index b4e5aa6b4..f189f525e 100644 --- a/debian/patches/features/all/rt/0026-tracing-Account-for-preempt-off-in-preempt_schedule.patch +++ b/debian/patches/features/all/rt/0026-tracing-Account-for-preempt-off-in-preempt_schedule.patch @@ -1,7 +1,7 @@ -From f47213dc0d50d45f6f46af9c4debeb417b8bf84b Mon Sep 17 00:00:00 2001 +From b577aca220665e1f11d669ccb57de991b86b5c7a Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Thu, 29 Sep 2011 12:24:30 -0500 -Subject: [PATCH 026/286] tracing: Account for preempt off in +Subject: [PATCH 026/287] tracing: Account for preempt off in preempt_schedule() The preempt_schedule() uses the preempt_disable_notrace() version diff --git a/debian/patches/features/all/rt/0027-signal-revert-ptrace-preempt-magic.patch.patch b/debian/patches/features/all/rt/0027-signal-revert-ptrace-preempt-magic.patch.patch index 892a0e57c..9ab9729cd 100644 --- a/debian/patches/features/all/rt/0027-signal-revert-ptrace-preempt-magic.patch.patch +++ b/debian/patches/features/all/rt/0027-signal-revert-ptrace-preempt-magic.patch.patch @@ -1,7 +1,7 @@ -From fe0aaef4f2e26ea35d7c29e415fc205f198507fb Mon Sep 17 00:00:00 2001 +From 01b6d6ab511f2d43b1a61fe4d9d278aae6b73660 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 21 Sep 2011 19:57:12 +0200 -Subject: [PATCH 027/286] signal-revert-ptrace-preempt-magic.patch +Subject: [PATCH 027/287] signal-revert-ptrace-preempt-magic.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0028-arm-Mark-pmu-interupt-IRQF_NO_THREAD.patch b/debian/patches/features/all/rt/0028-arm-Mark-pmu-interupt-IRQF_NO_THREAD.patch index 369c40368..77800c68a 100644 --- a/debian/patches/features/all/rt/0028-arm-Mark-pmu-interupt-IRQF_NO_THREAD.patch +++ b/debian/patches/features/all/rt/0028-arm-Mark-pmu-interupt-IRQF_NO_THREAD.patch @@ -1,7 +1,7 @@ -From 4b35ecd62d6a803a900605bfb56981651a8b4c42 Mon Sep 17 00:00:00 2001 +From 1d161cc48f730130bd5b1d3167fa98106b76eff8 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 16 Mar 2011 14:45:31 +0100 -Subject: [PATCH 028/286] arm: Mark pmu interupt IRQF_NO_THREAD +Subject: [PATCH 028/287] 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. diff --git a/debian/patches/features/all/rt/0029-arm-Allow-forced-irq-threading.patch b/debian/patches/features/all/rt/0029-arm-Allow-forced-irq-threading.patch index 05a977677..399aafc00 100644 --- a/debian/patches/features/all/rt/0029-arm-Allow-forced-irq-threading.patch +++ b/debian/patches/features/all/rt/0029-arm-Allow-forced-irq-threading.patch @@ -1,7 +1,7 @@ -From 5a1d0605b0e2ce2eb563586c6edd976d91ac7a6b Mon Sep 17 00:00:00 2001 +From f5b950874e22f266ed2e0e81f318ef6b255262e3 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 16 Jul 2011 13:15:20 +0200 -Subject: [PATCH 029/286] arm: Allow forced irq threading +Subject: [PATCH 029/287] arm: Allow forced irq threading All timer interrupts and the perf interrupt are marked NO_THREAD, so its safe to allow forced interrupt threading. diff --git a/debian/patches/features/all/rt/0030-preempt-rt-Convert-arm-boot_lock-to-raw.patch b/debian/patches/features/all/rt/0030-preempt-rt-Convert-arm-boot_lock-to-raw.patch index 09fcfd9b1..0552f686b 100644 --- a/debian/patches/features/all/rt/0030-preempt-rt-Convert-arm-boot_lock-to-raw.patch +++ b/debian/patches/features/all/rt/0030-preempt-rt-Convert-arm-boot_lock-to-raw.patch @@ -1,7 +1,7 @@ -From 2723006308abc73891b6642994879501453293fc Mon Sep 17 00:00:00 2001 +From d4b9ed00594c7f2eb5368f72a83c2b79a64b3075 Mon Sep 17 00:00:00 2001 From: Frank Rowand Date: Mon, 19 Sep 2011 14:51:14 -0700 -Subject: [PATCH 030/286] preempt-rt: Convert arm boot_lock to raw +Subject: [PATCH 030/287] 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. diff --git a/debian/patches/features/all/rt/0031-sched-Create-schedule_preempt_disabled.patch b/debian/patches/features/all/rt/0031-sched-Create-schedule_preempt_disabled.patch index 3739282c7..1f2e76e34 100644 --- a/debian/patches/features/all/rt/0031-sched-Create-schedule_preempt_disabled.patch +++ b/debian/patches/features/all/rt/0031-sched-Create-schedule_preempt_disabled.patch @@ -1,7 +1,7 @@ -From dcc689668b4cfd522a393048e5f0fce6d05efb23 Mon Sep 17 00:00:00 2001 +From 7b6fd839dcce2edd0e1ed15ddd4aa2e8212cc225 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 21 Mar 2011 12:09:35 +0100 -Subject: [PATCH 031/286] sched: Create schedule_preempt_disabled() +Subject: [PATCH 031/287] sched: Create schedule_preempt_disabled() Get rid of the ever repeating: diff --git a/debian/patches/features/all/rt/0032-sched-Use-schedule_preempt_disabled.patch b/debian/patches/features/all/rt/0032-sched-Use-schedule_preempt_disabled.patch index 14bba1730..ddbb24a78 100644 --- a/debian/patches/features/all/rt/0032-sched-Use-schedule_preempt_disabled.patch +++ b/debian/patches/features/all/rt/0032-sched-Use-schedule_preempt_disabled.patch @@ -1,7 +1,7 @@ -From d883ab6f81a856e2c5a9745102a821337260a67f Mon Sep 17 00:00:00 2001 +From d5f64ce0e7eb04a6a54ed98c58e8d10f10ae092f Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 21 Mar 2011 12:33:18 +0100 -Subject: [PATCH 032/286] sched: Use schedule_preempt_disabled() +Subject: [PATCH 032/287] sched: Use schedule_preempt_disabled() Coccinelle based conversion. diff --git a/debian/patches/features/all/rt/0033-signals-Do-not-wakeup-self.patch b/debian/patches/features/all/rt/0033-signals-Do-not-wakeup-self.patch index 35883d2b1..038712d9e 100644 --- a/debian/patches/features/all/rt/0033-signals-Do-not-wakeup-self.patch +++ b/debian/patches/features/all/rt/0033-signals-Do-not-wakeup-self.patch @@ -1,7 +1,7 @@ -From 40519f47bf9ca2f03c0fe140a1bed23afe23a3c8 Mon Sep 17 00:00:00 2001 +From bd577218c0ef54401eb3744176f0ec643d723944 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 3 Jul 2009 08:44:44 -0500 -Subject: [PATCH 033/286] signals: Do not wakeup self +Subject: [PATCH 033/287] signals: Do not wakeup self Signals which are delivered by current to current can do without waking up current :) diff --git a/debian/patches/features/all/rt/0034-posix-timers-Prevent-broadcast-signals.patch b/debian/patches/features/all/rt/0034-posix-timers-Prevent-broadcast-signals.patch index ce3dff4e8..9c978f0ea 100644 --- a/debian/patches/features/all/rt/0034-posix-timers-Prevent-broadcast-signals.patch +++ b/debian/patches/features/all/rt/0034-posix-timers-Prevent-broadcast-signals.patch @@ -1,7 +1,7 @@ -From d0136b810a400a4681f06d89ba3ad90f274130b0 Mon Sep 17 00:00:00 2001 +From f1319090099ee67ff4ccbe074293d2fbdc2dcf0f Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 3 Jul 2009 08:29:20 -0500 -Subject: [PATCH 034/286] posix-timers: Prevent broadcast signals +Subject: [PATCH 034/287] posix-timers: Prevent broadcast signals Posix timers should not send broadcast signals and kernel only signals. Prevent it. diff --git a/debian/patches/features/all/rt/0035-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch b/debian/patches/features/all/rt/0035-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch index 01e044552..524f7d5cb 100644 --- a/debian/patches/features/all/rt/0035-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch +++ b/debian/patches/features/all/rt/0035-signals-Allow-rt-tasks-to-cache-one-sigqueue-struct.patch @@ -1,7 +1,7 @@ -From 3cddbe554d96c2e01d202dd0f286dbe65370813a Mon Sep 17 00:00:00 2001 +From 057b5d9188983e762b5319bfb78d5d97e2394b60 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 3 Jul 2009 08:44:56 -0500 -Subject: [PATCH 035/286] signals: Allow rt tasks to cache one sigqueue struct +Subject: [PATCH 035/287] signals: Allow rt tasks to cache one sigqueue struct To avoid allocation allow rt tasks to cache one sigqueue struct in task struct. diff --git a/debian/patches/features/all/rt/0036-signal-x86-Delay-calling-signals-in-atomic.patch b/debian/patches/features/all/rt/0036-signal-x86-Delay-calling-signals-in-atomic.patch index 0b9ef9737..930251a70 100644 --- a/debian/patches/features/all/rt/0036-signal-x86-Delay-calling-signals-in-atomic.patch +++ b/debian/patches/features/all/rt/0036-signal-x86-Delay-calling-signals-in-atomic.patch @@ -1,7 +1,7 @@ -From 11909e67ea203322cb1cebfa3aeef814902264c6 Mon Sep 17 00:00:00 2001 +From e37f12a6b31f786dcbf702e393d3d404d42a29b7 Mon Sep 17 00:00:00 2001 From: Oleg Nesterov Date: Tue, 10 Apr 2012 14:33:53 -0400 -Subject: [PATCH 036/286] signal/x86: Delay calling signals in atomic +Subject: [PATCH 036/287] 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 diff --git a/debian/patches/features/all/rt/0037-generic-Use-raw-local-irq-variant-for-generic-cmpxch.patch b/debian/patches/features/all/rt/0037-generic-Use-raw-local-irq-variant-for-generic-cmpxch.patch index 3405c1a54..b2ae97eb8 100644 --- a/debian/patches/features/all/rt/0037-generic-Use-raw-local-irq-variant-for-generic-cmpxch.patch +++ b/debian/patches/features/all/rt/0037-generic-Use-raw-local-irq-variant-for-generic-cmpxch.patch @@ -1,7 +1,7 @@ -From 89895ec13b2098a297301e8ccae2e17865ec3e83 Mon Sep 17 00:00:00 2001 +From ee47b2285da7b053446936d161228b346d97dccb Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:30 -0500 -Subject: [PATCH 037/286] generic: Use raw local irq variant for generic +Subject: [PATCH 037/287] generic: Use raw local irq variant for generic cmpxchg No point in tracing those. diff --git a/debian/patches/features/all/rt/0038-drivers-random-Reduce-preempt-disabled-region.patch b/debian/patches/features/all/rt/0038-drivers-random-Reduce-preempt-disabled-region.patch index 6f1ef3737..f9d7183c5 100644 --- a/debian/patches/features/all/rt/0038-drivers-random-Reduce-preempt-disabled-region.patch +++ b/debian/patches/features/all/rt/0038-drivers-random-Reduce-preempt-disabled-region.patch @@ -1,7 +1,7 @@ -From 4c2524d3299522f05b6e84ba22440a8655511d51 Mon Sep 17 00:00:00 2001 +From 8908e4d833dfcfc850ae4285f24cba6d9a77345e Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:30 -0500 -Subject: [PATCH 038/286] drivers: random: Reduce preempt disabled region +Subject: [PATCH 038/287] drivers: random: Reduce preempt disabled region No need to keep preemption disabled across the whole function. diff --git a/debian/patches/features/all/rt/0039-ARM-AT91-PIT-Remove-irq-handler-when-clock-event-is-.patch b/debian/patches/features/all/rt/0039-ARM-AT91-PIT-Remove-irq-handler-when-clock-event-is-.patch index ed7bd1029..85b871e99 100644 --- a/debian/patches/features/all/rt/0039-ARM-AT91-PIT-Remove-irq-handler-when-clock-event-is-.patch +++ b/debian/patches/features/all/rt/0039-ARM-AT91-PIT-Remove-irq-handler-when-clock-event-is-.patch @@ -1,7 +1,7 @@ -From d73eb63e3282bc787ce0d90bb1f3082f94598fb5 Mon Sep 17 00:00:00 2001 +From d3ca60ae4bf0966e7e72760fa6531d15ad0f3e88 Mon Sep 17 00:00:00 2001 From: Benedikt Spranger Date: Sat, 6 Mar 2010 17:47:10 +0100 -Subject: [PATCH 039/286] ARM: AT91: PIT: Remove irq handler when clock event +Subject: [PATCH 039/287] ARM: AT91: PIT: Remove irq handler when clock event is unused Setup and remove the interrupt handler in clock event mode selection. diff --git a/debian/patches/features/all/rt/0040-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch b/debian/patches/features/all/rt/0040-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch index 21110772c..16aacea38 100644 --- a/debian/patches/features/all/rt/0040-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch +++ b/debian/patches/features/all/rt/0040-clocksource-TCLIB-Allow-higher-clock-rates-for-clock.patch @@ -1,7 +1,7 @@ -From c904a0658f1387172dbb53fd2051b287618a60dc Mon Sep 17 00:00:00 2001 +From 5b67f9aa4a73a35d0acf360506c8b519497700ce Mon Sep 17 00:00:00 2001 From: Benedikt Spranger Date: Mon, 8 Mar 2010 18:57:04 +0100 -Subject: [PATCH 040/286] clocksource: TCLIB: Allow higher clock rates for +Subject: [PATCH 040/287] clocksource: TCLIB: Allow higher clock rates for clock events As default the TCLIB uses the 32KiHz base clock rate for clock events. diff --git a/debian/patches/features/all/rt/0041-drivers-net-tulip_remove_one-needs-to-call-pci_disab.patch b/debian/patches/features/all/rt/0041-drivers-net-tulip_remove_one-needs-to-call-pci_disab.patch index 2f743f8fe..76f44e769 100644 --- a/debian/patches/features/all/rt/0041-drivers-net-tulip_remove_one-needs-to-call-pci_disab.patch +++ b/debian/patches/features/all/rt/0041-drivers-net-tulip_remove_one-needs-to-call-pci_disab.patch @@ -1,7 +1,7 @@ -From 66271f208773219686245607e4560979dfa87db8 Mon Sep 17 00:00:00 2001 +From ac6aadf6637960e42751fec014dd27c55ff9617a Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:30:18 -0500 -Subject: [PATCH 041/286] drivers/net: tulip_remove_one needs to call +Subject: [PATCH 041/287] drivers/net: tulip_remove_one needs to call pci_disable_device() Otherwise the device is not completely shut down. diff --git a/debian/patches/features/all/rt/0042-drivers-net-Use-disable_irq_nosync-in-8139too.patch b/debian/patches/features/all/rt/0042-drivers-net-Use-disable_irq_nosync-in-8139too.patch index 61e97ffb9..e93572581 100644 --- a/debian/patches/features/all/rt/0042-drivers-net-Use-disable_irq_nosync-in-8139too.patch +++ b/debian/patches/features/all/rt/0042-drivers-net-Use-disable_irq_nosync-in-8139too.patch @@ -1,7 +1,7 @@ -From b07c7e5c8ffc566cf9f03b063072118efde1c49e Mon Sep 17 00:00:00 2001 +From c5f1a49018a001f29192b146dad3af9021f8f443 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:24 -0500 -Subject: [PATCH 042/286] drivers/net: Use disable_irq_nosync() in 8139too +Subject: [PATCH 042/287] 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. diff --git a/debian/patches/features/all/rt/0043-drivers-net-ehea-Make-rx-irq-handler-non-threaded-IR.patch b/debian/patches/features/all/rt/0043-drivers-net-ehea-Make-rx-irq-handler-non-threaded-IR.patch index b8497f134..daef627cc 100644 --- a/debian/patches/features/all/rt/0043-drivers-net-ehea-Make-rx-irq-handler-non-threaded-IR.patch +++ b/debian/patches/features/all/rt/0043-drivers-net-ehea-Make-rx-irq-handler-non-threaded-IR.patch @@ -1,7 +1,7 @@ -From 02e8e28201ab973a0115e73b6c4eda2418e49a58 Mon Sep 17 00:00:00 2001 +From 32cf10137ca88dd8813cae1169a2c2d20a3a3204 Mon Sep 17 00:00:00 2001 From: Darren Hart Date: Tue, 18 May 2010 14:33:07 -0700 -Subject: [PATCH 043/286] drivers: net: ehea: Make rx irq handler non-threaded +Subject: [PATCH 043/287] drivers: net: ehea: Make rx irq handler non-threaded (IRQF_NO_THREAD) The underlying hardware is edge triggered but presented by XICS as level diff --git a/debian/patches/features/all/rt/0044-drivers-net-at91_ether-Make-mdio-protection-rt-safe.patch b/debian/patches/features/all/rt/0044-drivers-net-at91_ether-Make-mdio-protection-rt-safe.patch index 4f126de90..3b746a290 100644 --- a/debian/patches/features/all/rt/0044-drivers-net-at91_ether-Make-mdio-protection-rt-safe.patch +++ b/debian/patches/features/all/rt/0044-drivers-net-at91_ether-Make-mdio-protection-rt-safe.patch @@ -1,7 +1,7 @@ -From d20682a9feefd3db1a182cd3c330d16966731715 Mon Sep 17 00:00:00 2001 +From 23cec3b78c759dc1020677519ffca707a0ffa425 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 17 Nov 2009 12:02:43 +0100 -Subject: [PATCH 044/286] drivers: net: at91_ether: Make mdio protection -rt +Subject: [PATCH 044/287] drivers: net: at91_ether: Make mdio protection -rt safe Neither the phy interrupt nor the timer callback which updates the diff --git a/debian/patches/features/all/rt/0045-preempt-mark-legitimated-no-resched-sites.patch.patch b/debian/patches/features/all/rt/0045-preempt-mark-legitimated-no-resched-sites.patch.patch index d32d30fdc..4326ef7aa 100644 --- a/debian/patches/features/all/rt/0045-preempt-mark-legitimated-no-resched-sites.patch.patch +++ b/debian/patches/features/all/rt/0045-preempt-mark-legitimated-no-resched-sites.patch.patch @@ -1,7 +1,7 @@ -From 1b5e815c99c2a42b345716acfb764c1d77098b32 Mon Sep 17 00:00:00 2001 +From 5eee2b094a9935d483838ad3e7ac89041a42a92b Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 21 Mar 2011 13:32:17 +0100 -Subject: [PATCH 045/286] preempt-mark-legitimated-no-resched-sites.patch +Subject: [PATCH 045/287] preempt-mark-legitimated-no-resched-sites.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0046-mm-Prepare-decoupling-the-page-fault-disabling-logic.patch b/debian/patches/features/all/rt/0046-mm-Prepare-decoupling-the-page-fault-disabling-logic.patch index c00142a9b..07e2ec3b8 100644 --- a/debian/patches/features/all/rt/0046-mm-Prepare-decoupling-the-page-fault-disabling-logic.patch +++ b/debian/patches/features/all/rt/0046-mm-Prepare-decoupling-the-page-fault-disabling-logic.patch @@ -1,7 +1,7 @@ -From 1ec79aa3c9ff035dd56a5bc604cb43dd85b72c1e Mon Sep 17 00:00:00 2001 +From 72e40881efceb4912d8121d98ed1e13ae520f3ec Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:30:37 -0500 -Subject: [PATCH 046/286] mm: Prepare decoupling the page fault disabling +Subject: [PATCH 046/287] mm: Prepare decoupling the page fault disabling logic Add a pagefault_disabled variable to task_struct to allow decoupling diff --git a/debian/patches/features/all/rt/0047-mm-Fixup-all-fault-handlers-to-check-current-pagefau.patch b/debian/patches/features/all/rt/0047-mm-Fixup-all-fault-handlers-to-check-current-pagefau.patch index 5dfaae191..166b3b66a 100644 --- a/debian/patches/features/all/rt/0047-mm-Fixup-all-fault-handlers-to-check-current-pagefau.patch +++ b/debian/patches/features/all/rt/0047-mm-Fixup-all-fault-handlers-to-check-current-pagefau.patch @@ -1,7 +1,7 @@ -From 68e06b30cec6f80015ee4ddb93defe7df53d4210 Mon Sep 17 00:00:00 2001 +From d612bf6fc187b606dfb954b4f4a5bbc7eb176441 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 17 Mar 2011 11:32:28 +0100 -Subject: [PATCH 047/286] mm: Fixup all fault handlers to check +Subject: [PATCH 047/287] mm: Fixup all fault handlers to check current->pagefault_disable Necessary for decoupling pagefault disable from preempt count. diff --git a/debian/patches/features/all/rt/0048-mm-pagefault_disabled.patch b/debian/patches/features/all/rt/0048-mm-pagefault_disabled.patch index 12eba7293..f92a812b8 100644 --- a/debian/patches/features/all/rt/0048-mm-pagefault_disabled.patch +++ b/debian/patches/features/all/rt/0048-mm-pagefault_disabled.patch @@ -1,7 +1,7 @@ -From a92d7189f626c334b517a722938facf0bfb50e0c Mon Sep 17 00:00:00 2001 +From d70d0954b81e4f42bcd1be6d73eb24434545cde2 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Thu, 11 Aug 2011 15:31:31 +0200 -Subject: [PATCH 048/286] mm: pagefault_disabled() +Subject: [PATCH 048/287] 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. diff --git a/debian/patches/features/all/rt/0049-mm-raw_pagefault_disable.patch b/debian/patches/features/all/rt/0049-mm-raw_pagefault_disable.patch index 4c284a954..76c06c443 100644 --- a/debian/patches/features/all/rt/0049-mm-raw_pagefault_disable.patch +++ b/debian/patches/features/all/rt/0049-mm-raw_pagefault_disable.patch @@ -1,7 +1,7 @@ -From d0290f1e09870615cb671a87ca70dabef120c9bf Mon Sep 17 00:00:00 2001 +From 6614dcc78ed3f2e7b9e0a1e998a7bad1fdcea362 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Fri, 5 Aug 2011 17:16:58 +0200 -Subject: [PATCH 049/286] mm: raw_pagefault_disable +Subject: [PATCH 049/287] 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. diff --git a/debian/patches/features/all/rt/0050-filemap-fix-up.patch.patch b/debian/patches/features/all/rt/0050-filemap-fix-up.patch.patch index 290ef4159..cdb167ef5 100644 --- a/debian/patches/features/all/rt/0050-filemap-fix-up.patch.patch +++ b/debian/patches/features/all/rt/0050-filemap-fix-up.patch.patch @@ -1,7 +1,7 @@ -From 2265d9d45a880c052794871572996f5c0f2361fb Mon Sep 17 00:00:00 2001 +From e3b7c14a0064e0697ee6ef82be670fe442c662e0 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 17 Jun 2011 18:56:24 +0200 -Subject: [PATCH 050/286] filemap-fix-up.patch +Subject: [PATCH 050/287] filemap-fix-up.patch Signed-off-by: Thomas Gleixner Wrecked-off-by: Peter Zijlstra diff --git a/debian/patches/features/all/rt/0051-mm-Remove-preempt-count-from-pagefault-disable-enabl.patch b/debian/patches/features/all/rt/0051-mm-Remove-preempt-count-from-pagefault-disable-enabl.patch index 7840c6a52..54707eade 100644 --- a/debian/patches/features/all/rt/0051-mm-Remove-preempt-count-from-pagefault-disable-enabl.patch +++ b/debian/patches/features/all/rt/0051-mm-Remove-preempt-count-from-pagefault-disable-enabl.patch @@ -1,7 +1,7 @@ -From 4b0b6ad4f2eca462d396b905a8fdf20453219773 Mon Sep 17 00:00:00 2001 +From 079c6ac0f583151b1993680c76914d62e823fc6b Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 25 Jul 2009 22:06:27 +0200 -Subject: [PATCH 051/286] mm: Remove preempt count from pagefault +Subject: [PATCH 051/287] mm: Remove preempt count from pagefault disable/enable Now that all users are cleaned up, we can remove the preemption count. diff --git a/debian/patches/features/all/rt/0052-x86-highmem-Replace-BUG_ON-by-WARN_ON.patch b/debian/patches/features/all/rt/0052-x86-highmem-Replace-BUG_ON-by-WARN_ON.patch index 3060c692d..40f40bcfd 100644 --- a/debian/patches/features/all/rt/0052-x86-highmem-Replace-BUG_ON-by-WARN_ON.patch +++ b/debian/patches/features/all/rt/0052-x86-highmem-Replace-BUG_ON-by-WARN_ON.patch @@ -1,7 +1,7 @@ -From cddcbbfc0bde6f41d8abbe0fe208ffc489f2ff2f Mon Sep 17 00:00:00 2001 +From f37cadf2cefd07cd5b3c13f28ab8c9875865c4c5 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:25 -0500 -Subject: [PATCH 052/286] x86: highmem: Replace BUG_ON by WARN_ON +Subject: [PATCH 052/287] 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. diff --git a/debian/patches/features/all/rt/0053-suspend-Prevent-might-sleep-splats.patch b/debian/patches/features/all/rt/0053-suspend-Prevent-might-sleep-splats.patch index 9d3d47323..471a32703 100644 --- a/debian/patches/features/all/rt/0053-suspend-Prevent-might-sleep-splats.patch +++ b/debian/patches/features/all/rt/0053-suspend-Prevent-might-sleep-splats.patch @@ -1,7 +1,7 @@ -From 8ef304e20b6095f3776d047217a1937887c352e9 Mon Sep 17 00:00:00 2001 +From 4564fb1a43a65fea27743f84ca796cf40d46dedb Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 15 Jul 2010 10:29:00 +0200 -Subject: [PATCH 053/286] suspend: Prevent might sleep splats +Subject: [PATCH 053/287] 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 diff --git a/debian/patches/features/all/rt/0054-OF-Fixup-resursive-locking-code-paths.patch b/debian/patches/features/all/rt/0054-OF-Fixup-resursive-locking-code-paths.patch index cf4aeeaf9..665283487 100644 --- a/debian/patches/features/all/rt/0054-OF-Fixup-resursive-locking-code-paths.patch +++ b/debian/patches/features/all/rt/0054-OF-Fixup-resursive-locking-code-paths.patch @@ -1,7 +1,7 @@ -From 108ce53a48726282c116d410ab87a094fe4f83de Mon Sep 17 00:00:00 2001 +From bfed73d61ac5ed492a4e58639aad3b28ce12b5bd Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 13 Aug 2009 09:04:10 +0200 -Subject: [PATCH 054/286] OF: Fixup resursive locking code paths +Subject: [PATCH 054/287] 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 diff --git a/debian/patches/features/all/rt/0055-of-convert-devtree-lock.patch.patch b/debian/patches/features/all/rt/0055-of-convert-devtree-lock.patch.patch index 4700b663f..659e7de55 100644 --- a/debian/patches/features/all/rt/0055-of-convert-devtree-lock.patch.patch +++ b/debian/patches/features/all/rt/0055-of-convert-devtree-lock.patch.patch @@ -1,7 +1,7 @@ -From 74aa671fe70923dc1141a21349069b6b7c928dd5 Mon Sep 17 00:00:00 2001 +From 58fc5be0be8126daf743357030b0a4cc8636d3fc Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 21 Mar 2011 14:35:34 +0100 -Subject: [PATCH 055/286] of-convert-devtree-lock.patch +Subject: [PATCH 055/287] of-convert-devtree-lock.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0056-list-add-list-last-entry.patch.patch b/debian/patches/features/all/rt/0056-list-add-list-last-entry.patch.patch index 179e1b88e..263919869 100644 --- a/debian/patches/features/all/rt/0056-list-add-list-last-entry.patch.patch +++ b/debian/patches/features/all/rt/0056-list-add-list-last-entry.patch.patch @@ -1,7 +1,7 @@ -From 82a984971cee3211e7717b60872ae3316974d03d Mon Sep 17 00:00:00 2001 +From ed32359338068b62cf557b48e712520d82b15ac4 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Tue, 21 Jun 2011 11:22:36 +0200 -Subject: [PATCH 056/286] list-add-list-last-entry.patch +Subject: [PATCH 056/287] list-add-list-last-entry.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0057-mm-page-alloc-use-list-last-entry.patch.patch b/debian/patches/features/all/rt/0057-mm-page-alloc-use-list-last-entry.patch.patch index 0be859072..05ba451a9 100644 --- a/debian/patches/features/all/rt/0057-mm-page-alloc-use-list-last-entry.patch.patch +++ b/debian/patches/features/all/rt/0057-mm-page-alloc-use-list-last-entry.patch.patch @@ -1,7 +1,7 @@ -From eb106e405f48e43adbbed72b69ab4048475d4ebb Mon Sep 17 00:00:00 2001 +From b5fc89e71742866f218ac5cd2139aec7e5adf182 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Tue, 21 Jun 2011 11:24:35 +0200 -Subject: [PATCH 057/286] mm-page-alloc-use-list-last-entry.patch +Subject: [PATCH 057/287] mm-page-alloc-use-list-last-entry.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0058-mm-slab-move-debug-out.patch.patch b/debian/patches/features/all/rt/0058-mm-slab-move-debug-out.patch.patch index a98b3f5f0..7c07870e4 100644 --- a/debian/patches/features/all/rt/0058-mm-slab-move-debug-out.patch.patch +++ b/debian/patches/features/all/rt/0058-mm-slab-move-debug-out.patch.patch @@ -1,7 +1,7 @@ -From c151284ae2331433842b97fa825b2fbaf5b68401 Mon Sep 17 00:00:00 2001 +From e1320f067cd62ae7b5bba9bef02fd2c95d236f8d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 20 Jun 2011 10:42:04 +0200 -Subject: [PATCH 058/286] mm-slab-move-debug-out.patch +Subject: [PATCH 058/287] mm-slab-move-debug-out.patch Signed-off-by: Thomas Gleixner --- @@ -9,10 +9,10 @@ Signed-off-by: Thomas Gleixner 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/slab.c b/mm/slab.c -index 2ab1bc2..d98f861 100644 +index 61dfda3..f807b35 100644 --- a/mm/slab.c +++ b/mm/slab.c -@@ -3854,10 +3854,10 @@ void kmem_cache_free(struct kmem_cache *cachep, void *objp) +@@ -3857,10 +3857,10 @@ void kmem_cache_free(struct kmem_cache *cachep, void *objp) { unsigned long flags; @@ -24,7 +24,7 @@ index 2ab1bc2..d98f861 100644 __cache_free(cachep, objp, __builtin_return_address(0)); local_irq_restore(flags); -@@ -3883,11 +3883,11 @@ void kfree(const void *objp) +@@ -3886,11 +3886,11 @@ void kfree(const void *objp) if (unlikely(ZERO_OR_NULL_PTR(objp))) return; diff --git a/debian/patches/features/all/rt/0059-rwsem-inlcude-fix.patch.patch b/debian/patches/features/all/rt/0059-rwsem-inlcude-fix.patch.patch index d38f3d810..1660e9896 100644 --- a/debian/patches/features/all/rt/0059-rwsem-inlcude-fix.patch.patch +++ b/debian/patches/features/all/rt/0059-rwsem-inlcude-fix.patch.patch @@ -1,7 +1,7 @@ -From e5622a6bf5740b140642226e9542511b54470ee6 Mon Sep 17 00:00:00 2001 +From b448956ac13f80e6fe0ab7c5f8adf8f519e840a6 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 15 Jul 2011 21:24:27 +0200 -Subject: [PATCH 059/286] rwsem-inlcude-fix.patch +Subject: [PATCH 059/287] rwsem-inlcude-fix.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0060-sysctl-include-fix.patch.patch b/debian/patches/features/all/rt/0060-sysctl-include-fix.patch.patch index a963865c6..f97c423ba 100644 --- a/debian/patches/features/all/rt/0060-sysctl-include-fix.patch.patch +++ b/debian/patches/features/all/rt/0060-sysctl-include-fix.patch.patch @@ -1,7 +1,7 @@ -From 6af3e633379913d3d01ded7e72957bd3f0638946 Mon Sep 17 00:00:00 2001 +From 2411c2ad3107e64fe66d0a5488cd32c3e0109a56 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 14 Nov 2011 10:52:34 +0100 -Subject: [PATCH 060/286] sysctl-include-fix.patch +Subject: [PATCH 060/287] sysctl-include-fix.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0061-net-flip-lock-dep-thingy.patch.patch b/debian/patches/features/all/rt/0061-net-flip-lock-dep-thingy.patch.patch index c5037c568..3015aed45 100644 --- a/debian/patches/features/all/rt/0061-net-flip-lock-dep-thingy.patch.patch +++ b/debian/patches/features/all/rt/0061-net-flip-lock-dep-thingy.patch.patch @@ -1,7 +1,7 @@ -From 975b9b3c914f21f596bc9f41e59f4a402c856e73 Mon Sep 17 00:00:00 2001 +From d2ace97011be553715a82d6a5c63959343b48138 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 28 Jun 2011 10:59:58 +0200 -Subject: [PATCH 061/286] net-flip-lock-dep-thingy.patch +Subject: [PATCH 061/287] net-flip-lock-dep-thingy.patch ======================================================= [ INFO: possible circular locking dependency detected ] diff --git a/debian/patches/features/all/rt/0062-softirq-thread-do-softirq.patch.patch b/debian/patches/features/all/rt/0062-softirq-thread-do-softirq.patch.patch index a22f6b446..b8da5c5a6 100644 --- a/debian/patches/features/all/rt/0062-softirq-thread-do-softirq.patch.patch +++ b/debian/patches/features/all/rt/0062-softirq-thread-do-softirq.patch.patch @@ -1,7 +1,7 @@ -From 9790e4f2790a8c12ab89984956760850c8df7597 Mon Sep 17 00:00:00 2001 +From ab1efe5320ca834b0ac4ef38b5c95976c175a5b9 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 28 Jun 2011 15:44:15 +0200 -Subject: [PATCH 062/286] softirq-thread-do-softirq.patch +Subject: [PATCH 062/287] softirq-thread-do-softirq.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0063-softirq-split-out-code.patch.patch b/debian/patches/features/all/rt/0063-softirq-split-out-code.patch.patch index 0a5f7282e..73366f0fd 100644 --- a/debian/patches/features/all/rt/0063-softirq-split-out-code.patch.patch +++ b/debian/patches/features/all/rt/0063-softirq-split-out-code.patch.patch @@ -1,7 +1,7 @@ -From 4c2c4a51a81bfbbbad78d988adf2e508d57d3a6f Mon Sep 17 00:00:00 2001 +From 42020e56bc44cd34800c743e21b55268019d7059 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 28 Jun 2011 15:46:49 +0200 -Subject: [PATCH 063/286] softirq-split-out-code.patch +Subject: [PATCH 063/287] softirq-split-out-code.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0064-x86-Do-not-unmask-io_apic-when-interrupt-is-in-progr.patch b/debian/patches/features/all/rt/0064-x86-Do-not-unmask-io_apic-when-interrupt-is-in-progr.patch index 9453b35b7..7e25c9175 100644 --- a/debian/patches/features/all/rt/0064-x86-Do-not-unmask-io_apic-when-interrupt-is-in-progr.patch +++ b/debian/patches/features/all/rt/0064-x86-Do-not-unmask-io_apic-when-interrupt-is-in-progr.patch @@ -1,7 +1,7 @@ -From 241de4bcbaf08b4baf2aa9443d08c1fb2ad38c01 Mon Sep 17 00:00:00 2001 +From 811dd9b2c2f132edc4d737b2b8d9f52a9e1e4c2f Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:27 -0500 -Subject: [PATCH 064/286] x86: Do not unmask io_apic when interrupt is in +Subject: [PATCH 064/287] x86: Do not unmask io_apic when interrupt is in progress With threaded interrupts we might see an interrupt in progress on diff --git a/debian/patches/features/all/rt/0065-x86-32-fix-signal-crap.patch.patch b/debian/patches/features/all/rt/0065-x86-32-fix-signal-crap.patch.patch index 58871dac0..c7eb1eadb 100644 --- a/debian/patches/features/all/rt/0065-x86-32-fix-signal-crap.patch.patch +++ b/debian/patches/features/all/rt/0065-x86-32-fix-signal-crap.patch.patch @@ -1,7 +1,7 @@ -From 3ed87e07f7cd487e2783d64868aa5288987ba5ec Mon Sep 17 00:00:00 2001 +From f1b250e4b5c171f82b89a5467e4fe44d0931ca28 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 18 Jul 2011 15:59:38 +0200 -Subject: [PATCH 065/286] x86-32-fix-signal-crap.patch +Subject: [PATCH 065/287] x86-32-fix-signal-crap.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0066-x86-Do-not-disable-preemption-in-int3-on-32bit.patch b/debian/patches/features/all/rt/0066-x86-Do-not-disable-preemption-in-int3-on-32bit.patch index 1dc3bf53c..4a86de78c 100644 --- a/debian/patches/features/all/rt/0066-x86-Do-not-disable-preemption-in-int3-on-32bit.patch +++ b/debian/patches/features/all/rt/0066-x86-Do-not-disable-preemption-in-int3-on-32bit.patch @@ -1,7 +1,7 @@ -From 3e6539eba827623538abcc1f9c81a243517b0a19 Mon Sep 17 00:00:00 2001 +From 63891c5af624658b497ca313f00596b5b4de8125 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Tue, 10 Apr 2012 14:33:57 -0400 -Subject: [PATCH 066/286] x86: Do not disable preemption in int3 on 32bit +Subject: [PATCH 066/287] 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 diff --git a/debian/patches/features/all/rt/0067-rcu-Reduce-lock-section.patch b/debian/patches/features/all/rt/0067-rcu-Reduce-lock-section.patch index ba87b50a6..d3d725990 100644 --- a/debian/patches/features/all/rt/0067-rcu-Reduce-lock-section.patch +++ b/debian/patches/features/all/rt/0067-rcu-Reduce-lock-section.patch @@ -1,7 +1,7 @@ -From 3ab1275c2351556c9db507a4f9a0b60746eae84b Mon Sep 17 00:00:00 2001 +From 56364ef3bcdb691571970d143c43f1f96b6b6eac Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 24 Jun 2011 22:23:02 +0200 -Subject: [PATCH 067/286] rcu: Reduce lock section +Subject: [PATCH 067/287] rcu: Reduce lock section So the waitqueue wakeup is outside the raw locked section. @@ -13,10 +13,10 @@ Signed-off-by: Thomas Gleixner 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/kernel/rcutree.c b/kernel/rcutree.c -index 6b76d81..8ef8675 100644 +index a122196..d5eb74a 100644 --- a/kernel/rcutree.c +++ b/kernel/rcutree.c -@@ -1221,7 +1221,7 @@ static void __rcu_offline_cpu(int cpu, struct rcu_state *rsp) +@@ -1223,7 +1223,7 @@ static void __rcu_offline_cpu(int cpu, struct rcu_state *rsp) else raw_spin_unlock_irqrestore(&rnp->lock, flags); if (need_report & RCU_OFL_TASKS_EXP_GP) diff --git a/debian/patches/features/all/rt/0068-locking-various-init-fixes.patch.patch b/debian/patches/features/all/rt/0068-locking-various-init-fixes.patch.patch index 0bef04027..41a416774 100644 --- a/debian/patches/features/all/rt/0068-locking-various-init-fixes.patch.patch +++ b/debian/patches/features/all/rt/0068-locking-various-init-fixes.patch.patch @@ -1,7 +1,7 @@ -From 73c3b96b76b6538ba15be299424e84ee6d047287 Mon Sep 17 00:00:00 2001 +From 7b7d021d1ad86a1834b56b1775c37744c424b205 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 21:25:03 +0200 -Subject: [PATCH 068/286] locking-various-init-fixes.patch +Subject: [PATCH 068/287] locking-various-init-fixes.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0069-wait-Provide-__wake_up_all_locked.patch b/debian/patches/features/all/rt/0069-wait-Provide-__wake_up_all_locked.patch index c10030b22..c1a5fbb21 100644 --- a/debian/patches/features/all/rt/0069-wait-Provide-__wake_up_all_locked.patch +++ b/debian/patches/features/all/rt/0069-wait-Provide-__wake_up_all_locked.patch @@ -1,7 +1,7 @@ -From 78148e74449a8577a5c715a6db716712e41620f1 Mon Sep 17 00:00:00 2001 +From 98b6fb547a46e148ad354a10b205b177c6b50672 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 1 Dec 2011 00:04:00 +0100 -Subject: [PATCH 069/286] wait: Provide __wake_up_all_locked +Subject: [PATCH 069/287] 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 diff --git a/debian/patches/features/all/rt/0070-pci-Use-__wake_up_all_locked-pci_unblock_user_cfg_ac.patch b/debian/patches/features/all/rt/0070-pci-Use-__wake_up_all_locked-pci_unblock_user_cfg_ac.patch index d1f2cf000..1fcf3d6d4 100644 --- a/debian/patches/features/all/rt/0070-pci-Use-__wake_up_all_locked-pci_unblock_user_cfg_ac.patch +++ b/debian/patches/features/all/rt/0070-pci-Use-__wake_up_all_locked-pci_unblock_user_cfg_ac.patch @@ -1,7 +1,7 @@ -From 11de9bd7c22e7d7fb712dc7d32831a9f65a18670 Mon Sep 17 00:00:00 2001 +From b8d5e105e1eedcf47ba381215a4370b7ce88839b Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 1 Dec 2011 00:07:16 +0100 -Subject: [PATCH 070/286] pci: Use __wake_up_all_locked +Subject: [PATCH 070/287] 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 diff --git a/debian/patches/features/all/rt/0071-latency-hist.patch.patch b/debian/patches/features/all/rt/0071-latency-hist.patch.patch index 09a42bd9a..64a134c39 100644 --- a/debian/patches/features/all/rt/0071-latency-hist.patch.patch +++ b/debian/patches/features/all/rt/0071-latency-hist.patch.patch @@ -1,7 +1,7 @@ -From 03659d63fac2fa19dfa89a23ecbb136d3c901980 Mon Sep 17 00:00:00 2001 +From c4db1912c38865a9820328d962ce15cd0ae4ed92 Mon Sep 17 00:00:00 2001 From: Carsten Emde Date: Tue, 19 Jul 2011 14:03:41 +0100 -Subject: [PATCH 071/286] latency-hist.patch +Subject: [PATCH 071/287] latency-hist.patch This patch provides a recording mechanism to store data of potential sources of system latencies. The recordings separately determine the diff --git a/debian/patches/features/all/rt/0072-hwlatdetect.patch.patch b/debian/patches/features/all/rt/0072-hwlatdetect.patch.patch index df7f43e26..b2d87b07a 100644 --- a/debian/patches/features/all/rt/0072-hwlatdetect.patch.patch +++ b/debian/patches/features/all/rt/0072-hwlatdetect.patch.patch @@ -1,7 +1,7 @@ -From 9026de0ba62dae1d34e3e4cd0cc5d6e95973ed0b Mon Sep 17 00:00:00 2001 +From 5bdc553077498b295701ccee947691c4ae4b1f15 Mon Sep 17 00:00:00 2001 From: Carsten Emde Date: Tue, 19 Jul 2011 13:53:12 +0100 -Subject: [PATCH 072/286] hwlatdetect.patch +Subject: [PATCH 072/287] hwlatdetect.patch Jon Masters developed this wonderful SMI detector. For details please consult Documentation/hwlat_detector.txt. It could be ported to Linux diff --git a/debian/patches/features/all/rt/0073-localversion.patch.patch b/debian/patches/features/all/rt/0073-localversion.patch.patch index 93e539fcd..09e0a4d7c 100644 --- a/debian/patches/features/all/rt/0073-localversion.patch.patch +++ b/debian/patches/features/all/rt/0073-localversion.patch.patch @@ -1,7 +1,7 @@ -From 4790ce838e14900271554c219ea51d9d46f7accc Mon Sep 17 00:00:00 2001 +From afefba05483f76484d722fd3d5520844dc12c4a2 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 8 Jul 2011 20:25:16 +0200 -Subject: [PATCH 073/286] localversion.patch +Subject: [PATCH 073/287] localversion.patch Signed-off-by: Thomas Gleixner Signed-off-by: Peter Zijlstra diff --git a/debian/patches/features/all/rt/0074-early-printk-consolidate.patch.patch b/debian/patches/features/all/rt/0074-early-printk-consolidate.patch.patch index ba693c298..04c28ec4e 100644 --- a/debian/patches/features/all/rt/0074-early-printk-consolidate.patch.patch +++ b/debian/patches/features/all/rt/0074-early-printk-consolidate.patch.patch @@ -1,7 +1,7 @@ -From 2a1a038d30068934597aa5d2a27286cb7f06e92b Mon Sep 17 00:00:00 2001 +From 2c13874a798eeb497f4f3faf391b41bd734b853a Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 23 Jul 2011 11:04:08 +0200 -Subject: [PATCH 074/286] early-printk-consolidate.patch +Subject: [PATCH 074/287] early-printk-consolidate.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0075-printk-kill.patch.patch b/debian/patches/features/all/rt/0075-printk-kill.patch.patch index ba9b93d28..35f8730ca 100644 --- a/debian/patches/features/all/rt/0075-printk-kill.patch.patch +++ b/debian/patches/features/all/rt/0075-printk-kill.patch.patch @@ -1,7 +1,7 @@ -From 5b6db9f3430ee2a4d083a231b9877bab4e41adbc Mon Sep 17 00:00:00 2001 +From 66f77c2964b6862977bc171baff5e3a012b3c5a8 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 22 Jul 2011 17:58:40 +0200 -Subject: [PATCH 075/286] printk-kill.patch +Subject: [PATCH 075/287] printk-kill.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0076-printk-force_early_printk-boot-param-to-help-with-de.patch b/debian/patches/features/all/rt/0076-printk-force_early_printk-boot-param-to-help-with-de.patch index 12c6efc44..74a819f58 100644 --- a/debian/patches/features/all/rt/0076-printk-force_early_printk-boot-param-to-help-with-de.patch +++ b/debian/patches/features/all/rt/0076-printk-force_early_printk-boot-param-to-help-with-de.patch @@ -1,7 +1,7 @@ -From b96c2c307b7e328e058fb5cddcea6e82a124ec34 Mon Sep 17 00:00:00 2001 +From 5996fc8cafe95684d6dfb6e0722fd79af7e9c3a8 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Fri, 2 Sep 2011 14:29:33 +0200 -Subject: [PATCH 076/286] printk: 'force_early_printk' boot param to help with +Subject: [PATCH 076/287] printk: 'force_early_printk' boot param to help with debugging Gives me an option to screw printk and actually see what the machine diff --git a/debian/patches/features/all/rt/0077-rt-preempt-base-config.patch.patch b/debian/patches/features/all/rt/0077-rt-preempt-base-config.patch.patch index ba4fcdbcf..d7614911a 100644 --- a/debian/patches/features/all/rt/0077-rt-preempt-base-config.patch.patch +++ b/debian/patches/features/all/rt/0077-rt-preempt-base-config.patch.patch @@ -1,7 +1,7 @@ -From 96332dafb7919bf71282f0402e8caedee7f92cb3 Mon Sep 17 00:00:00 2001 +From 1238c77aa770087b3569f4a7942d27a2be785ad1 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 17 Jun 2011 12:39:57 +0200 -Subject: [PATCH 077/286] rt-preempt-base-config.patch +Subject: [PATCH 077/287] rt-preempt-base-config.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0078-bug-BUG_ON-WARN_ON-variants-dependend-on-RT-RT.patch b/debian/patches/features/all/rt/0078-bug-BUG_ON-WARN_ON-variants-dependend-on-RT-RT.patch index 48dba1458..4ddd17a30 100644 --- a/debian/patches/features/all/rt/0078-bug-BUG_ON-WARN_ON-variants-dependend-on-RT-RT.patch +++ b/debian/patches/features/all/rt/0078-bug-BUG_ON-WARN_ON-variants-dependend-on-RT-RT.patch @@ -1,7 +1,7 @@ -From 97296aef02aa62ee1915c91408ae4525e42b1354 Mon Sep 17 00:00:00 2001 +From b2cf13511326f019228d0208a80a137ab39e059b Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:58 -0500 -Subject: [PATCH 078/286] bug: BUG_ON/WARN_ON variants dependend on RT/!RT +Subject: [PATCH 078/287] bug: BUG_ON/WARN_ON variants dependend on RT/!RT Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner diff --git a/debian/patches/features/all/rt/0079-rt-local_irq_-variants-depending-on-RT-RT.patch b/debian/patches/features/all/rt/0079-rt-local_irq_-variants-depending-on-RT-RT.patch index 6c60a8225..2c6570ee7 100644 --- a/debian/patches/features/all/rt/0079-rt-local_irq_-variants-depending-on-RT-RT.patch +++ b/debian/patches/features/all/rt/0079-rt-local_irq_-variants-depending-on-RT-RT.patch @@ -1,7 +1,7 @@ -From 85cdaa29b9f3f02be9b8eaa62a910062b50b521b Mon Sep 17 00:00:00 2001 +From f3874a1a67fd4c653f88758429fe5a8771a07779 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 21 Jul 2009 22:34:14 +0200 -Subject: [PATCH 079/286] rt: local_irq_* variants depending on RT/!RT +Subject: [PATCH 079/287] 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 diff --git a/debian/patches/features/all/rt/0080-preempt-Provide-preempt_-_-no-rt-variants.patch b/debian/patches/features/all/rt/0080-preempt-Provide-preempt_-_-no-rt-variants.patch index f9c73401d..4eb81c205 100644 --- a/debian/patches/features/all/rt/0080-preempt-Provide-preempt_-_-no-rt-variants.patch +++ b/debian/patches/features/all/rt/0080-preempt-Provide-preempt_-_-no-rt-variants.patch @@ -1,7 +1,7 @@ -From 99b9739452b533493b9e74b4e04e13ed5bebf691 Mon Sep 17 00:00:00 2001 +From b10d35eed16fe4440f495805bba15df5337a7bb8 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 24 Jul 2009 12:38:56 +0200 -Subject: [PATCH 080/286] preempt: Provide preempt_*_(no)rt variants +Subject: [PATCH 080/287] preempt: Provide preempt_*_(no)rt variants RT needs a few preempt_disable/enable points which are not necessary otherwise. Implement variants to avoid #ifdeffery. diff --git a/debian/patches/features/all/rt/0081-ata-Do-not-disable-interrupts-in-ide-code-for-preemp.patch b/debian/patches/features/all/rt/0081-ata-Do-not-disable-interrupts-in-ide-code-for-preemp.patch index dbaafc5aa..218e8ab09 100644 --- a/debian/patches/features/all/rt/0081-ata-Do-not-disable-interrupts-in-ide-code-for-preemp.patch +++ b/debian/patches/features/all/rt/0081-ata-Do-not-disable-interrupts-in-ide-code-for-preemp.patch @@ -1,7 +1,7 @@ -From 73cfb2f544d5730750373a4d0d0de1193b434ab0 Mon Sep 17 00:00:00 2001 +From 200b14d970227ef4a1d8bf9d8ad4a931c76a9cb1 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Fri, 3 Jul 2009 08:44:29 -0500 -Subject: [PATCH 081/286] ata: Do not disable interrupts in ide code for +Subject: [PATCH 081/287] ata: Do not disable interrupts in ide code for preempt-rt Use the local_irq_*_nort variants. diff --git a/debian/patches/features/all/rt/0082-ide-Do-not-disable-interrupts-for-PREEMPT-RT.patch b/debian/patches/features/all/rt/0082-ide-Do-not-disable-interrupts-for-PREEMPT-RT.patch index 96f5bea1d..9622a5656 100644 --- a/debian/patches/features/all/rt/0082-ide-Do-not-disable-interrupts-for-PREEMPT-RT.patch +++ b/debian/patches/features/all/rt/0082-ide-Do-not-disable-interrupts-for-PREEMPT-RT.patch @@ -1,7 +1,7 @@ -From 8a6885fc1354ea7da030543725fbcf57a6b7dbd2 Mon Sep 17 00:00:00 2001 +From 5e1bfc0e5d553c9cd138225bfc16b44633591df7 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:30:16 -0500 -Subject: [PATCH 082/286] ide: Do not disable interrupts for PREEMPT-RT +Subject: [PATCH 082/287] ide: Do not disable interrupts for PREEMPT-RT Use the local_irq_*_nort variants. diff --git a/debian/patches/features/all/rt/0083-infiniband-Mellanox-IB-driver-patch-use-_nort-primit.patch b/debian/patches/features/all/rt/0083-infiniband-Mellanox-IB-driver-patch-use-_nort-primit.patch index 6ac290f46..787ddbe4a 100644 --- a/debian/patches/features/all/rt/0083-infiniband-Mellanox-IB-driver-patch-use-_nort-primit.patch +++ b/debian/patches/features/all/rt/0083-infiniband-Mellanox-IB-driver-patch-use-_nort-primit.patch @@ -1,7 +1,7 @@ -From f9c228f53f0a201f7d0e46bf252786c01cd8224f Mon Sep 17 00:00:00 2001 +From 54158bb713cd22efe7d6c7e0be6e5b28e92ec1fd Mon Sep 17 00:00:00 2001 From: Sven-Thorsten Dietrich Date: Fri, 3 Jul 2009 08:30:35 -0500 -Subject: [PATCH 083/286] infiniband: Mellanox IB driver patch use _nort() +Subject: [PATCH 083/287] infiniband: Mellanox IB driver patch use _nort() primitives Fixes in_atomic stack-dump, when Mellanox module is loaded into the RT @@ -20,10 +20,10 @@ Signed-off-by: Thomas Gleixner 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/infiniband/ulp/ipoib/ipoib_multicast.c b/drivers/infiniband/ulp/ipoib/ipoib_multicast.c -index e5069b4..2683192 100644 +index 80799c0..014589a8 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_multicast.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_multicast.c -@@ -799,7 +799,7 @@ void ipoib_mcast_restart_task(struct work_struct *work) +@@ -800,7 +800,7 @@ void ipoib_mcast_restart_task(struct work_struct *work) ipoib_mcast_stop_thread(dev, 0); @@ -32,7 +32,7 @@ index e5069b4..2683192 100644 netif_addr_lock(dev); spin_lock(&priv->lock); -@@ -881,7 +881,7 @@ void ipoib_mcast_restart_task(struct work_struct *work) +@@ -882,7 +882,7 @@ void ipoib_mcast_restart_task(struct work_struct *work) spin_unlock(&priv->lock); netif_addr_unlock(dev); diff --git a/debian/patches/features/all/rt/0084-input-gameport-Do-not-disable-interrupts-on-PREEMPT_.patch b/debian/patches/features/all/rt/0084-input-gameport-Do-not-disable-interrupts-on-PREEMPT_.patch index 5064cfc6a..6b356e3b6 100644 --- a/debian/patches/features/all/rt/0084-input-gameport-Do-not-disable-interrupts-on-PREEMPT_.patch +++ b/debian/patches/features/all/rt/0084-input-gameport-Do-not-disable-interrupts-on-PREEMPT_.patch @@ -1,7 +1,7 @@ -From e0ae6cb453e6792a4f1e98c5d2131b1e98b2d3f0 Mon Sep 17 00:00:00 2001 +From b7fdd6ce5883d4a43f7d7eda1689ed792bfd9968 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:30:16 -0500 -Subject: [PATCH 084/286] input: gameport: Do not disable interrupts on +Subject: [PATCH 084/287] input: gameport: Do not disable interrupts on PREEMPT_RT Use the _nort() primitives. diff --git a/debian/patches/features/all/rt/0085-acpi-Do-not-disable-interrupts-on-PREEMPT_RT.patch b/debian/patches/features/all/rt/0085-acpi-Do-not-disable-interrupts-on-PREEMPT_RT.patch index 484a202a6..a1b321bdd 100644 --- a/debian/patches/features/all/rt/0085-acpi-Do-not-disable-interrupts-on-PREEMPT_RT.patch +++ b/debian/patches/features/all/rt/0085-acpi-Do-not-disable-interrupts-on-PREEMPT_RT.patch @@ -1,7 +1,7 @@ -From fbffcf43003797f3782db9526ff3ee6d7f4c40e6 Mon Sep 17 00:00:00 2001 +From 1706beef990d2ef11911c40ab0713f4bdf11bc1e Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 21 Jul 2009 22:54:51 +0200 -Subject: [PATCH 085/286] acpi: Do not disable interrupts on PREEMPT_RT +Subject: [PATCH 085/287] acpi: Do not disable interrupts on PREEMPT_RT Use the local_irq_*_nort() variants. diff --git a/debian/patches/features/all/rt/0086-core-Do-not-disable-interrupts-on-RT-in-kernel-users.patch b/debian/patches/features/all/rt/0086-core-Do-not-disable-interrupts-on-RT-in-kernel-users.patch index a1ebc1f1b..c4ed0ff6e 100644 --- a/debian/patches/features/all/rt/0086-core-Do-not-disable-interrupts-on-RT-in-kernel-users.patch +++ b/debian/patches/features/all/rt/0086-core-Do-not-disable-interrupts-on-RT-in-kernel-users.patch @@ -1,7 +1,7 @@ -From 1264fff4bdc24fe56a2e04cd999454bae94fc0b3 Mon Sep 17 00:00:00 2001 +From 283ee47b95aa357349c74d415676e1d46f504c7b Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 21 Jul 2009 23:06:05 +0200 -Subject: [PATCH 086/286] core: Do not disable interrupts on RT in +Subject: [PATCH 086/287] core: Do not disable interrupts on RT in kernel/users.c Use the local_irq_*_nort variants to reduce latencies in RT. The code diff --git a/debian/patches/features/all/rt/0087-core-Do-not-disable-interrupts-on-RT-in-res_counter..patch b/debian/patches/features/all/rt/0087-core-Do-not-disable-interrupts-on-RT-in-res_counter..patch index 79c149370..82fd6ffb5 100644 --- a/debian/patches/features/all/rt/0087-core-Do-not-disable-interrupts-on-RT-in-res_counter..patch +++ b/debian/patches/features/all/rt/0087-core-Do-not-disable-interrupts-on-RT-in-res_counter..patch @@ -1,7 +1,7 @@ -From 60f7fd8097d9aabef9a90e19f757ebf74cc3c40d Mon Sep 17 00:00:00 2001 +From 76248d523710d09b6ce225706f4ff9a274125e40 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:44:33 -0500 -Subject: [PATCH 087/286] core: Do not disable interrupts on RT in +Subject: [PATCH 087/287] core: Do not disable interrupts on RT in res_counter.c Frederic Weisbecker reported this warning: diff --git a/debian/patches/features/all/rt/0088-usb-Use-local_irq_-_nort-variants.patch b/debian/patches/features/all/rt/0088-usb-Use-local_irq_-_nort-variants.patch index 97b3450af..2c854a776 100644 --- a/debian/patches/features/all/rt/0088-usb-Use-local_irq_-_nort-variants.patch +++ b/debian/patches/features/all/rt/0088-usb-Use-local_irq_-_nort-variants.patch @@ -1,7 +1,7 @@ -From 998172312436c989ab4eef7d6e4d8c6dc841b666 Mon Sep 17 00:00:00 2001 +From 04d281afc6fb7f72540742a3c5f9473bd26ceafd Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Fri, 3 Jul 2009 08:44:26 -0500 -Subject: [PATCH 088/286] usb: Use local_irq_*_nort() variants +Subject: [PATCH 088/287] usb: Use local_irq_*_nort() variants [ tglx: Now that irqf_disabled is dead we should kill that ] diff --git a/debian/patches/features/all/rt/0089-tty-Do-not-disable-interrupts-in-put_ldisc-on-rt.patch b/debian/patches/features/all/rt/0089-tty-Do-not-disable-interrupts-in-put_ldisc-on-rt.patch index 058adad91..4b8f39445 100644 --- a/debian/patches/features/all/rt/0089-tty-Do-not-disable-interrupts-in-put_ldisc-on-rt.patch +++ b/debian/patches/features/all/rt/0089-tty-Do-not-disable-interrupts-in-put_ldisc-on-rt.patch @@ -1,7 +1,7 @@ -From 1d7c91c7475464823e186c6d74eb2b1de7f40a8e Mon Sep 17 00:00:00 2001 +From f411a414176b470a4e634d0a3ea5969c92b9abe8 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 17 Aug 2009 19:49:19 +0200 -Subject: [PATCH 089/286] tty: Do not disable interrupts in put_ldisc on -rt +Subject: [PATCH 089/287] tty: Do not disable interrupts in put_ldisc on -rt Fixes the following on PREEMPT_RT: diff --git a/debian/patches/features/all/rt/0090-mm-scatterlist-dont-disable-irqs-on-RT.patch b/debian/patches/features/all/rt/0090-mm-scatterlist-dont-disable-irqs-on-RT.patch index 88647b457..93f397670 100644 --- a/debian/patches/features/all/rt/0090-mm-scatterlist-dont-disable-irqs-on-RT.patch +++ b/debian/patches/features/all/rt/0090-mm-scatterlist-dont-disable-irqs-on-RT.patch @@ -1,7 +1,7 @@ -From 968ec2ec6b2e5d418717e3e3feeacb4d3d5f906d Mon Sep 17 00:00:00 2001 +From dcf67d57e2dc4af98f9bd6ad1a02475854bb3ad8 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 3 Jul 2009 08:44:34 -0500 -Subject: [PATCH 090/286] mm: scatterlist dont disable irqs on RT +Subject: [PATCH 090/287] mm: scatterlist dont disable irqs on RT Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0091-signal-fix-up-rcu-wreckage.patch.patch b/debian/patches/features/all/rt/0091-signal-fix-up-rcu-wreckage.patch.patch index b1833149d..b5475b871 100644 --- a/debian/patches/features/all/rt/0091-signal-fix-up-rcu-wreckage.patch.patch +++ b/debian/patches/features/all/rt/0091-signal-fix-up-rcu-wreckage.patch.patch @@ -1,7 +1,7 @@ -From e7f154c8a24ebb911d85e17f055bfdf44fdaf31f Mon Sep 17 00:00:00 2001 +From c7eb453b13e447552ca0d46964d8af2a6de199bb Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 22 Jul 2011 08:07:08 +0200 -Subject: [PATCH 091/286] signal-fix-up-rcu-wreckage.patch +Subject: [PATCH 091/287] signal-fix-up-rcu-wreckage.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0092-net-wireless-warn-nort.patch.patch b/debian/patches/features/all/rt/0092-net-wireless-warn-nort.patch.patch index b2dcbfccc..517343726 100644 --- a/debian/patches/features/all/rt/0092-net-wireless-warn-nort.patch.patch +++ b/debian/patches/features/all/rt/0092-net-wireless-warn-nort.patch.patch @@ -1,7 +1,7 @@ -From efbaecda2210e26cf4d0abf6e96f16550b8b2e90 Mon Sep 17 00:00:00 2001 +From 99da5bbaf23fd07e8e530f85aa35b80aa2ae1ff5 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 21 Jul 2011 21:05:33 +0200 -Subject: [PATCH 092/286] net-wireless-warn-nort.patch +Subject: [PATCH 092/287] net-wireless-warn-nort.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0093-mm-Replace-cgroup_page-bit-spinlock.patch b/debian/patches/features/all/rt/0093-mm-Replace-cgroup_page-bit-spinlock.patch index 0f9469895..cb03ab151 100644 --- a/debian/patches/features/all/rt/0093-mm-Replace-cgroup_page-bit-spinlock.patch +++ b/debian/patches/features/all/rt/0093-mm-Replace-cgroup_page-bit-spinlock.patch @@ -1,7 +1,7 @@ -From 8129feb507bd73cec13b3796493a73f633791c53 Mon Sep 17 00:00:00 2001 +From cf54d381c576fb71ff771b858439903040995bcf Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 19 Aug 2009 09:56:42 +0200 -Subject: [PATCH 093/286] mm: Replace cgroup_page bit spinlock +Subject: [PATCH 093/287] mm: Replace cgroup_page bit spinlock Bit spinlocks are not working on RT. Replace them. diff --git a/debian/patches/features/all/rt/0094-buffer_head-Replace-bh_uptodate_lock-for-rt.patch b/debian/patches/features/all/rt/0094-buffer_head-Replace-bh_uptodate_lock-for-rt.patch index 568742541..56adcb043 100644 --- a/debian/patches/features/all/rt/0094-buffer_head-Replace-bh_uptodate_lock-for-rt.patch +++ b/debian/patches/features/all/rt/0094-buffer_head-Replace-bh_uptodate_lock-for-rt.patch @@ -1,7 +1,7 @@ -From 6eb4bf35aa2593475c524e7e984763d7f4d79d0d Mon Sep 17 00:00:00 2001 +From 855d1d02b79c51eed6818f93ba42bfee34f841ef Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 18 Mar 2011 09:18:52 +0100 -Subject: [PATCH 094/286] buffer_head: Replace bh_uptodate_lock for -rt +Subject: [PATCH 094/287] 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. diff --git a/debian/patches/features/all/rt/0095-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch b/debian/patches/features/all/rt/0095-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch index 744383c13..fab514e43 100644 --- a/debian/patches/features/all/rt/0095-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch +++ b/debian/patches/features/all/rt/0095-fs-jbd-jbd2-Make-state-lock-and-journal-head-lock-rt.patch @@ -1,7 +1,7 @@ -From 6b5e029050fdd20bffc82c64be39cff5152fb60d Mon Sep 17 00:00:00 2001 +From dfdb6357a50772014f52fec28a9050aed7e2bfbe Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 18 Mar 2011 10:11:25 +0100 -Subject: [PATCH 095/286] fs: jbd/jbd2: Make state lock and journal head lock +Subject: [PATCH 095/287] fs: jbd/jbd2: Make state lock and journal head lock rt safe bit_spin_locks break under RT. diff --git a/debian/patches/features/all/rt/0096-genirq-Disable-DEBUG_SHIRQ-for-rt.patch b/debian/patches/features/all/rt/0096-genirq-Disable-DEBUG_SHIRQ-for-rt.patch index 0b68d71d0..db764d146 100644 --- a/debian/patches/features/all/rt/0096-genirq-Disable-DEBUG_SHIRQ-for-rt.patch +++ b/debian/patches/features/all/rt/0096-genirq-Disable-DEBUG_SHIRQ-for-rt.patch @@ -1,7 +1,7 @@ -From c829f508643069cc2d430a484a5f636af5a9ebc9 Mon Sep 17 00:00:00 2001 +From 83e2faa736ce982aff08925950ea258e23c26b41 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 18 Mar 2011 10:22:04 +0100 -Subject: [PATCH 096/286] genirq: Disable DEBUG_SHIRQ for rt +Subject: [PATCH 096/287] genirq: Disable DEBUG_SHIRQ for rt Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0097-genirq-Disable-random-call-on-preempt-rt.patch b/debian/patches/features/all/rt/0097-genirq-Disable-random-call-on-preempt-rt.patch index 2ce2b6afb..89fda09c8 100644 --- a/debian/patches/features/all/rt/0097-genirq-Disable-random-call-on-preempt-rt.patch +++ b/debian/patches/features/all/rt/0097-genirq-Disable-random-call-on-preempt-rt.patch @@ -1,7 +1,7 @@ -From 1b5f58252844b2d63a303341be09f1a7a896983f Mon Sep 17 00:00:00 2001 +From 1a4438093a023348e99ad91eea7f9a024167c42c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 21 Jul 2009 16:07:37 +0200 -Subject: [PATCH 097/286] genirq: Disable random call on preempt-rt +Subject: [PATCH 097/287] genirq: Disable random call on preempt-rt The random call introduces high latencies and is almost unused. Disable it for -rt. diff --git a/debian/patches/features/all/rt/0098-genirq-disable-irqpoll-on-rt.patch b/debian/patches/features/all/rt/0098-genirq-disable-irqpoll-on-rt.patch index 441a9b7a5..f2e8b3bdc 100644 --- a/debian/patches/features/all/rt/0098-genirq-disable-irqpoll-on-rt.patch +++ b/debian/patches/features/all/rt/0098-genirq-disable-irqpoll-on-rt.patch @@ -1,7 +1,7 @@ -From af43ae3a4f5ff53200f8cc4008eb8713d3b07a21 Mon Sep 17 00:00:00 2001 +From 821a8f2fe68d35096a8988e6b45170026b8a7533 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:57 -0500 -Subject: [PATCH 098/286] genirq: disable irqpoll on -rt +Subject: [PATCH 098/287] genirq: disable irqpoll on -rt Creates long latencies for no value diff --git a/debian/patches/features/all/rt/0099-genirq-force-threading.patch.patch b/debian/patches/features/all/rt/0099-genirq-force-threading.patch.patch index f052c330f..6378ec852 100644 --- a/debian/patches/features/all/rt/0099-genirq-force-threading.patch.patch +++ b/debian/patches/features/all/rt/0099-genirq-force-threading.patch.patch @@ -1,7 +1,7 @@ -From 2dc1ff693eb02392b055a9a73fdb43224edbeee6 Mon Sep 17 00:00:00 2001 +From 268b8c18dc3fd19146a9646434c93c005a17b2e3 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 3 Apr 2011 11:57:29 +0200 -Subject: [PATCH 099/286] genirq-force-threading.patch +Subject: [PATCH 099/287] genirq-force-threading.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0100-drivers-net-fix-livelock-issues.patch b/debian/patches/features/all/rt/0100-drivers-net-fix-livelock-issues.patch index 6a8c6d50b..ecf13f9c5 100644 --- a/debian/patches/features/all/rt/0100-drivers-net-fix-livelock-issues.patch +++ b/debian/patches/features/all/rt/0100-drivers-net-fix-livelock-issues.patch @@ -1,7 +1,7 @@ -From 9e28281e12893af1927472befe3f3a15d7adaf0e Mon Sep 17 00:00:00 2001 +From deb8ea3666af2f07dbb2c2dddcf1452c8274c887 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 20 Jun 2009 11:36:54 +0200 -Subject: [PATCH 100/286] drivers/net: fix livelock issues +Subject: [PATCH 100/287] drivers/net: fix livelock issues Preempt-RT runs into a live lock issue with the NETDEV_TX_LOCKED micro optimization. The reason is that the softirq thread is rescheduling @@ -11,7 +11,6 @@ monoplize the CPU and livelock on UP systems. Remove it. Signed-off-by: Thomas Gleixner -[bwh: Adjust context to apply after 3.2.32] --- drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 6 +----- drivers/net/ethernet/atheros/atl1e/atl1e_main.c | 3 +-- @@ -22,9 +21,11 @@ Signed-off-by: Thomas Gleixner drivers/net/rionet.c | 6 +----- 7 files changed, 10 insertions(+), 31 deletions(-) +diff --git a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c +index 5ae7df7..9500316 100644 --- a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c +++ b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c -@@ -2235,11 +2235,7 @@ static netdev_tx_t atl1c_xmit_frame(stru +@@ -2235,11 +2235,7 @@ static netdev_tx_t atl1c_xmit_frame(struct sk_buff *skb, } tpd_req = atl1c_cal_tpd_req(skb); @@ -37,9 +38,11 @@ Signed-off-by: Thomas Gleixner if (atl1c_tpd_avail(adapter, type) < tpd_req) { /* no enough descriptor, just stop queue */ +diff --git a/drivers/net/ethernet/atheros/atl1e/atl1e_main.c b/drivers/net/ethernet/atheros/atl1e/atl1e_main.c +index 95483bc..eaf84e9 100644 --- a/drivers/net/ethernet/atheros/atl1e/atl1e_main.c +++ b/drivers/net/ethernet/atheros/atl1e/atl1e_main.c -@@ -1819,8 +1819,7 @@ static netdev_tx_t atl1e_xmit_frame(stru +@@ -1819,8 +1819,7 @@ static netdev_tx_t atl1e_xmit_frame(struct sk_buff *skb, return NETDEV_TX_OK; } tpd_req = atl1e_cal_tdp_req(skb); @@ -49,9 +52,11 @@ Signed-off-by: Thomas Gleixner if (atl1e_tpd_avail(adapter) < tpd_req) { /* no enough descriptor, just stop queue */ +diff --git a/drivers/net/ethernet/chelsio/cxgb/sge.c b/drivers/net/ethernet/chelsio/cxgb/sge.c +index f9b60230..6d7412a 100644 --- a/drivers/net/ethernet/chelsio/cxgb/sge.c +++ b/drivers/net/ethernet/chelsio/cxgb/sge.c -@@ -1678,8 +1678,7 @@ static int t1_sge_tx(struct sk_buff *skb +@@ -1678,8 +1678,7 @@ static int t1_sge_tx(struct sk_buff *skb, struct adapter *adapter, struct cmdQ *q = &sge->cmdQ[qid]; unsigned int credits, pidx, genbit, count, use_sched_skb = 0; @@ -61,9 +66,11 @@ Signed-off-by: Thomas Gleixner reclaim_completed_tx(sge, q); +diff --git a/drivers/net/ethernet/neterion/s2io.c b/drivers/net/ethernet/neterion/s2io.c +index c27fb3d..4624278 100644 --- a/drivers/net/ethernet/neterion/s2io.c +++ b/drivers/net/ethernet/neterion/s2io.c -@@ -4090,12 +4090,7 @@ static netdev_tx_t s2io_xmit(struct sk_b +@@ -4090,12 +4090,7 @@ static netdev_tx_t s2io_xmit(struct sk_buff *skb, struct net_device *dev) [skb->priority & (MAX_TX_FIFOS - 1)]; fifo = &mac_control->fifos[queue]; @@ -77,9 +84,11 @@ Signed-off-by: Thomas Gleixner if (sp->config.multiq) { if (__netif_subqueue_stopped(dev, fifo->fifo_no)) { +diff --git a/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c +index 43c7b25..c084bea 100644 --- a/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c +++ b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c -@@ -1937,10 +1937,9 @@ static int pch_gbe_xmit_frame(struct sk_ +@@ -1937,10 +1937,9 @@ static int pch_gbe_xmit_frame(struct sk_buff *skb, struct net_device *netdev) adapter->stats.tx_length_errors++; return NETDEV_TX_OK; } @@ -93,9 +102,11 @@ Signed-off-by: Thomas Gleixner if (unlikely(!PCH_GBE_DESC_UNUSED(tx_ring))) { netif_stop_queue(netdev); spin_unlock_irqrestore(&tx_ring->tx_lock, flags); +diff --git a/drivers/net/ethernet/tehuti/tehuti.c b/drivers/net/ethernet/tehuti/tehuti.c +index 3a90af6..e2e930e 100644 --- a/drivers/net/ethernet/tehuti/tehuti.c +++ b/drivers/net/ethernet/tehuti/tehuti.c -@@ -1605,13 +1605,8 @@ static netdev_tx_t bdx_tx_transmit(struc +@@ -1605,13 +1605,8 @@ static netdev_tx_t bdx_tx_transmit(struct sk_buff *skb, unsigned long flags; ENTER; @@ -111,9 +122,11 @@ Signed-off-by: Thomas Gleixner /* build tx descriptor */ BDX_ASSERT(f->m.wptr >= f->m.memsz); /* started with valid wptr */ +diff --git a/drivers/net/rionet.c b/drivers/net/rionet.c +index c0f097b..3e914bd 100644 --- a/drivers/net/rionet.c +++ b/drivers/net/rionet.c -@@ -178,11 +178,7 @@ static int rionet_start_xmit(struct sk_b +@@ -178,11 +178,7 @@ static int rionet_start_xmit(struct sk_buff *skb, struct net_device *ndev) unsigned long flags; int add_num = 1; diff --git a/debian/patches/features/all/rt/0101-drivers-net-vortex-fix-locking-issues.patch b/debian/patches/features/all/rt/0101-drivers-net-vortex-fix-locking-issues.patch index e2193da36..2f348f36c 100644 --- a/debian/patches/features/all/rt/0101-drivers-net-vortex-fix-locking-issues.patch +++ b/debian/patches/features/all/rt/0101-drivers-net-vortex-fix-locking-issues.patch @@ -1,7 +1,7 @@ -From da746badfb0c31dafc81a3dc4fc2bb2c21a2dd4b Mon Sep 17 00:00:00 2001 +From cdf3165d563253ee7d360468f980536165250ba6 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Fri, 3 Jul 2009 08:30:00 -0500 -Subject: [PATCH 101/286] drivers/net: vortex fix locking issues +Subject: [PATCH 101/287] drivers/net: vortex fix locking issues Argh, cut and paste wasn't enough... diff --git a/debian/patches/features/all/rt/0102-drivers-net-gianfar-Make-RT-aware.patch b/debian/patches/features/all/rt/0102-drivers-net-gianfar-Make-RT-aware.patch index 6e7781986..b6368c012 100644 --- a/debian/patches/features/all/rt/0102-drivers-net-gianfar-Make-RT-aware.patch +++ b/debian/patches/features/all/rt/0102-drivers-net-gianfar-Make-RT-aware.patch @@ -1,7 +1,7 @@ -From 3dc8083e093e843ae7f44b72af30342ca38ad31c Mon Sep 17 00:00:00 2001 +From 14691af245dd4d5a32a6cf514b20f261867919f2 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 1 Apr 2010 20:20:57 +0200 -Subject: [PATCH 102/286] drivers: net: gianfar: Make RT aware +Subject: [PATCH 102/287] drivers: net: gianfar: Make RT aware The adjust_link() disables interrupts before taking the queue locks. On RT those locks are converted to "sleeping" locks and diff --git a/debian/patches/features/all/rt/0103-USB-Fix-the-mouse-problem-when-copying-large-amounts.patch b/debian/patches/features/all/rt/0103-USB-Fix-the-mouse-problem-when-copying-large-amounts.patch index adfba3ba3..58f6f8d65 100644 --- a/debian/patches/features/all/rt/0103-USB-Fix-the-mouse-problem-when-copying-large-amounts.patch +++ b/debian/patches/features/all/rt/0103-USB-Fix-the-mouse-problem-when-copying-large-amounts.patch @@ -1,7 +1,7 @@ -From ef34ed1477c94772b3cd32a9dafc468e47c39ae4 Mon Sep 17 00:00:00 2001 +From 8a006cb93660e53890b6179c552c90129b5e51fd Mon Sep 17 00:00:00 2001 From: Wu Zhangjin Date: Mon, 4 Jan 2010 11:33:02 +0800 -Subject: [PATCH 103/286] USB: Fix the mouse problem when copying large +Subject: [PATCH 103/287] USB: Fix the mouse problem when copying large amounts of data When copying large amounts of data between the USB storage devices and diff --git a/debian/patches/features/all/rt/0104-local-var.patch.patch b/debian/patches/features/all/rt/0104-local-var.patch.patch index 566b277df..aa1efc5eb 100644 --- a/debian/patches/features/all/rt/0104-local-var.patch.patch +++ b/debian/patches/features/all/rt/0104-local-var.patch.patch @@ -1,7 +1,7 @@ -From 11435e34217220ed87a74cdc865c008208259fc6 Mon Sep 17 00:00:00 2001 +From b16f8f7ebdf00f24b52ef4a79f9416f39c50308f Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 24 Jun 2011 18:40:37 +0200 -Subject: [PATCH 104/286] local-var.patch +Subject: [PATCH 104/287] local-var.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0105-rt-local-irq-lock.patch.patch b/debian/patches/features/all/rt/0105-rt-local-irq-lock.patch.patch index 777840587..45f5b7a73 100644 --- a/debian/patches/features/all/rt/0105-rt-local-irq-lock.patch.patch +++ b/debian/patches/features/all/rt/0105-rt-local-irq-lock.patch.patch @@ -1,7 +1,7 @@ -From 2911e6ffd000500ffc6d13ca3e1432b76321a128 Mon Sep 17 00:00:00 2001 +From 5274e3e1590b9e8a25dcbefde1af99add607edd9 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 20 Jun 2011 09:03:47 +0200 -Subject: [PATCH 105/286] rt-local-irq-lock.patch +Subject: [PATCH 105/287] rt-local-irq-lock.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0106-cpu-rt-variants.patch.patch b/debian/patches/features/all/rt/0106-cpu-rt-variants.patch.patch index 33fbf3ff7..0318b7add 100644 --- a/debian/patches/features/all/rt/0106-cpu-rt-variants.patch.patch +++ b/debian/patches/features/all/rt/0106-cpu-rt-variants.patch.patch @@ -1,7 +1,7 @@ -From 4f8a22e65b40c30ad3bcfd1a97f9a3afccd1ccda Mon Sep 17 00:00:00 2001 +From 27ed3feca234b2b070e32ba91922cf185374f84b Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 17 Jun 2011 15:42:38 +0200 -Subject: [PATCH 106/286] cpu-rt-variants.patch +Subject: [PATCH 106/287] cpu-rt-variants.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0107-mm-slab-wrap-functions.patch.patch b/debian/patches/features/all/rt/0107-mm-slab-wrap-functions.patch.patch index a3348c846..545aea856 100644 --- a/debian/patches/features/all/rt/0107-mm-slab-wrap-functions.patch.patch +++ b/debian/patches/features/all/rt/0107-mm-slab-wrap-functions.patch.patch @@ -1,7 +1,7 @@ -From 56b1678f737b22c842a6ff58dbbdf906f1cad996 Mon Sep 17 00:00:00 2001 +From 8679b46fb92eebc72ed090ce69e0d449b9a7969c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 18 Jun 2011 19:44:43 +0200 -Subject: [PATCH 107/286] mm-slab-wrap-functions.patch +Subject: [PATCH 107/287] mm-slab-wrap-functions.patch Signed-off-by: Thomas Gleixner --- @@ -9,7 +9,7 @@ Signed-off-by: Thomas Gleixner 1 file changed, 104 insertions(+), 48 deletions(-) diff --git a/mm/slab.c b/mm/slab.c -index d98f861..9e5ad9e 100644 +index f807b35..89b7b18 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -116,6 +116,7 @@ @@ -154,7 +154,7 @@ index d98f861..9e5ad9e 100644 for (i = 0; i < NUM_INIT_LISTS; i++) { kmem_list3_init(&initkmem_list3[i]); if (i < MAX_NUMNODES) -@@ -2500,7 +2532,7 @@ EXPORT_SYMBOL(kmem_cache_create); +@@ -2503,7 +2535,7 @@ EXPORT_SYMBOL(kmem_cache_create); #if DEBUG static void check_irq_off(void) { @@ -163,7 +163,7 @@ index d98f861..9e5ad9e 100644 } static void check_irq_on(void) -@@ -2535,13 +2567,12 @@ static void drain_array(struct kmem_cache *cachep, struct kmem_list3 *l3, +@@ -2538,13 +2570,12 @@ static void drain_array(struct kmem_cache *cachep, struct kmem_list3 *l3, struct array_cache *ac, int force, int node); @@ -179,7 +179,7 @@ index d98f861..9e5ad9e 100644 ac = cpu_cache_get(cachep); spin_lock(&cachep->nodelists[node]->list_lock); free_block(cachep, ac->entry, ac->avail, node); -@@ -2549,12 +2580,24 @@ static void do_drain(void *arg) +@@ -2552,12 +2583,24 @@ static void do_drain(void *arg) ac->avail = 0; } @@ -205,7 +205,7 @@ index d98f861..9e5ad9e 100644 check_irq_on(); for_each_online_node(node) { l3 = cachep->nodelists[node]; -@@ -2585,10 +2628,10 @@ static int drain_freelist(struct kmem_cache *cache, +@@ -2588,10 +2631,10 @@ static int drain_freelist(struct kmem_cache *cache, nr_freed = 0; while (nr_freed < tofree && !list_empty(&l3->slabs_free)) { @@ -218,7 +218,7 @@ index d98f861..9e5ad9e 100644 goto out; } -@@ -2602,7 +2645,7 @@ static int drain_freelist(struct kmem_cache *cache, +@@ -2605,7 +2648,7 @@ static int drain_freelist(struct kmem_cache *cache, * to the cache. */ l3->free_objects -= cache->num; @@ -227,7 +227,7 @@ index d98f861..9e5ad9e 100644 slab_destroy(cache, slabp); nr_freed++; } -@@ -2897,7 +2940,7 @@ static int cache_grow(struct kmem_cache *cachep, +@@ -2900,7 +2943,7 @@ static int cache_grow(struct kmem_cache *cachep, offset *= cachep->colour_off; if (local_flags & __GFP_WAIT) @@ -236,7 +236,7 @@ index d98f861..9e5ad9e 100644 /* * The test for missing atomic flag is performed here, rather than -@@ -2927,7 +2970,7 @@ static int cache_grow(struct kmem_cache *cachep, +@@ -2930,7 +2973,7 @@ static int cache_grow(struct kmem_cache *cachep, cache_init_objs(cachep, slabp); if (local_flags & __GFP_WAIT) @@ -245,7 +245,7 @@ index d98f861..9e5ad9e 100644 check_irq_off(); spin_lock(&l3->list_lock); -@@ -2941,7 +2984,7 @@ opps1: +@@ -2944,7 +2987,7 @@ opps1: kmem_freepages(cachep, objp); failed: if (local_flags & __GFP_WAIT) @@ -254,7 +254,7 @@ index d98f861..9e5ad9e 100644 return 0; } -@@ -3334,11 +3377,11 @@ retry: +@@ -3337,11 +3380,11 @@ retry: * set and go into memory reserves if necessary. */ if (local_flags & __GFP_WAIT) @@ -268,7 +268,7 @@ index d98f861..9e5ad9e 100644 if (obj) { /* * Insert into the appropriate per node queues -@@ -3456,7 +3499,7 @@ __cache_alloc_node(struct kmem_cache *cachep, gfp_t flags, int nodeid, +@@ -3459,7 +3502,7 @@ __cache_alloc_node(struct kmem_cache *cachep, gfp_t flags, int nodeid, return NULL; cache_alloc_debugcheck_before(cachep, flags); @@ -277,7 +277,7 @@ index d98f861..9e5ad9e 100644 if (nodeid == NUMA_NO_NODE) nodeid = slab_node; -@@ -3481,7 +3524,7 @@ __cache_alloc_node(struct kmem_cache *cachep, gfp_t flags, int nodeid, +@@ -3484,7 +3527,7 @@ __cache_alloc_node(struct kmem_cache *cachep, gfp_t flags, int nodeid, /* ___cache_alloc_node can fall back to other nodes */ ptr = ____cache_alloc_node(cachep, flags, nodeid); out: @@ -286,7 +286,7 @@ index d98f861..9e5ad9e 100644 ptr = cache_alloc_debugcheck_after(cachep, flags, ptr, caller); kmemleak_alloc_recursive(ptr, obj_size(cachep), 1, cachep->flags, flags); -@@ -3541,9 +3584,9 @@ __cache_alloc(struct kmem_cache *cachep, gfp_t flags, void *caller) +@@ -3544,9 +3587,9 @@ __cache_alloc(struct kmem_cache *cachep, gfp_t flags, void *caller) return NULL; cache_alloc_debugcheck_before(cachep, flags); @@ -298,7 +298,7 @@ index d98f861..9e5ad9e 100644 objp = cache_alloc_debugcheck_after(cachep, flags, objp, caller); kmemleak_alloc_recursive(objp, obj_size(cachep), 1, cachep->flags, flags); -@@ -3857,9 +3900,9 @@ void kmem_cache_free(struct kmem_cache *cachep, void *objp) +@@ -3860,9 +3903,9 @@ void kmem_cache_free(struct kmem_cache *cachep, void *objp) debug_check_no_locks_freed(objp, obj_size(cachep)); if (!(cachep->flags & SLAB_DEBUG_OBJECTS)) debug_check_no_obj_freed(objp, obj_size(cachep)); @@ -310,7 +310,7 @@ index d98f861..9e5ad9e 100644 trace_kmem_cache_free(_RET_IP_, objp); } -@@ -3887,9 +3930,9 @@ void kfree(const void *objp) +@@ -3890,9 +3933,9 @@ void kfree(const void *objp) c = virt_to_cache(objp); debug_check_no_locks_freed(objp, obj_size(c)); debug_check_no_obj_freed(objp, obj_size(c)); @@ -322,7 +322,7 @@ index d98f861..9e5ad9e 100644 } EXPORT_SYMBOL(kfree); -@@ -3932,7 +3975,7 @@ static int alloc_kmemlist(struct kmem_cache *cachep, gfp_t gfp) +@@ -3935,7 +3978,7 @@ static int alloc_kmemlist(struct kmem_cache *cachep, gfp_t gfp) if (l3) { struct array_cache *shared = l3->shared; @@ -331,7 +331,7 @@ index d98f861..9e5ad9e 100644 if (shared) free_block(cachep, shared->entry, -@@ -3945,7 +3988,7 @@ static int alloc_kmemlist(struct kmem_cache *cachep, gfp_t gfp) +@@ -3948,7 +3991,7 @@ static int alloc_kmemlist(struct kmem_cache *cachep, gfp_t gfp) } l3->free_limit = (1 + nr_cpus_node(node)) * cachep->batchcount + cachep->num; @@ -340,7 +340,7 @@ index d98f861..9e5ad9e 100644 kfree(shared); free_alien_cache(new_alien); continue; -@@ -3992,17 +4035,28 @@ struct ccupdate_struct { +@@ -3995,17 +4038,28 @@ struct ccupdate_struct { struct array_cache *new[0]; }; @@ -374,7 +374,7 @@ index d98f861..9e5ad9e 100644 /* Always called with the cache_chain_mutex held */ static int do_tune_cpucache(struct kmem_cache *cachep, int limit, -@@ -4028,7 +4082,7 @@ static int do_tune_cpucache(struct kmem_cache *cachep, int limit, +@@ -4031,7 +4085,7 @@ static int do_tune_cpucache(struct kmem_cache *cachep, int limit, } new->cachep = cachep; @@ -383,7 +383,7 @@ index d98f861..9e5ad9e 100644 check_irq_on(); cachep->batchcount = batchcount; -@@ -4039,9 +4093,11 @@ static int do_tune_cpucache(struct kmem_cache *cachep, int limit, +@@ -4042,9 +4096,11 @@ static int do_tune_cpucache(struct kmem_cache *cachep, int limit, struct array_cache *ccold = new->new[i]; if (!ccold) continue; @@ -397,7 +397,7 @@ index d98f861..9e5ad9e 100644 kfree(ccold); } kfree(new); -@@ -4117,7 +4173,7 @@ static void drain_array(struct kmem_cache *cachep, struct kmem_list3 *l3, +@@ -4120,7 +4176,7 @@ static void drain_array(struct kmem_cache *cachep, struct kmem_list3 *l3, if (ac->touched && !force) { ac->touched = 0; } else { @@ -406,7 +406,7 @@ index d98f861..9e5ad9e 100644 if (ac->avail) { tofree = force ? ac->avail : (ac->limit + 4) / 5; if (tofree > ac->avail) -@@ -4127,7 +4183,7 @@ static void drain_array(struct kmem_cache *cachep, struct kmem_list3 *l3, +@@ -4130,7 +4186,7 @@ static void drain_array(struct kmem_cache *cachep, struct kmem_list3 *l3, memmove(ac->entry, &(ac->entry[tofree]), sizeof(void *) * ac->avail); } @@ -415,7 +415,7 @@ index d98f861..9e5ad9e 100644 } } -@@ -4266,7 +4322,7 @@ static int s_show(struct seq_file *m, void *p) +@@ -4269,7 +4325,7 @@ static int s_show(struct seq_file *m, void *p) continue; check_irq_on(); @@ -424,7 +424,7 @@ index d98f861..9e5ad9e 100644 list_for_each_entry(slabp, &l3->slabs_full, list) { if (slabp->inuse != cachep->num && !error) -@@ -4291,7 +4347,7 @@ static int s_show(struct seq_file *m, void *p) +@@ -4294,7 +4350,7 @@ static int s_show(struct seq_file *m, void *p) if (l3->shared) shared_avail += l3->shared->avail; @@ -433,7 +433,7 @@ index d98f861..9e5ad9e 100644 } num_slabs += active_slabs; num_objs = num_slabs * cachep->num; -@@ -4520,13 +4576,13 @@ static int leaks_show(struct seq_file *m, void *p) +@@ -4523,13 +4579,13 @@ static int leaks_show(struct seq_file *m, void *p) continue; check_irq_on(); diff --git a/debian/patches/features/all/rt/0108-slab-Fix-__do_drain-to-use-the-right-array-cache.patch b/debian/patches/features/all/rt/0108-slab-Fix-__do_drain-to-use-the-right-array-cache.patch index 4bca2e4ff..71f2d0b95 100644 --- a/debian/patches/features/all/rt/0108-slab-Fix-__do_drain-to-use-the-right-array-cache.patch +++ b/debian/patches/features/all/rt/0108-slab-Fix-__do_drain-to-use-the-right-array-cache.patch @@ -1,7 +1,7 @@ -From 5d330a5afe0f7ecee314b2993804e53924ab7f82 Mon Sep 17 00:00:00 2001 +From d39c227f85e8a2bb0ade4c4d5f882d3b21ed2253 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Tue, 11 Oct 2011 23:56:23 -0400 -Subject: [PATCH 108/286] slab: Fix __do_drain to use the right array cache +Subject: [PATCH 108/287] slab: Fix __do_drain to use the right array cache The array cache in __do_drain() was using the cpu_cache_get() function which uses smp_processor_id() to get the proper array. On mainline, this @@ -39,10 +39,10 @@ Signed-off-by: Thomas Gleixner 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/slab.c b/mm/slab.c -index 9e5ad9e..98cd226 100644 +index 89b7b18..ce54589 100644 --- a/mm/slab.c +++ b/mm/slab.c -@@ -2573,7 +2573,7 @@ static void __do_drain(void *arg, unsigned int cpu) +@@ -2576,7 +2576,7 @@ static void __do_drain(void *arg, unsigned int cpu) struct array_cache *ac; int node = cpu_to_mem(cpu); diff --git a/debian/patches/features/all/rt/0109-mm-More-lock-breaks-in-slab.c.patch b/debian/patches/features/all/rt/0109-mm-More-lock-breaks-in-slab.c.patch index 3688bdca6..93e07b443 100644 --- a/debian/patches/features/all/rt/0109-mm-More-lock-breaks-in-slab.c.patch +++ b/debian/patches/features/all/rt/0109-mm-More-lock-breaks-in-slab.c.patch @@ -1,7 +1,7 @@ -From bcc6bc473889e1e3b9f0d0e7e26261f1acb53dd4 Mon Sep 17 00:00:00 2001 +From cc0668152325cf5b729d72b3cd67e975ed55f84e Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Fri, 3 Jul 2009 08:44:43 -0500 -Subject: [PATCH 109/286] mm: More lock breaks in slab.c +Subject: [PATCH 109/287] mm: More lock breaks in slab.c Handle __free_pages outside of the locked regions. This reduces the lock contention on the percpu slab locks in -rt significantly. @@ -13,7 +13,7 @@ Signed-off-by: Thomas Gleixner 1 file changed, 68 insertions(+), 22 deletions(-) diff --git a/mm/slab.c b/mm/slab.c -index 98cd226..74d2dd7 100644 +index ce54589..59b7e8c 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -723,6 +723,7 @@ static void slab_set_debugobj_lock_classes(struct kmem_cache *cachep) @@ -95,7 +95,7 @@ index 98cd226..74d2dd7 100644 for (i = 0; i < NUM_INIT_LISTS; i++) { kmem_list3_init(&initkmem_list3[i]); -@@ -1803,12 +1831,14 @@ static void *kmem_getpages(struct kmem_cache *cachep, gfp_t flags, int nodeid) +@@ -1806,12 +1834,14 @@ static void *kmem_getpages(struct kmem_cache *cachep, gfp_t flags, int nodeid) /* * Interface to system's page release. */ @@ -112,7 +112,7 @@ index 98cd226..74d2dd7 100644 kmemcheck_free_shadow(page, cachep->gfporder); if (cachep->flags & SLAB_RECLAIM_ACCOUNT) -@@ -1824,7 +1854,13 @@ static void kmem_freepages(struct kmem_cache *cachep, void *addr) +@@ -1827,7 +1857,13 @@ static void kmem_freepages(struct kmem_cache *cachep, void *addr) } if (current->reclaim_state) current->reclaim_state->reclaimed_slab += nr_freed; @@ -127,7 +127,7 @@ index 98cd226..74d2dd7 100644 } static void kmem_rcu_free(struct rcu_head *head) -@@ -1832,7 +1868,7 @@ static void kmem_rcu_free(struct rcu_head *head) +@@ -1835,7 +1871,7 @@ static void kmem_rcu_free(struct rcu_head *head) struct slab_rcu *slab_rcu = (struct slab_rcu *)head; struct kmem_cache *cachep = slab_rcu->cachep; @@ -136,7 +136,7 @@ index 98cd226..74d2dd7 100644 if (OFF_SLAB(cachep)) kmem_cache_free(cachep->slabp_cache, slab_rcu); } -@@ -2051,7 +2087,8 @@ static void slab_destroy_debugcheck(struct kmem_cache *cachep, struct slab *slab +@@ -2054,7 +2090,8 @@ static void slab_destroy_debugcheck(struct kmem_cache *cachep, struct slab *slab * Before calling the slab must have been unlinked from the cache. The * cache-lock is not held/needed. */ @@ -146,7 +146,7 @@ index 98cd226..74d2dd7 100644 { void *addr = slabp->s_mem - slabp->colouroff; -@@ -2064,7 +2101,7 @@ static void slab_destroy(struct kmem_cache *cachep, struct slab *slabp) +@@ -2067,7 +2104,7 @@ static void slab_destroy(struct kmem_cache *cachep, struct slab *slabp) slab_rcu->addr = addr; call_rcu(&slab_rcu->head, kmem_rcu_free); } else { @@ -155,7 +155,7 @@ index 98cd226..74d2dd7 100644 if (OFF_SLAB(cachep)) kmem_cache_free(cachep->slabp_cache, slabp); } -@@ -2586,9 +2623,15 @@ static void do_drain(void *arg) +@@ -2589,9 +2626,15 @@ static void do_drain(void *arg) __do_drain(arg, smp_processor_id()); } #else @@ -173,7 +173,7 @@ index 98cd226..74d2dd7 100644 } #endif -@@ -2646,7 +2689,7 @@ static int drain_freelist(struct kmem_cache *cache, +@@ -2649,7 +2692,7 @@ static int drain_freelist(struct kmem_cache *cache, */ l3->free_objects -= cache->num; local_spin_unlock_irq(slab_lock, &l3->list_lock); @@ -182,7 +182,7 @@ index 98cd226..74d2dd7 100644 nr_freed++; } out: -@@ -2981,7 +3024,7 @@ static int cache_grow(struct kmem_cache *cachep, +@@ -2984,7 +3027,7 @@ static int cache_grow(struct kmem_cache *cachep, spin_unlock(&l3->list_lock); return 1; opps1: @@ -191,7 +191,7 @@ index 98cd226..74d2dd7 100644 failed: if (local_flags & __GFP_WAIT) local_lock_irq(slab_lock); -@@ -3634,7 +3677,7 @@ static void free_block(struct kmem_cache *cachep, void **objpp, int nr_objects, +@@ -3637,7 +3680,7 @@ static void free_block(struct kmem_cache *cachep, void **objpp, int nr_objects, * a different cache, refer to comments before * alloc_slabmgmt. */ @@ -200,7 +200,7 @@ index 98cd226..74d2dd7 100644 } else { list_add(&slabp->list, &l3->slabs_free); } -@@ -3902,7 +3945,7 @@ void kmem_cache_free(struct kmem_cache *cachep, void *objp) +@@ -3905,7 +3948,7 @@ void kmem_cache_free(struct kmem_cache *cachep, void *objp) debug_check_no_obj_freed(objp, obj_size(cachep)); local_lock_irqsave(slab_lock, flags); __cache_free(cachep, objp, __builtin_return_address(0)); @@ -209,7 +209,7 @@ index 98cd226..74d2dd7 100644 trace_kmem_cache_free(_RET_IP_, objp); } -@@ -3932,7 +3975,7 @@ void kfree(const void *objp) +@@ -3935,7 +3978,7 @@ void kfree(const void *objp) debug_check_no_obj_freed(objp, obj_size(c)); local_lock_irqsave(slab_lock, flags); __cache_free(c, (void *)objp, __builtin_return_address(0)); @@ -218,7 +218,7 @@ index 98cd226..74d2dd7 100644 } EXPORT_SYMBOL(kfree); -@@ -3988,7 +4031,8 @@ static int alloc_kmemlist(struct kmem_cache *cachep, gfp_t gfp) +@@ -3991,7 +4034,8 @@ static int alloc_kmemlist(struct kmem_cache *cachep, gfp_t gfp) } l3->free_limit = (1 + nr_cpus_node(node)) * cachep->batchcount + cachep->num; @@ -228,7 +228,7 @@ index 98cd226..74d2dd7 100644 kfree(shared); free_alien_cache(new_alien); continue; -@@ -4054,7 +4098,9 @@ static void do_ccupdate_local(void *info) +@@ -4057,7 +4101,9 @@ static void do_ccupdate_local(void *info) #else static void do_ccupdate_local(void *info, int cpu) { @@ -238,7 +238,7 @@ index 98cd226..74d2dd7 100644 } #endif -@@ -4096,8 +4142,8 @@ static int do_tune_cpucache(struct kmem_cache *cachep, int limit, +@@ -4099,8 +4145,8 @@ static int do_tune_cpucache(struct kmem_cache *cachep, int limit, local_spin_lock_irq(slab_lock, &cachep->nodelists[cpu_to_mem(i)]->list_lock); free_block(cachep, ccold->entry, ccold->avail, cpu_to_mem(i)); diff --git a/debian/patches/features/all/rt/0110-mm-page_alloc-rt-friendly-per-cpu-pages.patch b/debian/patches/features/all/rt/0110-mm-page_alloc-rt-friendly-per-cpu-pages.patch index fcf840cf5..01dfe0a81 100644 --- a/debian/patches/features/all/rt/0110-mm-page_alloc-rt-friendly-per-cpu-pages.patch +++ b/debian/patches/features/all/rt/0110-mm-page_alloc-rt-friendly-per-cpu-pages.patch @@ -1,7 +1,7 @@ -From 5a3c8f49f4c6c94cbaa44100897557c3ead79d44 Mon Sep 17 00:00:00 2001 +From bf0c34970cdf719d8fa2b0aff617da558ae7967b Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:37 -0500 -Subject: [PATCH 110/286] mm: page_alloc: rt-friendly per-cpu pages +Subject: [PATCH 110/287] mm: page_alloc: rt-friendly per-cpu pages rt-friendly per-cpu pages: convert the irqs-off per-cpu locking method into a preemptible, explicit-per-cpu-locks method. diff --git a/debian/patches/features/all/rt/0111-mm-page_alloc-reduce-lock-sections-further.patch b/debian/patches/features/all/rt/0111-mm-page_alloc-reduce-lock-sections-further.patch index ef9477b91..928f1c45e 100644 --- a/debian/patches/features/all/rt/0111-mm-page_alloc-reduce-lock-sections-further.patch +++ b/debian/patches/features/all/rt/0111-mm-page_alloc-reduce-lock-sections-further.patch @@ -1,7 +1,7 @@ -From 18ab1661e28d73eacd5b9461398528cdc7fe6ff6 Mon Sep 17 00:00:00 2001 +From 1b50c1d3ee48fb19504184e9931fcd9feb8c2722 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Fri, 3 Jul 2009 08:44:37 -0500 -Subject: [PATCH 111/286] mm: page_alloc reduce lock sections further +Subject: [PATCH 111/287] mm: page_alloc reduce lock sections further Split out the pages which are to be freed into a separate list and call free_pages_bulk() outside of the percpu page allocator locks. diff --git a/debian/patches/features/all/rt/0112-mm-page-alloc-fix.patch.patch b/debian/patches/features/all/rt/0112-mm-page-alloc-fix.patch.patch index 86b4b18a5..4af0f32ff 100644 --- a/debian/patches/features/all/rt/0112-mm-page-alloc-fix.patch.patch +++ b/debian/patches/features/all/rt/0112-mm-page-alloc-fix.patch.patch @@ -1,7 +1,7 @@ -From 9ff3faa91328022dbafdd395a55524f6d6946d7a Mon Sep 17 00:00:00 2001 +From 2b081704b978f4dfd1a92b610eaba2913f3b18d5 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 21 Jul 2011 16:47:49 +0200 -Subject: [PATCH 112/286] mm-page-alloc-fix.patch +Subject: [PATCH 112/287] mm-page-alloc-fix.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0113-mm-convert-swap-to-percpu-locked.patch b/debian/patches/features/all/rt/0113-mm-convert-swap-to-percpu-locked.patch index d93b37993..7ecd97f0e 100644 --- a/debian/patches/features/all/rt/0113-mm-convert-swap-to-percpu-locked.patch +++ b/debian/patches/features/all/rt/0113-mm-convert-swap-to-percpu-locked.patch @@ -1,7 +1,7 @@ -From d6d585744e0a5636ec64218bf4b24b888e71a82a Mon Sep 17 00:00:00 2001 +From a59e2ae0aa57a2aca6f4c56d4b75aa6b02ed9f30 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:51 -0500 -Subject: [PATCH 113/286] mm: convert swap to percpu locked +Subject: [PATCH 113/287] mm: convert swap to percpu locked Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner diff --git a/debian/patches/features/all/rt/0114-mm-vmstat-fix-the-irq-lock-asymetry.patch.patch b/debian/patches/features/all/rt/0114-mm-vmstat-fix-the-irq-lock-asymetry.patch.patch index 21353b1b4..87942d4ee 100644 --- a/debian/patches/features/all/rt/0114-mm-vmstat-fix-the-irq-lock-asymetry.patch.patch +++ b/debian/patches/features/all/rt/0114-mm-vmstat-fix-the-irq-lock-asymetry.patch.patch @@ -1,7 +1,7 @@ -From 5a190e09c8502ff6a9061f36de6dd7fcb068110c Mon Sep 17 00:00:00 2001 +From f58aeccb07338fa975a3ac29653a4e2ae499a64d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 22 Jun 2011 20:47:08 +0200 -Subject: [PATCH 114/286] mm-vmstat-fix-the-irq-lock-asymetry.patch +Subject: [PATCH 114/287] mm-vmstat-fix-the-irq-lock-asymetry.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0115-mm-make-vmstat-rt-aware.patch b/debian/patches/features/all/rt/0115-mm-make-vmstat-rt-aware.patch index b124ec99e..eb1114eef 100644 --- a/debian/patches/features/all/rt/0115-mm-make-vmstat-rt-aware.patch +++ b/debian/patches/features/all/rt/0115-mm-make-vmstat-rt-aware.patch @@ -1,7 +1,7 @@ -From d23617d474e8eab62eb73a61093e5453aa2dd7b6 Mon Sep 17 00:00:00 2001 +From fd9fe8908f81d1440b76b479a8d65d0b57b70a77 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:30:13 -0500 -Subject: [PATCH 115/286] mm: make vmstat -rt aware +Subject: [PATCH 115/287] mm: make vmstat -rt aware Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner diff --git a/debian/patches/features/all/rt/0116-mm-shrink-the-page-frame-to-rt-size.patch b/debian/patches/features/all/rt/0116-mm-shrink-the-page-frame-to-rt-size.patch index 7e40b8c26..9ac1dfe31 100644 --- a/debian/patches/features/all/rt/0116-mm-shrink-the-page-frame-to-rt-size.patch +++ b/debian/patches/features/all/rt/0116-mm-shrink-the-page-frame-to-rt-size.patch @@ -1,7 +1,7 @@ -From ded29d37dccdaba4d9cd9fe435d1893af51b3d0b Mon Sep 17 00:00:00 2001 +From 492ecfbf49a7c3ec1a786bb0008379da6d2c6a45 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Fri, 3 Jul 2009 08:44:54 -0500 -Subject: [PATCH 116/286] mm: shrink the page frame to !-rt size +Subject: [PATCH 116/287] mm: shrink the page frame to !-rt size He below is a boot-tested hack to shrink the page frame size back to normal. diff --git a/debian/patches/features/all/rt/0117-ARM-Initialize-ptl-lock-for-vector-page.patch b/debian/patches/features/all/rt/0117-ARM-Initialize-ptl-lock-for-vector-page.patch index c70f917f8..bfb00607c 100644 --- a/debian/patches/features/all/rt/0117-ARM-Initialize-ptl-lock-for-vector-page.patch +++ b/debian/patches/features/all/rt/0117-ARM-Initialize-ptl-lock-for-vector-page.patch @@ -1,7 +1,7 @@ -From 8e32537e45cf48d2c3f40612240c8a67773fddb4 Mon Sep 17 00:00:00 2001 +From 4d7787c8da52039fdd22210977aac935034d9fc4 Mon Sep 17 00:00:00 2001 From: Frank Rowand Date: Sat, 1 Oct 2011 18:58:13 -0700 -Subject: [PATCH 117/286] ARM: Initialize ptl->lock for vector page +Subject: [PATCH 117/287] ARM: Initialize ptl->lock for vector page Without this patch, ARM can not use SPLIT_PTLOCK_CPUS if PREEMPT_RT_FULL=y because vectors_user_mapping() creates a diff --git a/debian/patches/features/all/rt/0118-mm-Allow-only-slab-on-RT.patch b/debian/patches/features/all/rt/0118-mm-Allow-only-slab-on-RT.patch index e9d5d72cc..48c312e29 100644 --- a/debian/patches/features/all/rt/0118-mm-Allow-only-slab-on-RT.patch +++ b/debian/patches/features/all/rt/0118-mm-Allow-only-slab-on-RT.patch @@ -1,7 +1,7 @@ -From 91773a8cd5c06ce87e21d00e4b70bc3a62c44a1d Mon Sep 17 00:00:00 2001 +From d793c180519b26491bc072cae2362b6faa6da8fc Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:44:03 -0500 -Subject: [PATCH 118/286] mm: Allow only slab on RT +Subject: [PATCH 118/287] mm: Allow only slab on RT Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner diff --git a/debian/patches/features/all/rt/0119-radix-tree-rt-aware.patch.patch b/debian/patches/features/all/rt/0119-radix-tree-rt-aware.patch.patch index d59b20d82..96dd6fc07 100644 --- a/debian/patches/features/all/rt/0119-radix-tree-rt-aware.patch.patch +++ b/debian/patches/features/all/rt/0119-radix-tree-rt-aware.patch.patch @@ -1,7 +1,7 @@ -From 85330cc3459b88adcb8e2d8f75312ab9cccc6fb9 Mon Sep 17 00:00:00 2001 +From f468470f196c04c8f66df3bd71c8d58f2da344a3 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 21:33:18 +0200 -Subject: [PATCH 119/286] radix-tree-rt-aware.patch +Subject: [PATCH 119/287] radix-tree-rt-aware.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0120-panic-disable-random-on-rt.patch b/debian/patches/features/all/rt/0120-panic-disable-random-on-rt.patch index 7f642b9b4..ade52a948 100644 --- a/debian/patches/features/all/rt/0120-panic-disable-random-on-rt.patch +++ b/debian/patches/features/all/rt/0120-panic-disable-random-on-rt.patch @@ -1,7 +1,7 @@ -From 5db8c6fd4562b8d9162b9b3dbc64139e57c655ae Mon Sep 17 00:00:00 2001 +From 46e2774b31615466d0eeb4e3f81f57f760f76352 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 10 Apr 2012 14:34:04 -0400 -Subject: [PATCH 120/286] panic-disable-random-on-rt +Subject: [PATCH 120/287] panic-disable-random-on-rt --- kernel/panic.c | 2 ++ diff --git a/debian/patches/features/all/rt/0121-ipc-Make-the-ipc-code-rt-aware.patch b/debian/patches/features/all/rt/0121-ipc-Make-the-ipc-code-rt-aware.patch index 283d11fe2..7c7185e15 100644 --- a/debian/patches/features/all/rt/0121-ipc-Make-the-ipc-code-rt-aware.patch +++ b/debian/patches/features/all/rt/0121-ipc-Make-the-ipc-code-rt-aware.patch @@ -1,7 +1,7 @@ -From 54e32e8541a00a36ff82425a7894137f923717c3 Mon Sep 17 00:00:00 2001 +From 07b3e01ff19d37064cc093ddef1e504226eb5e33 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:30:12 -0500 -Subject: [PATCH 121/286] ipc: Make the ipc code -rt aware +Subject: [PATCH 121/287] ipc: Make the ipc code -rt aware RT serializes the code with the (rt)spinlock but keeps preemption enabled. Some parts of the code need to be atomic nevertheless. diff --git a/debian/patches/features/all/rt/0122-ipc-mqueue-Add-a-critical-section-to-avoid-a-deadloc.patch b/debian/patches/features/all/rt/0122-ipc-mqueue-Add-a-critical-section-to-avoid-a-deadloc.patch index c74241e2d..1d449e69b 100644 --- a/debian/patches/features/all/rt/0122-ipc-mqueue-Add-a-critical-section-to-avoid-a-deadloc.patch +++ b/debian/patches/features/all/rt/0122-ipc-mqueue-Add-a-critical-section-to-avoid-a-deadloc.patch @@ -1,7 +1,7 @@ -From 75b951dd60a145ca86555466dcf9fa73bf084630 Mon Sep 17 00:00:00 2001 +From 0092342ab88612228d99ad9049b96123995c422a Mon Sep 17 00:00:00 2001 From: KOBAYASHI Yoshitake Date: Sat, 23 Jul 2011 11:57:36 +0900 -Subject: [PATCH 122/286] ipc/mqueue: Add a critical section to avoid a +Subject: [PATCH 122/287] ipc/mqueue: Add a critical section to avoid a deadlock (Repost for v3.0-rt1 and changed the distination addreses) diff --git a/debian/patches/features/all/rt/0123-relay-fix-timer-madness.patch b/debian/patches/features/all/rt/0123-relay-fix-timer-madness.patch index 1781297a1..0fd79aecc 100644 --- a/debian/patches/features/all/rt/0123-relay-fix-timer-madness.patch +++ b/debian/patches/features/all/rt/0123-relay-fix-timer-madness.patch @@ -1,7 +1,7 @@ -From b9b31222d001a7e4aadc2058de8bc13e3dc8dc3a Mon Sep 17 00:00:00 2001 +From aa088a38027202f29c1f2555a666907d619aa296 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:44:07 -0500 -Subject: [PATCH 123/286] relay: fix timer madness +Subject: [PATCH 123/287] relay: fix timer madness remove timer calls (!!!) from deep within the tracing infrastructure. This was totally bogus code that can cause lockups and worse. Poll diff --git a/debian/patches/features/all/rt/0124-net-ipv4-route-use-locks-on-up-rt.patch.patch b/debian/patches/features/all/rt/0124-net-ipv4-route-use-locks-on-up-rt.patch.patch index 44b01540e..b2e4f0fb4 100644 --- a/debian/patches/features/all/rt/0124-net-ipv4-route-use-locks-on-up-rt.patch.patch +++ b/debian/patches/features/all/rt/0124-net-ipv4-route-use-locks-on-up-rt.patch.patch @@ -1,7 +1,7 @@ -From 903d4748b379e0a90ec35b01a331aee6bb25f98d Mon Sep 17 00:00:00 2001 +From 073a63553c4f7908c95d596c697bcf2d1ac4ae09 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 15 Jul 2011 16:24:45 +0200 -Subject: [PATCH 124/286] net-ipv4-route-use-locks-on-up-rt.patch +Subject: [PATCH 124/287] net-ipv4-route-use-locks-on-up-rt.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0125-workqueue-avoid-the-lock-in-cpu-dying.patch.patch b/debian/patches/features/all/rt/0125-workqueue-avoid-the-lock-in-cpu-dying.patch.patch index 6061c1f37..3498cadba 100644 --- a/debian/patches/features/all/rt/0125-workqueue-avoid-the-lock-in-cpu-dying.patch.patch +++ b/debian/patches/features/all/rt/0125-workqueue-avoid-the-lock-in-cpu-dying.patch.patch @@ -1,7 +1,7 @@ -From 76305f83ed7b3ba2042b83fbd6e526220f540db4 Mon Sep 17 00:00:00 2001 +From cfc707eb63cba3f6b02768c7bd8d68bc2016617d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 24 Jun 2011 20:39:24 +0200 -Subject: [PATCH 125/286] workqueue-avoid-the-lock-in-cpu-dying.patch +Subject: [PATCH 125/287] workqueue-avoid-the-lock-in-cpu-dying.patch Signed-off-by: Thomas Gleixner --- @@ -9,10 +9,10 @@ Signed-off-by: Thomas Gleixner 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/kernel/workqueue.c b/kernel/workqueue.c -index 4bd2abb..8b12069 100644 +index f09d7e2..383f550 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c -@@ -3512,6 +3512,25 @@ static int __devinit workqueue_cpu_callback(struct notifier_block *nfb, +@@ -3533,6 +3533,25 @@ static int __devinit workqueue_cpu_callback(struct notifier_block *nfb, kthread_stop(new_trustee); return NOTIFY_BAD; } @@ -38,7 +38,7 @@ index 4bd2abb..8b12069 100644 } /* some are called w/ irq disabled, don't disturb irq status */ -@@ -3531,16 +3550,6 @@ static int __devinit workqueue_cpu_callback(struct notifier_block *nfb, +@@ -3552,16 +3571,6 @@ static int __devinit workqueue_cpu_callback(struct notifier_block *nfb, gcwq->first_idle = new_worker; break; @@ -55,7 +55,7 @@ index 4bd2abb..8b12069 100644 case CPU_POST_DEAD: gcwq->trustee_state = TRUSTEE_BUTCHER; /* fall through */ -@@ -3574,6 +3583,7 @@ static int __devinit workqueue_cpu_callback(struct notifier_block *nfb, +@@ -3595,6 +3604,7 @@ static int __devinit workqueue_cpu_callback(struct notifier_block *nfb, spin_unlock_irqrestore(&gcwq->lock, flags); diff --git a/debian/patches/features/all/rt/0126-timers-prepare-for-full-preemption.patch b/debian/patches/features/all/rt/0126-timers-prepare-for-full-preemption.patch index c662ed9a7..3dbbc593b 100644 --- a/debian/patches/features/all/rt/0126-timers-prepare-for-full-preemption.patch +++ b/debian/patches/features/all/rt/0126-timers-prepare-for-full-preemption.patch @@ -1,7 +1,7 @@ -From bd2ef8c1e4edfab0fca7acb400d6984ce54639cf Mon Sep 17 00:00:00 2001 +From 414e79a775070c557fd7de089d2f4a2e41da15ea Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:34 -0500 -Subject: [PATCH 126/286] timers: prepare for full preemption +Subject: [PATCH 126/287] timers: prepare for full preemption When softirqs can be preempted we need to make sure that cancelling the timer from the active thread can not deadlock vs. a running timer diff --git a/debian/patches/features/all/rt/0127-timers-preempt-rt-support.patch b/debian/patches/features/all/rt/0127-timers-preempt-rt-support.patch index e0b37e961..e76106c38 100644 --- a/debian/patches/features/all/rt/0127-timers-preempt-rt-support.patch +++ b/debian/patches/features/all/rt/0127-timers-preempt-rt-support.patch @@ -1,7 +1,7 @@ -From bf916055bc2ed5735857fc34a3b5b7ccfd6455a6 Mon Sep 17 00:00:00 2001 +From 1232f23bfbedf151685ad9117bb4b3ef06c55c3a Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:30:20 -0500 -Subject: [PATCH 127/286] timers: preempt-rt support +Subject: [PATCH 127/287] timers: preempt-rt support Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner diff --git a/debian/patches/features/all/rt/0128-timers-fix-timer-hotplug-on-rt.patch b/debian/patches/features/all/rt/0128-timers-fix-timer-hotplug-on-rt.patch index 42dd649ca..02b5ff525 100644 --- a/debian/patches/features/all/rt/0128-timers-fix-timer-hotplug-on-rt.patch +++ b/debian/patches/features/all/rt/0128-timers-fix-timer-hotplug-on-rt.patch @@ -1,7 +1,7 @@ -From 45f7bc09ac19cfe1c9151c1d0eeea459593f0e39 Mon Sep 17 00:00:00 2001 +From 2a20debfc295f7a170bcb2cfaa46bc32a2c49279 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:30:32 -0500 -Subject: [PATCH 128/286] timers: fix timer hotplug on -rt +Subject: [PATCH 128/287] timers: fix timer hotplug on -rt Here we are in the CPU_DEAD notifier, and we must not sleep nor enable interrupts. diff --git a/debian/patches/features/all/rt/0129-timers-mov-printk_tick-to-soft-interrupt.patch b/debian/patches/features/all/rt/0129-timers-mov-printk_tick-to-soft-interrupt.patch index 5ac1fec5f..69d1203d7 100644 --- a/debian/patches/features/all/rt/0129-timers-mov-printk_tick-to-soft-interrupt.patch +++ b/debian/patches/features/all/rt/0129-timers-mov-printk_tick-to-soft-interrupt.patch @@ -1,7 +1,7 @@ -From ca15f895c0e638746a56650f5e36d0bf84d1ef32 Mon Sep 17 00:00:00 2001 +From 7c2f2e46bb4b28f670724d915ff3fb64c993fd4f Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 3 Jul 2009 08:44:30 -0500 -Subject: [PATCH 129/286] timers: mov printk_tick to soft interrupt +Subject: [PATCH 129/287] timers: mov printk_tick to soft interrupt Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar diff --git a/debian/patches/features/all/rt/0130-timer-delay-waking-softirqs-from-the-jiffy-tick.patch b/debian/patches/features/all/rt/0130-timer-delay-waking-softirqs-from-the-jiffy-tick.patch index 4edbe74d0..de95e6619 100644 --- a/debian/patches/features/all/rt/0130-timer-delay-waking-softirqs-from-the-jiffy-tick.patch +++ b/debian/patches/features/all/rt/0130-timer-delay-waking-softirqs-from-the-jiffy-tick.patch @@ -1,7 +1,7 @@ -From 6e1a322e61bec038d8bdb1751d5f34fc586a8171 Mon Sep 17 00:00:00 2001 +From 82d39a7ed42fdac19c86c1b75ca9db586384aa71 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Fri, 21 Aug 2009 11:56:45 +0200 -Subject: [PATCH 130/286] timer: delay waking softirqs from the jiffy tick +Subject: [PATCH 130/287] timer: delay waking softirqs from the jiffy tick People were complaining about broken balancing with the recent -rt series. diff --git a/debian/patches/features/all/rt/0131-timers-Avoid-the-switch-timers-base-set-to-NULL-tric.patch b/debian/patches/features/all/rt/0131-timers-Avoid-the-switch-timers-base-set-to-NULL-tric.patch index 813bf3c83..2d31ad693 100644 --- a/debian/patches/features/all/rt/0131-timers-Avoid-the-switch-timers-base-set-to-NULL-tric.patch +++ b/debian/patches/features/all/rt/0131-timers-Avoid-the-switch-timers-base-set-to-NULL-tric.patch @@ -1,7 +1,7 @@ -From 53b45e8827f868be4b723964cfaa305275904448 Mon Sep 17 00:00:00 2001 +From a3fba00dd7915be61da1163b1c26b6e7fedb8fc9 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 21 Jul 2011 15:23:39 +0200 -Subject: [PATCH 131/286] timers: Avoid the switch timers base set to NULL +Subject: [PATCH 131/287] timers: Avoid the switch timers base set to NULL trick on RT On RT that code is preemptible, so we cannot assign NULL to timers diff --git a/debian/patches/features/all/rt/0132-printk-Don-t-call-printk_tick-in-printk_needs_cpu-on.patch b/debian/patches/features/all/rt/0132-printk-Don-t-call-printk_tick-in-printk_needs_cpu-on.patch index 081b09fd4..9f5d99f16 100644 --- a/debian/patches/features/all/rt/0132-printk-Don-t-call-printk_tick-in-printk_needs_cpu-on.patch +++ b/debian/patches/features/all/rt/0132-printk-Don-t-call-printk_tick-in-printk_needs_cpu-on.patch @@ -1,7 +1,7 @@ -From fe3bcf59820101c5f2a87a9b98a98d18b78af606 Mon Sep 17 00:00:00 2001 +From dd2f81672adad5cd7fb62387beb8ad82b3ef6cc5 Mon Sep 17 00:00:00 2001 From: Yong Zhang Date: Sun, 16 Oct 2011 18:56:45 +0800 -Subject: [PATCH 132/286] printk: Don't call printk_tick in printk_needs_cpu() +Subject: [PATCH 132/287] printk: Don't call printk_tick in printk_needs_cpu() on RT printk_tick() can't be called in atomic context when RT is enabled, diff --git a/debian/patches/features/all/rt/0133-hrtimers-prepare-full-preemption.patch b/debian/patches/features/all/rt/0133-hrtimers-prepare-full-preemption.patch index 6f3844cca..2be2c9742 100644 --- a/debian/patches/features/all/rt/0133-hrtimers-prepare-full-preemption.patch +++ b/debian/patches/features/all/rt/0133-hrtimers-prepare-full-preemption.patch @@ -1,7 +1,7 @@ -From 14d91833894f29b08cb0dc957f1e3032dce799a9 Mon Sep 17 00:00:00 2001 +From 65f2876c7f3333e90818ac8e216391e91b27af5f Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:29:34 -0500 -Subject: [PATCH 133/286] hrtimers: prepare full preemption +Subject: [PATCH 133/287] hrtimers: prepare full preemption Make cancellation of a running callback in softirq context safe against preemption. diff --git a/debian/patches/features/all/rt/0134-hrtimer-fixup-hrtimer-callback-changes-for-preempt-r.patch b/debian/patches/features/all/rt/0134-hrtimer-fixup-hrtimer-callback-changes-for-preempt-r.patch index 68c14b4ef..f28059cb2 100644 --- a/debian/patches/features/all/rt/0134-hrtimer-fixup-hrtimer-callback-changes-for-preempt-r.patch +++ b/debian/patches/features/all/rt/0134-hrtimer-fixup-hrtimer-callback-changes-for-preempt-r.patch @@ -1,7 +1,7 @@ -From 731b71a1980174ac30702f608177c02f14cf74b1 Mon Sep 17 00:00:00 2001 +From 7775e85f963cb8653b51823ebd39f498735c3a97 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 3 Jul 2009 08:44:31 -0500 -Subject: [PATCH 134/286] hrtimer: fixup hrtimer callback changes for +Subject: [PATCH 134/287] hrtimer: fixup hrtimer callback changes for preempt-rt In preempt-rt we can not call the callbacks which take sleeping locks diff --git a/debian/patches/features/all/rt/0135-hrtimer-Don-t-call-the-timer-handler-from-hrtimer_st.patch b/debian/patches/features/all/rt/0135-hrtimer-Don-t-call-the-timer-handler-from-hrtimer_st.patch index 54db922d5..0fc2fd161 100644 --- a/debian/patches/features/all/rt/0135-hrtimer-Don-t-call-the-timer-handler-from-hrtimer_st.patch +++ b/debian/patches/features/all/rt/0135-hrtimer-Don-t-call-the-timer-handler-from-hrtimer_st.patch @@ -1,7 +1,7 @@ -From c99329d924e00f3aaee6b4d1df7d4954f9e71f39 Mon Sep 17 00:00:00 2001 +From 4fabc154876806ecae04a270e7eda14d9636e44b Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Fri, 12 Aug 2011 17:39:54 +0200 -Subject: [PATCH 135/286] hrtimer: Don't call the timer handler from +Subject: [PATCH 135/287] hrtimer: Don't call the timer handler from hrtimer_start [] __delay+0xf/0x11 diff --git a/debian/patches/features/all/rt/0136-hrtimer-Add-missing-debug_activate-aid-Was-Re-ANNOUN.patch b/debian/patches/features/all/rt/0136-hrtimer-Add-missing-debug_activate-aid-Was-Re-ANNOUN.patch index c02ff3e30..4a0a8de46 100644 --- a/debian/patches/features/all/rt/0136-hrtimer-Add-missing-debug_activate-aid-Was-Re-ANNOUN.patch +++ b/debian/patches/features/all/rt/0136-hrtimer-Add-missing-debug_activate-aid-Was-Re-ANNOUN.patch @@ -1,7 +1,7 @@ -From b7c021f12a9502459662ce11210937fac136381c Mon Sep 17 00:00:00 2001 +From b6fb681b6390ed69b56bba772cabaaa25a4361da Mon Sep 17 00:00:00 2001 From: Yong Zhang Date: Thu, 13 Oct 2011 15:52:30 +0800 -Subject: [PATCH 136/286] hrtimer: Add missing debug_activate() aid [Was: Re: +Subject: [PATCH 136/287] hrtimer: Add missing debug_activate() aid [Was: Re: [ANNOUNCE] 3.0.6-rt17] On Fri, Oct 07, 2011 at 10:25:25AM -0700, Fernando Lopez-Lezcano wrote: diff --git a/debian/patches/features/all/rt/0137-hrtimer-fix-reprogram-madness.patch.patch b/debian/patches/features/all/rt/0137-hrtimer-fix-reprogram-madness.patch.patch index 5ecae55e1..3469e2c81 100644 --- a/debian/patches/features/all/rt/0137-hrtimer-fix-reprogram-madness.patch.patch +++ b/debian/patches/features/all/rt/0137-hrtimer-fix-reprogram-madness.patch.patch @@ -1,7 +1,7 @@ -From bc26f4d27bd95d55847d2b7faf017253cf60a7a1 Mon Sep 17 00:00:00 2001 +From 094ecbfa9b7bd9de1e4166313566c2b928b22deb Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 14 Sep 2011 14:48:43 +0200 -Subject: [PATCH 137/286] hrtimer-fix-reprogram-madness.patch +Subject: [PATCH 137/287] hrtimer-fix-reprogram-madness.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0138-timer-fd-Prevent-live-lock.patch b/debian/patches/features/all/rt/0138-timer-fd-Prevent-live-lock.patch index 0f933aa13..c27c0b395 100644 --- a/debian/patches/features/all/rt/0138-timer-fd-Prevent-live-lock.patch +++ b/debian/patches/features/all/rt/0138-timer-fd-Prevent-live-lock.patch @@ -1,7 +1,7 @@ -From d2e30cad574942f56e039b342c32ac1a3236a954 Mon Sep 17 00:00:00 2001 +From ef52e6114db152245be8642894f3f59c9696535b Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 25 Jan 2012 11:08:40 +0100 -Subject: [PATCH 138/286] timer-fd: Prevent live lock +Subject: [PATCH 138/287] timer-fd: Prevent live lock If hrtimer_try_to_cancel() requires a retry, then depending on the priority setting te retry loop might prevent timer callback completion diff --git a/debian/patches/features/all/rt/0139-posix-timers-thread-posix-cpu-timers-on-rt.patch b/debian/patches/features/all/rt/0139-posix-timers-thread-posix-cpu-timers-on-rt.patch index ea69688f1..2b0709fcb 100644 --- a/debian/patches/features/all/rt/0139-posix-timers-thread-posix-cpu-timers-on-rt.patch +++ b/debian/patches/features/all/rt/0139-posix-timers-thread-posix-cpu-timers-on-rt.patch @@ -1,7 +1,7 @@ -From d1f865bf4e53d06d4598b5981c38577be7c7e345 Mon Sep 17 00:00:00 2001 +From 01969507f1e34ccd59807abdc453255ee7a8dd43 Mon Sep 17 00:00:00 2001 From: John Stultz Date: Fri, 3 Jul 2009 08:29:58 -0500 -Subject: [PATCH 139/286] posix-timers: thread posix-cpu-timers on -rt +Subject: [PATCH 139/287] posix-timers: thread posix-cpu-timers on -rt posix-cpu-timer code takes non -rt safe locks in hard irq context. Move it to a thread. diff --git a/debian/patches/features/all/rt/0140-posix-timers-Shorten-posix_cpu_timers-CPU-kernel-thr.patch b/debian/patches/features/all/rt/0140-posix-timers-Shorten-posix_cpu_timers-CPU-kernel-thr.patch index 89baf17ea..16b72a199 100644 --- a/debian/patches/features/all/rt/0140-posix-timers-Shorten-posix_cpu_timers-CPU-kernel-thr.patch +++ b/debian/patches/features/all/rt/0140-posix-timers-Shorten-posix_cpu_timers-CPU-kernel-thr.patch @@ -1,7 +1,7 @@ -From a18c495a10b849b39cc6af57f0549f359ac8b487 Mon Sep 17 00:00:00 2001 +From 2b57f93efe6ff8330882241693be0aa5be5abc8c Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Fri, 3 Jul 2009 08:30:00 -0500 -Subject: [PATCH 140/286] posix-timers: Shorten posix_cpu_timers/ kernel +Subject: [PATCH 140/287] posix-timers: Shorten posix_cpu_timers/ kernel thread names Shorten the softirq kernel thread names because they always overflow the diff --git a/debian/patches/features/all/rt/0141-posix-timers-Avoid-wakeups-when-no-timers-are-active.patch b/debian/patches/features/all/rt/0141-posix-timers-Avoid-wakeups-when-no-timers-are-active.patch index 0a2cff4c3..e1b6522ef 100644 --- a/debian/patches/features/all/rt/0141-posix-timers-Avoid-wakeups-when-no-timers-are-active.patch +++ b/debian/patches/features/all/rt/0141-posix-timers-Avoid-wakeups-when-no-timers-are-active.patch @@ -1,7 +1,7 @@ -From ee833c16e003e9378bb8cc867954352388fc8a5f Mon Sep 17 00:00:00 2001 +From 37855e7d3971355b2101a7d98a35ed75ff1c7a12 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 3 Jul 2009 08:44:44 -0500 -Subject: [PATCH 141/286] posix-timers: Avoid wakeups when no timers are +Subject: [PATCH 141/287] posix-timers: Avoid wakeups when no timers are active Waking the thread even when no timers are scheduled is useless. diff --git a/debian/patches/features/all/rt/0142-sched-delay-put-task.patch.patch b/debian/patches/features/all/rt/0142-sched-delay-put-task.patch.patch index df5e6821e..e12c3255c 100644 --- a/debian/patches/features/all/rt/0142-sched-delay-put-task.patch.patch +++ b/debian/patches/features/all/rt/0142-sched-delay-put-task.patch.patch @@ -1,7 +1,7 @@ -From 1f5a313d0e8303576cf3716c9f54ebd30751fdb6 Mon Sep 17 00:00:00 2001 +From c9749e4313e2486f6741fe61d573374492f243cb Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 31 May 2011 16:59:16 +0200 -Subject: [PATCH 142/286] sched-delay-put-task.patch +Subject: [PATCH 142/287] sched-delay-put-task.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0143-sched-limit-nr-migrate.patch.patch b/debian/patches/features/all/rt/0143-sched-limit-nr-migrate.patch.patch index 8f60aabe5..7829a1e36 100644 --- a/debian/patches/features/all/rt/0143-sched-limit-nr-migrate.patch.patch +++ b/debian/patches/features/all/rt/0143-sched-limit-nr-migrate.patch.patch @@ -1,7 +1,7 @@ -From 92aeea8b815eb063f9be61b02ce9cb4a328b265e Mon Sep 17 00:00:00 2001 +From 9049326508aad414cf10799305309d6961eb3fd6 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 6 Jun 2011 12:12:51 +0200 -Subject: [PATCH 143/286] sched-limit-nr-migrate.patch +Subject: [PATCH 143/287] sched-limit-nr-migrate.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0144-sched-mmdrop-delayed.patch.patch b/debian/patches/features/all/rt/0144-sched-mmdrop-delayed.patch.patch index feb8d6178..58899a059 100644 --- a/debian/patches/features/all/rt/0144-sched-mmdrop-delayed.patch.patch +++ b/debian/patches/features/all/rt/0144-sched-mmdrop-delayed.patch.patch @@ -1,7 +1,7 @@ -From 24480832aab2bebf334ee008bb8dec0bbb5a49cf Mon Sep 17 00:00:00 2001 +From deb3db2c77c74406a7bf722294633c2d2f093507 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 6 Jun 2011 12:20:33 +0200 -Subject: [PATCH 144/286] sched-mmdrop-delayed.patch +Subject: [PATCH 144/287] sched-mmdrop-delayed.patch Needs thread context (pgd_lock) -> ifdeffed. workqueues wont work with RT diff --git a/debian/patches/features/all/rt/0145-sched-rt-mutex-wakeup.patch.patch b/debian/patches/features/all/rt/0145-sched-rt-mutex-wakeup.patch.patch index a2959160c..8cb8e5fbb 100644 --- a/debian/patches/features/all/rt/0145-sched-rt-mutex-wakeup.patch.patch +++ b/debian/patches/features/all/rt/0145-sched-rt-mutex-wakeup.patch.patch @@ -1,7 +1,7 @@ -From 57b4b7af22b957a46a725d8ae7a77304fde61341 Mon Sep 17 00:00:00 2001 +From 92bc72183da7f9bccf719650df44e18c090f0bd2 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 25 Jun 2011 09:21:04 +0200 -Subject: [PATCH 145/286] sched-rt-mutex-wakeup.patch +Subject: [PATCH 145/287] sched-rt-mutex-wakeup.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0146-sched-prevent-idle-boost.patch.patch b/debian/patches/features/all/rt/0146-sched-prevent-idle-boost.patch.patch index 6f8ed9d7d..2eff1479c 100644 --- a/debian/patches/features/all/rt/0146-sched-prevent-idle-boost.patch.patch +++ b/debian/patches/features/all/rt/0146-sched-prevent-idle-boost.patch.patch @@ -1,7 +1,7 @@ -From dbcb388fc9174f88eec1cbe6a6cd7d6a7df1232a Mon Sep 17 00:00:00 2001 +From 8e90a3e5b9922fc77bab31b12934bbe73acd706c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 6 Jun 2011 20:07:38 +0200 -Subject: [PATCH 146/286] sched-prevent-idle-boost.patch +Subject: [PATCH 146/287] sched-prevent-idle-boost.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0147-sched-might-sleep-do-not-account-rcu-depth.patch.patch b/debian/patches/features/all/rt/0147-sched-might-sleep-do-not-account-rcu-depth.patch.patch index 6c6c0f23b..455edc389 100644 --- a/debian/patches/features/all/rt/0147-sched-might-sleep-do-not-account-rcu-depth.patch.patch +++ b/debian/patches/features/all/rt/0147-sched-might-sleep-do-not-account-rcu-depth.patch.patch @@ -1,7 +1,7 @@ -From 9798416e9e0e68ffe31036d3421968121273dc42 Mon Sep 17 00:00:00 2001 +From 76fd599cb46c4fb5fa0d6fa7a1d71f7473614c94 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 7 Jun 2011 09:19:06 +0200 -Subject: [PATCH 147/286] sched-might-sleep-do-not-account-rcu-depth.patch +Subject: [PATCH 147/287] sched-might-sleep-do-not-account-rcu-depth.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0148-sched-Break-out-from-load_balancing-on-rq_lock-conte.patch b/debian/patches/features/all/rt/0148-sched-Break-out-from-load_balancing-on-rq_lock-conte.patch index f5cce8b9f..9a8e317fa 100644 --- a/debian/patches/features/all/rt/0148-sched-Break-out-from-load_balancing-on-rq_lock-conte.patch +++ b/debian/patches/features/all/rt/0148-sched-Break-out-from-load_balancing-on-rq_lock-conte.patch @@ -1,7 +1,7 @@ -From 149aff22ee89a211c7a75868a27b32c3a5f81537 Mon Sep 17 00:00:00 2001 +From 7ff158ea4cbcef15cee0235eaf94a396434b63e1 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Tue, 16 Mar 2010 14:31:44 -0700 -Subject: [PATCH 148/286] sched: Break out from load_balancing on rq_lock +Subject: [PATCH 148/287] sched: Break out from load_balancing on rq_lock contention Also limit NEW_IDLE pull diff --git a/debian/patches/features/all/rt/0149-sched-cond-resched.patch.patch b/debian/patches/features/all/rt/0149-sched-cond-resched.patch.patch index 8967e8255..e0664ec86 100644 --- a/debian/patches/features/all/rt/0149-sched-cond-resched.patch.patch +++ b/debian/patches/features/all/rt/0149-sched-cond-resched.patch.patch @@ -1,7 +1,7 @@ -From a09688884ecd7cf02c67434b1ec0d86d08d69efe Mon Sep 17 00:00:00 2001 +From 0680e37a4dfdf2622db0abd8eb1700b4e9a33111 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 7 Jun 2011 11:25:03 +0200 -Subject: [PATCH 149/286] sched-cond-resched.patch +Subject: [PATCH 149/287] sched-cond-resched.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0150-cond-resched-softirq-fix.patch.patch b/debian/patches/features/all/rt/0150-cond-resched-softirq-fix.patch.patch index d0663b997..e9c0eeafe 100644 --- a/debian/patches/features/all/rt/0150-cond-resched-softirq-fix.patch.patch +++ b/debian/patches/features/all/rt/0150-cond-resched-softirq-fix.patch.patch @@ -1,7 +1,7 @@ -From ac1bdd1fd3538eca2c7a2917107863270c65f0c7 Mon Sep 17 00:00:00 2001 +From f62d9d1f1dc2e9ae22ccd8404bdeb01c539eca86 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 14 Jul 2011 09:56:44 +0200 -Subject: [PATCH 150/286] cond-resched-softirq-fix.patch +Subject: [PATCH 150/287] cond-resched-softirq-fix.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0151-sched-no-work-when-pi-blocked.patch.patch b/debian/patches/features/all/rt/0151-sched-no-work-when-pi-blocked.patch.patch index ed3c7e76e..64ec918ad 100644 --- a/debian/patches/features/all/rt/0151-sched-no-work-when-pi-blocked.patch.patch +++ b/debian/patches/features/all/rt/0151-sched-no-work-when-pi-blocked.patch.patch @@ -1,7 +1,7 @@ -From c6664aea4e38f803c059a64fd3719f4ef51abbad Mon Sep 17 00:00:00 2001 +From 0ba0ba29f71ec8a1c64f52409d0a025abbfc9c16 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 20:46:52 +0200 -Subject: [PATCH 151/286] sched-no-work-when-pi-blocked.patch +Subject: [PATCH 151/287] sched-no-work-when-pi-blocked.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0152-cond-resched-lock-rt-tweak.patch.patch b/debian/patches/features/all/rt/0152-cond-resched-lock-rt-tweak.patch.patch index 3f208d242..45f04d9f6 100644 --- a/debian/patches/features/all/rt/0152-cond-resched-lock-rt-tweak.patch.patch +++ b/debian/patches/features/all/rt/0152-cond-resched-lock-rt-tweak.patch.patch @@ -1,7 +1,7 @@ -From 3d5e0af7c8db1d7d9c5c58945208da68dbfdc8ff Mon Sep 17 00:00:00 2001 +From 9d911c1f0ef023577ec5ecad71f85ab7375afa94 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 22:51:33 +0200 -Subject: [PATCH 152/286] cond-resched-lock-rt-tweak.patch +Subject: [PATCH 152/287] cond-resched-lock-rt-tweak.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0153-sched-disable-ttwu-queue.patch.patch b/debian/patches/features/all/rt/0153-sched-disable-ttwu-queue.patch.patch index c87ce7df6..2bca791c9 100644 --- a/debian/patches/features/all/rt/0153-sched-disable-ttwu-queue.patch.patch +++ b/debian/patches/features/all/rt/0153-sched-disable-ttwu-queue.patch.patch @@ -1,7 +1,7 @@ -From eb1258fcce9cd2af4df0fa865c470246e1866797 Mon Sep 17 00:00:00 2001 +From e82eef2b8ed1ef0d556f7ecf7782bdbdba4508eb Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 13 Sep 2011 16:42:35 +0200 -Subject: [PATCH 153/286] sched-disable-ttwu-queue.patch +Subject: [PATCH 153/287] sched-disable-ttwu-queue.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0154-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch b/debian/patches/features/all/rt/0154-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch index 15430a637..1e6fd8439 100644 --- a/debian/patches/features/all/rt/0154-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch +++ b/debian/patches/features/all/rt/0154-sched-Disable-CONFIG_RT_GROUP_SCHED-on-RT.patch @@ -1,7 +1,7 @@ -From 0c8f9195d4039c942b0b1d1b6afed4776b8f44eb Mon Sep 17 00:00:00 2001 +From ef0481a83711ed6b9b75a60a7c307e1aed1dcf7a Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 18 Jul 2011 17:03:52 +0200 -Subject: [PATCH 154/286] sched: Disable CONFIG_RT_GROUP_SCHED on RT +Subject: [PATCH 154/287] sched: Disable CONFIG_RT_GROUP_SCHED on RT Carsten reported problems when running: diff --git a/debian/patches/features/all/rt/0155-sched-ttwu-Return-success-when-only-changing-the-sav.patch b/debian/patches/features/all/rt/0155-sched-ttwu-Return-success-when-only-changing-the-sav.patch index 3d7e59226..c75c70183 100644 --- a/debian/patches/features/all/rt/0155-sched-ttwu-Return-success-when-only-changing-the-sav.patch +++ b/debian/patches/features/all/rt/0155-sched-ttwu-Return-success-when-only-changing-the-sav.patch @@ -1,7 +1,7 @@ -From 22911b45c9ddd6fb06980f94c39092599a97e613 Mon Sep 17 00:00:00 2001 +From e888bc3b113002ed127217e2c8aab8f196ae90d7 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 13 Dec 2011 21:42:19 +0100 -Subject: [PATCH 155/286] sched: ttwu: Return success when only changing the +Subject: [PATCH 155/287] sched: ttwu: Return success when only changing the saved_state value When a task blocks on a rt lock, it saves the current state in diff --git a/debian/patches/features/all/rt/0156-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch b/debian/patches/features/all/rt/0156-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch index 733ad2978..cd541a841 100644 --- a/debian/patches/features/all/rt/0156-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch +++ b/debian/patches/features/all/rt/0156-stop_machine-convert-stop_machine_run-to-PREEMPT_RT.patch @@ -1,7 +1,7 @@ -From c2376f41cf9f8af2a73e8f194f25301d87c93a43 Mon Sep 17 00:00:00 2001 +From 527111411932262a0943f81d5833bc156a1cb94e Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:30:27 -0500 -Subject: [PATCH 156/286] stop_machine: convert stop_machine_run() to +Subject: [PATCH 156/287] stop_machine: convert stop_machine_run() to PREEMPT_RT Instead of playing with non-preemption, introduce explicit diff --git a/debian/patches/features/all/rt/0157-stomp-machine-mark-stomper-thread.patch.patch b/debian/patches/features/all/rt/0157-stomp-machine-mark-stomper-thread.patch.patch index 86c8d8fe5..1e1c1c464 100644 --- a/debian/patches/features/all/rt/0157-stomp-machine-mark-stomper-thread.patch.patch +++ b/debian/patches/features/all/rt/0157-stomp-machine-mark-stomper-thread.patch.patch @@ -1,7 +1,7 @@ -From 80d304bd39f345e33c0908f335b7ea6ee1257aa1 Mon Sep 17 00:00:00 2001 +From 5417eff0e3ee892cf12df1ce6160b7663bab1480 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 19:53:19 +0200 -Subject: [PATCH 157/286] stomp-machine-mark-stomper-thread.patch +Subject: [PATCH 157/287] stomp-machine-mark-stomper-thread.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0158-stomp-machine-raw-lock.patch.patch b/debian/patches/features/all/rt/0158-stomp-machine-raw-lock.patch.patch index 31149d3c9..7f42e48a3 100644 --- a/debian/patches/features/all/rt/0158-stomp-machine-raw-lock.patch.patch +++ b/debian/patches/features/all/rt/0158-stomp-machine-raw-lock.patch.patch @@ -1,7 +1,7 @@ -From 4544efeac4d33d5031c0f28385f7f29ca7570714 Mon Sep 17 00:00:00 2001 +From bdee18682faaafede3fec3e18ed0a662d0708757 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 29 Jun 2011 11:01:51 +0200 -Subject: [PATCH 158/286] stomp-machine-raw-lock.patch +Subject: [PATCH 158/287] stomp-machine-raw-lock.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0159-hotplug-Lightweight-get-online-cpus.patch b/debian/patches/features/all/rt/0159-hotplug-Lightweight-get-online-cpus.patch index 52bf63356..ccfa8d135 100644 --- a/debian/patches/features/all/rt/0159-hotplug-Lightweight-get-online-cpus.patch +++ b/debian/patches/features/all/rt/0159-hotplug-Lightweight-get-online-cpus.patch @@ -1,7 +1,7 @@ -From 6552d7ac9b98509dfbd8597a3684fe81f29db088 Mon Sep 17 00:00:00 2001 +From 24c81ea6c7bb8be4d32ecfa992250a8b413eb7e2 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 15 Jun 2011 12:36:06 +0200 -Subject: [PATCH 159/286] hotplug: Lightweight get online cpus +Subject: [PATCH 159/287] hotplug: Lightweight get online cpus get_online_cpus() is a heavy weight function which involves a global mutex. migrate_disable() wants a simpler construct which prevents only diff --git a/debian/patches/features/all/rt/0160-hotplug-sync_unplug-No.patch b/debian/patches/features/all/rt/0160-hotplug-sync_unplug-No.patch index 4fbf470d4..b30d93ab4 100644 --- a/debian/patches/features/all/rt/0160-hotplug-sync_unplug-No.patch +++ b/debian/patches/features/all/rt/0160-hotplug-sync_unplug-No.patch @@ -1,7 +1,7 @@ -From 69cdea9fbffdbb5c67339ad7c1f554a5219f6644 Mon Sep 17 00:00:00 2001 +From 70beb2ece9a13d950f0321e9e8dac56c7a658a8d Mon Sep 17 00:00:00 2001 From: Yong Zhang Date: Sun, 16 Oct 2011 18:56:43 +0800 -Subject: [PATCH 160/286] hotplug: sync_unplug: No " " in task name +Subject: [PATCH 160/287] hotplug: sync_unplug: No " " in task name Otherwise the output will look a little odd. diff --git a/debian/patches/features/all/rt/0161-hotplug-Reread-hotplug_pcp-on-pin_current_cpu-retry.patch b/debian/patches/features/all/rt/0161-hotplug-Reread-hotplug_pcp-on-pin_current_cpu-retry.patch index e6ca75ad3..351277400 100644 --- a/debian/patches/features/all/rt/0161-hotplug-Reread-hotplug_pcp-on-pin_current_cpu-retry.patch +++ b/debian/patches/features/all/rt/0161-hotplug-Reread-hotplug_pcp-on-pin_current_cpu-retry.patch @@ -1,7 +1,7 @@ -From c98510f923871a26eb4791bde627f4bf39e022d0 Mon Sep 17 00:00:00 2001 +From 3058dcb677f52a82284b9fee918398d365c7dc19 Mon Sep 17 00:00:00 2001 From: Yong Zhang Date: Thu, 28 Jul 2011 11:16:00 +0800 -Subject: [PATCH 161/286] hotplug: Reread hotplug_pcp on pin_current_cpu() +Subject: [PATCH 161/287] hotplug: Reread hotplug_pcp on pin_current_cpu() retry When retry happens, it's likely that the task has been migrated to diff --git a/debian/patches/features/all/rt/0162-sched-migrate-disable.patch.patch b/debian/patches/features/all/rt/0162-sched-migrate-disable.patch.patch index fc05f59ea..dcb9a49e1 100644 --- a/debian/patches/features/all/rt/0162-sched-migrate-disable.patch.patch +++ b/debian/patches/features/all/rt/0162-sched-migrate-disable.patch.patch @@ -1,7 +1,7 @@ -From 34e3eb3b7968b1bc5e47b11a72713108ab6d48ed Mon Sep 17 00:00:00 2001 +From a0e59c49884e45b01190cc0178eb7e13c8177171 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 16 Jun 2011 13:26:08 +0200 -Subject: [PATCH 162/286] sched-migrate-disable.patch +Subject: [PATCH 162/287] sched-migrate-disable.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0163-hotplug-use-migrate-disable.patch.patch b/debian/patches/features/all/rt/0163-hotplug-use-migrate-disable.patch.patch index a42d10ed9..6c34d3dd1 100644 --- a/debian/patches/features/all/rt/0163-hotplug-use-migrate-disable.patch.patch +++ b/debian/patches/features/all/rt/0163-hotplug-use-migrate-disable.patch.patch @@ -1,7 +1,7 @@ -From 5e5fc231b2931a2a04a24ece8f10ea848f5d5447 Mon Sep 17 00:00:00 2001 +From cb63314c225f67796685575f53742e448f660355 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 19:35:29 +0200 -Subject: [PATCH 163/286] hotplug-use-migrate-disable.patch +Subject: [PATCH 163/287] hotplug-use-migrate-disable.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0164-hotplug-Call-cpu_unplug_begin-before-DOWN_PREPARE.patch b/debian/patches/features/all/rt/0164-hotplug-Call-cpu_unplug_begin-before-DOWN_PREPARE.patch index c7aaf1a18..1b5659e57 100644 --- a/debian/patches/features/all/rt/0164-hotplug-Call-cpu_unplug_begin-before-DOWN_PREPARE.patch +++ b/debian/patches/features/all/rt/0164-hotplug-Call-cpu_unplug_begin-before-DOWN_PREPARE.patch @@ -1,7 +1,7 @@ -From bb7d899a3c238c18ade630a9889fb9af1c5b8253 Mon Sep 17 00:00:00 2001 +From a80880de94cd480a2903d014a3b9a50d2d83297a Mon Sep 17 00:00:00 2001 From: Yong Zhang Date: Sun, 16 Oct 2011 18:56:44 +0800 -Subject: [PATCH 164/286] hotplug: Call cpu_unplug_begin() before DOWN_PREPARE +Subject: [PATCH 164/287] hotplug: Call cpu_unplug_begin() before DOWN_PREPARE cpu_unplug_begin() should be called before CPU_DOWN_PREPARE, because at CPU_DOWN_PREPARE cpu_active is cleared and sched_domain is diff --git a/debian/patches/features/all/rt/0165-ftrace-migrate-disable-tracing.patch.patch b/debian/patches/features/all/rt/0165-ftrace-migrate-disable-tracing.patch.patch index cbb0d8150..52a71f4c2 100644 --- a/debian/patches/features/all/rt/0165-ftrace-migrate-disable-tracing.patch.patch +++ b/debian/patches/features/all/rt/0165-ftrace-migrate-disable-tracing.patch.patch @@ -1,7 +1,7 @@ -From 2c756113a2d3203af50c0407a21c2d96293c686c Mon Sep 17 00:00:00 2001 +From bc24519b67217a80683c6ac7f4956f9b0aa7322e Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 21:56:42 +0200 -Subject: [PATCH 165/286] ftrace-migrate-disable-tracing.patch +Subject: [PATCH 165/287] ftrace-migrate-disable-tracing.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0166-tracing-Show-padding-as-unsigned-short.patch b/debian/patches/features/all/rt/0166-tracing-Show-padding-as-unsigned-short.patch index aa58955ce..61d2e34ae 100644 --- a/debian/patches/features/all/rt/0166-tracing-Show-padding-as-unsigned-short.patch +++ b/debian/patches/features/all/rt/0166-tracing-Show-padding-as-unsigned-short.patch @@ -1,7 +1,7 @@ -From ad0df9ea86ca14e4875f4e5a436b3e81c4c59114 Mon Sep 17 00:00:00 2001 +From 5e5ef16fe1514448ef1462bfea9063b6e4050f61 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Wed, 16 Nov 2011 13:19:35 -0500 -Subject: [PATCH 166/286] tracing: Show padding as unsigned short +Subject: [PATCH 166/287] tracing: Show padding as unsigned short RT added two bytes to trace migrate disable counting to the trace events and used two bytes of the padding to make the change. The structures and diff --git a/debian/patches/features/all/rt/0167-migrate-disable-rt-variant.patch.patch b/debian/patches/features/all/rt/0167-migrate-disable-rt-variant.patch.patch index e623a2ef6..61629de04 100644 --- a/debian/patches/features/all/rt/0167-migrate-disable-rt-variant.patch.patch +++ b/debian/patches/features/all/rt/0167-migrate-disable-rt-variant.patch.patch @@ -1,7 +1,7 @@ -From b9dc0b2beafecc644b8293f0706693490f4c0961 Mon Sep 17 00:00:00 2001 +From c793ef16ac0679eb411eb05d06ce23f54d073d1e Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 19:48:20 +0200 -Subject: [PATCH 167/286] migrate-disable-rt-variant.patch +Subject: [PATCH 167/287] migrate-disable-rt-variant.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0168-sched-Optimize-migrate_disable.patch b/debian/patches/features/all/rt/0168-sched-Optimize-migrate_disable.patch index 9436b8ac2..126fce2cf 100644 --- a/debian/patches/features/all/rt/0168-sched-Optimize-migrate_disable.patch +++ b/debian/patches/features/all/rt/0168-sched-Optimize-migrate_disable.patch @@ -1,7 +1,7 @@ -From f1f420e5defecb91ee55a08367c25b5ec61ba85e Mon Sep 17 00:00:00 2001 +From e35311fa29171d4be6826780a28937d727f06e1c Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Thu, 11 Aug 2011 15:03:35 +0200 -Subject: [PATCH 168/286] sched: Optimize migrate_disable +Subject: [PATCH 168/287] sched: Optimize migrate_disable Change from task_rq_lock() to raw_spin_lock(&rq->lock) to avoid a few atomic ops. See comment on why it should be safe. diff --git a/debian/patches/features/all/rt/0169-sched-Generic-migrate_disable.patch b/debian/patches/features/all/rt/0169-sched-Generic-migrate_disable.patch index a021b262a..1d8fcadfe 100644 --- a/debian/patches/features/all/rt/0169-sched-Generic-migrate_disable.patch +++ b/debian/patches/features/all/rt/0169-sched-Generic-migrate_disable.patch @@ -1,7 +1,7 @@ -From 8438b2d559e54590f1c152ebe79c5c990b47afd8 Mon Sep 17 00:00:00 2001 +From e27e0a0b7ad8db60d2c11364259df969de0e311e Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Thu, 11 Aug 2011 15:14:58 +0200 -Subject: [PATCH 169/286] sched: Generic migrate_disable +Subject: [PATCH 169/287] sched: Generic migrate_disable Make migrate_disable() be a preempt_disable() for !rt kernels. This allows generic code to use it but still enforces that these code diff --git a/debian/patches/features/all/rt/0170-sched-rt-Fix-migrate_enable-thinko.patch b/debian/patches/features/all/rt/0170-sched-rt-Fix-migrate_enable-thinko.patch index c0cb7c574..c531892e2 100644 --- a/debian/patches/features/all/rt/0170-sched-rt-Fix-migrate_enable-thinko.patch +++ b/debian/patches/features/all/rt/0170-sched-rt-Fix-migrate_enable-thinko.patch @@ -1,7 +1,7 @@ -From f02c5c59a7d620d7ba20ab855e3c37a4423740f5 Mon Sep 17 00:00:00 2001 +From eab4c73b62d5388bce4b2e9ef1e04cb511838cbb Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Tue, 23 Aug 2011 16:12:43 +0200 -Subject: [PATCH 170/286] sched, rt: Fix migrate_enable() thinko +Subject: [PATCH 170/287] sched, rt: Fix migrate_enable() thinko Assigning mask = tsk_cpus_allowed(p) after p->migrate_disable = 0 ensures that we won't see a mask change.. no push/pull, we stack tasks on one CPU. diff --git a/debian/patches/features/all/rt/0171-sched-teach-migrate_disable-about-atomic-contexts.patch b/debian/patches/features/all/rt/0171-sched-teach-migrate_disable-about-atomic-contexts.patch index 6b14ee497..9538d688d 100644 --- a/debian/patches/features/all/rt/0171-sched-teach-migrate_disable-about-atomic-contexts.patch +++ b/debian/patches/features/all/rt/0171-sched-teach-migrate_disable-about-atomic-contexts.patch @@ -1,7 +1,7 @@ -From e64137f3db6ffb7018e453383f2d6a6f7bed13a7 Mon Sep 17 00:00:00 2001 +From 57bf2a682e1afa77a8c73f84f932383a88701af0 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Fri, 2 Sep 2011 14:29:27 +0200 -Subject: [PATCH 171/286] sched: teach migrate_disable about atomic contexts +Subject: [PATCH 171/287] sched: teach migrate_disable about atomic contexts [] spin_bug+0x94/0xa8 [] do_raw_spin_lock+0x43/0xea diff --git a/debian/patches/features/all/rt/0172-sched-Postpone-actual-migration-disalbe-to-schedule.patch b/debian/patches/features/all/rt/0172-sched-Postpone-actual-migration-disalbe-to-schedule.patch index 9c23dd121..ccf70c8ea 100644 --- a/debian/patches/features/all/rt/0172-sched-Postpone-actual-migration-disalbe-to-schedule.patch +++ b/debian/patches/features/all/rt/0172-sched-Postpone-actual-migration-disalbe-to-schedule.patch @@ -1,7 +1,7 @@ -From af02e53ec65afc8aaf655501b77f9cf86c8ebc1c Mon Sep 17 00:00:00 2001 +From 4bd8f9441a6c6b89dcb179ccfb14668c18fed294 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Tue, 27 Sep 2011 08:40:23 -0400 -Subject: [PATCH 172/286] sched: Postpone actual migration disalbe to schedule +Subject: [PATCH 172/287] sched: Postpone actual migration disalbe to schedule The migrate_disable() can cause a bit of a overhead to the RT kernel, as changing the affinity is expensive to do at every lock encountered. diff --git a/debian/patches/features/all/rt/0173-sched-Do-not-compare-cpu-masks-in-scheduler.patch b/debian/patches/features/all/rt/0173-sched-Do-not-compare-cpu-masks-in-scheduler.patch index 417c30096..2c70f7055 100644 --- a/debian/patches/features/all/rt/0173-sched-Do-not-compare-cpu-masks-in-scheduler.patch +++ b/debian/patches/features/all/rt/0173-sched-Do-not-compare-cpu-masks-in-scheduler.patch @@ -1,7 +1,7 @@ -From 2877817df626dc1ef9ade6c96d4685a87adc2e26 Mon Sep 17 00:00:00 2001 +From ec7ee1f282e5e975f7344c924c974984b1260420 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Tue, 27 Sep 2011 08:40:24 -0400 -Subject: [PATCH 173/286] sched: Do not compare cpu masks in scheduler +Subject: [PATCH 173/287] sched: Do not compare cpu masks in scheduler Signed-off-by: Peter Zijlstra Cc: Peter Zijlstra diff --git a/debian/patches/features/all/rt/0174-sched-Have-migrate_disable-ignore-bounded-threads.patch b/debian/patches/features/all/rt/0174-sched-Have-migrate_disable-ignore-bounded-threads.patch index a8619061a..e1c2d5331 100644 --- a/debian/patches/features/all/rt/0174-sched-Have-migrate_disable-ignore-bounded-threads.patch +++ b/debian/patches/features/all/rt/0174-sched-Have-migrate_disable-ignore-bounded-threads.patch @@ -1,7 +1,7 @@ -From bd918c57c2f6a09b6f464dad0689c8597ffb1469 Mon Sep 17 00:00:00 2001 +From 07c7dbd8bf9ba8fe71f06d88ff0d9879e7445bef Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Tue, 27 Sep 2011 08:40:25 -0400 -Subject: [PATCH 174/286] sched: Have migrate_disable ignore bounded threads +Subject: [PATCH 174/287] sched: Have migrate_disable ignore bounded threads Signed-off-by: Peter Zijlstra Cc: Peter Zijlstra diff --git a/debian/patches/features/all/rt/0175-sched-clear-pf-thread-bound-on-fallback-rq.patch.patch b/debian/patches/features/all/rt/0175-sched-clear-pf-thread-bound-on-fallback-rq.patch.patch index 3227aed31..9fc27e7b1 100644 --- a/debian/patches/features/all/rt/0175-sched-clear-pf-thread-bound-on-fallback-rq.patch.patch +++ b/debian/patches/features/all/rt/0175-sched-clear-pf-thread-bound-on-fallback-rq.patch.patch @@ -1,7 +1,7 @@ -From 07b62a463d81c67985b1af6acaed490d8aaa4d86 Mon Sep 17 00:00:00 2001 +From 917db200a7c2029460f2bb82401a5cfbdde652e0 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 4 Nov 2011 20:48:36 +0100 -Subject: [PATCH 175/286] sched-clear-pf-thread-bound-on-fallback-rq.patch +Subject: [PATCH 175/287] sched-clear-pf-thread-bound-on-fallback-rq.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0176-ftrace-crap.patch.patch b/debian/patches/features/all/rt/0176-ftrace-crap.patch.patch index ecf2860e0..0ce62b7c2 100644 --- a/debian/patches/features/all/rt/0176-ftrace-crap.patch.patch +++ b/debian/patches/features/all/rt/0176-ftrace-crap.patch.patch @@ -1,7 +1,7 @@ -From 923f80e759bf088912622da0608a7691665f2086 Mon Sep 17 00:00:00 2001 +From d6d6d65aa1c168af697c9d4cdc8df856744a7dee Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 9 Sep 2011 16:55:53 +0200 -Subject: [PATCH 176/286] ftrace-crap.patch +Subject: [PATCH 176/287] ftrace-crap.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0177-ring-buffer-Convert-reader_lock-from-raw_spin_lock-i.patch b/debian/patches/features/all/rt/0177-ring-buffer-Convert-reader_lock-from-raw_spin_lock-i.patch index f06b96b2c..afc574c18 100644 --- a/debian/patches/features/all/rt/0177-ring-buffer-Convert-reader_lock-from-raw_spin_lock-i.patch +++ b/debian/patches/features/all/rt/0177-ring-buffer-Convert-reader_lock-from-raw_spin_lock-i.patch @@ -1,7 +1,7 @@ -From be19d86a58a1128b6da17e09ad1d4c6fd60878f8 Mon Sep 17 00:00:00 2001 +From e2d13911363569693f8037411f7b7cfa8d285c8b Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Tue, 27 Sep 2011 13:56:50 -0400 -Subject: [PATCH 177/286] ring-buffer: Convert reader_lock from raw_spin_lock +Subject: [PATCH 177/287] ring-buffer: Convert reader_lock from raw_spin_lock into spin_lock The reader_lock is mostly taken in normal context with interrupts enabled. diff --git a/debian/patches/features/all/rt/0178-net-netif_rx_ni-migrate-disable.patch.patch b/debian/patches/features/all/rt/0178-net-netif_rx_ni-migrate-disable.patch.patch index c74c87e2b..0f4798fe1 100644 --- a/debian/patches/features/all/rt/0178-net-netif_rx_ni-migrate-disable.patch.patch +++ b/debian/patches/features/all/rt/0178-net-netif_rx_ni-migrate-disable.patch.patch @@ -1,7 +1,7 @@ -From 658836829256cc1052e43a1f747fdea7000c628c Mon Sep 17 00:00:00 2001 +From 05cf8727a2d09a7ab04709aa94def22c19edb22d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 16:29:27 +0200 -Subject: [PATCH 178/286] net-netif_rx_ni-migrate-disable.patch +Subject: [PATCH 178/287] net-netif_rx_ni-migrate-disable.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0179-softirq-Sanitize-softirq-pending-for-NOHZ-RT.patch b/debian/patches/features/all/rt/0179-softirq-Sanitize-softirq-pending-for-NOHZ-RT.patch index 8742e5569..cb0988c25 100644 --- a/debian/patches/features/all/rt/0179-softirq-Sanitize-softirq-pending-for-NOHZ-RT.patch +++ b/debian/patches/features/all/rt/0179-softirq-Sanitize-softirq-pending-for-NOHZ-RT.patch @@ -1,7 +1,7 @@ -From 75cc33f62186d3cac12d53ecbe44ff7f1a1ef2fa Mon Sep 17 00:00:00 2001 +From c79d96b8ef376a0b4bf0fae99b596720caa1154d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 3 Jul 2009 13:16:38 -0500 -Subject: [PATCH 179/286] softirq: Sanitize softirq pending for NOHZ/RT +Subject: [PATCH 179/287] softirq: Sanitize softirq pending for NOHZ/RT Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0180-lockdep-rt.patch.patch b/debian/patches/features/all/rt/0180-lockdep-rt.patch.patch index 0ad17eba5..d0244f606 100644 --- a/debian/patches/features/all/rt/0180-lockdep-rt.patch.patch +++ b/debian/patches/features/all/rt/0180-lockdep-rt.patch.patch @@ -1,7 +1,7 @@ -From 957ab224d7acea9d2ebf6461b58d29a617e89f95 Mon Sep 17 00:00:00 2001 +From fda40ff770da51918c26b52ef28b3474da91ab82 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 18:51:23 +0200 -Subject: [PATCH 180/286] lockdep-rt.patch +Subject: [PATCH 180/287] lockdep-rt.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0181-mutex-no-spin-on-rt.patch.patch b/debian/patches/features/all/rt/0181-mutex-no-spin-on-rt.patch.patch index 35d9b2310..ddffbb695 100644 --- a/debian/patches/features/all/rt/0181-mutex-no-spin-on-rt.patch.patch +++ b/debian/patches/features/all/rt/0181-mutex-no-spin-on-rt.patch.patch @@ -1,7 +1,7 @@ -From 7ea78314b80f67914be64f02f31290b6caff7254 Mon Sep 17 00:00:00 2001 +From a4f220d622b359a503d8cad8362e90e5e9461ee8 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 21:51:45 +0200 -Subject: [PATCH 181/286] mutex-no-spin-on-rt.patch +Subject: [PATCH 181/287] mutex-no-spin-on-rt.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0182-softirq-local-lock.patch.patch b/debian/patches/features/all/rt/0182-softirq-local-lock.patch.patch index 10dff393a..60bcb83ae 100644 --- a/debian/patches/features/all/rt/0182-softirq-local-lock.patch.patch +++ b/debian/patches/features/all/rt/0182-softirq-local-lock.patch.patch @@ -1,7 +1,7 @@ -From ffd9842fa2e11fbccf827b401cfa8be861d8bf3c Mon Sep 17 00:00:00 2001 +From ac51599ddd8e6f4637191f8de18c5937fa98fd8c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 28 Jun 2011 15:57:18 +0200 -Subject: [PATCH 182/286] softirq-local-lock.patch +Subject: [PATCH 182/287] softirq-local-lock.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0183-softirq-Export-in_serving_softirq.patch b/debian/patches/features/all/rt/0183-softirq-Export-in_serving_softirq.patch index df1567002..260cf9fff 100644 --- a/debian/patches/features/all/rt/0183-softirq-Export-in_serving_softirq.patch +++ b/debian/patches/features/all/rt/0183-softirq-Export-in_serving_softirq.patch @@ -1,7 +1,7 @@ -From 764ba375b25152aa4e71aa1191873b7416edd3bc Mon Sep 17 00:00:00 2001 +From b164b30b90a0eaed5448e5511b91f029d3d3c77e Mon Sep 17 00:00:00 2001 From: John Kacur Date: Mon, 14 Nov 2011 02:44:43 +0100 -Subject: [PATCH 183/286] softirq: Export in_serving_softirq() +Subject: [PATCH 183/287] softirq: Export in_serving_softirq() ERROR: "in_serving_softirq" [net/sched/cls_cgroup.ko] undefined! diff --git a/debian/patches/features/all/rt/0184-hardirq.h-Define-softirq_count-as-OUL-to-kill-build-.patch b/debian/patches/features/all/rt/0184-hardirq.h-Define-softirq_count-as-OUL-to-kill-build-.patch index e5989e227..c91b6851f 100644 --- a/debian/patches/features/all/rt/0184-hardirq.h-Define-softirq_count-as-OUL-to-kill-build-.patch +++ b/debian/patches/features/all/rt/0184-hardirq.h-Define-softirq_count-as-OUL-to-kill-build-.patch @@ -1,7 +1,7 @@ -From b66e3931416631458a713d663a48960bf25fb2fa Mon Sep 17 00:00:00 2001 +From a8c2b9fe58a070f805c9ba6b9150b04777483681 Mon Sep 17 00:00:00 2001 From: Yong Zhang Date: Thu, 13 Oct 2011 17:19:09 +0800 -Subject: [PATCH 184/286] hardirq.h: Define softirq_count() as OUL to kill +Subject: [PATCH 184/287] hardirq.h: Define softirq_count() as OUL to kill build warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 diff --git a/debian/patches/features/all/rt/0185-softirq-Fix-unplug-deadlock.patch b/debian/patches/features/all/rt/0185-softirq-Fix-unplug-deadlock.patch index 9bea6f8bf..78b7a64b3 100644 --- a/debian/patches/features/all/rt/0185-softirq-Fix-unplug-deadlock.patch +++ b/debian/patches/features/all/rt/0185-softirq-Fix-unplug-deadlock.patch @@ -1,7 +1,7 @@ -From 50602f77d65d793f30b79b6d60afaf6488ef1148 Mon Sep 17 00:00:00 2001 +From 96e251258b6cc3f6f5668c4d5ea8e52c2f94008c Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Fri, 30 Sep 2011 15:52:14 +0200 -Subject: [PATCH 185/286] softirq: Fix unplug deadlock +Subject: [PATCH 185/287] softirq: Fix unplug deadlock If ksoftirqd gets woken during hot-unplug, __thread_do_softirq() will call pin_current_cpu() which will block on the held cpu_hotplug.lock. diff --git a/debian/patches/features/all/rt/0186-softirq-disable-softirq-stacks-for-rt.patch.patch b/debian/patches/features/all/rt/0186-softirq-disable-softirq-stacks-for-rt.patch.patch index 20bd5e3eb..7ecf44dbd 100644 --- a/debian/patches/features/all/rt/0186-softirq-disable-softirq-stacks-for-rt.patch.patch +++ b/debian/patches/features/all/rt/0186-softirq-disable-softirq-stacks-for-rt.patch.patch @@ -1,7 +1,7 @@ -From 55d3caae116725553731cbb3b08de64283de735e Mon Sep 17 00:00:00 2001 +From d080514eb0c4ab0b1a211e2f59564170ec094e35 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 18 Jul 2011 13:59:17 +0200 -Subject: [PATCH 186/286] softirq-disable-softirq-stacks-for-rt.patch +Subject: [PATCH 186/287] softirq-disable-softirq-stacks-for-rt.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0187-softirq-make-fifo.patch.patch b/debian/patches/features/all/rt/0187-softirq-make-fifo.patch.patch index 979e9bc9f..e16319e82 100644 --- a/debian/patches/features/all/rt/0187-softirq-make-fifo.patch.patch +++ b/debian/patches/features/all/rt/0187-softirq-make-fifo.patch.patch @@ -1,7 +1,7 @@ -From d5edbedd261d1574634b5a917d6b34368f5baaf2 Mon Sep 17 00:00:00 2001 +From d8f523423f049f80382301baad7a53572f4c379c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 21 Jul 2011 21:06:43 +0200 -Subject: [PATCH 187/286] softirq-make-fifo.patch +Subject: [PATCH 187/287] softirq-make-fifo.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0188-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch b/debian/patches/features/all/rt/0188-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch index 611c864a6..5cc9e2bef 100644 --- a/debian/patches/features/all/rt/0188-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch +++ b/debian/patches/features/all/rt/0188-tasklet-Prevent-tasklets-from-going-into-infinite-sp.patch @@ -1,7 +1,7 @@ -From c74078089e11b27f35d28604e8d2d5d9059a9bf3 Mon Sep 17 00:00:00 2001 +From 56c08abd6575b3618e44af858a9f984292643860 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Tue, 29 Nov 2011 20:18:22 -0500 -Subject: [PATCH 188/286] tasklet: Prevent tasklets from going into infinite +Subject: [PATCH 188/287] tasklet: Prevent tasklets from going into infinite spin in RT When CONFIG_PREEMPT_RT_FULL is enabled, tasklets run as threads, diff --git a/debian/patches/features/all/rt/0189-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch b/debian/patches/features/all/rt/0189-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch index dbd14cb05..80bc80de8 100644 --- a/debian/patches/features/all/rt/0189-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch +++ b/debian/patches/features/all/rt/0189-genirq-Allow-disabling-of-softirq-processing-in-irq-.patch @@ -1,7 +1,7 @@ -From 7f84783fa4d02f187f392ea792a3a83cc5183118 Mon Sep 17 00:00:00 2001 +From c14b0aa840c402c7e02359477030c010684d549e Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 31 Jan 2012 13:01:27 +0100 -Subject: [PATCH 189/286] genirq: Allow disabling of softirq processing in irq +Subject: [PATCH 189/287] genirq: Allow disabling of softirq processing in irq thread context The processing of softirqs in irq thread context is a performance gain diff --git a/debian/patches/features/all/rt/0190-local-vars-migrate-disable.patch.patch b/debian/patches/features/all/rt/0190-local-vars-migrate-disable.patch.patch index ea1c39df5..e232ee926 100644 --- a/debian/patches/features/all/rt/0190-local-vars-migrate-disable.patch.patch +++ b/debian/patches/features/all/rt/0190-local-vars-migrate-disable.patch.patch @@ -1,7 +1,7 @@ -From d6f3cc6e57150cd9d1188ae64dd8256e1e2a83bb Mon Sep 17 00:00:00 2001 +From 06959d5c6c68f1f71fcbc275ccb34dd8e4df6cae Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 28 Jun 2011 20:42:16 +0200 -Subject: [PATCH 190/286] local-vars-migrate-disable.patch +Subject: [PATCH 190/287] local-vars-migrate-disable.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0191-md-raid5-Make-raid5_percpu-handling-RT-aware.patch b/debian/patches/features/all/rt/0191-md-raid5-Make-raid5_percpu-handling-RT-aware.patch index 0ec96c1de..a13e5774b 100644 --- a/debian/patches/features/all/rt/0191-md-raid5-Make-raid5_percpu-handling-RT-aware.patch +++ b/debian/patches/features/all/rt/0191-md-raid5-Make-raid5_percpu-handling-RT-aware.patch @@ -1,7 +1,7 @@ -From 0f0fccb5ac494fc036e635dd7bcb9420afd3b538 Mon Sep 17 00:00:00 2001 +From 4e3e80b4ea569e02ab0c2bba75c6d9a243e0d6e7 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 6 Apr 2010 16:51:31 +0200 -Subject: [PATCH 191/286] md: raid5: Make raid5_percpu handling RT aware +Subject: [PATCH 191/287] md: raid5: Make raid5_percpu handling RT aware __raid_run_ops() disables preemption with get_cpu() around the access to the raid5_percpu variables. That causes scheduling while atomic diff --git a/debian/patches/features/all/rt/0192-rtmutex-lock-killable.patch.patch b/debian/patches/features/all/rt/0192-rtmutex-lock-killable.patch.patch index dbb4d4cac..6c8bbf5af 100644 --- a/debian/patches/features/all/rt/0192-rtmutex-lock-killable.patch.patch +++ b/debian/patches/features/all/rt/0192-rtmutex-lock-killable.patch.patch @@ -1,7 +1,7 @@ -From 392a37ff7b8913fd67ba19a0fe14530c2f710c82 Mon Sep 17 00:00:00 2001 +From ff3f1e8a96dafbb51f40e5a4ad99b4d44eadb407 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 9 Jun 2011 11:43:52 +0200 -Subject: [PATCH 192/286] rtmutex-lock-killable.patch +Subject: [PATCH 192/287] rtmutex-lock-killable.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0193-rtmutex-futex-prepare-rt.patch.patch b/debian/patches/features/all/rt/0193-rtmutex-futex-prepare-rt.patch.patch index e457c6cd0..7534f22dd 100644 --- a/debian/patches/features/all/rt/0193-rtmutex-futex-prepare-rt.patch.patch +++ b/debian/patches/features/all/rt/0193-rtmutex-futex-prepare-rt.patch.patch @@ -1,7 +1,7 @@ -From c1756f6f1a07f9cf79f771f9b70468cd49bb821c Mon Sep 17 00:00:00 2001 +From 16d7f244d2cf5f872b5962f633b11fd3fcfc6fa7 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 10 Jun 2011 11:04:15 +0200 -Subject: [PATCH 193/286] rtmutex-futex-prepare-rt.patch +Subject: [PATCH 193/287] rtmutex-futex-prepare-rt.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0194-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch b/debian/patches/features/all/rt/0194-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch index 16ff0c657..16a2d93d9 100644 --- a/debian/patches/features/all/rt/0194-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch +++ b/debian/patches/features/all/rt/0194-futex-Fix-bug-on-when-a-requeued-RT-task-times-out.patch @@ -1,7 +1,7 @@ -From 7b89efc75d92ed4c6a47931e64a651d6e9a0a7ac Mon Sep 17 00:00:00 2001 +From 3ad64b4fba630929a6d6bd555089d2eded32956b Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Tue, 10 Apr 2012 14:34:13 -0400 -Subject: [PATCH 194/286] futex: Fix bug on when a requeued RT task times out +Subject: [PATCH 194/287] futex: Fix bug on when a requeued RT task times out Requeue with timeout causes a bug with PREEMPT_RT_FULL. diff --git a/debian/patches/features/all/rt/0195-rt-mutex-add-sleeping-spinlocks-support.patch.patch b/debian/patches/features/all/rt/0195-rt-mutex-add-sleeping-spinlocks-support.patch.patch index 0335e9a18..f98601730 100644 --- a/debian/patches/features/all/rt/0195-rt-mutex-add-sleeping-spinlocks-support.patch.patch +++ b/debian/patches/features/all/rt/0195-rt-mutex-add-sleeping-spinlocks-support.patch.patch @@ -1,7 +1,7 @@ -From 94fef82483f5dddcfbd71325fb80af1897d47b13 Mon Sep 17 00:00:00 2001 +From 002d7e5e938c05c055d6a85ee769fbeb419ab969 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 10 Jun 2011 11:21:25 +0200 -Subject: [PATCH 195/286] rt-mutex-add-sleeping-spinlocks-support.patch +Subject: [PATCH 195/287] rt-mutex-add-sleeping-spinlocks-support.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0196-spinlock-types-separate-raw.patch.patch b/debian/patches/features/all/rt/0196-spinlock-types-separate-raw.patch.patch index 3f37ef1bc..a1f0904c9 100644 --- a/debian/patches/features/all/rt/0196-spinlock-types-separate-raw.patch.patch +++ b/debian/patches/features/all/rt/0196-spinlock-types-separate-raw.patch.patch @@ -1,7 +1,7 @@ -From bc5a479d00f2cc82c7b1c9f8a9c39ca9edc876c7 Mon Sep 17 00:00:00 2001 +From cbe9421ca44051d08c1f0aa41854f539656606b7 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 29 Jun 2011 19:34:01 +0200 -Subject: [PATCH 196/286] spinlock-types-separate-raw.patch +Subject: [PATCH 196/287] spinlock-types-separate-raw.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0197-rtmutex-avoid-include-hell.patch.patch b/debian/patches/features/all/rt/0197-rtmutex-avoid-include-hell.patch.patch index 7a10ce3da..ff6afffe3 100644 --- a/debian/patches/features/all/rt/0197-rtmutex-avoid-include-hell.patch.patch +++ b/debian/patches/features/all/rt/0197-rtmutex-avoid-include-hell.patch.patch @@ -1,7 +1,7 @@ -From 8c3484dd7943bff8d825cbced0db9408ddcdbda6 Mon Sep 17 00:00:00 2001 +From 500dd370355818b07a8f36c36cfe351ef3dc4abe Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 29 Jun 2011 20:06:39 +0200 -Subject: [PATCH 197/286] rtmutex-avoid-include-hell.patch +Subject: [PATCH 197/287] rtmutex-avoid-include-hell.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0198-rt-add-rt-spinlocks.patch.patch b/debian/patches/features/all/rt/0198-rt-add-rt-spinlocks.patch.patch index b519a98de..db1b15062 100644 --- a/debian/patches/features/all/rt/0198-rt-add-rt-spinlocks.patch.patch +++ b/debian/patches/features/all/rt/0198-rt-add-rt-spinlocks.patch.patch @@ -1,7 +1,7 @@ -From 11f4d187a6b325877e260cc6b08a3d667d53b3ec Mon Sep 17 00:00:00 2001 +From b597856e985f6b7b80dbfe6cfbed5e8476eb79b6 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 29 Jun 2011 19:43:35 +0200 -Subject: [PATCH 198/286] rt-add-rt-spinlocks.patch +Subject: [PATCH 198/287] rt-add-rt-spinlocks.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0199-rt-add-rt-to-mutex-headers.patch.patch b/debian/patches/features/all/rt/0199-rt-add-rt-to-mutex-headers.patch.patch index 28a3c6b5d..75baccf1e 100644 --- a/debian/patches/features/all/rt/0199-rt-add-rt-to-mutex-headers.patch.patch +++ b/debian/patches/features/all/rt/0199-rt-add-rt-to-mutex-headers.patch.patch @@ -1,7 +1,7 @@ -From 57d72465adcfe22824977be1eb15cfec34873bdf Mon Sep 17 00:00:00 2001 +From 01b5f90910141c471d6925dfc717832652c70cad Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 29 Jun 2011 20:56:22 +0200 -Subject: [PATCH 199/286] rt-add-rt-to-mutex-headers.patch +Subject: [PATCH 199/287] rt-add-rt-to-mutex-headers.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0200-rwsem-add-rt-variant.patch.patch b/debian/patches/features/all/rt/0200-rwsem-add-rt-variant.patch.patch index 4aa20d27f..b1da71554 100644 --- a/debian/patches/features/all/rt/0200-rwsem-add-rt-variant.patch.patch +++ b/debian/patches/features/all/rt/0200-rwsem-add-rt-variant.patch.patch @@ -1,7 +1,7 @@ -From 21ac82cde3262b5953cb79655c567fb41bb14146 Mon Sep 17 00:00:00 2001 +From a4eede34b4f1db80698aa81664b35356cfc2c0da Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 29 Jun 2011 21:02:53 +0200 -Subject: [PATCH 200/286] rwsem-add-rt-variant.patch +Subject: [PATCH 200/287] rwsem-add-rt-variant.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0201-rt-Add-the-preempt-rt-lock-replacement-APIs.patch b/debian/patches/features/all/rt/0201-rt-Add-the-preempt-rt-lock-replacement-APIs.patch index 83d84119f..f5cc79245 100644 --- a/debian/patches/features/all/rt/0201-rt-Add-the-preempt-rt-lock-replacement-APIs.patch +++ b/debian/patches/features/all/rt/0201-rt-Add-the-preempt-rt-lock-replacement-APIs.patch @@ -1,7 +1,7 @@ -From 7d75be84f6e2f7d54b6a7be9a385f8723d75b8a5 Mon Sep 17 00:00:00 2001 +From b86bfc0d327314da40f7f2031008b4f5e94fe628 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 26 Jul 2009 19:39:56 +0200 -Subject: [PATCH 201/286] rt: Add the preempt-rt lock replacement APIs +Subject: [PATCH 201/287] rt: Add the preempt-rt lock replacement APIs Map spinlocks, rwlocks, rw_semaphores and semaphores to the rt_mutex based locking functions for preempt-rt. diff --git a/debian/patches/features/all/rt/0202-rwlocks-Fix-section-mismatch.patch b/debian/patches/features/all/rt/0202-rwlocks-Fix-section-mismatch.patch index f6668cc8f..8f5d8daea 100644 --- a/debian/patches/features/all/rt/0202-rwlocks-Fix-section-mismatch.patch +++ b/debian/patches/features/all/rt/0202-rwlocks-Fix-section-mismatch.patch @@ -1,7 +1,7 @@ -From 2425bac82fec3d57a82c9fe6f51aa13ffc90f7b6 Mon Sep 17 00:00:00 2001 +From 361d04238c72fd34baac506b4f2ae4e955e8b3f1 Mon Sep 17 00:00:00 2001 From: John Kacur Date: Mon, 19 Sep 2011 11:09:27 +0200 -Subject: [PATCH 202/286] rwlocks: Fix section mismatch +Subject: [PATCH 202/287] rwlocks: Fix section mismatch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/debian/patches/features/all/rt/0203-timer-handle-idle-trylock-in-get-next-timer-irq.patc.patch b/debian/patches/features/all/rt/0203-timer-handle-idle-trylock-in-get-next-timer-irq.patc.patch index 3a299490c..c3c8c4e87 100644 --- a/debian/patches/features/all/rt/0203-timer-handle-idle-trylock-in-get-next-timer-irq.patc.patch +++ b/debian/patches/features/all/rt/0203-timer-handle-idle-trylock-in-get-next-timer-irq.patc.patch @@ -1,7 +1,7 @@ -From 8ddfc4272c466d8f6fb957981a53a37ae372908d Mon Sep 17 00:00:00 2001 +From b80424142a98a1e6d1aaf6944005284bfbc5d032 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 22:08:38 +0200 -Subject: [PATCH 203/286] timer-handle-idle-trylock-in-get-next-timer-irq.patch +Subject: [PATCH 203/287] timer-handle-idle-trylock-in-get-next-timer-irq.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0204-RCU-Force-PREEMPT_RCU-for-PREEMPT-RT.patch b/debian/patches/features/all/rt/0204-RCU-Force-PREEMPT_RCU-for-PREEMPT-RT.patch index a9d9c6e5e..a689faf2c 100644 --- a/debian/patches/features/all/rt/0204-RCU-Force-PREEMPT_RCU-for-PREEMPT-RT.patch +++ b/debian/patches/features/all/rt/0204-RCU-Force-PREEMPT_RCU-for-PREEMPT-RT.patch @@ -1,7 +1,7 @@ -From 57f7fbf55168a1901c3ba7d297c44248000d8c0a Mon Sep 17 00:00:00 2001 +From 6ab302a5bac26b66dc812ca28fa511ff3bcfbcbf Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:30:30 -0500 -Subject: [PATCH 204/286] RCU: Force PREEMPT_RCU for PREEMPT-RT +Subject: [PATCH 204/287] RCU: Force PREEMPT_RCU for PREEMPT-RT PREEMPT_RT relies on PREEMPT_RCU - only allow RCU to be configured interactively in the !PREEMPT_RT case. diff --git a/debian/patches/features/all/rt/0205-rcu-Frob-softirq-test.patch b/debian/patches/features/all/rt/0205-rcu-Frob-softirq-test.patch index a176e6c20..c692f5d3d 100644 --- a/debian/patches/features/all/rt/0205-rcu-Frob-softirq-test.patch +++ b/debian/patches/features/all/rt/0205-rcu-Frob-softirq-test.patch @@ -1,7 +1,7 @@ -From 35d5b3531e3b8856af0858f573530ae46c4b81c9 Mon Sep 17 00:00:00 2001 +From 10aa3e83bfd94f04e86c8c27fedb7d83028c61c9 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Sat, 13 Aug 2011 00:23:17 +0200 -Subject: [PATCH 205/286] rcu: Frob softirq test +Subject: [PATCH 205/287] rcu: Frob softirq test With RT_FULL we get the below wreckage: diff --git a/debian/patches/features/all/rt/0206-rcu-Merge-RCU-bh-into-RCU-preempt.patch b/debian/patches/features/all/rt/0206-rcu-Merge-RCU-bh-into-RCU-preempt.patch index 5dc824662..bd821f8eb 100644 --- a/debian/patches/features/all/rt/0206-rcu-Merge-RCU-bh-into-RCU-preempt.patch +++ b/debian/patches/features/all/rt/0206-rcu-Merge-RCU-bh-into-RCU-preempt.patch @@ -1,7 +1,7 @@ -From 3ef36738d126f1334aaa007b0f570f994ca01e79 Mon Sep 17 00:00:00 2001 +From fef59844fd4790e690fd49e11d6962ed14ff8c4a Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 5 Oct 2011 11:59:38 -0700 -Subject: [PATCH 206/286] rcu: Merge RCU-bh into RCU-preempt +Subject: [PATCH 206/287] rcu: Merge RCU-bh into RCU-preempt The Linux kernel has long RCU-bh read-side critical sections that intolerably increase scheduling latency under mainline's RCU-bh rules, @@ -176,7 +176,7 @@ index c5b98e5..24dcc71 100644 #endif /* #ifdef CONFIG_DEBUG_LOCK_ALLOC */ diff --git a/kernel/rcutree.c b/kernel/rcutree.c -index 8ef8675..3afb0fd 100644 +index d5eb74a..0b59c81 100644 --- a/kernel/rcutree.c +++ b/kernel/rcutree.c @@ -170,6 +170,7 @@ void rcu_sched_qs(int cpu) @@ -211,7 +211,7 @@ index 8ef8675..3afb0fd 100644 /* * Record the number of times rcutorture tests have been initiated and -@@ -1667,6 +1671,7 @@ void call_rcu_sched(struct rcu_head *head, void (*func)(struct rcu_head *rcu)) +@@ -1669,6 +1673,7 @@ void call_rcu_sched(struct rcu_head *head, void (*func)(struct rcu_head *rcu)) } EXPORT_SYMBOL_GPL(call_rcu_sched); @@ -219,7 +219,7 @@ index 8ef8675..3afb0fd 100644 /* * Queue an RCU for invocation after a quicker grace period. */ -@@ -1675,6 +1680,7 @@ void call_rcu_bh(struct rcu_head *head, void (*func)(struct rcu_head *rcu)) +@@ -1677,6 +1682,7 @@ void call_rcu_bh(struct rcu_head *head, void (*func)(struct rcu_head *rcu)) __call_rcu(head, func, &rcu_bh_state); } EXPORT_SYMBOL_GPL(call_rcu_bh); @@ -227,7 +227,7 @@ index 8ef8675..3afb0fd 100644 /** * synchronize_sched - wait until an rcu-sched grace period has elapsed. -@@ -1707,6 +1713,7 @@ void synchronize_sched(void) +@@ -1709,6 +1715,7 @@ void synchronize_sched(void) } EXPORT_SYMBOL_GPL(synchronize_sched); @@ -235,7 +235,7 @@ index 8ef8675..3afb0fd 100644 /** * synchronize_rcu_bh - wait until an rcu_bh grace period has elapsed. * -@@ -1723,6 +1730,7 @@ void synchronize_rcu_bh(void) +@@ -1725,6 +1732,7 @@ void synchronize_rcu_bh(void) wait_rcu_gp(call_rcu_bh); } EXPORT_SYMBOL_GPL(synchronize_rcu_bh); @@ -243,7 +243,7 @@ index 8ef8675..3afb0fd 100644 /* * Check to see if there is any immediate RCU-related work to be done -@@ -1877,6 +1885,7 @@ static void _rcu_barrier(struct rcu_state *rsp, +@@ -1879,6 +1887,7 @@ static void _rcu_barrier(struct rcu_state *rsp, mutex_unlock(&rcu_barrier_mutex); } @@ -251,7 +251,7 @@ index 8ef8675..3afb0fd 100644 /** * rcu_barrier_bh - Wait until all in-flight call_rcu_bh() callbacks complete. */ -@@ -1885,6 +1894,7 @@ void rcu_barrier_bh(void) +@@ -1887,6 +1896,7 @@ void rcu_barrier_bh(void) _rcu_barrier(&rcu_bh_state, call_rcu_bh); } EXPORT_SYMBOL_GPL(rcu_barrier_bh); diff --git a/debian/patches/features/all/rt/0207-rcu-Fix-macro-substitution-for-synchronize_rcu_bh-on.patch b/debian/patches/features/all/rt/0207-rcu-Fix-macro-substitution-for-synchronize_rcu_bh-on.patch index be20a1472..47541b585 100644 --- a/debian/patches/features/all/rt/0207-rcu-Fix-macro-substitution-for-synchronize_rcu_bh-on.patch +++ b/debian/patches/features/all/rt/0207-rcu-Fix-macro-substitution-for-synchronize_rcu_bh-on.patch @@ -1,7 +1,7 @@ -From a5e791c6e7902106e76b6d8637e4ed00fee852ca Mon Sep 17 00:00:00 2001 +From c0ab15cb7e728773506e7909242eef870b4553ee Mon Sep 17 00:00:00 2001 From: John Kacur Date: Mon, 14 Nov 2011 02:44:42 +0100 -Subject: [PATCH 207/286] rcu: Fix macro substitution for synchronize_rcu_bh() +Subject: [PATCH 207/287] rcu: Fix macro substitution for synchronize_rcu_bh() on RT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 diff --git a/debian/patches/features/all/rt/0208-rcu-more-fallout.patch.patch b/debian/patches/features/all/rt/0208-rcu-more-fallout.patch.patch index bc58dcd29..86eb9991a 100644 --- a/debian/patches/features/all/rt/0208-rcu-more-fallout.patch.patch +++ b/debian/patches/features/all/rt/0208-rcu-more-fallout.patch.patch @@ -1,7 +1,7 @@ -From 53b84c46f7a3fbd26a00abbdb10643fbc58b1ae9 Mon Sep 17 00:00:00 2001 +From 7d788cfb365cd934bc745b1658f27d176d2b773d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 14 Nov 2011 10:57:54 +0100 -Subject: [PATCH 208/286] rcu-more-fallout.patch +Subject: [PATCH 208/287] rcu-more-fallout.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0209-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch b/debian/patches/features/all/rt/0209-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch index 9afe0d55d..308262b67 100644 --- a/debian/patches/features/all/rt/0209-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch +++ b/debian/patches/features/all/rt/0209-rcu-Make-ksoftirqd-do-RCU-quiescent-states.patch @@ -1,7 +1,7 @@ -From 45a47fb851b03bc6c5aeaad6765eb62c9c70d26b Mon Sep 17 00:00:00 2001 +From 9b33e17848bbcd210e7353218137c44f962e91cf Mon Sep 17 00:00:00 2001 From: "Paul E. McKenney" Date: Wed, 5 Oct 2011 11:45:18 -0700 -Subject: [PATCH 209/286] rcu: Make ksoftirqd do RCU quiescent states +Subject: [PATCH 209/287] rcu: Make ksoftirqd do RCU quiescent states Implementing RCU-bh in terms of RCU-preempt makes the system vulnerable to network-based denial-of-service attacks. This patch therefore @@ -49,7 +49,7 @@ index 7c31d86..0e6fb5c 100644 struct notifier_block; diff --git a/kernel/rcutree.c b/kernel/rcutree.c -index 3afb0fd..3118218 100644 +index 0b59c81..c1485ce 100644 --- a/kernel/rcutree.c +++ b/kernel/rcutree.c @@ -170,7 +170,12 @@ void rcu_sched_qs(int cpu) diff --git a/debian/patches/features/all/rt/0210-rt-rcutree-Move-misplaced-prototype.patch b/debian/patches/features/all/rt/0210-rt-rcutree-Move-misplaced-prototype.patch index 451a5a8ab..a5fe556a4 100644 --- a/debian/patches/features/all/rt/0210-rt-rcutree-Move-misplaced-prototype.patch +++ b/debian/patches/features/all/rt/0210-rt-rcutree-Move-misplaced-prototype.patch @@ -1,7 +1,7 @@ -From def45ef1b450229f13e7d48ce5043713d20bd5cc Mon Sep 17 00:00:00 2001 +From 951d0556cbd5f3fd6164dcdb7c0eca293b8e92b5 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Wed, 14 Dec 2011 12:51:28 +0100 -Subject: [PATCH 210/286] rt/rcutree: Move misplaced prototype +Subject: [PATCH 210/287] rt/rcutree: Move misplaced prototype MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @@ -21,7 +21,7 @@ Signed-off-by: Thomas Gleixner 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/rcutree.c b/kernel/rcutree.c -index 3118218..8c26a49 100644 +index c1485ce..e3ace01 100644 --- a/kernel/rcutree.c +++ b/kernel/rcutree.c @@ -171,6 +171,8 @@ void rcu_sched_qs(int cpu) diff --git a/debian/patches/features/all/rt/0211-lglocks-rt.patch.patch b/debian/patches/features/all/rt/0211-lglocks-rt.patch.patch index da054c666..eb8c305ac 100644 --- a/debian/patches/features/all/rt/0211-lglocks-rt.patch.patch +++ b/debian/patches/features/all/rt/0211-lglocks-rt.patch.patch @@ -1,7 +1,7 @@ -From 7ffec91c876cb4cd390b81d5eb0cd84732ef0d5f Mon Sep 17 00:00:00 2001 +From 3d177ea89dbee266904765bec73311ee7e7f29f7 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 15 Jun 2011 11:02:21 +0200 -Subject: [PATCH 211/286] lglocks-rt.patch +Subject: [PATCH 211/287] lglocks-rt.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0212-serial-8250-Clean-up-the-locking-for-rt.patch b/debian/patches/features/all/rt/0212-serial-8250-Clean-up-the-locking-for-rt.patch index b086232a2..57fad3ba8 100644 --- a/debian/patches/features/all/rt/0212-serial-8250-Clean-up-the-locking-for-rt.patch +++ b/debian/patches/features/all/rt/0212-serial-8250-Clean-up-the-locking-for-rt.patch @@ -1,7 +1,7 @@ -From c9eddbbc6b15c0e2f7a361126bf8aa7062501b4a Mon Sep 17 00:00:00 2001 +From 01909cfeb4891be5868607cfd98e2081edfcdd13 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:30:01 -0500 -Subject: [PATCH 212/286] serial: 8250: Clean up the locking for -rt +Subject: [PATCH 212/287] serial: 8250: Clean up the locking for -rt Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner diff --git a/debian/patches/features/all/rt/0213-serial-8250-Call-flush_to_ldisc-when-the-irq-is-thre.patch b/debian/patches/features/all/rt/0213-serial-8250-Call-flush_to_ldisc-when-the-irq-is-thre.patch index 6ff412355..d790f1987 100644 --- a/debian/patches/features/all/rt/0213-serial-8250-Call-flush_to_ldisc-when-the-irq-is-thre.patch +++ b/debian/patches/features/all/rt/0213-serial-8250-Call-flush_to_ldisc-when-the-irq-is-thre.patch @@ -1,7 +1,7 @@ -From fb3ba4ab1f8edff92b70415b433d3a013f7c344a Mon Sep 17 00:00:00 2001 +From 45687878fff664bdf78bbb00621263cd71d06df4 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Fri, 3 Jul 2009 08:30:01 -0500 -Subject: [PATCH 213/286] serial: 8250: Call flush_to_ldisc when the irq is +Subject: [PATCH 213/287] serial: 8250: Call flush_to_ldisc when the irq is threaded Signed-off-by: Ingo Molnar diff --git a/debian/patches/features/all/rt/0214-drivers-tty-fix-omap-lock-crap.patch.patch b/debian/patches/features/all/rt/0214-drivers-tty-fix-omap-lock-crap.patch.patch index 1de6099c9..a18b6e78a 100644 --- a/debian/patches/features/all/rt/0214-drivers-tty-fix-omap-lock-crap.patch.patch +++ b/debian/patches/features/all/rt/0214-drivers-tty-fix-omap-lock-crap.patch.patch @@ -1,7 +1,7 @@ -From 7bc071022df8dc24c621b74e2920778f16d4f1c8 Mon Sep 17 00:00:00 2001 +From 12d7471454197ceb16e5d329f3824ec790f6d32c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 28 Jul 2011 13:32:57 +0200 -Subject: [PATCH 214/286] drivers-tty-fix-omap-lock-crap.patch +Subject: [PATCH 214/287] drivers-tty-fix-omap-lock-crap.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0215-rt-Improve-the-serial-console-PASS_LIMIT.patch b/debian/patches/features/all/rt/0215-rt-Improve-the-serial-console-PASS_LIMIT.patch index e5d76da0d..e5b41a7a6 100644 --- a/debian/patches/features/all/rt/0215-rt-Improve-the-serial-console-PASS_LIMIT.patch +++ b/debian/patches/features/all/rt/0215-rt-Improve-the-serial-console-PASS_LIMIT.patch @@ -1,7 +1,7 @@ -From e3bdda69c2599eb090acdf28c5bbd8876eaedb01 Mon Sep 17 00:00:00 2001 +From 2be84e3f57a3d962faaf01ba2770ab7d09497709 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Wed, 14 Dec 2011 13:05:54 +0100 -Subject: [PATCH 215/286] rt: Improve the serial console PASS_LIMIT +Subject: [PATCH 215/287] rt: Improve the serial console PASS_LIMIT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/debian/patches/features/all/rt/0216-fs-namespace-preemption-fix.patch b/debian/patches/features/all/rt/0216-fs-namespace-preemption-fix.patch index 83b636a63..3ff48d964 100644 --- a/debian/patches/features/all/rt/0216-fs-namespace-preemption-fix.patch +++ b/debian/patches/features/all/rt/0216-fs-namespace-preemption-fix.patch @@ -1,7 +1,7 @@ -From 6128b582b7fbe545bd55a18bcf116ba29de11e93 Mon Sep 17 00:00:00 2001 +From 796c4f4846b05b35f0529207756dd3901eaea1da Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 19 Jul 2009 08:44:27 -0500 -Subject: [PATCH 216/286] fs: namespace preemption fix +Subject: [PATCH 216/287] fs: namespace preemption fix On RT we cannot loop with preemption disabled here as mnt_make_readonly() might have been preempted. We can safely enable diff --git a/debian/patches/features/all/rt/0217-mm-protect-activate-switch-mm.patch.patch b/debian/patches/features/all/rt/0217-mm-protect-activate-switch-mm.patch.patch index dcd75a95c..164180c47 100644 --- a/debian/patches/features/all/rt/0217-mm-protect-activate-switch-mm.patch.patch +++ b/debian/patches/features/all/rt/0217-mm-protect-activate-switch-mm.patch.patch @@ -1,7 +1,7 @@ -From e91681fab9879036c7fb56392af47e4d51f700b2 Mon Sep 17 00:00:00 2001 +From bd29fb577b70662c44ec4f00e33dd561337c26d6 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 4 Jul 2011 09:48:40 +0200 -Subject: [PATCH 217/286] mm-protect-activate-switch-mm.patch +Subject: [PATCH 217/287] mm-protect-activate-switch-mm.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0218-fs-block-rt-support.patch.patch b/debian/patches/features/all/rt/0218-fs-block-rt-support.patch.patch index b96ffd67d..8db9d0725 100644 --- a/debian/patches/features/all/rt/0218-fs-block-rt-support.patch.patch +++ b/debian/patches/features/all/rt/0218-fs-block-rt-support.patch.patch @@ -1,7 +1,7 @@ -From f1eebb8a33e646c53cba850d1bbd5a673eea208b Mon Sep 17 00:00:00 2001 +From 2b1decef1445fe1ff35537f076eb34dd46946210 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 14 Jun 2011 17:05:09 +0200 -Subject: [PATCH 218/286] fs-block-rt-support.patch +Subject: [PATCH 218/287] fs-block-rt-support.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0219-fs-ntfs-disable-interrupt-only-on-RT.patch b/debian/patches/features/all/rt/0219-fs-ntfs-disable-interrupt-only-on-RT.patch index 1e78f4341..d6981f511 100644 --- a/debian/patches/features/all/rt/0219-fs-ntfs-disable-interrupt-only-on-RT.patch +++ b/debian/patches/features/all/rt/0219-fs-ntfs-disable-interrupt-only-on-RT.patch @@ -1,7 +1,7 @@ -From e0a5d7d34d34c3e3ff35a691d1f726df9fe73bb8 Mon Sep 17 00:00:00 2001 +From e03995d367db34e9c4b14a6ded61fc87038d9336 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Fri, 3 Jul 2009 08:44:12 -0500 -Subject: [PATCH 219/286] fs: ntfs: disable interrupt only on !RT +Subject: [PATCH 219/287] fs: ntfs: disable interrupt only on !RT On Sat, 2007-10-27 at 11:44 +0200, Ingo Molnar wrote: > * Nick Piggin wrote: diff --git a/debian/patches/features/all/rt/0220-x86-Convert-mce-timer-to-hrtimer.patch b/debian/patches/features/all/rt/0220-x86-Convert-mce-timer-to-hrtimer.patch index 5fa2fcf1e..6a46a0d08 100644 --- a/debian/patches/features/all/rt/0220-x86-Convert-mce-timer-to-hrtimer.patch +++ b/debian/patches/features/all/rt/0220-x86-Convert-mce-timer-to-hrtimer.patch @@ -1,7 +1,7 @@ -From 358d037e42b460606b58974d8a73669be47844e7 Mon Sep 17 00:00:00 2001 +From 7cdc9f7453f91e8a329f09d68ffea064b7835535 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 13 Dec 2010 16:33:39 +0100 -Subject: [PATCH 220/286] x86: Convert mce timer to hrtimer +Subject: [PATCH 220/287] x86: Convert mce timer to hrtimer mce_timer is started in atomic contexts of cpu bringup. This results in might_sleep() warnings on RT. Convert mce_timer to a hrtimer to diff --git a/debian/patches/features/all/rt/0221-x86-stackprotector-Avoid-random-pool-on-rt.patch b/debian/patches/features/all/rt/0221-x86-stackprotector-Avoid-random-pool-on-rt.patch index 51ade2582..7142c6b5d 100644 --- a/debian/patches/features/all/rt/0221-x86-stackprotector-Avoid-random-pool-on-rt.patch +++ b/debian/patches/features/all/rt/0221-x86-stackprotector-Avoid-random-pool-on-rt.patch @@ -1,7 +1,7 @@ -From dfa0a2b80e7dba84a47112388166907b0a649b6a Mon Sep 17 00:00:00 2001 +From 564578c03bf36ac0245c8499e2e2c996000bf876 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 16 Dec 2010 14:25:18 +0100 -Subject: [PATCH 221/286] x86: stackprotector: Avoid random pool on rt +Subject: [PATCH 221/287] x86: stackprotector: Avoid random pool on rt CPU bringup calls into the random pool to initialize the stack canary. During boot that works nicely even on RT as the might sleep diff --git a/debian/patches/features/all/rt/0222-x86-Use-generic-rwsem_spinlocks-on-rt.patch b/debian/patches/features/all/rt/0222-x86-Use-generic-rwsem_spinlocks-on-rt.patch index 13bc00ee9..f95655faf 100644 --- a/debian/patches/features/all/rt/0222-x86-Use-generic-rwsem_spinlocks-on-rt.patch +++ b/debian/patches/features/all/rt/0222-x86-Use-generic-rwsem_spinlocks-on-rt.patch @@ -1,7 +1,7 @@ -From dc3a84cd02e36a865d925def5afc8f17ac161389 Mon Sep 17 00:00:00 2001 +From f4193763f5edee80abea65b63a03676c061c6bf7 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 26 Jul 2009 02:21:32 +0200 -Subject: [PATCH 222/286] x86: Use generic rwsem_spinlocks on -rt +Subject: [PATCH 222/287] x86: Use generic rwsem_spinlocks on -rt Simplifies the separation of anon_rw_semaphores and rw_semaphores for -rt. diff --git a/debian/patches/features/all/rt/0223-x86-Disable-IST-stacks-for-debug-int-3-stack-fault-f.patch b/debian/patches/features/all/rt/0223-x86-Disable-IST-stacks-for-debug-int-3-stack-fault-f.patch index 528202559..8761dba5d 100644 --- a/debian/patches/features/all/rt/0223-x86-Disable-IST-stacks-for-debug-int-3-stack-fault-f.patch +++ b/debian/patches/features/all/rt/0223-x86-Disable-IST-stacks-for-debug-int-3-stack-fault-f.patch @@ -1,7 +1,7 @@ -From fa0089d2766de59b0e5e1756ad43917510b608e7 Mon Sep 17 00:00:00 2001 +From 166e69b0217542d2c730769d00b540e702b31d1e Mon Sep 17 00:00:00 2001 From: Andi Kleen Date: Fri, 3 Jul 2009 08:44:10 -0500 -Subject: [PATCH 223/286] x86: Disable IST stacks for debug/int 3/stack fault +Subject: [PATCH 223/287] x86: Disable IST stacks for debug/int 3/stack fault for PREEMPT_RT Normally the x86-64 trap handlers for debug/int 3/stack fault run diff --git a/debian/patches/features/all/rt/0224-workqueue-use-get-cpu-light.patch.patch b/debian/patches/features/all/rt/0224-workqueue-use-get-cpu-light.patch.patch index cddadc5ec..bd7862516 100644 --- a/debian/patches/features/all/rt/0224-workqueue-use-get-cpu-light.patch.patch +++ b/debian/patches/features/all/rt/0224-workqueue-use-get-cpu-light.patch.patch @@ -1,7 +1,7 @@ -From dd9950b0c5ba043f1a323a47254e989ceb5306ec Mon Sep 17 00:00:00 2001 +From c65e39fa8783a71593b0a68c25ea3fbdf09e77aa Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 21:42:26 +0200 -Subject: [PATCH 224/286] workqueue-use-get-cpu-light.patch +Subject: [PATCH 224/287] workqueue-use-get-cpu-light.patch Signed-off-by: Thomas Gleixner --- @@ -9,7 +9,7 @@ Signed-off-by: Thomas Gleixner 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/workqueue.c b/kernel/workqueue.c -index 8b12069..33628ae 100644 +index 383f550..6447bb7 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -1063,8 +1063,8 @@ int queue_work(struct workqueue_struct *wq, struct work_struct *work) diff --git a/debian/patches/features/all/rt/0225-epoll.patch.patch b/debian/patches/features/all/rt/0225-epoll.patch.patch index 089d0a197..733ad624a 100644 --- a/debian/patches/features/all/rt/0225-epoll.patch.patch +++ b/debian/patches/features/all/rt/0225-epoll.patch.patch @@ -1,7 +1,7 @@ -From e44aa2a323ee759be68a5e0f064e920ed360c2f7 Mon Sep 17 00:00:00 2001 +From fb0c1aba38c7e371dd696e3df263340f6c4d74bc Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 8 Jul 2011 16:35:35 +0200 -Subject: [PATCH 225/286] epoll.patch +Subject: [PATCH 225/287] epoll.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0226-mm-vmalloc.patch.patch b/debian/patches/features/all/rt/0226-mm-vmalloc.patch.patch index c6a38b7ed..a45056189 100644 --- a/debian/patches/features/all/rt/0226-mm-vmalloc.patch.patch +++ b/debian/patches/features/all/rt/0226-mm-vmalloc.patch.patch @@ -1,7 +1,7 @@ -From 147ac2a2c6814fbf84b98340967d513390ec9ab3 Mon Sep 17 00:00:00 2001 +From b58b75b13c0db09c62b0a51617fe09623c9bed6a Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 12 Jul 2011 11:39:36 +0200 -Subject: [PATCH 226/286] mm-vmalloc.patch +Subject: [PATCH 226/287] mm-vmalloc.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0227-debugobjects-rt.patch.patch b/debian/patches/features/all/rt/0227-debugobjects-rt.patch.patch index 5f2dcb04f..4633625d9 100644 --- a/debian/patches/features/all/rt/0227-debugobjects-rt.patch.patch +++ b/debian/patches/features/all/rt/0227-debugobjects-rt.patch.patch @@ -1,7 +1,7 @@ -From b54cc392260ae8ac0128bdaac2533eed92bde183 Mon Sep 17 00:00:00 2001 +From 80a3236acf3ad1a1421507464067ce79f0cbf28d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 21:41:35 +0200 -Subject: [PATCH 227/286] debugobjects-rt.patch +Subject: [PATCH 227/287] debugobjects-rt.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0228-jump-label-rt.patch.patch b/debian/patches/features/all/rt/0228-jump-label-rt.patch.patch index 2e918def9..0f3bd658e 100644 --- a/debian/patches/features/all/rt/0228-jump-label-rt.patch.patch +++ b/debian/patches/features/all/rt/0228-jump-label-rt.patch.patch @@ -1,7 +1,7 @@ -From 26d555d3f4700db11832d2ea10a3661cd3e69a95 Mon Sep 17 00:00:00 2001 +From 601b7ecb2ffa42aa47bd175ffc4d013646c2e2c3 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 13 Jul 2011 11:03:16 +0200 -Subject: [PATCH 228/286] jump-label-rt.patch +Subject: [PATCH 228/287] jump-label-rt.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0229-skbufhead-raw-lock.patch.patch b/debian/patches/features/all/rt/0229-skbufhead-raw-lock.patch.patch index c15161a25..9240dc363 100644 --- a/debian/patches/features/all/rt/0229-skbufhead-raw-lock.patch.patch +++ b/debian/patches/features/all/rt/0229-skbufhead-raw-lock.patch.patch @@ -1,7 +1,7 @@ -From 30595b41d22466d365f12728ffe8fe200e8b8c74 Mon Sep 17 00:00:00 2001 +From 134780445c49afbd1b7077642b9c20911a2fc41d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 12 Jul 2011 15:38:34 +0200 -Subject: [PATCH 229/286] skbufhead-raw-lock.patch +Subject: [PATCH 229/287] skbufhead-raw-lock.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0230-x86-no-perf-irq-work-rt.patch.patch b/debian/patches/features/all/rt/0230-x86-no-perf-irq-work-rt.patch.patch index 472663f49..cc4b74324 100644 --- a/debian/patches/features/all/rt/0230-x86-no-perf-irq-work-rt.patch.patch +++ b/debian/patches/features/all/rt/0230-x86-no-perf-irq-work-rt.patch.patch @@ -1,7 +1,7 @@ -From 0fc6d5aaefdb530610282f8548451e44af0bb75a Mon Sep 17 00:00:00 2001 +From be5e4cd7195eadf135d1b5973fa9b013b7efdc03 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 13 Jul 2011 14:05:05 +0200 -Subject: [PATCH 230/286] x86-no-perf-irq-work-rt.patch +Subject: [PATCH 230/287] x86-no-perf-irq-work-rt.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0231-console-make-rt-friendly.patch.patch b/debian/patches/features/all/rt/0231-console-make-rt-friendly.patch.patch index ca0f9388f..860f0fabd 100644 --- a/debian/patches/features/all/rt/0231-console-make-rt-friendly.patch.patch +++ b/debian/patches/features/all/rt/0231-console-make-rt-friendly.patch.patch @@ -1,7 +1,7 @@ -From ab9feb775b51af35e880e1484bba21276bd91643 Mon Sep 17 00:00:00 2001 +From 895ac3ff650801f400ce1ac9b26f1eaa0c8023c4 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 17 Jul 2011 22:43:07 +0200 -Subject: [PATCH 231/286] console-make-rt-friendly.patch +Subject: [PATCH 231/287] console-make-rt-friendly.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0232-printk-Disable-migration-instead-of-preemption.patch b/debian/patches/features/all/rt/0232-printk-Disable-migration-instead-of-preemption.patch index 07d9e5479..645997594 100644 --- a/debian/patches/features/all/rt/0232-printk-Disable-migration-instead-of-preemption.patch +++ b/debian/patches/features/all/rt/0232-printk-Disable-migration-instead-of-preemption.patch @@ -1,7 +1,7 @@ -From b3aeed38cde2368d5d6bb4213239b3953d7e2a63 Mon Sep 17 00:00:00 2001 +From d6f232ee45717a3bdf5a91dde4163b28691a62ad Mon Sep 17 00:00:00 2001 From: Richard Weinberger Date: Mon, 12 Dec 2011 14:35:56 +0100 -Subject: [PATCH 232/286] printk: Disable migration instead of preemption +Subject: [PATCH 232/287] printk: Disable migration instead of preemption There is no need do disable preemption in vprintk(), disable_migrate() is sufficient. This fixes the following bug in -rt: diff --git a/debian/patches/features/all/rt/0233-power-use-generic-rwsem-on-rt.patch b/debian/patches/features/all/rt/0233-power-use-generic-rwsem-on-rt.patch index 0298e2251..78af87316 100644 --- a/debian/patches/features/all/rt/0233-power-use-generic-rwsem-on-rt.patch +++ b/debian/patches/features/all/rt/0233-power-use-generic-rwsem-on-rt.patch @@ -1,7 +1,7 @@ -From 9cb7aebf8ab4935fe2aeff8f3017e1c96712b560 Mon Sep 17 00:00:00 2001 +From ccebc690165127c1d2144fcd6c345f83fb174f64 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 10 Apr 2012 14:34:18 -0400 -Subject: [PATCH 233/286] power-use-generic-rwsem-on-rt +Subject: [PATCH 233/287] power-use-generic-rwsem-on-rt --- arch/powerpc/Kconfig | 3 ++- diff --git a/debian/patches/features/all/rt/0234-power-disable-highmem-on-rt.patch.patch b/debian/patches/features/all/rt/0234-power-disable-highmem-on-rt.patch.patch index de5f42f67..9dae69077 100644 --- a/debian/patches/features/all/rt/0234-power-disable-highmem-on-rt.patch.patch +++ b/debian/patches/features/all/rt/0234-power-disable-highmem-on-rt.patch.patch @@ -1,7 +1,7 @@ -From 636bdd1cc5f3044253ed79549dfa00b0a15e8161 Mon Sep 17 00:00:00 2001 +From dababf818c2e8e413393a47fbdce7ad550856aee Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 18 Jul 2011 17:08:34 +0200 -Subject: [PATCH 234/286] power-disable-highmem-on-rt.patch +Subject: [PATCH 234/287] power-disable-highmem-on-rt.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0235-arm-disable-highmem-on-rt.patch.patch b/debian/patches/features/all/rt/0235-arm-disable-highmem-on-rt.patch.patch index 63c209084..591439913 100644 --- a/debian/patches/features/all/rt/0235-arm-disable-highmem-on-rt.patch.patch +++ b/debian/patches/features/all/rt/0235-arm-disable-highmem-on-rt.patch.patch @@ -1,7 +1,7 @@ -From 50cf05a5b8a02ff7e0530da5bdc3d9ee48d5e6d4 Mon Sep 17 00:00:00 2001 +From fa70e4bce5720e02fec938a4670266ccb7eb356c Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 18 Jul 2011 17:09:28 +0200 -Subject: [PATCH 235/286] arm-disable-highmem-on-rt.patch +Subject: [PATCH 235/287] arm-disable-highmem-on-rt.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0236-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch b/debian/patches/features/all/rt/0236-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch index 93048ac7b..7e19d711b 100644 --- a/debian/patches/features/all/rt/0236-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch +++ b/debian/patches/features/all/rt/0236-ARM-at91-tclib-Default-to-tclib-timer-for-RT.patch @@ -1,7 +1,7 @@ -From c66cd2baf383b17f2eddf097f9f7dd9b07942478 Mon Sep 17 00:00:00 2001 +From 59b46210ad41e603bf7afab694274bc401d09e0b Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 1 May 2010 18:29:35 +0200 -Subject: [PATCH 236/286] ARM: at91: tclib: Default to tclib timer for RT +Subject: [PATCH 236/287] ARM: at91: tclib: Default to tclib timer for RT RT is not too happy about the shared timer interrupt in AT91 devices. Default to tclib timer for RT. diff --git a/debian/patches/features/all/rt/0237-mips-disable-highmem-on-rt.patch.patch b/debian/patches/features/all/rt/0237-mips-disable-highmem-on-rt.patch.patch index 28325531e..69a4468d9 100644 --- a/debian/patches/features/all/rt/0237-mips-disable-highmem-on-rt.patch.patch +++ b/debian/patches/features/all/rt/0237-mips-disable-highmem-on-rt.patch.patch @@ -1,7 +1,7 @@ -From 8cfb09c701bd8540a76d51d66a605d2c1b8bf9c8 Mon Sep 17 00:00:00 2001 +From 31994de77250e5b0f2b3f8507d056ba489e3b4d1 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 18 Jul 2011 17:10:12 +0200 -Subject: [PATCH 237/286] mips-disable-highmem-on-rt.patch +Subject: [PATCH 237/287] mips-disable-highmem-on-rt.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0238-net-Avoid-livelock-in-net_tx_action-on-RT.patch b/debian/patches/features/all/rt/0238-net-Avoid-livelock-in-net_tx_action-on-RT.patch index 23c7ad9b4..e9128cce3 100644 --- a/debian/patches/features/all/rt/0238-net-Avoid-livelock-in-net_tx_action-on-RT.patch +++ b/debian/patches/features/all/rt/0238-net-Avoid-livelock-in-net_tx_action-on-RT.patch @@ -1,7 +1,7 @@ -From 0ae4e517383051748a1a5c704021de93ca0ffcd2 Mon Sep 17 00:00:00 2001 +From 5eda9268f6228b4cc98b120b04b53a2529d9824d Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Thu, 6 Oct 2011 10:48:39 -0400 -Subject: [PATCH 238/286] net: Avoid livelock in net_tx_action() on RT +Subject: [PATCH 238/287] net: Avoid livelock in net_tx_action() on RT qdisc_lock is taken w/o disabling interrupts or bottom halfs. So code holding a qdisc_lock() can be interrupted and softirqs can run on the diff --git a/debian/patches/features/all/rt/0239-ping-sysrq.patch.patch b/debian/patches/features/all/rt/0239-ping-sysrq.patch.patch index 13d3dfc4e..34e9605f5 100644 --- a/debian/patches/features/all/rt/0239-ping-sysrq.patch.patch +++ b/debian/patches/features/all/rt/0239-ping-sysrq.patch.patch @@ -1,7 +1,7 @@ -From a44ea464fc836e4caa0fb0ec79ff407f06ce7828 Mon Sep 17 00:00:00 2001 +From 5010c148232695d43d0b2bb7fe96c731ef0522f7 Mon Sep 17 00:00:00 2001 From: Carsten Emde Date: Tue, 19 Jul 2011 13:51:17 +0100 -Subject: [PATCH 239/286] ping-sysrq.patch +Subject: [PATCH 239/287] ping-sysrq.patch There are (probably rare) situations when a system crashed and the system console becomes unresponsive but the network icmp layer still is alive. diff --git a/debian/patches/features/all/rt/0240-kgdb-serial-Short-term-workaround.patch b/debian/patches/features/all/rt/0240-kgdb-serial-Short-term-workaround.patch index c37d6130a..f22c1b72d 100644 --- a/debian/patches/features/all/rt/0240-kgdb-serial-Short-term-workaround.patch +++ b/debian/patches/features/all/rt/0240-kgdb-serial-Short-term-workaround.patch @@ -1,7 +1,7 @@ -From 60d17384ab08252d7e4591ceae6fe3ac64c937c5 Mon Sep 17 00:00:00 2001 +From 0e649c8540336852a0cc42fc54b03bae87f486d5 Mon Sep 17 00:00:00 2001 From: Jason Wessel Date: Thu, 28 Jul 2011 12:42:23 -0500 -Subject: [PATCH 240/286] kgdb/serial: Short term workaround +Subject: [PATCH 240/287] kgdb/serial: Short term workaround On 07/27/2011 04:37 PM, Thomas Gleixner wrote: > - KGDB (not yet disabled) is reportedly unusable on -rt right now due diff --git a/debian/patches/features/all/rt/0241-add-sys-kernel-realtime-entry.patch b/debian/patches/features/all/rt/0241-add-sys-kernel-realtime-entry.patch index d997e7f06..db96481a1 100644 --- a/debian/patches/features/all/rt/0241-add-sys-kernel-realtime-entry.patch +++ b/debian/patches/features/all/rt/0241-add-sys-kernel-realtime-entry.patch @@ -1,7 +1,7 @@ -From 0a345cc72956dda737a844b09963beb164df7237 Mon Sep 17 00:00:00 2001 +From 2b74759e36dc684b0eceb9bb804f0be3e2b40d21 Mon Sep 17 00:00:00 2001 From: Clark Williams Date: Sat, 30 Jul 2011 21:55:53 -0500 -Subject: [PATCH 241/286] add /sys/kernel/realtime entry +Subject: [PATCH 241/287] add /sys/kernel/realtime entry Add a /sys/kernel entry to indicate that the kernel is a realtime kernel. diff --git a/debian/patches/features/all/rt/0242-mm-rt-kmap_atomic-scheduling.patch b/debian/patches/features/all/rt/0242-mm-rt-kmap_atomic-scheduling.patch index 5ba76ec02..08475d43d 100644 --- a/debian/patches/features/all/rt/0242-mm-rt-kmap_atomic-scheduling.patch +++ b/debian/patches/features/all/rt/0242-mm-rt-kmap_atomic-scheduling.patch @@ -1,7 +1,7 @@ -From d1be9ce333b8cee6603a8461ce7c1b1ee4c96a43 Mon Sep 17 00:00:00 2001 +From 601874b46e749557b1fdc7e24d53e2f6f829ded0 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Thu, 28 Jul 2011 10:43:51 +0200 -Subject: [PATCH 242/286] mm, rt: kmap_atomic scheduling +Subject: [PATCH 242/287] mm, rt: kmap_atomic scheduling In fact, with migrate_disable() existing one could play games with kmap_atomic. You could save/restore the kmap_atomic slots on context diff --git a/debian/patches/features/all/rt/0243-ipc-sem-Rework-semaphore-wakeups.patch b/debian/patches/features/all/rt/0243-ipc-sem-Rework-semaphore-wakeups.patch index 6f2839c9e..92fab12af 100644 --- a/debian/patches/features/all/rt/0243-ipc-sem-Rework-semaphore-wakeups.patch +++ b/debian/patches/features/all/rt/0243-ipc-sem-Rework-semaphore-wakeups.patch @@ -1,7 +1,7 @@ -From 8652113866cf989aaf2d06ed1302e22a94906d73 Mon Sep 17 00:00:00 2001 +From c43422aa5b0173541abefa84cd1800614a149f76 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Tue, 13 Sep 2011 15:09:40 +0200 -Subject: [PATCH 243/286] ipc/sem: Rework semaphore wakeups +Subject: [PATCH 243/287] ipc/sem: Rework semaphore wakeups Current sysv sems have a weird ass wakeup scheme that involves keeping preemption disabled over a potential O(n^2) loop and busy waiting on diff --git a/debian/patches/features/all/rt/0244-sysrq-Allow-immediate-Magic-SysRq-output-for-PREEMPT.patch b/debian/patches/features/all/rt/0244-sysrq-Allow-immediate-Magic-SysRq-output-for-PREEMPT.patch index 30b1fb05b..7f44281ad 100644 --- a/debian/patches/features/all/rt/0244-sysrq-Allow-immediate-Magic-SysRq-output-for-PREEMPT.patch +++ b/debian/patches/features/all/rt/0244-sysrq-Allow-immediate-Magic-SysRq-output-for-PREEMPT.patch @@ -1,7 +1,7 @@ -From 09d95ea3d4175bb5d1780e8359febc5a72e3495d Mon Sep 17 00:00:00 2001 +From ed87d0a64e075fbd375ca35bfbe871869974e83b Mon Sep 17 00:00:00 2001 From: Frank Rowand Date: Fri, 23 Sep 2011 13:43:12 -0700 -Subject: [PATCH 244/286] sysrq: Allow immediate Magic SysRq output for +Subject: [PATCH 244/287] sysrq: Allow immediate Magic SysRq output for PREEMPT_RT_FULL Add a CONFIG option to allow the output from Magic SysRq to be output diff --git a/debian/patches/features/all/rt/0245-x86-kvm-require-const-tsc-for-rt.patch.patch b/debian/patches/features/all/rt/0245-x86-kvm-require-const-tsc-for-rt.patch.patch index a1d848829..618330388 100644 --- a/debian/patches/features/all/rt/0245-x86-kvm-require-const-tsc-for-rt.patch.patch +++ b/debian/patches/features/all/rt/0245-x86-kvm-require-const-tsc-for-rt.patch.patch @@ -1,7 +1,7 @@ -From 6514465dc4b2ad9b2b6e2ed87707062da15aa75e Mon Sep 17 00:00:00 2001 +From 58b39f07df085aa713633f090212d577bf00040f Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 6 Nov 2011 12:26:18 +0100 -Subject: [PATCH 245/286] x86-kvm-require-const-tsc-for-rt.patch +Subject: [PATCH 245/287] x86-kvm-require-const-tsc-for-rt.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0246-scsi-fcoe-rt-aware.patch.patch b/debian/patches/features/all/rt/0246-scsi-fcoe-rt-aware.patch.patch index 48da3ac4b..1b347aafa 100644 --- a/debian/patches/features/all/rt/0246-scsi-fcoe-rt-aware.patch.patch +++ b/debian/patches/features/all/rt/0246-scsi-fcoe-rt-aware.patch.patch @@ -1,7 +1,7 @@ -From 237fe68234c30e8c462f2544ac1b286741b8ba7d Mon Sep 17 00:00:00 2001 +From 185d8e165268c1babd10c64115dd9d9791a0a5a4 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 12 Nov 2011 14:00:48 +0100 -Subject: [PATCH 246/286] scsi-fcoe-rt-aware.patch +Subject: [PATCH 246/287] scsi-fcoe-rt-aware.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0247-x86-crypto-Reduce-preempt-disabled-regions.patch b/debian/patches/features/all/rt/0247-x86-crypto-Reduce-preempt-disabled-regions.patch index 6eb089ffb..9d7b5fd43 100644 --- a/debian/patches/features/all/rt/0247-x86-crypto-Reduce-preempt-disabled-regions.patch +++ b/debian/patches/features/all/rt/0247-x86-crypto-Reduce-preempt-disabled-regions.patch @@ -1,7 +1,7 @@ -From bc8ee67488c17aec6dac6c123517d84206caefba Mon Sep 17 00:00:00 2001 +From e3ec10daa62fbf04687cc85da07031b3744325f9 Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Mon, 14 Nov 2011 18:19:27 +0100 -Subject: [PATCH 247/286] x86: crypto: Reduce preempt disabled regions +Subject: [PATCH 247/287] x86: crypto: Reduce preempt disabled regions Restrict the preempt disabled regions to the actual floating point operations and enable preemption for the administrative actions. diff --git a/debian/patches/features/all/rt/0248-dm-Make-rt-aware.patch b/debian/patches/features/all/rt/0248-dm-Make-rt-aware.patch index 80a59608e..66bfdbdd3 100644 --- a/debian/patches/features/all/rt/0248-dm-Make-rt-aware.patch +++ b/debian/patches/features/all/rt/0248-dm-Make-rt-aware.patch @@ -1,7 +1,7 @@ -From 5e040b7842a0b4b8d36b2a8016ddc9b1ca11edf9 Mon Sep 17 00:00:00 2001 +From bad0800d5cab581521a1d6d619f4e2ef63dd3b54 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Mon, 14 Nov 2011 23:06:09 +0100 -Subject: [PATCH 248/286] dm: Make rt aware +Subject: [PATCH 248/287] dm: Make rt aware Use the BUG_ON_NORT variant for the irq_disabled() checks. RT has interrupts legitimately enabled here as we cant deadlock against the diff --git a/debian/patches/features/all/rt/0249-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch b/debian/patches/features/all/rt/0249-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch index bccfe6187..74eecdd1f 100644 --- a/debian/patches/features/all/rt/0249-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch +++ b/debian/patches/features/all/rt/0249-cpumask-Disable-CONFIG_CPUMASK_OFFSTACK-for-RT.patch @@ -1,7 +1,7 @@ -From a1c696ef3bbe4f996c6a12eb90df51578936ec27 Mon Sep 17 00:00:00 2001 +From 6a513aa68b0e7261462a4df008b680a1aa94bde5 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 14 Dec 2011 01:03:49 +0100 -Subject: [PATCH 249/286] cpumask: Disable CONFIG_CPUMASK_OFFSTACK for RT +Subject: [PATCH 249/287] cpumask: Disable CONFIG_CPUMASK_OFFSTACK for RT We can't deal with the cpumask allocations which happen in atomic context (see arch/x86/kernel/apic/io_apic.c) on RT right now. diff --git a/debian/patches/features/all/rt/0250-seqlock-Prevent-rt-starvation.patch b/debian/patches/features/all/rt/0250-seqlock-Prevent-rt-starvation.patch index b6be885e4..81fe90fa4 100644 --- a/debian/patches/features/all/rt/0250-seqlock-Prevent-rt-starvation.patch +++ b/debian/patches/features/all/rt/0250-seqlock-Prevent-rt-starvation.patch @@ -1,7 +1,7 @@ -From 2599b2893087857e49935b8e0845bc4cdafd1ede Mon Sep 17 00:00:00 2001 +From 254c7e75261331c7c457a4725cda75dbfe86f69e Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 22 Feb 2012 12:03:30 +0100 -Subject: [PATCH 250/286] seqlock: Prevent rt starvation +Subject: [PATCH 250/287] seqlock: Prevent rt starvation If a low prio writer gets preempted while holding the seqlock write locked, a high prio reader spins forever on RT. diff --git a/debian/patches/features/all/rt/0251-timer-Fix-hotplug-for-rt.patch b/debian/patches/features/all/rt/0251-timer-Fix-hotplug-for-rt.patch index 832ccd1cc..6feabbc5b 100644 --- a/debian/patches/features/all/rt/0251-timer-Fix-hotplug-for-rt.patch +++ b/debian/patches/features/all/rt/0251-timer-Fix-hotplug-for-rt.patch @@ -1,7 +1,7 @@ -From 2b30b360e6497506ed0fadf438c4b82af3031423 Mon Sep 17 00:00:00 2001 +From c4555387cb7fe49f9ec75cdf5537f5c14a89d1fa Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Thu, 1 Mar 2012 13:55:28 -0500 -Subject: [PATCH 251/286] timer: Fix hotplug for -rt +Subject: [PATCH 251/287] timer: Fix hotplug for -rt Revert the RT patch: Author: Ingo Molnar diff --git a/debian/patches/features/all/rt/0252-futex-rt-Fix-possible-lockup-when-taking-pi_lock-in-.patch b/debian/patches/features/all/rt/0252-futex-rt-Fix-possible-lockup-when-taking-pi_lock-in-.patch index 67e831bc7..7b93939d6 100644 --- a/debian/patches/features/all/rt/0252-futex-rt-Fix-possible-lockup-when-taking-pi_lock-in-.patch +++ b/debian/patches/features/all/rt/0252-futex-rt-Fix-possible-lockup-when-taking-pi_lock-in-.patch @@ -1,7 +1,7 @@ -From 298adb01f400c610bfdb773c9731d7fa9b7dc577 Mon Sep 17 00:00:00 2001 +From 5d077ea8fa156740eb398aadc5189cd0cb831d6f Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Thu, 1 Mar 2012 13:55:29 -0500 -Subject: [PATCH 252/286] futex/rt: Fix possible lockup when taking pi_lock in +Subject: [PATCH 252/287] futex/rt: Fix possible lockup when taking pi_lock in proxy handler When taking the pi_lock, we must disable interrupts because the diff --git a/debian/patches/features/all/rt/0253-ring-buffer-rt-Check-for-irqs-disabled-before-grabbi.patch b/debian/patches/features/all/rt/0253-ring-buffer-rt-Check-for-irqs-disabled-before-grabbi.patch index 160332a06..c03a78afe 100644 --- a/debian/patches/features/all/rt/0253-ring-buffer-rt-Check-for-irqs-disabled-before-grabbi.patch +++ b/debian/patches/features/all/rt/0253-ring-buffer-rt-Check-for-irqs-disabled-before-grabbi.patch @@ -1,7 +1,7 @@ -From cc2bde68000633ff7dd2f644b8141867bc6b241d Mon Sep 17 00:00:00 2001 +From a45cb00b789786ef0203de598f548aef5fbfda0c Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Thu, 1 Mar 2012 13:55:32 -0500 -Subject: [PATCH 253/286] ring-buffer/rt: Check for irqs disabled before +Subject: [PATCH 253/287] ring-buffer/rt: Check for irqs disabled before grabbing reader lock In RT the reader lock is a mutex and we can not grab it when preemption is diff --git a/debian/patches/features/all/rt/0254-sched-rt-Fix-wait_task_interactive-to-test-rt_spin_l.patch b/debian/patches/features/all/rt/0254-sched-rt-Fix-wait_task_interactive-to-test-rt_spin_l.patch index 9db200234..d95dbe329 100644 --- a/debian/patches/features/all/rt/0254-sched-rt-Fix-wait_task_interactive-to-test-rt_spin_l.patch +++ b/debian/patches/features/all/rt/0254-sched-rt-Fix-wait_task_interactive-to-test-rt_spin_l.patch @@ -1,7 +1,7 @@ -From 1f9900654d73e9fe2db2eb9373875f2c71e5d557 Mon Sep 17 00:00:00 2001 +From 75a36e6fb61ea260f940d2d53342e13138f085cd Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Thu, 1 Mar 2012 13:55:33 -0500 -Subject: [PATCH 254/286] sched/rt: Fix wait_task_interactive() to test +Subject: [PATCH 254/287] sched/rt: Fix wait_task_interactive() to test rt_spin_lock state The wait_task_interactive() will have a task sleep waiting for another diff --git a/debian/patches/features/all/rt/0255-lglock-rt-Use-non-rt-for_each_cpu-in-rt-code.patch b/debian/patches/features/all/rt/0255-lglock-rt-Use-non-rt-for_each_cpu-in-rt-code.patch index 3b32aae0f..e5a8ec7e7 100644 --- a/debian/patches/features/all/rt/0255-lglock-rt-Use-non-rt-for_each_cpu-in-rt-code.patch +++ b/debian/patches/features/all/rt/0255-lglock-rt-Use-non-rt-for_each_cpu-in-rt-code.patch @@ -1,7 +1,7 @@ -From 303b4d6bae80a6a03b6901d0f37a5ec52c305c4f Mon Sep 17 00:00:00 2001 +From ef222cafa766c6eb25b9b4fde2bd9d64f852c418 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Thu, 1 Mar 2012 13:55:30 -0500 -Subject: [PATCH 255/286] lglock/rt: Use non-rt for_each_cpu() in -rt code +Subject: [PATCH 255/287] lglock/rt: Use non-rt for_each_cpu() in -rt code Currently the RT version of the lglocks() does a for_each_online_cpu() in the name##_global_lock_online() functions. Non-rt uses its own diff --git a/debian/patches/features/all/rt/0256-cpu-Make-hotplug.lock-a-sleeping-spinlock-on-RT.patch b/debian/patches/features/all/rt/0256-cpu-Make-hotplug.lock-a-sleeping-spinlock-on-RT.patch index 54ddac69e..4ae02db53 100644 --- a/debian/patches/features/all/rt/0256-cpu-Make-hotplug.lock-a-sleeping-spinlock-on-RT.patch +++ b/debian/patches/features/all/rt/0256-cpu-Make-hotplug.lock-a-sleeping-spinlock-on-RT.patch @@ -1,7 +1,7 @@ -From d1b5c1c92cb4896f6f5ff330ed43ffa5588963e7 Mon Sep 17 00:00:00 2001 +From a19fc36f92b52ee67ac5f4b4d9774e9a85f6c4f6 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Fri, 2 Mar 2012 10:36:57 -0500 -Subject: [PATCH 256/286] cpu: Make hotplug.lock a "sleeping" spinlock on RT +Subject: [PATCH 256/287] cpu: Make hotplug.lock a "sleeping" spinlock on RT Tasks can block on hotplug.lock in pin_current_cpu(), but their state might be != RUNNING. So the mutex wakeup will set the state diff --git a/debian/patches/features/all/rt/0257-softirq-Check-preemption-after-reenabling-interrupts.patch b/debian/patches/features/all/rt/0257-softirq-Check-preemption-after-reenabling-interrupts.patch index 152d28c07..366970c71 100644 --- a/debian/patches/features/all/rt/0257-softirq-Check-preemption-after-reenabling-interrupts.patch +++ b/debian/patches/features/all/rt/0257-softirq-Check-preemption-after-reenabling-interrupts.patch @@ -1,7 +1,7 @@ -From 8c0ab0566f9b83525c216567b169d88d72c8ffaf Mon Sep 17 00:00:00 2001 +From 11581a03a976f3abd93a81da0d5b75c25a2b81e6 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 13 Nov 2011 17:17:09 +0100 -Subject: [PATCH 257/286] softirq: Check preemption after reenabling +Subject: [PATCH 257/287] softirq: Check preemption after reenabling interrupts raise_softirq_irqoff() disables interrupts and wakes the softirq diff --git a/debian/patches/features/all/rt/0258-rt-Introduce-cpu_chill.patch b/debian/patches/features/all/rt/0258-rt-Introduce-cpu_chill.patch index 9ae636fce..27c989f47 100644 --- a/debian/patches/features/all/rt/0258-rt-Introduce-cpu_chill.patch +++ b/debian/patches/features/all/rt/0258-rt-Introduce-cpu_chill.patch @@ -1,7 +1,7 @@ -From 4e61d9fd097443bc80a8acb92b038c167f5ce48c Mon Sep 17 00:00:00 2001 +From 578ba04a14c3db2a03e53548ee014c3bab5fd64b Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 7 Mar 2012 20:51:03 +0100 -Subject: [PATCH 258/286] rt: Introduce cpu_chill() +Subject: [PATCH 258/287] rt: Introduce cpu_chill() Retry loops on RT might loop forever when the modifying side was preempted. Add cpu_chill() to replace cpu_relax(). cpu_chill() diff --git a/debian/patches/features/all/rt/0259-fs-dcache-Use-cpu_chill-in-trylock-loops.patch b/debian/patches/features/all/rt/0259-fs-dcache-Use-cpu_chill-in-trylock-loops.patch index 014173d20..1ae15fdc4 100644 --- a/debian/patches/features/all/rt/0259-fs-dcache-Use-cpu_chill-in-trylock-loops.patch +++ b/debian/patches/features/all/rt/0259-fs-dcache-Use-cpu_chill-in-trylock-loops.patch @@ -1,7 +1,7 @@ -From fa30b7b7d49f007ccd753dd02ea175fa8722e4b4 Mon Sep 17 00:00:00 2001 +From c3015ab620b73dfcaa8b46bfc24041520b3d9569 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 7 Mar 2012 21:00:34 +0100 -Subject: [PATCH 259/286] fs: dcache: Use cpu_chill() in trylock loops +Subject: [PATCH 259/287] fs: dcache: Use cpu_chill() in trylock loops Retry loops on RT might loop forever when the modifying side was preempted. Use cpu_chill() instead of cpu_relax() to let the system diff --git a/debian/patches/features/all/rt/0260-net-Use-cpu_chill-instead-of-cpu_relax.patch b/debian/patches/features/all/rt/0260-net-Use-cpu_chill-instead-of-cpu_relax.patch index 5f80e6725..c70c9984a 100644 --- a/debian/patches/features/all/rt/0260-net-Use-cpu_chill-instead-of-cpu_relax.patch +++ b/debian/patches/features/all/rt/0260-net-Use-cpu_chill-instead-of-cpu_relax.patch @@ -1,7 +1,7 @@ -From f215e5a2e9f037a7a9ee500a50dd76e0d5e1b43e Mon Sep 17 00:00:00 2001 +From 7d13568e2939a446a4c9160d2c82958e543743b1 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 7 Mar 2012 21:10:04 +0100 -Subject: [PATCH 260/286] net: Use cpu_chill() instead of cpu_relax() +Subject: [PATCH 260/287] net: Use cpu_chill() instead of cpu_relax() Retry loops on RT might loop forever when the modifying side was preempted. Use cpu_chill() instead of cpu_relax() to let the system diff --git a/debian/patches/features/all/rt/0261-kconfig-disable-a-few-options-rt.patch.patch b/debian/patches/features/all/rt/0261-kconfig-disable-a-few-options-rt.patch.patch index 5263a17bc..36c49ab39 100644 --- a/debian/patches/features/all/rt/0261-kconfig-disable-a-few-options-rt.patch.patch +++ b/debian/patches/features/all/rt/0261-kconfig-disable-a-few-options-rt.patch.patch @@ -1,7 +1,7 @@ -From d649d01358364ef56c6c6a6b6bccca77e046ad5b Mon Sep 17 00:00:00 2001 +From 4d8c1ca209189ac31652f50466a494d38722d2cf Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sun, 24 Jul 2011 12:11:43 +0200 -Subject: [PATCH 261/286] kconfig-disable-a-few-options-rt.patch +Subject: [PATCH 261/287] kconfig-disable-a-few-options-rt.patch Disable stuff which is known to have issues on RT diff --git a/debian/patches/features/all/rt/0262-kconfig-preempt-rt-full.patch.patch b/debian/patches/features/all/rt/0262-kconfig-preempt-rt-full.patch.patch index 7c19cec0e..bb91ac918 100644 --- a/debian/patches/features/all/rt/0262-kconfig-preempt-rt-full.patch.patch +++ b/debian/patches/features/all/rt/0262-kconfig-preempt-rt-full.patch.patch @@ -1,7 +1,7 @@ -From 4da29ef44ef6798c2fb460afe60df7531ac99ca3 Mon Sep 17 00:00:00 2001 +From 2a1667a9ef0acca20c3f803f7601b0b92bd4739f Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 29 Jun 2011 14:58:57 +0200 -Subject: [PATCH 262/286] kconfig-preempt-rt-full.patch +Subject: [PATCH 262/287] kconfig-preempt-rt-full.patch Signed-off-by: Thomas Gleixner --- diff --git a/debian/patches/features/all/rt/0263-rt-Make-migrate_disable-enable-and-__rt_mutex_init-n.patch b/debian/patches/features/all/rt/0263-rt-Make-migrate_disable-enable-and-__rt_mutex_init-n.patch index 9a640cd84..66e902a5c 100644 --- a/debian/patches/features/all/rt/0263-rt-Make-migrate_disable-enable-and-__rt_mutex_init-n.patch +++ b/debian/patches/features/all/rt/0263-rt-Make-migrate_disable-enable-and-__rt_mutex_init-n.patch @@ -1,7 +1,7 @@ -From d405662785538452fe34c22918951cc607131979 Mon Sep 17 00:00:00 2001 +From 525ccba6f921cd491a24e5e5d563c0e211ba5c35 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Mon, 16 Apr 2012 21:51:54 -0400 -Subject: [PATCH 263/286] rt: Make migrate_disable/enable() and +Subject: [PATCH 263/287] rt: Make migrate_disable/enable() and __rt_mutex_init non-GPL only Modules that load on the normal vanilla kernel should also load on diff --git a/debian/patches/features/all/rt/0264-scsi-qla2xxx-Use-local_irq_save_nort-in-qla2x00_poll.patch b/debian/patches/features/all/rt/0264-scsi-qla2xxx-Use-local_irq_save_nort-in-qla2x00_poll.patch index d5f2b55c9..721dc1c52 100644 --- a/debian/patches/features/all/rt/0264-scsi-qla2xxx-Use-local_irq_save_nort-in-qla2x00_poll.patch +++ b/debian/patches/features/all/rt/0264-scsi-qla2xxx-Use-local_irq_save_nort-in-qla2x00_poll.patch @@ -1,7 +1,7 @@ -From 7a39249320e329c27fe766511f36ea0ab70073ad Mon Sep 17 00:00:00 2001 +From 78f23c489c16a125eb546f66fbc6516ece636d24 Mon Sep 17 00:00:00 2001 From: John Kacur Date: Fri, 27 Apr 2012 12:48:46 +0200 -Subject: [PATCH 264/286] scsi: qla2xxx: Use local_irq_save_nort() in +Subject: [PATCH 264/287] scsi: qla2xxx: Use local_irq_save_nort() in qla2x00_poll RT triggers the following: diff --git a/debian/patches/features/all/rt/0265-net-RT-REmove-preemption-disabling-in-netif_rx.patch b/debian/patches/features/all/rt/0265-net-RT-REmove-preemption-disabling-in-netif_rx.patch index 34f331c04..fbd50c100 100644 --- a/debian/patches/features/all/rt/0265-net-RT-REmove-preemption-disabling-in-netif_rx.patch +++ b/debian/patches/features/all/rt/0265-net-RT-REmove-preemption-disabling-in-netif_rx.patch @@ -1,7 +1,7 @@ -From 674eba82184dfa7e9a840f65cf37d66e49b471e8 Mon Sep 17 00:00:00 2001 +From 0d2a5c1d7e8de1591bdb70114cd2a267f6e5e1f4 Mon Sep 17 00:00:00 2001 From: Priyanka Jain Date: Thu, 17 May 2012 09:35:11 +0530 -Subject: [PATCH 265/286] net,RT:REmove preemption disabling in netif_rx() +Subject: [PATCH 265/287] net,RT:REmove preemption disabling in netif_rx() 1)enqueue_to_backlog() (called from netif_rx) should be bind to a particluar CPU. This can be achieved by diff --git a/debian/patches/features/all/rt/0266-mips-remove-smp-reserve-lock.patch.patch b/debian/patches/features/all/rt/0266-mips-remove-smp-reserve-lock.patch.patch index 46851a953..f5e654f74 100644 --- a/debian/patches/features/all/rt/0266-mips-remove-smp-reserve-lock.patch.patch +++ b/debian/patches/features/all/rt/0266-mips-remove-smp-reserve-lock.patch.patch @@ -1,7 +1,7 @@ -From 554923b3a0433c787d7488fa08da7d14d6329101 Mon Sep 17 00:00:00 2001 +From f7e37d2c23fd6aa10f4203fa3ba46d77932f692a Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 22 May 2012 21:15:10 +0200 -Subject: [PATCH 266/286] mips-remove-smp-reserve-lock.patch +Subject: [PATCH 266/287] mips-remove-smp-reserve-lock.patch Instead of making the lock raw, remove it as it protects nothing. diff --git a/debian/patches/features/all/rt/0267-Latency-histogramms-Cope-with-backwards-running-loca.patch b/debian/patches/features/all/rt/0267-Latency-histogramms-Cope-with-backwards-running-loca.patch index 5b3896e77..8d35e792b 100644 --- a/debian/patches/features/all/rt/0267-Latency-histogramms-Cope-with-backwards-running-loca.patch +++ b/debian/patches/features/all/rt/0267-Latency-histogramms-Cope-with-backwards-running-loca.patch @@ -1,7 +1,7 @@ -From 3936b6b99f96c6d667c9ae15b5ea4fc574168f41 Mon Sep 17 00:00:00 2001 +From 784ea91bc8c51d1cce1d946ca10143743bcf77e7 Mon Sep 17 00:00:00 2001 From: Carsten Emde Date: Wed, 11 Jul 2012 22:05:17 +0000 -Subject: [PATCH 267/286] Latency histogramms: Cope with backwards running +Subject: [PATCH 267/287] Latency histogramms: Cope with backwards running local trace clock Thanks to the wonders of modern technology, the local trace clock can diff --git a/debian/patches/features/all/rt/0268-Latency-histograms-Adjust-timer-if-already-elapsed-w.patch b/debian/patches/features/all/rt/0268-Latency-histograms-Adjust-timer-if-already-elapsed-w.patch index 3953d754c..3eaffa16c 100644 --- a/debian/patches/features/all/rt/0268-Latency-histograms-Adjust-timer-if-already-elapsed-w.patch +++ b/debian/patches/features/all/rt/0268-Latency-histograms-Adjust-timer-if-already-elapsed-w.patch @@ -1,7 +1,7 @@ -From fab19d98f8b230904f5014fc6f3a1cfb0d906364 Mon Sep 17 00:00:00 2001 +From 596bfc07b6d514cf85ca4136153b53dca8fa445f Mon Sep 17 00:00:00 2001 From: Carsten Emde Date: Wed, 11 Jul 2012 22:05:18 +0000 -Subject: [PATCH 268/286] Latency histograms: Adjust timer, if already elapsed +Subject: [PATCH 268/287] Latency histograms: Adjust timer, if already elapsed when programmed Nothing prevents a programmer from calling clock_nanosleep() with an diff --git a/debian/patches/features/all/rt/0269-Disable-RT_GROUP_SCHED-in-PREEMPT_RT_FULL.patch b/debian/patches/features/all/rt/0269-Disable-RT_GROUP_SCHED-in-PREEMPT_RT_FULL.patch index 558c1fa01..e46934f1b 100644 --- a/debian/patches/features/all/rt/0269-Disable-RT_GROUP_SCHED-in-PREEMPT_RT_FULL.patch +++ b/debian/patches/features/all/rt/0269-Disable-RT_GROUP_SCHED-in-PREEMPT_RT_FULL.patch @@ -1,7 +1,7 @@ -From e812ef1adc960c2ac62adad1f7097a0bf5c783f5 Mon Sep 17 00:00:00 2001 +From 9bb7e9dca5ddc7c7f2b33325c1867d915c7c4e70 Mon Sep 17 00:00:00 2001 From: Carsten Emde Date: Wed, 11 Jul 2012 22:05:18 +0000 -Subject: [PATCH 269/286] Disable RT_GROUP_SCHED in PREEMPT_RT_FULL +Subject: [PATCH 269/287] Disable RT_GROUP_SCHED in PREEMPT_RT_FULL Strange CPU stalls have been observed in RT when RT_GROUP_SCHED was configured. diff --git a/debian/patches/features/all/rt/0270-Latency-histograms-Detect-another-yet-overlooked-sha.patch b/debian/patches/features/all/rt/0270-Latency-histograms-Detect-another-yet-overlooked-sha.patch index 7406d0ab3..696cab790 100644 --- a/debian/patches/features/all/rt/0270-Latency-histograms-Detect-another-yet-overlooked-sha.patch +++ b/debian/patches/features/all/rt/0270-Latency-histograms-Detect-another-yet-overlooked-sha.patch @@ -1,7 +1,7 @@ -From 7d69a705a0db00f1da47e660c3d2f06ceb9c315a Mon Sep 17 00:00:00 2001 +From 7a54bf3e61e0f9250af3bb67292540cc951e28aa Mon Sep 17 00:00:00 2001 From: Carsten Emde Date: Wed, 11 Jul 2012 22:05:19 +0000 -Subject: [PATCH 270/286] Latency histograms: Detect another yet overlooked +Subject: [PATCH 270/287] Latency histograms: Detect another yet overlooked sharedprio condition While waiting for an RT process to be woken up, the previous process may diff --git a/debian/patches/features/all/rt/0271-slab-Prevent-local-lock-deadlock.patch b/debian/patches/features/all/rt/0271-slab-Prevent-local-lock-deadlock.patch index 65bd34300..f4f8964dd 100644 --- a/debian/patches/features/all/rt/0271-slab-Prevent-local-lock-deadlock.patch +++ b/debian/patches/features/all/rt/0271-slab-Prevent-local-lock-deadlock.patch @@ -1,7 +1,7 @@ -From db0c6c9b51c4df765197b9c323a6fdb94aa62411 Mon Sep 17 00:00:00 2001 +From 83c10b873e0d155dfa278e2f08e217a6b4fd8ac2 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 11 Jul 2012 22:05:19 +0000 -Subject: [PATCH 271/286] slab: Prevent local lock deadlock +Subject: [PATCH 271/287] slab: Prevent local lock deadlock On RT we avoid the cross cpu function calls and take the per cpu local locks instead. Now the code missed that taking the local lock on the @@ -17,7 +17,7 @@ Signed-off-by: Steven Rostedt 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/mm/slab.c b/mm/slab.c -index 74d2dd7..411c545 100644 +index 59b7e8c..7b2d343 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -739,8 +739,26 @@ slab_on_each_cpu(void (*func)(void *arg, int this_cpu), void *arg) @@ -47,7 +47,7 @@ index 74d2dd7..411c545 100644 } #endif -@@ -2627,10 +2645,10 @@ static void do_drain(void *arg, int cpu) +@@ -2630,10 +2648,10 @@ static void do_drain(void *arg, int cpu) { LIST_HEAD(tmp); @@ -60,7 +60,7 @@ index 74d2dd7..411c545 100644 free_delayed(&tmp); } #endif -@@ -4098,9 +4116,9 @@ static void do_ccupdate_local(void *info) +@@ -4101,9 +4119,9 @@ static void do_ccupdate_local(void *info) #else static void do_ccupdate_local(void *info, int cpu) { diff --git a/debian/patches/features/all/rt/0272-fs-jbd-pull-your-plug-when-waiting-for-space.patch b/debian/patches/features/all/rt/0272-fs-jbd-pull-your-plug-when-waiting-for-space.patch index a808d6e9b..ebdb52645 100644 --- a/debian/patches/features/all/rt/0272-fs-jbd-pull-your-plug-when-waiting-for-space.patch +++ b/debian/patches/features/all/rt/0272-fs-jbd-pull-your-plug-when-waiting-for-space.patch @@ -1,7 +1,7 @@ -From 3aa4eebf08147fd75d5dd0a8786abfa38233b82b Mon Sep 17 00:00:00 2001 +From 927ff414a6b86cd18512649d58d4aa92475c0eb6 Mon Sep 17 00:00:00 2001 From: Mike Galbraith Date: Wed, 11 Jul 2012 22:05:20 +0000 -Subject: [PATCH 272/286] fs, jbd: pull your plug when waiting for space +Subject: [PATCH 272/287] fs, jbd: pull your plug when waiting for space With an -rt kernel, and a heavy sync IO load, tasks can jam up on journal locks without unplugging, which can lead to diff --git a/debian/patches/features/all/rt/0273-perf-Make-swevent-hrtimer-run-in-irq-instead-of-soft.patch b/debian/patches/features/all/rt/0273-perf-Make-swevent-hrtimer-run-in-irq-instead-of-soft.patch index 7f7960693..43397f969 100644 --- a/debian/patches/features/all/rt/0273-perf-Make-swevent-hrtimer-run-in-irq-instead-of-soft.patch +++ b/debian/patches/features/all/rt/0273-perf-Make-swevent-hrtimer-run-in-irq-instead-of-soft.patch @@ -1,7 +1,7 @@ -From c300f6eec53fc60454fe86e375f34e284ad2f8e8 Mon Sep 17 00:00:00 2001 +From 9914cf8b37c279166b1b7ee313b1c08d32979103 Mon Sep 17 00:00:00 2001 From: Yong Zhang Date: Wed, 11 Jul 2012 22:05:21 +0000 -Subject: [PATCH 273/286] perf: Make swevent hrtimer run in irq instead of +Subject: [PATCH 273/287] perf: Make swevent hrtimer run in irq instead of softirq Otherwise we get a deadlock like below: diff --git a/debian/patches/features/all/rt/0274-cpu-rt-Rework-cpu-down-for-PREEMPT_RT.patch b/debian/patches/features/all/rt/0274-cpu-rt-Rework-cpu-down-for-PREEMPT_RT.patch index 6ae04f247..4bbe8f195 100644 --- a/debian/patches/features/all/rt/0274-cpu-rt-Rework-cpu-down-for-PREEMPT_RT.patch +++ b/debian/patches/features/all/rt/0274-cpu-rt-Rework-cpu-down-for-PREEMPT_RT.patch @@ -1,7 +1,7 @@ -From a3ac333f23f5a7c887d40543b662a0d3125c9b67 Mon Sep 17 00:00:00 2001 +From f029edd2e56bc9adedf61acf7f33e34c97693d9b Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Mon, 16 Jul 2012 08:07:43 +0000 -Subject: [PATCH 274/286] cpu/rt: Rework cpu down for PREEMPT_RT +Subject: [PATCH 274/287] cpu/rt: Rework cpu down for PREEMPT_RT Bringing a CPU down is a pain with the PREEMPT_RT kernel because tasks can be preempted in many more places than in non-RT. In diff --git a/debian/patches/features/all/rt/0275-cpu-rt-Fix-cpu_hotplug-variable-initialization.patch b/debian/patches/features/all/rt/0275-cpu-rt-Fix-cpu_hotplug-variable-initialization.patch index 66c397a7b..b6b34b32b 100644 --- a/debian/patches/features/all/rt/0275-cpu-rt-Fix-cpu_hotplug-variable-initialization.patch +++ b/debian/patches/features/all/rt/0275-cpu-rt-Fix-cpu_hotplug-variable-initialization.patch @@ -1,7 +1,7 @@ -From 17d7e91de6885677c1ef8d9102773aee2b19cb5f Mon Sep 17 00:00:00 2001 +From 6796047e3ae433fe2ea2dcc2738af99f7775e579 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Tue, 17 Jul 2012 10:45:59 -0400 -Subject: [PATCH 275/286] cpu/rt: Fix cpu_hotplug variable initialization +Subject: [PATCH 275/287] cpu/rt: Fix cpu_hotplug variable initialization The commit "cpu/rt: Rework cpu down for PREEMPT_RT" changed the double meaning of the cpu_hotplug.lock, where it was a spinlock for RT and a diff --git a/debian/patches/features/all/rt/0276-time-rt-Fix-up-leap-second-backport-for-RT-changes.patch b/debian/patches/features/all/rt/0276-time-rt-Fix-up-leap-second-backport-for-RT-changes.patch index 01cd82d51..3e745e2bc 100644 --- a/debian/patches/features/all/rt/0276-time-rt-Fix-up-leap-second-backport-for-RT-changes.patch +++ b/debian/patches/features/all/rt/0276-time-rt-Fix-up-leap-second-backport-for-RT-changes.patch @@ -1,7 +1,7 @@ -From 45fa31684a25c2ad4d65523c3c25f4c2f2fa452b Mon Sep 17 00:00:00 2001 +From fe71f38c6e0adc9651f15b600e5993e1dacf853f Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Thu, 2 Aug 2012 18:56:52 -0400 -Subject: [PATCH 276/286] time/rt: Fix up leap-second backport for RT changes +Subject: [PATCH 276/287] time/rt: Fix up leap-second backport for RT changes The leap-second backport broke RT, and a few changes had to be done. diff --git a/debian/patches/features/all/rt/0277-fix-printk-flush-of-messages.patch b/debian/patches/features/all/rt/0277-fix-printk-flush-of-messages.patch index b7cc5e169..46ffb226a 100644 --- a/debian/patches/features/all/rt/0277-fix-printk-flush-of-messages.patch +++ b/debian/patches/features/all/rt/0277-fix-printk-flush-of-messages.patch @@ -1,7 +1,7 @@ -From 848000452ab2a740c410c4922805a9dad94a1653 Mon Sep 17 00:00:00 2001 +From 2a77dcb59b3fe49c2598375adc2fafe447b986fc Mon Sep 17 00:00:00 2001 From: Frank Rowand Date: Wed, 16 May 2012 18:09:36 -0700 -Subject: [PATCH 277/286] fix printk flush of messages +Subject: [PATCH 277/287] fix printk flush of messages Updates console-make-rt-friendly.patch diff --git a/debian/patches/features/all/rt/0278-fix-printk-flush-of-messages.patch b/debian/patches/features/all/rt/0278-fix-printk-flush-of-messages.patch index 2034a2d3c..aa0670d3f 100644 --- a/debian/patches/features/all/rt/0278-fix-printk-flush-of-messages.patch +++ b/debian/patches/features/all/rt/0278-fix-printk-flush-of-messages.patch @@ -1,7 +1,7 @@ -From dd306a3335ed17934dca455126190fca39b4203a Mon Sep 17 00:00:00 2001 +From f0256598d049bd1e49255afa4563e62366387f4a Mon Sep 17 00:00:00 2001 From: Frank Rowand Date: Wed, 16 May 2012 18:05:53 -0700 -Subject: [PATCH 278/286] fix printk flush of messages +Subject: [PATCH 278/287] fix printk flush of messages Reverse preempt-rt-allow-immediate-magic-sysrq-output-for-preempt_rt_full.patch diff --git a/debian/patches/features/all/rt/0279-random-Make-it-work-on-rt.patch b/debian/patches/features/all/rt/0279-random-Make-it-work-on-rt.patch index 85a104f4d..2b74cd35c 100644 --- a/debian/patches/features/all/rt/0279-random-Make-it-work-on-rt.patch +++ b/debian/patches/features/all/rt/0279-random-Make-it-work-on-rt.patch @@ -1,7 +1,7 @@ -From 3c8b9146bd9a91ea0893ed1198c9a0a2ee168f3c Mon Sep 17 00:00:00 2001 +From 48341cd4a27a0b73195ce7fbae0ff61116ced1be Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Tue, 21 Aug 2012 20:38:50 +0200 -Subject: [PATCH 279/286] random: Make it work on rt +Subject: [PATCH 279/287] random: Make it work on rt Delegate the random insertion to the forced threaded interrupt handler. Store the return IP of the hard interrupt handler in the irq diff --git a/debian/patches/features/all/rt/0280-softirq-Init-softirq-local-lock-after-per-cpu-sectio.patch b/debian/patches/features/all/rt/0280-softirq-Init-softirq-local-lock-after-per-cpu-sectio.patch index 4d21804bf..6c5e4efea 100644 --- a/debian/patches/features/all/rt/0280-softirq-Init-softirq-local-lock-after-per-cpu-sectio.patch +++ b/debian/patches/features/all/rt/0280-softirq-Init-softirq-local-lock-after-per-cpu-sectio.patch @@ -1,7 +1,7 @@ -From e45ce69cc0845336f408b24d75064c775cfac3ed Mon Sep 17 00:00:00 2001 +From fd5702c8b3138449acdaf915dce98e38f8c59ced Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Thu, 4 Oct 2012 11:02:04 -0400 -Subject: [PATCH 280/286] softirq: Init softirq local lock after per cpu +Subject: [PATCH 280/287] softirq: Init softirq local lock after per cpu section is set up I discovered this bug when booting 3.4-rt on my powerpc box. It crashed diff --git a/debian/patches/features/all/rt/0281-mm-slab-Fix-potential-deadlock.patch b/debian/patches/features/all/rt/0281-mm-slab-Fix-potential-deadlock.patch index 97ffbe503..64dc47d5f 100644 --- a/debian/patches/features/all/rt/0281-mm-slab-Fix-potential-deadlock.patch +++ b/debian/patches/features/all/rt/0281-mm-slab-Fix-potential-deadlock.patch @@ -1,7 +1,7 @@ -From ff5a750f8dff1a5b68901ff45977b79459fe46d4 Mon Sep 17 00:00:00 2001 +From 040985c9ea3c05cfcf13eebe4dec93aa7dc3cdf5 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 26 Sep 2012 16:20:00 +0200 -Subject: [PATCH 281/286] mm: slab: Fix potential deadlock +Subject: [PATCH 281/287] mm: slab: Fix potential deadlock ============================================= [ INFO: possible recursive locking detected ] @@ -98,7 +98,7 @@ index 8fbc393..0161fbb 100644 { if (lv->owner != current) { diff --git a/mm/slab.c b/mm/slab.c -index 411c545..6a8fd1b 100644 +index 7b2d343..81d3481 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -747,18 +747,12 @@ slab_on_each_cpu(void (*func)(void *arg, int this_cpu), void *arg) diff --git a/debian/patches/features/all/rt/0282-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch b/debian/patches/features/all/rt/0282-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch index 91f38e0c4..841a57d2b 100644 --- a/debian/patches/features/all/rt/0282-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch +++ b/debian/patches/features/all/rt/0282-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch @@ -1,7 +1,7 @@ -From d77191038bc457805ce015e6f690644c76f850fe Mon Sep 17 00:00:00 2001 +From 667218a8d4eee4b000a06788a63e6ced192edc56 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 27 Sep 2012 11:11:46 +0200 -Subject: [PATCH 282/286] mm: page_alloc: Use local_lock_on() instead of plain +Subject: [PATCH 282/287] mm: page_alloc: Use local_lock_on() instead of plain spinlock The plain spinlock while sufficient does not update the local_lock diff --git a/debian/patches/features/all/rt/0283-rt-rwsem-rwlock-lockdep-annotations.patch b/debian/patches/features/all/rt/0283-rt-rwsem-rwlock-lockdep-annotations.patch index 13fd8f755..4bfe31df1 100644 --- a/debian/patches/features/all/rt/0283-rt-rwsem-rwlock-lockdep-annotations.patch +++ b/debian/patches/features/all/rt/0283-rt-rwsem-rwlock-lockdep-annotations.patch @@ -1,7 +1,7 @@ -From 46bfd6b487b86b1e11e00d428fd8e715ae3ec07f Mon Sep 17 00:00:00 2001 +From 6ae7fdd1f609dc3938e50ffe7976534f31f3ee9d Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 28 Sep 2012 10:49:42 +0100 -Subject: [PATCH 283/286] rt: rwsem/rwlock: lockdep annotations +Subject: [PATCH 283/287] rt: rwsem/rwlock: lockdep annotations rwlocks and rwsems on RT do not allow multiple readers. Annotate the lockdep acquire functions accordingly. diff --git a/debian/patches/features/all/rt/0284-sched-Better-debug-output-for-might-sleep.patch b/debian/patches/features/all/rt/0284-sched-Better-debug-output-for-might-sleep.patch index cbb30c059..9753b60af 100644 --- a/debian/patches/features/all/rt/0284-sched-Better-debug-output-for-might-sleep.patch +++ b/debian/patches/features/all/rt/0284-sched-Better-debug-output-for-might-sleep.patch @@ -1,7 +1,7 @@ -From cd0e8e94012ee7b92113739798fb57e7312bae5c Mon Sep 17 00:00:00 2001 +From a28f24a3217482ed429326b2a15cf95f1e3f7a6b Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 5 Oct 2012 08:56:15 +0100 -Subject: [PATCH 284/286] sched: Better debug output for might sleep +Subject: [PATCH 284/287] sched: Better debug output for might sleep might sleep can tell us where interrupts have been disabled, but we have no idea what disabled preemption. Add some debug infrastructure. diff --git a/debian/patches/features/all/rt/0285-stomp_machine-Use-mutex_trylock-when-called-from-ina.patch b/debian/patches/features/all/rt/0285-stomp_machine-Use-mutex_trylock-when-called-from-ina.patch index 1010c2599..1e27d6ccb 100644 --- a/debian/patches/features/all/rt/0285-stomp_machine-Use-mutex_trylock-when-called-from-ina.patch +++ b/debian/patches/features/all/rt/0285-stomp_machine-Use-mutex_trylock-when-called-from-ina.patch @@ -1,7 +1,7 @@ -From 69b3877cf017dbd770fc5aa21e50efce62899d20 Mon Sep 17 00:00:00 2001 +From b26582e21c43621814aaef6423036c4ae7725162 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 3 Oct 2012 17:21:53 +0100 -Subject: [PATCH 285/286] stomp_machine: Use mutex_trylock when called from +Subject: [PATCH 285/287] stomp_machine: Use mutex_trylock when called from inactive cpu If the stop machinery is called from inactive CPU we cannot use diff --git a/debian/patches/features/all/rt/0286-slab-Fix-up-stable-merge-of-slab-init_lock_keys.patch b/debian/patches/features/all/rt/0286-slab-Fix-up-stable-merge-of-slab-init_lock_keys.patch new file mode 100644 index 000000000..44c76aba6 --- /dev/null +++ b/debian/patches/features/all/rt/0286-slab-Fix-up-stable-merge-of-slab-init_lock_keys.patch @@ -0,0 +1,36 @@ +From d52c71af7f8e2df934e6492edd7b56c38465ee26 Mon Sep 17 00:00:00 2001 +From: Steven Rostedt +Date: Tue, 16 Oct 2012 17:00:19 -0400 +Subject: [PATCH 286/287] slab: Fix up stable merge of slab init_lock_keys() + +There was a stable fix that moved the init_lock_keys() to after +the enable_cpucache(). But -rt changed this function to +init_cachep_lock_keys(). This moves the init afterwards to +match the stable fix. + +Signed-off-by: Steven Rostedt +--- + mm/slab.c | 5 +---- + 1 file changed, 1 insertion(+), 4 deletions(-) + +diff --git a/mm/slab.c b/mm/slab.c +index 81d3481..fff347f 100644 +--- a/mm/slab.c ++++ b/mm/slab.c +@@ -1747,15 +1747,12 @@ void __init kmem_cache_init_late(void) + /* 6) resize the head arrays to their final sizes */ + mutex_lock(&cache_chain_mutex); + list_for_each_entry(cachep, &cache_chain, next) { +- init_cachep_lock_keys(cachep); + if (enable_cpucache(cachep, GFP_NOWAIT)) + BUG(); ++ init_cachep_lock_keys(cachep); + } + mutex_unlock(&cache_chain_mutex); + +- /* Annotate slab for lockdep -- annotate the malloc caches */ +- init_lock_keys(); +- + /* Done! */ + g_cpucache_up = FULL; + diff --git a/debian/patches/features/all/rt/0286-Linux-3.2.31-rt47-REBASE.patch b/debian/patches/features/all/rt/0287-Linux-3.2.32-rt48-REBASE.patch similarity index 64% rename from debian/patches/features/all/rt/0286-Linux-3.2.31-rt47-REBASE.patch rename to debian/patches/features/all/rt/0287-Linux-3.2.32-rt48-REBASE.patch index b897797c2..92331e74a 100644 --- a/debian/patches/features/all/rt/0286-Linux-3.2.31-rt47-REBASE.patch +++ b/debian/patches/features/all/rt/0287-Linux-3.2.32-rt48-REBASE.patch @@ -1,16 +1,16 @@ -From 7aefc5da2074b6de7f8ce298cfe5f206508711cb Mon Sep 17 00:00:00 2001 +From 0e157007347ba63f366d16fe31f49241bd2cfd26 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Tue, 16 Oct 2012 10:41:29 -0400 -Subject: [PATCH 286/286] Linux 3.2.31-rt47 REBASE +Subject: [PATCH 287/287] Linux 3.2.32-rt48 REBASE --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt -index b2111a2..8a777ac 100644 +index b2111a2..2470798 100644 --- a/localversion-rt +++ b/localversion-rt @@ -1 +1 @@ --rt24 -+-rt47 ++-rt48 diff --git a/debian/patches/features/all/rt/series b/debian/patches/features/all/rt/series index 74235bc02..5c5cdaf78 100644 --- a/debian/patches/features/all/rt/series +++ b/debian/patches/features/all/rt/series @@ -283,4 +283,5 @@ 0283-rt-rwsem-rwlock-lockdep-annotations.patch 0284-sched-Better-debug-output-for-might-sleep.patch 0285-stomp_machine-Use-mutex_trylock-when-called-from-ina.patch -0286-Linux-3.2.31-rt47-REBASE.patch +0286-slab-Fix-up-stable-merge-of-slab-init_lock_keys.patch +0287-Linux-3.2.32-rt48-REBASE.patch diff --git a/debian/patches/series-rt b/debian/patches/series-rt index ef6dcad88..a6586c86e 100644 --- a/debian/patches/series-rt +++ b/debian/patches/series-rt @@ -283,4 +283,5 @@ features/all/rt/0282-mm-page_alloc-Use-local_lock_on-instead-of-plain-spi.patch features/all/rt/0283-rt-rwsem-rwlock-lockdep-annotations.patch features/all/rt/0284-sched-Better-debug-output-for-might-sleep.patch features/all/rt/0285-stomp_machine-Use-mutex_trylock-when-called-from-ina.patch -features/all/rt/0286-Linux-3.2.31-rt47-REBASE.patch +features/all/rt/0286-slab-Fix-up-stable-merge-of-slab-init_lock_keys.patch +features/all/rt/0287-Linux-3.2.32-rt48-REBASE.patch