3.0.25-rt44-rc1
PATCH 1/2 Revert "kprobes: adjust "fix a memory leak in function pre_handler_kretprobe()""
In reply to Steven RostedtFrom: Steven Rostedt <[email protected]>
This reverts commit b8a0040ef7112439ad2efac6f1a79aa842b5924f.
As pointed out by John Kacur, the patch breaks 3.0-rt.
Because rt pulls in 7b8d0e5, the above fix which comes from v3.0.24 should not be applied. kretprobe is a raw_spinlock_t for real-time.
Before the revert we get the following compile errors
kernel/kprobes.c:1664: warning: passing argument 1 of 'rt_spin_lock' from incompatible pointer type kernel/kprobes.c:1666: warning: passing argument 1 of 'rt_spin_unlock' from incompatible pointer type
--- kernel/kprobes.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
kernel/kprobes.c +2 -2
@@ -1661,9 +1661,9 @@ static int __kprobes pre_handler_kretprobe(struct kprobe *p, ri->task = current;if (rp->entry_handler && rp->entry_handler (ri, regs)) { -spin_lock_irqsave (&rp->lock, flags); +raw_spin_lock_irqsave (&rp->lock, flags);hlist_add_head (&ri->hlist, &rp->free_instances); -spin_unlock_irqrestore (&rp->lock, flags); +raw_spin_unlock_irqrestore (&rp->lock, flags);return 0 ; }
Signature · 1 line
1.7.8.3
cover 3.0.25-rt44-rc1
Dear RT Folks,
This is the RT stable review cycle of patch 3.0.25-rt44-rc1.
Please scream at me if I messed something up. Please test the patches too.
The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release candidate).
The pre-releases will not be pushed to the git repository, only the final release is.
If all goes well, this patch will be converted to the next main release on 3/23/2012.
Enjoy,
-- Steve
To build 3.0.25-rt44-rc1 directly, the following patches should be applied:
http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.0.tar.xz
http://www.kernel.org/pub/linux/kernel/v3.0/patch-3.0.25.xz
http://www.kernel.org/pub/linux/kernel/projects/rt/3.0/patch-3.0.25-rt44-rc1.patch.xz
You can also build from 3.0.25-rt43 by applying the incremental patch:
http://www.kernel.org/pub/linux/kernel/projects/rt/3.0/incr/patch-3.0.25-rt43-rt44-rc1.patch.xz
Changes from 3.0.25-rt43:
---
Steven Rostedt (2):
Revert "kprobes: adjust "fix a memory leak in function pre_handler_kretprobe()"" Linux 3.0.25-rt44-rc1
----
kernel/kprobes.c | 4 ++-- localversion-rt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
PATCH 2/2 Linux 3.0.25-rt44-rc1
From: Steven Rostedt <[email protected]>
--- localversion-rt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
localversion-rt +1 -1
@@ -1 +1 @@ --rt43 +-rt44-rc1
Signature · 1 line
1.7.8.3