Re: [PATCH] pci: Fix bus resource assignment on 32 bits with 64b resources

2007-12-05 Thread Benjamin Herrenschmidt
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

Re: 2.6.24-rc4-mm1: hostbyte=0x01 driverbyte=0x00 (now bisected)

2007-12-05 Thread Hannes Reinecke
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

AW: [PATCH] serial: add ADDI-DATA GmbH Communication cardsin8250_pci.c and pci_ids.h.

2007-12-05 Thread Krauth.Julien
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

Re: PS3: trouble with SPARSEMEM_VMEMMAP and kexec

2007-12-05 Thread Geert Uytterhoeven
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()

Re: 2.6.24-rc4-mm1

2007-12-05 Thread Andrew Morton
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 > > > > > >

Re: [PATCH] pci: Fix bus resource assignment on 32 bits with 64b resources

2007-12-05 Thread Greg KH
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 > >

Re: [RFC] [PATCH] A clean approach to writeout throttling

2007-12-05 Thread Andrew Morton
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

Re: 2.6.24-rc4-mm1 Kernel build fails on S390x

2007-12-05 Thread Andrew Morton
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, >

Re: [PATCH] Reduce stack used by lib/hexdump.c

2007-12-05 Thread Andrew Morton
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

Re: 2.6.24-rc4-mm1

2007-12-05 Thread David Miller
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. > >

Re: broken dpt_i2o in 2.6.23 (was: ext2_check_page: bad entry in directory)

2007-12-05 Thread Andrew Morton
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: > > > >

Re: 2.6.24-rc4-mm1

2007-12-05 Thread Reuben Farrelly
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

Re: Why does reading from /dev/urandom deplete entropy so much?

2007-12-05 Thread Eric Dumazet
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

Re: New Address Family: Inter Process Networking (IPN)

2007-12-05 Thread David Newall
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.

[PATCH -mm] x86_64 EFI runtime service support : Calling convention fix (resend, cc LKML)

2007-12-05 Thread Huang, Ying
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

Re: Please revert: PCI: fix IDE legacy mode resources

2007-12-05 Thread Benjamin Herrenschmidt
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

Re: [RFC] [PATCH] A clean approach to writeout throttling

2007-12-05 Thread Daniel Phillips
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

Re: New Address Family: Inter Process Networking (IPN)

2007-12-05 Thread Kyle Moffett
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

Re: PS3: trouble with SPARSEMEM_VMEMMAP and kexec

2007-12-05 Thread Yasunori Goto
> 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

Re: New Address Family: Inter Process Networking (IPN)

2007-12-05 Thread Stephen Hemminger
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

[PATCH] fix br_fdb_fini() section mismatch

2007-12-05 Thread Harald Welte
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]

Re: [PATCH] Reduce stack used by lib/hexdump.c

2007-12-05 Thread Kyle Moffett
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

Re: Please revert: PCI: fix IDE legacy mode resources

2007-12-05 Thread Yoichi Yuasa
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, > > >

Re: broken dpt_i2o in 2.6.23 (was: ext2_check_page: bad entry in directory)

2007-12-05 Thread FUJITA Tomonori
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: >

Re: PS3: trouble with SPARSEMEM_VMEMMAP and kexec

2007-12-05 Thread Geoff Levand
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:

Re: Please revert: PCI: fix IDE legacy mode resources

2007-12-05 Thread Yoichi Yuasa
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

Re: New Address Family: Inter Process Networking (IPN)

2007-12-05 Thread Renzo Davoli
> 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

Re: [PATCH] capabilities: introduce per-process capability bounding set (v10)

2007-12-05 Thread Andrew Morgan
-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

Re: New Address Family: Inter Process Networking (IPN)

2007-12-05 Thread Renzo Davoli
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

[PATCH] pid: Fix mips irix emulation pid usage

2007-12-05 Thread Eric W. Biederman
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

Re: [PATCH] fix br_fdb_fini() section mismatch

2007-12-05 Thread David Miller
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:

Bloggoo.com สร้างเว็บบล็อกแบบ เร็ว ฟรี ง่าย ทันทีตอนนี้เลย

2007-12-05 Thread Bloggoo.com
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) จัดทำขึ้นเพื่อให้ผู้ใช้บริการได้มีพื้นที่ส่วนตัว ในการสร้างสรรค์งานเขียนต่างๆ ของตนเองอย่างอิสระ ทั้งบอกเล่าเรื่องราวส่วนตัว

Re: New Address Family: Inter Process Networking (IPN)

2007-12-05 Thread Renzo Davoli
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

