On Wed, 2007-12-05 at 22:39 -0800, Greg KH wrote:
> > that is it can be either unsigned int, unsigned long or unsigned
> long
> > long... and we have no way to reliably printk that.
>
> We do this already just fine. Take a look in the kernel, I think we
> just always cast it to long long to be
Alexey Dobriyan wrote:
>> git-scsi-misc.patch
>
> Apologies for not looking into the problem earlier. See
> http://marc.info/?t=11962802235=1=2
> "2.6.24-rc3-mm2: Result: hostbyte=0x01 driverbyte=0x00\nend_request: I/O
> error"
> for previous installment.
>
> I've bisected it to the
Hello,
Here is the last version of the patch updated regarding your remarks.
Regards,
Julien Krauth
Changes:
- Indentation.
- Code optimisation: all boards except the APCI-7800 are now managed
with the pci_default_setup() function.
- Add pbn_b0_8_115200 to manage the APCI-7800-3
On Wed, 5 Dec 2007, Geoff Levand wrote:
> Andrew Morton wrote:
> > On Wed, 5 Dec 2007 10:52:48 +0100 (CET)
> > Geert Uytterhoeven <[EMAIL PROTECTED]> wrote:
> >
> >>
> >> Subject: sparsemem: sparse_add_one_section()
On Thu, 06 Dec 2007 17:59:37 +1100 Reuben Farrelly <[EMAIL PROTECTED]> wrote:
> On 5/12/2007 4:17 PM, Andrew Morton wrote:
> > Temporarily at
> >
> > http://userweb.kernel.org/~akpm/2.6.24-rc4-mm1/
> >
> > Will appear later at
> >
> >
> >
On Thu, Dec 06, 2007 at 02:22:27PM +1100, Benjamin Herrenschmidt wrote:
>
> On Wed, 2007-12-05 at 17:40 +1100, Benjamin Herrenschmidt wrote:
> > The current pci_assign_unassigned_resources() code doesn't work properly
> > on 32 bits platforms with 64 bits resources. The main reason is the use
> >
On Wed, 5 Dec 2007 22:21:44 -0800 Daniel Phillips <[EMAIL PROTECTED]> wrote:
> On Wednesday 05 December 2007 17:24, Andrew Morton wrote:
> > On Wed, 5 Dec 2007 16:03:01 -0800 Daniel Phillips <[EMAIL PROTECTED]> wrote:
> > > ...a block device these days may not be just a single
> > > device, but
On Thu, 06 Dec 2007 08:45:37 +0530 Kamalesh Babulal <[EMAIL PROTECTED]> wrote:
> Hi Andrew,
>
> The 2.6.24-rc4-mm1 kernel build fails on s390x,
>
> CC arch/s390/kernel/traps.o
> In file included from include/asm/thread_info.h:39,
> from include/linux/thread_info.h:21,
>
On Thu, 6 Dec 2007 00:58:38 -0500 Kyle Moffett <[EMAIL PROTECTED]> wrote:
> On Dec 05, 2007, at 21:42:35, Joe Perches wrote:
> > On Wed, 2007-12-05 at 18:18 -0800, Randy Dunlap wrote:
> >> Joe Perches wrote:
> >>> Maybe just eliminate the 16 or 32 byte width option and force it
> >>> to only 16
From: Reuben Farrelly <[EMAIL PROTECTED]>
Date: Thu, 06 Dec 2007 17:59:37 +1100
> On 5/12/2007 4:17 PM, Andrew Morton wrote:
> > - Lots of device IDs have been removed from the e1000 driver and moved over
> > to e1000e. So if your e1000 stops working, you forgot to set
> > CONFIG_E1000E.
>
>
On Thu, 06 Dec 2007 14:49:37 +0900 FUJITA Tomonori <[EMAIL PROTECTED]> wrote:
> > > drivers/scsi/dpt_i2o.c | 132 ++-
> > > drivers/scsi/dpti.h|9 ++
> > > 2 files changed, 68 insertions(+), 73 deletions(-)
> >
> > I've done the following:
> >
> >
On 5/12/2007 4:17 PM, Andrew Morton wrote:
Temporarily at
http://userweb.kernel.org/~akpm/2.6.24-rc4-mm1/
Will appear later at
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc4/2.6.24-rc4-mm1/
- Lots of device IDs have been removed from the e1000 driver and moved
Matt Mackall a écrit :
On Tue, Dec 04, 2007 at 07:17:58PM +0100, Eric Dumazet wrote:
Alan Cox a ?crit :
No matter what you consider as being better, changing a 12 years old and
widely used userspace interface like /dev/urandom is simply not an
option.
Fixing it to be more efficient in
Kyle Moffett wrote:
On Dec 06, 2007, at 00:30:16, Renzo Davoli wrote:
AF_IPN is different. AF_IPN is the broadcast and peer-to-peer
extension of AF_UNIX. It supports communication among *user* processes.
Ok, you say it's different, but then you describe how IP unicast and
broadcast work.
In EFI calling convention, %xmm0 - %xmm5 are specified as the scratch
registers (UEFI Specification 2.1, 2.3.4.2). To conforms to EFI
specification, this patch save/restore %xmm0 - %xmm5 registers
before/after invoking EFI runtime service. At the same time, the stack
is aligned in 16 bytes, and TS
On Thu, 2007-12-06 at 14:58 +0900, Yoichi Yuasa wrote:
> > What I don't understand is thus why you are calling resource_to_bus
> on 0x1f0
> > which is -not- a resource value, but is already a BAR value...
>
> 0x1f0 is resource value on MIPS Cobalt.
> All RAW BAR values contain the
On Wednesday 05 December 2007 17:24, Andrew Morton wrote:
> On Wed, 5 Dec 2007 16:03:01 -0800 Daniel Phillips <[EMAIL PROTECTED]> wrote:
> > ...a block device these days may not be just a single
> > device, but may be a stack of devices connected together by a generic
> > mechanism such as
On Dec 06, 2007, at 00:30:16, Renzo Davoli wrote:
AF_IPN is different. AF_IPN is the broadcast and peer-to-peer
extension of AF_UNIX. It supports communication among *user*
processes.
Ok, you say it's different, but then you describe how IP unicast and
broadcast work. Both are
> I'll try Milton's suggestion to pre-allocate the memory early. It seems
> that should work as long as nothing else before the hot-plug mem is added
> needs a large chunk.
Hello. Geoff-san. Sorry for late response.
Could you tell me the value of the following page_size calculation
in
On Thu, 6 Dec 2007 06:38:21 +0100
[EMAIL PROTECTED] (Renzo Davoli) wrote:
> On Wed, Dec 05, 2007 at 04:55:52PM -0500, Stephen Hemminger wrote:
> > On Wed, 5 Dec 2007 17:40:55 +0100
> > [EMAIL PROTECTED] (Renzo Davoli) wrote:
> > > 0- (Constructive) comments.
> > > 1- The "official" assignment of
When compiling a kernel (current linus git or 2.6.24-rc4) with built-in
CONFIG_BRIDGE, I get the following error:
LD .tmp_vmlinux1
`br_fdb_fini' referenced in section `.init.text' of net/built-in.o: defined in
discarded section `.exit.text' of net/built-in.o
make: *** [.tmp_vmlinux1]
On Dec 05, 2007, at 21:42:35, Joe Perches wrote:
On Wed, 2007-12-05 at 18:18 -0800, Randy Dunlap wrote:
Joe Perches wrote:
Maybe just eliminate the 16 or 32 byte width option and force it
to only 16 byte widths.
Have you checked users (callers)? I'm pretty sure that one of the
callers
On Thu, 06 Dec 2007 16:04:07 +1100
Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote:
>
> On Thu, 2007-12-06 at 13:34 +0900, Yoichi Yuasa wrote:
> > > I don't understand how his fix can work on MIPS nor why the previous
> > > code didn't, but I don't know how MIPS does its remapping tricks,
> > >
On Wed, 5 Dec 2007 11:14:41 +0100
Anders Henke <[EMAIL PROTECTED]> wrote:
> On Tue, 4 Dec 2007 Andrew Morton wrote:
> > On Wed, 05 Dec 2007 10:30:54 +0900 FUJITA Tomonori <[EMAIL PROTECTED]>
> > wrote:
> >
> > > On Tue, 4 Dec 2007 17:11:55 -0800
> > > Andrew Morton <[EMAIL PROTECTED]> wrote:
>
Andrew Morton wrote:
> On Wed, 5 Dec 2007 10:52:48 +0100 (CET)
> Geert Uytterhoeven <[EMAIL PROTECTED]> wrote:
>
>>
>> Subject: sparsemem: sparse_add_one_section() may fail to allocate memory
>>
>> sparsemem:
On Thu, 06 Dec 2007 11:10:18 +1100
Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote:
> The commit below that was merged in october looks bogus to me.
>
> At this stage in the PCI probe, the pci_dev->resource's contain RAW bar
> values, that is bus values..
>
> A PCI legacy IDE controller that
> In the meanwhile we would be grateful if the community could kindly ask to the
> questions above.
Obviously I meant:
In the meanwhile we would be grateful if the community could kindly *answer*
to the questions above
sorry (it is early morning here, it happens ;-)
renzo
--
To
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
KaiGai Kohei wrote:
> BTW, could you tell me your intention about pam_cap.c is implemented
> with pam_sm_authenticate() and pam_sm_setcred()?
> I think it can be done with pam_sm_open_session(), and this approach
> enables to reduce the iteration of
On Wed, Dec 05, 2007 at 04:55:52PM -0500, Stephen Hemminger wrote:
> On Wed, 5 Dec 2007 17:40:55 +0100
> [EMAIL PROTECTED] (Renzo Davoli) wrote:
> > 0- (Constructive) comments.
> > 1- The "official" assignment of an Address Family.
> > 2- Another "grabbing hook" for interfaces (like the ones
Signed-off-by: Eric W. Biederman <[EMAIL PROTECTED]>
---
arch/mips/kernel/irixelf.c | 14 +++---
arch/mips/kernel/irixsig.c | 16 ++--
arch/mips/kernel/sysirix.c | 12 ++--
3 files changed, 23 insertions(+), 19 deletions(-)
diff --git
From: Harald Welte <[EMAIL PROTECTED]>
Date: Thu, 6 Dec 2007 10:56:58 +0530
> When compiling a kernel (current linus git or 2.6.24-rc4) with built-in
> CONFIG_BRIDGE, I get the following error:
>
> LD .tmp_vmlinux1
> `br_fdb_fini' referenced in section `.init.text' of net/built-in.o:
Dear linux-kernel@vger.kernel.org,
[EMAIL PROTECTED] has sent you an invite to sign up at Bloggoo.com -
http://bloggoo.com.
"BlogGoo (www.bloggoo.com) จัดทำขึ้นเพื่อให้ผู้ใช้บริการได้มีพื้นที่ส่วนตัว
ในการสร้างสรรค์งานเขียนต่างๆ ของตนเองอย่างอิสระ ทั้งบอกเล่าเรื่องราวส่วนตัว
On Thu, Dec 06, 2007 at 12:39:22AM +0100, Andi Kleen wrote:
> [EMAIL PROTECTED] (Renzo Davoli) writes:
>
> > Berkeley socket have been designed for client server or point to point
> > communication. All existing Address Families implement this idea.
> Netlink is multicast/broadcast by default for
From: "Maciej W. Rozycki" <[EMAIL PROTECTED]>
Date: Wed, 5 Dec 2007 16:10:54 + (GMT)
> The esp_reset_cleanup() function is called with the host lock held and
> invokes starget_for_each_device() which wants to take it too. Here is a
> fix along the lines of
On 16:11 Mon 03 Dec 2007, Daniel Drake wrote:
> Here's a document I wrote after figuring out what unaligned memory access
> is all about. I've tried to cover the information I was looking for when
> trying to learn about this, without producing a hopelessly detailed/complex
> spew. I hope it is
On Thu, 2007-12-06 at 13:34 +0900, Yoichi Yuasa wrote:
> > I don't understand how his fix can work on MIPS nor why the previous
> > code didn't, but I don't know how MIPS does its remapping tricks,
> > however it will definitely -not- work on powerpc (and will break a
> > couple of machines out
From: Bob Moore <[EMAIL PROTECTED]>
This bug has been in the ACPICA interpreter since the beginning of time.
It is a reference-after-free bug due to the interpreter doing a
"return by reference" on local objects instead of a "return by value"
when the objects are part of a package.
It could
Ingo,
This patch prevents a panic on a failed bootmem alloc in the
initialization of the tracer buffers.
Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]>
Index: linux-2.6-latency/kernel/latency_trace.c
===
---
Hi,
On Dec 6, 2007 7:01 AM, Jared Hulbert <[EMAIL PROTECTED]> wrote:
> > Probably about 1000 clocks but its always going to depend upon the
> > workload and whether any other work can be done usefully.
>
> Yeah. Sounds right, in the microsecond range. Be interesting to see data.
>
> Anybody
On Wed, 2007-12-05 at 13:41 -0800, Greg KH wrote:
> On Wed, Dec 05, 2007 at 10:10:31PM +1100, Michael Ellerman wrote:
> > On Wed, 2007-12-05 at 01:30 -0800, Greg KH wrote:
> > > In doing a massive kobject cleanup of the kernel tree, I ran across the
> > > iseries_veth.c driver.
> > >
> > > It
On Wed, 5 Dec 2007 22:00:03 +0100
Sam Ravnborg <[EMAIL PROTECTED]> wrote:
> On Tue, Dec 04, 2007 at 09:04:33PM -0600, Jay Cliburn wrote:
> > Sam,
> >
> > This piece of the top-level Makefile in current git causes an
> > out-of-tree driver Makefile to fail.
> >
> > 101 ifdef O
> > 102 ifeq
On Wed, 2007-12-05 at 17:40 +1100, Benjamin Herrenschmidt wrote:
> The current pci_assign_unassigned_resources() code doesn't work properly
> on 32 bits platforms with 64 bits resources. The main reason is the use
> of unsigned long in various places instead of resource_size_t.
>
> This fixes
This modifies do_wait and eligible_child to take a pair of
enum pid_type and struct pid *pid to precisely specify what
set of processes are eligible to be waited for, instead of the
raw pid_t value from sys_wait4.
This fixes a bug in sys_waitid where you could not wait for children
in just
Hi Andrew,
The 2.6.24-rc4-mm1 kernel build fails on s390x,
CC arch/s390/kernel/traps.o
In file included from include/asm/thread_info.h:39,
from include/linux/thread_info.h:21,
from include/linux/preempt.h:9,
from
On Friday 30 November 2007, David Brownell wrote:
> Thanks for the review. I'll snip out typos and similar trivial
> comments (and fix them!), using responses here for more the
> substantive feedback.
Here's the current version of this patch ... updated to put the
driver into drivers/gpio
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
CC: Thomas Gleixner <[EMAIL PROTECTED]>
CC: Ingo Molnar <[EMAIL PROTECTED]>
CC: H. Peter Anvin <[EMAIL PROTECTED]>
---
arch/x86/ia32/ia32entry.S |6 +++---
arch/x86/ia32/ipc32.c |2 ++
On Wednesday 05 December 2007 18:11:49 Tejun Heo wrote:
> WANG Cong wrote:
> >>> I think, you forgot to free(3) the memory you calloc(3)'ed and
> >>> malloc(3)'ed above.
> >>
> >> It's a simple program where whole body is in main(). Why bother?
> >> What's the benefit of adding hash-table
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
arch/arm/kernel/entry-common.S |8
arch/arm/kernel/process.c |6 +-
arch/arm/kernel/ptrace.c |6 ++
arch/arm/kernel/sys_arm.c |2 ++
arch/arm/kernel/traps.c|7 +++
5 files
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
CC: Thomas Gleixner <[EMAIL PROTECTED]>
CC: Ingo Molnar <[EMAIL PROTECTED]>
CC: H. Peter Anvin <[EMAIL PROTECTED]>
---
arch/x86/kernel/apic_32.c | 21 +
arch/x86/kernel/cpu/mcheck/p4.c |7 +++
Changelog :
- added syscall entry/exit instrumentation.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
arch/s390/kernel/entry.S| 10 --
arch/s390/kernel/entry64.S | 10 --
arch/s390/kernel/ptrace.c |6 ++
arch/s390/kernel/sys_s390.c |2 ++
syscall trace missing
traps missing
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
arch/sparc/kernel/entry.S | 10 +-
arch/sparc/kernel/process.c |1 +
arch/sparc/kernel/sys_sparc.c |2 ++
3 files changed, 8 insertions(+), 5 deletions(-)
Index:
traps are missing.
syscall trace missing.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
arch/sh64/kernel/entry.S|2 +-
arch/sh64/kernel/process.c |5 -
arch/sh64/kernel/sys_sh64.c |2 ++
3 files changed, 7 insertions(+), 2 deletions(-)
Index:
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
arch/powerpc/kernel/misc_32.S |2 +-
arch/powerpc/kernel/misc_64.S |2 +-
arch/powerpc/kernel/process.c | 11 +++
arch/powerpc/kernel/ptrace.c |4
arch/powerpc/kernel/syscalls.c |2 ++
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
arch/ppc/kernel/misc.S |2 +-
arch/ppc/kernel/time.c |4
arch/ppc/kernel/traps.c |3 +++
arch/ppc/mm/fault.c |3 +++
4 files changed, 11 insertions(+), 1 deletion(-)
Index: linux-2.6-lttng/arch/ppc/kernel/misc.S
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
arch/mips/kernel/entry.S |2 +-
arch/mips/kernel/process.c |6 +-
arch/mips/kernel/ptrace.c|7 +++
arch/mips/kernel/syscall.c |2 ++
arch/mips/kernel/traps.c | 16
Changelog:
- fix do_fork instrumentation
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
arch/sh/kernel/entry-common.S | 10 ++
arch/sh/kernel/process.c |5 -
arch/sh/kernel/ptrace.c |8 +++-
arch/sh/kernel/sys_sh.c |2 ++
Hi,
Here is the architecture dependent instrumentation for LTTng. Not all
architectures are supported, and some of them have missing instrumentation
points.
The most complete should be :
x86_32, x86_64, powerpc, mips and arm.
It depends on the kernel trace thread flag patchset.
It instruments
On Wed, 2007-12-05 at 18:18 -0800, Randy Dunlap wrote:
> Joe Perches wrote:
> > Maybe just eliminate the 16 or 32 byte width option and
> > force it to only 16 byte widths.
> Have you checked users (callers)? I'm pretty sure that one of the
> callers wanted 32 and that's why it's there.
I did.
Add a thread flag to activate system-wide syscall tracing.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
CC: Thomas Gleixner <[EMAIL PROTECTED]>
CC: Ingo Molnar <[EMAIL PROTECTED]>
CC: H. Peter Anvin <[EMAIL PROTECTED]>
---
include/asm-i386/thread_info.h |4 +++-
1 file changed, 3
When the flag is inactive upon syscall entry and concurrently activated before
exit, we seem to reach a state where the top of stack is incorrect upon return
to user space.
Fix this by fixing the top of stack and jumping to int_ret_from_sys_call if we
detect that thread flags has been modified.
Add a thread flag to activate system-wide syscall tracing.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
include/asm-mips/thread_info.h |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Index: linux-2.6-lttng/include/asm-mips/thread_info.h
Add a thread flag to activate system-wide syscall tracing.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
CC: Thomas Gleixner <[EMAIL PROTECTED]>
CC: Ingo Molnar <[EMAIL PROTECTED]>
CC: H. Peter Anvin <[EMAIL PROTECTED]>
---
include/asm-x86/thread_info_64.h |4 +++-
1 file changed, 3
Add a thread flag to activate system-wide syscall tracing.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
include/asm-parisc/thread_info.h |2 ++
1 file changed, 2 insertions(+)
Index: linux-2.6-lttng/include/asm-parisc/thread_info.h
Add a thread flag to activate system-wide syscall tracing.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
arch/s390/kernel/entry.S |5 -
include/asm-s390/thread_info.h |2 ++
2 files changed, 6 insertions(+), 1 deletion(-)
Index:
Add a thread flag to activate system-wide syscall tracing.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
include/asm-m68k/thread_info.h |1 +
1 file changed, 1 insertion(+)
Index: linux-2.6-lttng/include/asm-m68k/thread_info.h
Add a thread flag to activate system-wide syscall tracing.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
include/asm-h8300/thread_info.h |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Index: linux-2.6-lttng/include/asm-h8300/thread_info.h
Add a thread flag to activate system-wide syscall tracing.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
include/asm-sparc/thread_info.h |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: linux-2.6-lttng/include/asm-sparc/thread_info.h
Add a thread flag to activate system-wide syscall tracing.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
include/asm-m68knommu/thread_info.h |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Index: linux-2.6-lttng/include/asm-m68knommu/thread_info.h
Add a thread flag to activate system-wide syscall tracing.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
include/asm-sh64/thread_info.h |2 ++
1 file changed, 2 insertions(+)
Index: linux-2.6-lttng/include/asm-sh64/thread_info.h
Add a thread flag to activate system-wide syscall tracing.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
include/asm-powerpc/thread_info.h |8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
Index: linux-2.6-lttng/include/asm-powerpc/thread_info.h
Add a thread flag to activate system-wide syscall tracing.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
include/asm-sh/thread_info.h |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Index: linux-2.6-lttng/include/asm-sh/thread_info.h
Add a thread flag to activate system-wide syscall tracing.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
arch/ia64/kernel/entry.S |6 --
include/asm-ia64/thread_info.h | 13 +
2 files changed, 13 insertions(+), 6 deletions(-)
Index:
Add a thread flag to activate system-wide syscall tracing.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
include/asm-cris/thread_info.h |9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
Index: linux-2.6-lttng/include/asm-cris/thread_info.h
Add a thread flag to activate system-wide syscall tracing.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
include/asm-frv/thread_info.h |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Index: linux-2.6-lttng/include/asm-frv/thread_info.h
Add a thread flag to activate system-wide syscall tracing.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
include/asm-blackfin/thread_info.h |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Index: linux-2.6-lttng/include/asm-blackfin/thread_info.h
Hi,
This is an RFC for addition of a new thread flag, TIF_KERNEL_TRACE, to each
architecture to activate system-wide system call tracing.
This is needed by LTTng architecture dependent instrumentation.
It applies on 2.6.24-rc4-git3.
Mathieu
--
Mathieu Desnoyers
Computer Engineering Ph.D.
Add a thread flag to activate system-wide syscall tracing.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
include/asm-arm/thread_info.h |3 +++
1 file changed, 3 insertions(+)
Index: linux-2.6-lttng/include/asm-arm/thread_info.h
Add a thread flag to activate system-wide syscall tracing.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
include/asm-m32r/thread_info.h |9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
Index: linux-2.6-lttng/include/asm-m32r/thread_info.h
Add a thread flag to activate system-wide syscall tracing.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
include/asm-avr32/thread_info.h |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Index: linux-2.6-lttng/include/asm-avr32/thread_info.h
Add an API to set/clear the kernel wide tracing thread flags. Implemented in
kernel/sched.c. Updates thread flags *asynchronously* while holding the tasklist
lock.
Upon fork, the flag must be re-copied while the tasklist lock is held.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
Add a thread flag to activate system-wide syscall tracing.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
include/asm-alpha/thread_info.h |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
Index: linux-2.6-lttng/include/asm-alpha/thread_info.h
Add a thread flag to activate system-wide syscall tracing.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
include/asm-xtensa/thread_info.h |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Index: linux-2.6-lttng/include/asm-xtensa/thread_info.h
Add a thread flag to activate system-wide syscall tracing.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
include/asm-um/thread_info.h |2 ++
1 file changed, 2 insertions(+)
Index: linux-2.6-lttng/include/asm-um/thread_info.h
Add a thread flag to activate system-wide syscall tracing.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
include/asm-v850/thread_info.h |2 ++
1 file changed, 2 insertions(+)
Index: linux-2.6-lttng/include/asm-v850/thread_info.h
Add a thread flag to activate system-wide syscall tracing.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
include/asm-sparc64/thread_info.h |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: linux-2.6-lttng/include/asm-sparc64/thread_info.h
Thanks. Almost there. Can you please try the attached two patches and
report the boot log?
--
tejun
Index: work/include/linux/libata.h
===
--- work.orig/include/linux/libata.h
+++ work/include/linux/libata.h
@@ -1013,18 +1013,18
The port_mutex is actually a semaphore, so easily converted to
a struct mutex.
Signed-off-by: Daniel Walker <[EMAIL PROTECTED]>
---
drivers/char/lp.c | 11 ++-
include/linux/lp.h |2 +-
2 files changed, 7 insertions(+), 6 deletions(-)
Index: linux-2.6.23/drivers/char/lp.c
It's called stopmachine_mutex now, but it's a semaphore. So make it
a "struct mutex" .
Signed-off-by: Daniel Walker <[EMAIL PROTECTED]>
---
kernel/stop_machine.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: linux-2.6.23/kernel/stop_machine.c
Core kernel events.
*not* present in this patch because they are architecture specific :
- syscall entry/exit
- traps
- kernel thread creation
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
kernel/exit.c |6 ++
kernel/fork.c |4
kernel/irq/handle.c |6
The port_write_mutex was converted from a semaphore to a mutex,
but there was still this ifdef'd init_MUTEX reference remaining.
Signed-off-by: Daniel Walker <[EMAIL PROTECTED]>
---
drivers/char/ser_a2232.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index:
Memory management core events.
Changelog:
- Use page_to_pfn for swap out instrumentation, wait_on_page_bit, do_swap_page,
page alloc/free.
- add missing free_hot_cold_page instrumentation.
- add hugetlb page_alloc page_free instrumentation.
- Add write_access to mm fault.
- Add page bit_nr
Core filesystem events markers.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
CC: Alexander Viro <[EMAIL PROTECTED]>
---
fs/buffer.c |2 ++
fs/compat.c |1 +
fs/exec.c |1 +
fs/ioctl.c |2 ++
fs/open.c |2 ++
fs/read_write.c | 22
This patch adds several markers around semaphore primitives.
Along with a tracing application this patch can be useful for measuring
kernel semaphore usage and contention.
Signed-off-by: Mike Mason <[EMAIL PROTECTED]>
Signed-off-by: David Wilder <[EMAIL PROTECTED]>
Signed-off-by: Mathieu
Interprocess communication, core events.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
ipc/msg.c |5 -
ipc/sem.c |5 -
ipc/shm.c |5 -
3 files changed, 12 insertions(+), 3 deletions(-)
Index: linux-2.6-lttng/ipc/msg.c
Hi,
This is the second RFC post for the LTTng architecture independent
instrumentation. I have mostly received interesting ideas from the mm group,
which I have added here.
It applies on top of 2.6.24-rc4-git3, on top of the Linux Kernel Markers with
Immediate Values patchset.
Mathieu
--
This patch is a hack to make my life easier : it lessens the conflicts due to
header includes that changes between the kernel versions.
The proper way to do this is to include in every file using the
markers.
NOT FOR UPSTREAM.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
---
Network core events.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
---
net/core/dev.c |5 +
net/ipv4/devinet.c |5 +
net/socket.c | 18 ++
3 files changed, 28 insertions(+)
Index: linux-2.6-lttng/net/core/dev.c
From: Stefan Rompf <[EMAIL PROTECTED]>
Date: Wed, 5 Dec 2007 19:39:07 +0100
> I'd strongly suggest doing so. AFAIK, behaviour of connect() on nonblocking
> sockets is quite well defined in POSIX.
You are entitled to your opinion.
POSIX says nothing about the semantics of route resolution.
"Natalie Protasevich" <[EMAIL PROTECTED]> writes:
> I think we counted them in the order of 1400 external IRQs (actual
> ioapics/slots plus possible on-card bridges), and yes numbers for used
> IRQs were close to 250. Actual customer configurations could've big
> bigger, I don't have such data.
>
Since the breakpoint handler is useful both to kprobes and immediate values, it
makes sense to make the required restore_interrupt() available through
asm-i386/kdebug.h.
Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>
Acked-by: Ananth N Mavinakayanahalli <[EMAIL PROTECTED]>
CC: Christoph
1 - 100 of 886 matches
Mail list logo