linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RT 0/2] [ANNOUNCE] 3.0.25-rt44-rc1
@ 2012-03-21 20:12 Steven Rostedt
  2012-03-21 20:12 ` [PATCH RT 1/2] Revert "kprobes: adjust "fix a memory leak in function pre_handler_kretprobe()"" Steven Rostedt
  2012-03-21 20:12 ` [PATCH RT 2/2] Linux 3.0.25-rt44-rc1 Steven Rostedt
  0 siblings, 2 replies; 3+ messages in thread
From: Steven Rostedt @ 2012-03-21 20:12 UTC (permalink / raw)
  To: linux-kernel, linux-rt-users; +Cc: Thomas Gleixner, Carsten Emde, John Kacur


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(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH RT 1/2] Revert "kprobes: adjust "fix a memory leak in function pre_handler_kretprobe()""
  2012-03-21 20:12 [PATCH RT 0/2] [ANNOUNCE] 3.0.25-rt44-rc1 Steven Rostedt
@ 2012-03-21 20:12 ` Steven Rostedt
  2012-03-21 20:12 ` [PATCH RT 2/2] Linux 3.0.25-rt44-rc1 Steven Rostedt
  1 sibling, 0 replies; 3+ messages in thread
From: Steven Rostedt @ 2012-03-21 20:12 UTC (permalink / raw)
  To: linux-kernel, linux-rt-users; +Cc: Thomas Gleixner, Carsten Emde, John Kacur

[-- Attachment #1: 0001-Revert-kprobes-adjust-fix-a-memory-leak-in-function-.patch --]
[-- Type: text/plain, Size: 1303 bytes --]

From: Steven Rostedt <srostedt@redhat.com>

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

Signed-off-by: John Kacur <jkacur@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
---
 kernel/kprobes.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/kprobes.c b/kernel/kprobes.c
index a7dcf06..9cdbf26 100644
--- a/kernel/kprobes.c
+++ b/kernel/kprobes.c
@@ -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;
 		}
 
-- 
1.7.8.3



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH RT 2/2] Linux 3.0.25-rt44-rc1
  2012-03-21 20:12 [PATCH RT 0/2] [ANNOUNCE] 3.0.25-rt44-rc1 Steven Rostedt
  2012-03-21 20:12 ` [PATCH RT 1/2] Revert "kprobes: adjust "fix a memory leak in function pre_handler_kretprobe()"" Steven Rostedt
@ 2012-03-21 20:12 ` Steven Rostedt
  1 sibling, 0 replies; 3+ messages in thread
From: Steven Rostedt @ 2012-03-21 20:12 UTC (permalink / raw)
  To: linux-kernel, linux-rt-users; +Cc: Thomas Gleixner, Carsten Emde, John Kacur

[-- Attachment #1: 0002-Linux-3.0.25-rt44-rc1.patch --]
[-- Type: text/plain, Size: 291 bytes --]

From: Steven Rostedt <srostedt@redhat.com>

---
 localversion-rt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/localversion-rt b/localversion-rt
index 41f7b99..b085f9e 100644
--- a/localversion-rt
+++ b/localversion-rt
@@ -1 +1 @@
--rt43
+-rt44-rc1
-- 
1.7.8.3



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-21 20:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-21 20:12 [PATCH RT 0/2] [ANNOUNCE] 3.0.25-rt44-rc1 Steven Rostedt
2012-03-21 20:12 ` [PATCH RT 1/2] Revert "kprobes: adjust "fix a memory leak in function pre_handler_kretprobe()"" Steven Rostedt
2012-03-21 20:12 ` [PATCH RT 2/2] Linux 3.0.25-rt44-rc1 Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).