Re: [PATCH] esp_scsi: Fix reset cleanup spinlock recursion

2007-12-05 Thread David Miller
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

Re: [PATCH] Documentation about unaligned memory access

2007-12-05 Thread Brandon Philips
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

Re: Please revert: PCI: fix IDE legacy mode resources

2007-12-05 Thread Benjamin Herrenschmidt
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

[PATCH 2.6.21 through 2.6.23] ACPICA: fix acpi-cpufreq boot crash due to _PSD return-by-reference

2007-12-05 Thread Len Brown
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

[PATCH Latency Tracer] don't panic on failed bootmem alloc

2007-12-05 Thread Steven Rostedt
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 === ---

Re: solid state drive access and context switching

2007-12-05 Thread Kyungmin Park
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

Re: drivers/net/iseries_veth.c dubious sysfs usage

2007-12-05 Thread Michael Ellerman
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

Re: Allow (O=...) from file

2007-12-05 Thread Jay Cliburn
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

Re: [PATCH] pci: Fix bus resource assignment on 32 bits with 64b resources

2007-12-05 Thread Benjamin Herrenschmidt
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

[PATCH] pid: sys_wait... fixes

2007-12-05 Thread Eric W. Biederman
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

Re: 2.6.24-rc4-mm1 Kernel build fails on S390x

2007-12-05 Thread Kamalesh Babulal
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

Re: [patch/rfc 2/4] pcf857x I2C GPIO expander driver

2007-12-05 Thread David Brownell
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

[patch-early-RFC 09/10] LTTng - x86_64 instrumentation

2007-12-05 Thread Mathieu Desnoyers
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 ++

Re: [PATCH] kbuild: implement modules.order

2007-12-05 Thread Rusty Russell
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

[patch-early-RFC 01/10] LTTng - ARM instrumentation

2007-12-05 Thread Mathieu Desnoyers
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

[patch-early-RFC 02/10] LTTng - x86_32 instrumentation

2007-12-05 Thread Mathieu Desnoyers
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 +++

[patch-early-RFC 10/10] LTTng - s390 instrumentation

2007-12-05 Thread Mathieu Desnoyers
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 ++

[patch-early-RFC 08/10] LTTng Sparc instrumentation

2007-12-05 Thread Mathieu Desnoyers
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:

[patch-early-RFC 07/10] LTTng instrumentation SH64

2007-12-05 Thread Mathieu Desnoyers
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:

[patch-early-RFC 04/10] LTTng instrumentation Powerpc

2007-12-05 Thread Mathieu Desnoyers
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 ++

[patch-early-RFC 05/10] LTTng instrumentation PPC

2007-12-05 Thread Mathieu Desnoyers
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

[patch-early-RFC 03/10] LTTng - MIPS instrumentation

2007-12-05 Thread Mathieu Desnoyers
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

[patch-early-RFC 06/10] LTTng - instrumentation SH

2007-12-05 Thread Mathieu Desnoyers
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 ++

[patch-early-RFC 00/10] LTTng architecture dependent instrumentation

2007-12-05 Thread Mathieu Desnoyers
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

Re: [PATCH] Reduce stack used by lib/hexdump.c

2007-12-05 Thread Joe Perches
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.

[patch-RFC 08/26] LTTng Linux Kernel Trace Thread Flags x86_32

2007-12-05 Thread Mathieu Desnoyers
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

[patch-RFC 23/26] Prepare x86_64 for TIF_SYSCALL_TRACE async flag set in entry.S

2007-12-05 Thread Mathieu Desnoyers
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.

[patch-RFC 13/26] LTTng Kernel Trace Thread Flag MIPS

2007-12-05 Thread Mathieu Desnoyers
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

[patch-RFC 24/26] LTTng Linux Kernel Trace Thread Flag x86_64

2007-12-05 Thread Mathieu Desnoyers
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

[patch-RFC 14/26] LTTng Kernel Trace Thread Flag parisc

2007-12-05 Thread Mathieu Desnoyers
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

[patch-RFC 16/26] LTTng Kernel Trace Thread Flag s390

2007-12-05 Thread Mathieu Desnoyers
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:

[patch-RFC 11/26] LTTng Kernel Trace Thread Flag m68k

2007-12-05 Thread Mathieu Desnoyers
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

[patch-RFC 07/26] LTTng Kernel Trace Thread Flag H8300

2007-12-05 Thread Mathieu Desnoyers
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

[patch-RFC 19/26] LTTng Kernel Trace Thread Flag sparc

2007-12-05 Thread Mathieu Desnoyers
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

