: trace_hardirqs_on_caller (retint_careful)
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Index: linux-2.6.21-rc6-rt0/arch/x86_64/lib/thunk.S
===
--- linux-2.6.21-rc6-rt0.orig/arch/x86_64/lib/thunk.S
+++ linux-2.6.21-rc6-rt0/arch/x86_64/lib/thunk.S
.
This patch adds the calls of trace_preempt_enter_idle and exit. Where
the preempt_enable will ignore interrupts disabled, and turn off/on
tracing.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Index: linux-2.6.21-rc6-rt0/arch/x86_64/kernel/process.c
On Tue, 2007-03-13 at 14:32 -0700, Linus Torvalds wrote:
On Tue, 13 Mar 2007, Steven Rostedt wrote:
Move kernel/acpi/processor.c to the common hold.
Please use
git diff -M
OK, thanks! I'm still quite a git-nubie.
I'll update all the move patches. It may take a bit of hand
On Tue, 2007-03-13 at 14:39 -0700, Linus Torvalds wrote:
On Tue, 13 Mar 2007, Steven Rostedt wrote:
What we have currently is a bunch of hacks. Seems that people can't make
up their mind to what to do.
I don't mind the patches, but I'd be a lot happier if it also was a stated
On Tue, 2007-03-13 at 14:45 -0700, Chris Wright wrote:
what about asm-x86/ dir? the asm/ symlink would still point to relevant
arch, but the file there could be simply #include asm-x86/file.h ?
Would it be acceptable to have an include/asm-x86/ dir with one file?
Of course it will open the
Create the arch/x86/kernel/cpu/cpufreq/Makefile and update the
i386 and x86_64 accordingly.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Cc: Glauber de Oliveira Costa [EMAIL PROTECTED]
Cc: Rusty Russell [EMAIL PROTECTED]
Cc: Chris Wright [EMAIL PROTECTED]
Cc: Andi Kleen [EMAIL PROTECTED]
Cc
Create the arch/x86/Makefile and modify the i386 and x86_64
Makefiles accordingly.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Cc: Glauber de Oliveira Costa [EMAIL PROTECTED]
Cc: Rusty Russell [EMAIL PROTECTED]
Cc: Chris Wright [EMAIL PROTECTED]
Cc: Andi Kleen [EMAIL PROTECTED]
Cc: Jeremy
Create the Makefile in the common hold and adjust the i386 and
x86_64 code accordingly.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Cc: Glauber de Oliveira Costa [EMAIL PROTECTED]
Cc: Rusty Russell [EMAIL PROTECTED]
Cc: Chris Wright [EMAIL PROTECTED]
Cc: Andi Kleen [EMAIL PROTECTED]
Cc
Create the Makefile in the common hold and adjust the i386 and
x86_64 code accordingly.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Cc: Glauber de Oliveira Costa [EMAIL PROTECTED]
Cc: Rusty Russell [EMAIL PROTECTED]
Cc: Chris Wright [EMAIL PROTECTED]
Cc: Andi Kleen [EMAIL PROTECTED]
Cc
[Hopefully fixed email client to make it to the list this time]
[This series has changed by using git-diff -M]
Recently I've been doing some work that will affect both the i386 and x86_64
architectures. So there will be common code for both, as well as code
that will be unique for the specific
Remove the C file with just the include that points to the
x86_64 early_printk.c file.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Cc: Glauber de Oliveira Costa [EMAIL PROTECTED]
Cc: Rusty Russell [EMAIL PROTECTED]
Cc: Chris Wright [EMAIL PROTECTED]
Cc: Andi Kleen [EMAIL PROTECTED]
Cc: Jeremy
that include this file will have the change to
locate it. So it's not just a straight copy.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Cc: Glauber de Oliveira Costa [EMAIL PROTECTED]
Cc: Rusty Russell [EMAIL PROTECTED]
Cc: Chris Wright [EMAIL PROTECTED]
Cc: Andi Kleen [EMAIL PROTECTED]
Cc
Create the arch/x86/kernel/Makefile and change the i386 and x86_64
Makefiles accordingly.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Cc: Glauber de Oliveira Costa [EMAIL PROTECTED]
Cc: Rusty Russell [EMAIL PROTECTED]
Cc: Chris Wright [EMAIL PROTECTED]
Cc: Andi Kleen [EMAIL PROTECTED]
Cc
Remove the C file with just the include that points to the
x86_64 tsc_sync.c file.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Cc: Glauber de Oliveira Costa [EMAIL PROTECTED]
Cc: Rusty Russell [EMAIL PROTECTED]
Cc: Chris Wright [EMAIL PROTECTED]
Cc: Andi Kleen [EMAIL PROTECTED]
Cc: Jeremy
Move kernel/cpu/cpufreq/speedstep-lib.c to the common hold.
Also has the slight change to reference speedstep-lib.h that is being moved
to include/asm-i386.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Cc: Glauber de Oliveira Costa [EMAIL PROTECTED]
Cc: Rusty Russell [EMAIL PROTECTED]
Cc
Move kernel/cpu/cpufreq/p4-clockmod.c to the common hold.
Also has the slight change to reference speedstep-lib.h that is being moved
to include/asm-i386.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Cc: Glauber de Oliveira Costa [EMAIL PROTECTED]
Cc: Rusty Russell [EMAIL PROTECTED]
Cc: Chris
Create the Makefile in the common hold and adjust the i386 and
x86_64 code accordingly.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Cc: Glauber de Oliveira Costa [EMAIL PROTECTED]
Cc: Rusty Russell [EMAIL PROTECTED]
Cc: Chris Wright [EMAIL PROTECTED]
Cc: Andi Kleen [EMAIL PROTECTED]
Cc
put the moving of the speedstep-lib.h file
in it's own file to allow for discussion on that, (ok Chris).
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Cc: Glauber de Oliveira Costa [EMAIL PROTECTED]
Cc: Rusty Russell [EMAIL PROTECTED]
Cc: Chris Wright [EMAIL PROTECTED]
Cc: Andi Kleen [EMAIL
Create a toplevel Kconfig for arch/x86 and update the i386
and x86_64 Kconfigs as well.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Cc: Glauber de Oliveira Costa [EMAIL PROTECTED]
Cc: Rusty Russell [EMAIL PROTECTED]
Cc: Chris Wright [EMAIL PROTECTED]
Cc: Andi Kleen [EMAIL PROTECTED]
Cc
Merge the oprofile configs.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Cc: Glauber de Oliveira Costa [EMAIL PROTECTED]
Cc: Rusty Russell [EMAIL PROTECTED]
Cc: Chris Wright [EMAIL PROTECTED]
Cc: Andi Kleen [EMAIL PROTECTED]
Cc: Jeremy Fitzhardinge [EMAIL PROTECTED]
diff --git a/arch/x86_64
Create the Makefile in the common hold and adjust the i386 and
x86_64 code accordingly.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Cc: Glauber de Oliveira Costa [EMAIL PROTECTED]
Cc: Rusty Russell [EMAIL PROTECTED]
Cc: Chris Wright [EMAIL PROTECTED]
Cc: Andi Kleen [EMAIL PROTECTED]
Cc
Create the Makefile in the common hold and adjust the i386 and
x86_64 code accordingly.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Cc: Glauber de Oliveira Costa [EMAIL PROTECTED]
Cc: Rusty Russell [EMAIL PROTECTED]
Cc: Chris Wright [EMAIL PROTECTED]
Cc: Andi Kleen [EMAIL PROTECTED]
Cc
Remove the C file with just the include that points to the
i386 msr-on-cpu.c file.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Cc: Glauber de Oliveira Costa [EMAIL PROTECTED]
Cc: Rusty Russell [EMAIL PROTECTED]
Cc: Chris Wright [EMAIL PROTECTED]
Cc: Andi Kleen [EMAIL PROTECTED]
Cc: Jeremy
Create the arch/x86/acpi/Makefile, and remove the associate stuff
from the i386 and x86_64.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Cc: Glauber de Oliveira Costa [EMAIL PROTECTED]
Cc: Rusty Russell [EMAIL PROTECTED]
Cc: Chris Wright [EMAIL PROTECTED]
Cc: Andi Kleen [EMAIL PROTECTED]
Cc
On Wed, 2007-03-14 at 11:36 +0100, Andi Kleen wrote:
Steven Rostedt [EMAIL PROTECTED] writes:
So I spent last night hacking up something to try to make a common ground
for all code that is shared between x86_64 and i386. I called this
arch/x86
NACK. I think the current ways
On Wed, 2007-03-14 at 13:53 +0100, Ingo Molnar wrote:
* Andi Kleen [EMAIL PROTECTED] wrote:
Steven Rostedt [EMAIL PROTECTED] writes:
So I spent last night hacking up something to try to make a common
ground for all code that is shared between x86_64 and i386. I
called
On Wed, 2007-03-14 at 14:05 +0100, Andi Kleen wrote:
The thing is others and I (and you) are working on getting paravirt_ops
working for x86_64. There's a lot of overlap between i386 and x86_64.
Right now the i386 is ahead of x86_64 and the code seems to be put more
in the arch/i386 arch.
On Wed, 2007-03-14 at 14:41 +0100, Ingo Molnar wrote:
hm. Do you have any numbers handy - what is the end-result of your
unification work, how many lines of code were unified, compared to the
total body of code in i386 and x86_64?
Well, I wasn't combining code that wasn't already combined
On Wed, 2007-03-14 at 08:44 -0700, Linus Torvalds wrote:
On Wed, 14 Mar 2007, Steven Rostedt wrote:
Here's a list of files that were moved from either i386 or x86_64 over
to the arch/x86 directory.
Well, this means that your patch series doesn't actually *compile* as a
series
On Wed, 2007-03-14 at 17:33 +0100, Jan Engelhardt wrote:
On Mar 14 2007 10:46, Steven Rostedt wrote:
symbolic links perhaps? In that case i'd also introduce a common naming
scheme: x86_early_printk.c - to make sure we know it right away that
those files are bi-arch.
Does the Linux
Move the alternative.c to the common area.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
diff --git a/arch/i386/kernel/Makefile b/arch/i386/kernel/Makefile
index 556da60..44c7d89 100644
--- a/arch/i386/kernel/Makefile
+++ b/arch/i386/kernel/Makefile
@@ -7,7 +7,7 @@ extra-y := head.o
Move the msr.c to the common area.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
diff --git a/arch/i386/kernel/Makefile b/arch/i386/kernel/Makefile
index 44c7d89..5276349 100644
--- a/arch/i386/kernel/Makefile
+++ b/arch/i386/kernel/Makefile
@@ -14,7 +14,6 @@ obj-y
Move the microcode.c to the common area.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
diff --git a/arch/i386/kernel/Makefile b/arch/i386/kernel/Makefile
index 4437181..ac925bc 100644
--- a/arch/i386/kernel/Makefile
+++ b/arch/i386/kernel/Makefile
@@ -14,7 +14,6 @@ obj-y
Move the bootflag.c to the common area.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
diff --git a/arch/i386/kernel/Makefile b/arch/i386/kernel/Makefile
index c8fe439..4622355 100644
--- a/arch/i386/kernel/Makefile
+++ b/arch/i386/kernel/Makefile
@@ -6,7 +6,7 @@ extra-y := head.o init_task.o
Move the early_printk.c to the common area.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
diff --git a/arch/i386/kernel/Makefile b/arch/i386/kernel/Makefile
index 4ae3dcf..a57040d 100644
--- a/arch/i386/kernel/Makefile
+++ b/arch/i386/kernel/Makefile
@@ -35,7 +35,6 @@ obj-$(CONFIG_ACPI_SRAT
Move the stacktrace.c to the common area.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
diff --git a/arch/i386/kernel/Makefile b/arch/i386/kernel/Makefile
index 72e11f7..a5cf2e7 100644
--- a/arch/i386/kernel/Makefile
+++ b/arch/i386/kernel/Makefile
@@ -9,7 +9,6 @@ obj-y := process.o signal.o
Move the quirks.c to the common area.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
diff --git a/arch/i386/kernel/Makefile b/arch/i386/kernel/Makefile
index 4622355..c5c62af 100644
--- a/arch/i386/kernel/Makefile
+++ b/arch/i386/kernel/Makefile
@@ -7,7 +7,7 @@ extra-y := head.o init_task.o
Moved the shared files that were in arch/i386/kernel/acpi to the common
area.
Note, there still exists files in both archs in acpi. Since there's code
there that is unique to the arch.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
diff --git a/arch/i386/kernel/acpi/Makefile b/arch/i386/kernel
Move the hugetlbpage.c to the common area.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
diff --git a/arch/i386/Makefile b/arch/i386/Makefile
index d73a830..06dd07e 100644
--- a/arch/i386/Makefile
+++ b/arch/i386/Makefile
@@ -102,6 +102,7 @@ libs-y +=
arch
Move the i8237.c to the common area.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
diff --git a/arch/i386/kernel/Makefile b/arch/i386/kernel/Makefile
index c5c62af..1052659 100644
--- a/arch/i386/kernel/Makefile
+++ b/arch/i386/kernel/Makefile
@@ -7,7 +7,7 @@ extra-y := head.o init_task.o
Move the topology.c to the common area.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
diff --git a/arch/i386/kernel/Makefile b/arch/i386/kernel/Makefile
index 1052659..556da60 100644
--- a/arch/i386/kernel/Makefile
+++ b/arch/i386/kernel/Makefile
@@ -7,7 +7,7 @@ extra-y := head.o init_task.o
Move the k8.c to the common area.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
diff --git a/arch/i386/kernel/Makefile b/arch/i386/kernel/Makefile
index ce1f742..72e11f7 100644
--- a/arch/i386/kernel/Makefile
+++ b/arch/i386/kernel/Makefile
@@ -33,7 +33,6 @@ obj-$(CONFIG_EFI
Move the cpuid.c to the common area.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
diff --git a/arch/i386/kernel/Makefile b/arch/i386/kernel/Makefile
index 5276349..4437181 100644
--- a/arch/i386/kernel/Makefile
+++ b/arch/i386/kernel/Makefile
@@ -14,7 +14,6 @@ obj-y
Move the pcspeaker.c to the common area.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
diff --git a/arch/i386/kernel/Makefile b/arch/i386/kernel/Makefile
index ac925bc..ce1f742 100644
--- a/arch/i386/kernel/Makefile
+++ b/arch/i386/kernel/Makefile
@@ -37,7 +37,6 @@ obj-$(CONFIG_K8_NB
Move the therm_throt.c to the common area.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
diff --git a/arch/i386/kernel/cpu/mcheck/Makefile
b/arch/i386/kernel/cpu/mcheck/Makefile
index f1ebe1c..30808f3 100644
--- a/arch/i386/kernel/cpu/mcheck/Makefile
+++ b/arch/i386/kernel/cpu/mcheck/Makefile
Move the intel_cacheinfo.c to the common area.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
diff --git a/arch/i386/kernel/cpu/Makefile b/arch/i386/kernel/cpu/Makefile
index f8eaef8..e484d74 100644
--- a/arch/i386/kernel/cpu/Makefile
+++ b/arch/i386/kernel/cpu/Makefile
@@ -8,7 +8,7 @@ obj-y
Move tsc_sync.c to the common area.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
diff --git a/arch/i386/kernel/Makefile b/arch/i386/kernel/Makefile
index a57040d..c8fe439 100644
--- a/arch/i386/kernel/Makefile
+++ b/arch/i386/kernel/Makefile
@@ -18,7 +18,7 @@ obj-$(CONFIG_X86_MSR
to simplify this patch.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Cc: Chris Wright [EMAIL PROTECTED]
diff --git a/arch/i386/kernel/cpu/cpufreq/Makefile
b/arch/i386/kernel/cpu/cpufreq/Makefile
index 560f776..49c4ca4 100644
--- a/arch/i386/kernel/cpu/cpufreq/Makefile
+++ b/arch/i386/kernel/cpu
Move the oprofile files from arch/i386/oprofile to the common area.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig
index 53d6237..137c063 100644
--- a/arch/i386/Kconfig
+++ b/arch/i386/Kconfig
@@ -1226,7 +1226,7 @@ source fs/Kconfig
menu
Once again here's an attempt to put the shared files of x86_64 and i386
into a separate directory.
This time, I took the pains to make sure that each patch in this
series compiles after it is applied. I did this on both x86_64 as well
as i386, with the affected files config options turned on.
I
Move the mtrr directory over to the common area.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
diff --git a/arch/i386/kernel/cpu/Makefile b/arch/i386/kernel/cpu/Makefile
index 010aecf..f8eaef8 100644
--- a/arch/i386/kernel/cpu/Makefile
+++ b/arch/i386/kernel/cpu/Makefile
@@ -15,5 +15,4 @@ obj
On Thu, 2007-03-15 at 02:36 -0400, Len Brown wrote:
On Thursday 15 March 2007 01:13, Steven Rostedt wrote:
Moved the shared files that were in arch/i386/kernel/acpi to the common
area.
When I do a make cscope on an i386 or an x86_64 box,
will it find these files in the common area
On Thu, 2007-03-15 at 17:06 +0100, Andi Kleen wrote:
Well I just see a lot of pain from these patches but I doubt
they will avoid any bugs. If people don't compile test both
archs they will always likely break on another. There are lots
of subtle dependencies that are not expressed in the
On Thu, 2007-03-15 at 12:47 -0400, Steven Rostedt wrote:
On Thu, 2007-03-15 at 17:06 +0100, Andi Kleen wrote:
Well I just see a lot of pain from these patches but I doubt
they will avoid any bugs. If people don't compile test both
archs they will always likely break on another
On Thu, 2007-03-15 at 18:01 +0100, Andi Kleen wrote:
Oops, sorry, you did say in the includes. Yeah, that holds the same
crap that I'm talking about.
It's a simple and obvious solution that does exactly what it is
supposed to do. Why do you call it crap?
Yes, it's a simple solution.
On Fri, 2007-03-16 at 11:39 -0700, Jeremy Fitzhardinge wrote:
Ingo Molnar wrote:
+ /* Make sure kernel address space is empty so that a pagetable
+ will be allocated for it. */
comment style.
As you've noticed its a comment style I use quite often. I use it for
[Content-Type: multipart/mixed; boundary==neXtPaRt_1171455051]
Please do not post to LKML (or to any Linux related site) in any other
format than plain text. That alone will get you ignored most of the
time.
On Wed, 2007-02-14 at 18:11 +0530, Alim Akhtar wrote:
hI all
I have applied
@@ -3,11 +3,42 @@
*
* Copyright (C) 2005 Thomas Gleixner, Ingo Molnar
*
+ * Resurrected by Steven Rostedt:
+ * - Slight code clean up.
+ * - Remove dependency on TSC (getnstimeofday is good enough)
+ *
* licensed under the GPL
*
* You need to have CONFIG_PARPORT disabled
On Fri, 16 Feb 2007, Siddha, Suresh B wrote:
Periodic load balancing in recent kernels happen in the softirq.
In certain -rt configurations, these softirqs are handled in softirqd
context. And hence the check for idle processor was always returning
busy (as nr_running 1).
This patch
== -1) or the
device should be ignored (fd = 0).
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Index: linux-2.6-lguest/Documentation/lguest/lguest.c
===
--- linux-2.6-lguest.orig/Documentation/lguest/lguest.c 2007-04-05
16:13
is in sysctl.c where preempt_max_latency can be modified. On
systems where cycle_t is greater than the size of int (x86_64) we only
write to the 4 LSB.
Here's the patch:
-- Steve
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Index: linux-2.6.21-rc5/kernel/sysctl.c
On Tue, 2007-03-27 at 21:15 +0200, Andreas Mohr wrote:
Maybe fix up all the other myriads of sysctl entries which use a rather
non-precise generic sizeof(int) as well?
Or doesn't that make sense?
No, it does make sense
Maybe this is because it's security relevant and you'd better make sure
or runtime switch to turn it off.
- Send to the launcher the dump instead of printk.
- make modules work too.
Also I need to change the %u of the bad read print to a %x, because
seeing 0x200227d2 is better than seeing 537012178 for addresses.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED
emulated instructions.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Index: linux-2.6.21-rc5-mm2/drivers/lguest/core.c
===
--- linux-2.6.21-rc5-mm2.orig/drivers/lguest/core.c
+++ linux-2.6.21-rc5-mm2/drivers/lguest/core.c
@@ -160,11
Currently the lguest32 error messages from bad reads and writes prints a
decimal integer for addresses. This is pretty annoying. So this patch
changes those to be hex outputs.
This is applied on top of my debug patch.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Index: linux-2.6.21-rc5-mm2
On Wed, 2007-04-04 at 23:06 -0400, Kyle Moffett wrote:
(Erk, I wonder what I was thinking when I wrote that?) Can I ask
for %#x (or 0x%x)? I'm easily confused.
How about %p for pointers?
But that would require casting the numbers to pointers.
-- Steve
-
To unsubscribe from this
On Thu, 2007-04-05 at 12:54 +1000, Rusty Russell wrote:
This is a cool idea, but there are two issues with this patch. The
first is that it's 500 lines of code: that's around +10% on lguest's
total code size! The second is that it conflicts with the medium-term
plan to allow any
On Thu, 2007-04-05 at 12:59 +1000, Rusty Russell wrote:
On Wed, 2007-04-04 at 15:07 -0400, Steven Rostedt wrote:
Yeah, I haven't tried loading random modules but I can imagine this does
happen (what module was it, BTW?)
I have no idea of which module it crashed on. I didn't investigate
On Sun, 6 Jan 2008, H. Peter Anvin wrote:
I thought we had dropped support for the non-REGPARM case, so why don't
we just make it work for REGPARM and be done with it?
I'm working on that ;-)
-- Steve
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a
Hi,
I've notice this hang on bootup every so often. Sometimes it hangs for a
second and sometimes it can hang for hours. Always at the same location.
This is a soft hang. That is, interrupts are still enabled, and I'm able
to perform a sysrq-t.
Here's the problem child:
Call Trace:
[c062cd67]
?
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
---
arch/x86/kernel/process_32.c | 36
arch/x86/kernel/process_64.c | 28
2 files changed, 56 insertions(+), 8 deletions(-)
Index: linus.git/arch/x86/kernel/process_32.c
. This is common on bootup when switching cpu idle
governors.
This patch gives those CPUS that don't check in an IPI kick.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
---
arch/x86/kernel/process_32.c | 11 +++
arch/x86/kernel/process_64.c | 11 +++
2 files changed, 22 insertions
On Wed, 2008-01-09 at 15:42 -0500, Steven Rostedt wrote:
This patch is different than the first patch I sent out.
This one just sends an IPI to all CPUS that don't check in after 1 sec.
Sometimes cpu_idle_wait gets stuck because it might miss CPUS that are
already in idle, have no tasks
--
[80251891] remove_wait_queue+0x45/0x4a
CPU 0: sshd:2605 [802a18b3] fput+0x9/0x1b -- [802ad7c6]
free_poll_entry+0x26/0x2a
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
---
lib/tracing/tracer.c |6 +-
lib/tracing/tracer.h |3 +++
2 files changed, 8 insertions(+), 1
Mark with notrace functions in core code that should not be
traced. The notrace attribute will prevent gcc from adding
a call to mcount on the annotated funtions.
Signed-off-by: Arnaldo Carvalho de Melo [EMAIL PROTECTED]
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
---
lib
For better cacheline performance, this patch creates a separate
struct for each CPU with the percpu data grouped together.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
---
lib/tracing/tracer.c | 42 +++---
lib/tracing/tracer.h | 12
2 files
that is supposed to be used
only in a debug kernel and that has to reduce to the bare minimum the per
function call overhead of mcount based tracing.
Signed-off-by: Arnaldo Carvalho de Melo [EMAIL PROTECTED]
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
---
lib/tracing/Kconfig| 12 +++
lib
to be registered.
[This code has been highly hacked by Steven Rostedt, so don't
blame Arnaldo for all of this ;-) ]
Signed-off-by: Arnaldo Carvalho de Melo [EMAIL PROTECTED]
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
---
Makefile |4 ++
arch/x86/Kconfig
should be changed and we should use that for this
patch).
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Acked-by: John Stultz [EMAIL PROTECTED]
---
include/linux/clocksource.h |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: linux-compile-i386.git/include/linux/clocksource.h
/0x22
CPU 0: sshd:2611 _spin_lock+0xe/0x7a -- __qdisc_run+0xba/0x1a1
CPU 1: swapper:0 atomic_notifier_call_chain+0x9/0x16 -- __exit_idle+0x2c/0x2e
CPU 1: swapper:0 __atomic_notifier_call_chain+0xe/0x56 --
atomic_notifier_call_chain+0x14/0x16
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
---
lib
Add notrace annotation to x86_64 specific files.
Signed-off-by: Arnaldo Carvalho de Melo [EMAIL PROTECTED]
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
---
arch/x86/kernel/head64.c |2 +-
arch/x86/kernel/setup64.c|4 ++--
arch/x86/kernel/smpboot_64.c |2 +-
3 files changed
Now that each entry has a reliable timestamp, we can
use the timestamp as the source of sorting the trace and
remove the atomic increment.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
---
lib/tracing/tracer.c |3 +--
lib/tracing/tracer.h |2 --
2 files changed, 1 insertion(+), 4
Handle accurate time even if there's a long delay between
accumulated clock cycles.
Signed-off-by: John Stultz [EMAIL PROTECTED]
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
---
arch/x86/kernel/vsyscall_64.c |5 ++-
include/asm-x86/vgtod.h |2 -
include/linux/clocksource.h
clocksource_jiffies, so
that any early user of clocksource_read will not crash.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
Acked-by: John Stultz [EMAIL PROTECTED]
---
include/linux/clocksource.h |3 +++
kernel/time/timekeeping.c |9 +++--
2 files changed, 10 insertions(+), 2
[f3675f48] 1595.135ms (+0.003ms):
_spin_lock+0x8/0x18 c0630690 (hrtimer_interrupt+0x6e/0x1b0 c0449c56)
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
---
lib/tracing/tracer.c | 454 +--
lib/tracing/tracer.h | 13 +
2 files changed, 414 insertions
The latency tracer needs a way to get an accurate time
without grabbing any locks. Locks themselves might call
the latency tracer and cause at best a slow down.
This patch adds get_monotonic_cycles that returns cycles
from a reliable clock source in a monotonic fashion.
Signed-off-by: Steven
PROTECTED]
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
---
arch/x86/kernel/nmi_32.c |2 +-
arch/x86/kernel/nmi_64.c |2 +-
arch/x86/kernel/traps_32.c |4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
Index: linux-compile-i386.git/arch/x86/kernel/nmi_32.c
This patch resets the trace when it is started by the user.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
---
lib/tracing/tracer.c | 14 ++
1 file changed, 14 insertions(+)
Index: linux-compile-i386.git/lib/tracing/tracer.c
Add timestamps to trace entries.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
---
lib/tracing/tracer.c | 16
lib/tracing/tracer.h |1 +
2 files changed, 17 insertions(+)
Index: linux-compile-i386.git/lib/tracing/tracer.c
Add the notrace annotations to some of the vsyscall functions.
Note: checkpatch errors on the define of vsyscall_fn because it thinks
that it is a complex macro that needs paranthesis. Unfortunately
we can't put paranthesis on this macro.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED
/0x56
CPU 1: [802161c8] mce_idle_callback+0x9/0x2f --
[804946b3] notifier_call_chain+0x38/0x60
This is in the format of the output when KALLSYMS is defined.
CPU CPU#: [IP] func -- [Parent-IP] parent-func
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
---
lib/tracing/tracer.c
This patch adds an interface into debugfs.
/debugfs/tracing/ctrl
echoing 1 into the ctrl file turns on the tracer,
and echoing 0 turns it off.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
---
lib/tracing/tracer.c | 87 ++-
lib/tracing
The current method of printing out the trace is on every
read, do a linear search for the next entry to print.
This patch remembers the next entry to look at in the
iterator, and if the next read is sequential, it can
start reading from the next location.
Signed-off-by: Steven Rostedt [EMAIL
Several different types of tracing needs to use the
same core functions. This patch separates the core
functions from more specific onecs to allow for
future tracing methods.
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
---
lib/tracing/Kconfig|6
lib/tracing/Makefile
1dNs3 102us : _spin_unlock_irqrestore+0x32/0x5f
(e1000_update_stats+0x641/0x64c [e1000])
swapper-0 1dNs3 102us : trace_hardirqs_on_caller+0x75/0x89
(_spin_unlock_irqrestore+0x32/0x5f)
vim:ft=help
===
Signed-off-by: Steven Rostedt [EMAIL PROTECTED]
---
arch/x86/kernel/process_64.c
[
version 2 of mcount patches:
changes include:
Removal of most notrace. Even though it may clutter a bit,
we can always add more later.
Removal of REGPARM. No changes is made with respect to that.
Cleaned up Makefile and used Kconfig for config dependencies.
Some other minor
On Wed, 9 Jan 2008, Andrew Morton wrote:
Subject: [PATCH] Kick CPUS that might be sleeping in cpus_idle_wait
s/cpus_/cpu_/
I've been up to 4am writing patches. I must be seeing double :-/
{
unsigned int cpu, this_cpu = get_cpu();
@@ -228,6 +232,13 @@ void cpu_idle_wait(void)
On Wed, 9 Jan 2008, john stultz wrote:
---
arch/x86/kernel/vsyscall_64.c |5 ++-
include/asm-x86/vgtod.h |2 -
include/linux/clocksource.h | 58
--
kernel/time/timekeeping.c | 35 +
4 files
On Wed, 9 Jan 2008, john stultz wrote:
Index: linux-compile-i386.git/kernel/time/timekeeping.c
===
--- linux-compile-i386.git.orig/kernel/time/timekeeping.c 2008-01-09
14:07:34.0 -0500
+++
On Thu, 10 Jan 2008, Ingo Molnar wrote:
FYI, I just hit this hang on 2.6.24-rc6 without any extra patches. So,
unless 2.6.24-rc7 did anything to fix this issue, this is a high
priority bug (IMHO).
i'm wondering why this only triggered now. Is this something new in
2.6.24?
It only
1 - 100 of 34022 matches
Mail list logo