~ubuntu-branches/debian/wheezy/linux-2.6/wheezy

« back to all changes in this revision

Viewing changes to debian/patches/features/all/rt/futex-requeue-pi-fix.patch

  • Committer: Package Import Robot
  • Author(s): Ben Hutchings, Bastian Blank, Ben Hutchings, Uwe Kleine-König
  • Date: 2012-03-04 15:32:20 UTC
  • mfrom: (43.1.29 sid)
  • Revision ID: package-import@ubuntu.com-20120304153220-r171jd27k3dd3639
Tags: 3.2.9-1
* New upstream stable update:
  http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.2.8
  - [i386] i387: move TS_USEDFPU flag from thread_info to task_struct
  - [x86] additional refactoring of FPU/SSE state save and restore
  http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.2.9
  - vfs: fix d_inode_lookup() dentry ref leak
  - target: Allow control CDBs with data > 1 page
  - epoll: introduce POLLFREE to flush ->signalfd_wqh before kfree()
  - epoll: ep_unregister_pollwait() can use the freed pwq->whead
  - epoll: limit paths (CVE-2011-1083)
  - cdrom: use copy_to_user() without the underscores

[ Bastian Blank ]
* [mips,mipsel] Also remove ext4 modules from installer.

[ Ben Hutchings ]
* Update debconf template translations:
  - Update Dutch (Willem Kuyn) (Closes: #658736)
  - Add Polish (Michał Kułach) (Closes: #658912)
* Bump ABI to 2
* fs: Introduce and enable security restrictions on links:
  - Do not follow symlinks in /tmp that are owned by other users
    (sysctl: fs.protected_symlinks)
  - Do not allow unprivileged users to create hard links to sensitive files
    (sysctl: fs.protected_hardlinks) (Closes: #609455)
    + This breaks the 'at' package in stable, which will be fixed shortly
      (see #597130)
  The precise restrictions are specified in Documentation/sysctl/fs.txt in
  the linux-doc-3.2 and linux-source-3.2 packages.
* iwlwifi: fix key removal (Closes: #651199)
* cgroups: Set CGROUP_PERF
* hid: Enable HID_HOLTEK, HID_PRIMAX, HID_SPEEDLINK, HID_WIIMOTE as modules,
  HID_ACRUX_FF
* media/rc: Enable RC_ATI_REMOTE as module
* gspca: Enable USB_GSPCA_TOPRO as module
* dvb-usb: Enable DVB_USB_PCTV452E, DVB_USB_MXL111SF as modules

[ Uwe Kleine-König ]
* [x86] Update rt featureset to 3.2.9-rt15

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
50
50
 
51
51
 
52
 
diff --git a/kernel/rtmutex.c b/kernel/rtmutex.c
53
 
index 991bc7f..9850dc0 100644
54
 
--- a/kernel/rtmutex.c
55
 
+++ b/kernel/rtmutex.c
56
 
@@ -75,7 +75,8 @@ static void fixup_rt_mutex_waiters(struct rt_mutex *lock)
 
52
---
 
53
 kernel/rtmutex.c        |   32 +++++++++++++++++++++++++++++++-
 
54
 kernel/rtmutex_common.h |    1 +
 
55
 2 files changed, 32 insertions(+), 1 deletion(-)
 
56
 
 
57
Index: linux-3.2/kernel/rtmutex.c
 
58
===================================================================
 
59
--- linux-3.2.orig/kernel/rtmutex.c
 
60
+++ linux-3.2/kernel/rtmutex.c
 
61
@@ -69,7 +69,8 @@ static void fixup_rt_mutex_waiters(struc
57
62
 
58
63
 static int rt_mutex_real_waiter(struct rt_mutex_waiter *waiter)
59
64
 {
63
68
 }
64
69
 
65
70
 /*
66
 
@@ -1353,6 +1354,35 @@ int rt_mutex_start_proxy_lock(struct rt_mutex *lock,
 
71
@@ -1010,6 +1011,35 @@ int rt_mutex_start_proxy_lock(struct rt_
67
72
                return 1;
68
73
        }
69
74
 
99
104
        ret = task_blocks_on_rt_mutex(lock, waiter, task, detect_deadlock);
100
105
 
101
106
        if (ret && !rt_mutex_owner(lock)) {
102
 
diff --git a/kernel/rtmutex_common.h b/kernel/rtmutex_common.h
103
 
index a688a29..6ec3dc1 100644
104
 
--- a/kernel/rtmutex_common.h
105
 
+++ b/kernel/rtmutex_common.h
106
 
@@ -105,6 +105,7 @@ static inline struct task_struct *rt_mutex_owner(struct rt_mutex *lock)
 
107
Index: linux-3.2/kernel/rtmutex_common.h
 
108
===================================================================
 
109
--- linux-3.2.orig/kernel/rtmutex_common.h
 
110
+++ linux-3.2/kernel/rtmutex_common.h
 
111
@@ -104,6 +104,7 @@ static inline struct task_struct *rt_mut
107
112
  * PI-futex support (proxy locking functions, etc.):
108
113
  */
109
114
 #define PI_WAKEUP_INPROGRESS   ((struct rt_mutex_waiter *) 1)
111
116
 
112
117
 extern struct task_struct *rt_mutex_next_owner(struct rt_mutex *lock);
113
118
 extern void rt_mutex_init_proxy_locked(struct rt_mutex *lock,
114
 
 
115
 
 
116