[patch-RFC 12/26] LTTng Kernel Trace Thread Flag m68knommu

2007-12-05 Thread Mathieu Desnoyers
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

[patch-RFC 18/26] LTTng Kernel Trace Thread Flag sh64

2007-12-05 Thread Mathieu Desnoyers
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

[patch-RFC 15/26] LTTng Kernel Trace Thread Flag powerpc

2007-12-05 Thread Mathieu Desnoyers
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

[patch-RFC 17/26] LTTng Kernel Trace Thread Flag SH

2007-12-05 Thread Mathieu Desnoyers
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

[patch-RFC 09/26] LTTng Kernel Trace Thread Flag ia64

2007-12-05 Thread Mathieu Desnoyers
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:

[patch-RFC 05/26] LTTng Kernel Trace Thread Flag Cris

2007-12-05 Thread Mathieu Desnoyers
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

[patch-RFC 06/26] LTTng Kernel Trace Thread Flag Frv

2007-12-05 Thread Mathieu Desnoyers
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

[patch-RFC 04/26] LTTng Kernel Trace Thread Flag Blackfin

2007-12-05 Thread Mathieu Desnoyers
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

[patch-RFC 00/26] LTTng Kernel Trace Thread Flag

2007-12-05 Thread Mathieu Desnoyers
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.

[patch-RFC 02/26] LTTng Kernel Trace Thread Flag ARM

2007-12-05 Thread Mathieu Desnoyers
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

[patch-RFC 10/26] LTTng Kernel Trace Thread Flag m32r

2007-12-05 Thread Mathieu Desnoyers
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

[patch-RFC 03/26] LTTng Kernel Trace Thread Flag AVR32

2007-12-05 Thread Mathieu Desnoyers
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

[patch-RFC 26/26] LTTng Kernel Trace Thread Flag API

2007-12-05 Thread Mathieu Desnoyers
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]> ---

[patch-RFC 01/26] LTTng Kernel Trace Thread Flag Alpha

2007-12-05 Thread Mathieu Desnoyers
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

[patch-RFC 25/26] LTTng Kernel Trace Thread Flag xtensa

2007-12-05 Thread Mathieu Desnoyers
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

[patch-RFC 21/26] LTTng Kernel Trace Thread Flag UML

2007-12-05 Thread Mathieu Desnoyers
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

[patch-RFC 22/26] LTTng Kernel Trace Thread Flag v850

2007-12-05 Thread Mathieu Desnoyers
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

[patch-RFC 20/26] LTTng Kernel Trace Thread Flag sparc64

2007-12-05 Thread Mathieu Desnoyers
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

Re: laptop reboots right after hibernation

2007-12-05 Thread Tejun Heo
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

[PATCH 3/3] printer port driver: semaphore to mutex

2007-12-05 Thread Daniel Walker
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

[PATCH 1/3] stopmachine semaphore to mutex

2007-12-05 Thread Daniel Walker
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

[patch-RFC 4/7] LTTng instrumentation kernel

2007-12-05 Thread Mathieu Desnoyers
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

[PATCH 2/3] Amiga serial driver: port_write_mutex fixup

2007-12-05 Thread Daniel Walker
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:

[patch-RFC 5/7] LTTng instrumentation mm

2007-12-05 Thread Mathieu Desnoyers
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

[patch-RFC 2/7] LTTng instrumentation fs

2007-12-05 Thread Mathieu Desnoyers
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

[patch-RFC 7/7] Add Markers Into Semaphore Primitives

2007-12-05 Thread Mathieu Desnoyers
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

[patch-RFC 3/7] LTTng instrumentation ipc

2007-12-05 Thread Mathieu Desnoyers
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

[patch-RFC 0/7] LTTng instrumentation (arch independent)

2007-12-05 Thread Mathieu Desnoyers
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 --

[patch-RFC 1/7] Include marker.h in kernel.h -- temporary, for code readability

2007-12-05 Thread Mathieu Desnoyers
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]> ---

[patch-RFC 6/7] LTTng instrumentation net

2007-12-05 Thread Mathieu Desnoyers
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

Re: sockets affected by IPsec always block (2.6.23)

2007-12-05 Thread David Miller
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.

Re: [PATCH] i386 IOAPIC: de-fang IRQ compression

2007-12-05 Thread Eric W. Biederman
"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. >

[patch 1/6] Immediate Values - Move Kprobes x86 restore_interrupt to kdebug.h

2007-12-05 Thread Mathieu Desnoyers
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   2   3   4   5   6   7   8   9   >