Re: [uml-devel] [PATCH 3/6] UML - Userspace files should call libc directly

2007-08-26 Thread Blaisorblade
ather, not to simplify it for users). Btw, the inlined abs() call is not very nice; on the other hand, it's a simple solution to make it robust, and we do not to be extra-optimal on these debug code paths. Bye -- "Doh!" (cit.), I've made another mistake! Paolo Giarrusso, aka Blaisorblade

Re: [uml-devel] [PATCH 3/6] UML - Userspace files should call libc directly

2007-08-26 Thread Blaisorblade
it for users). Btw, the inlined abs() call is not very nice; on the other hand, it's a simple solution to make it robust, and we do not to be extra-optimal on these debug code paths. Bye -- Doh! (cit.), I've made another mistake! Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http

Re: [uml-devel] [PATCH 6/6] UML - Fix hostfs style

2007-08-24 Thread Blaisorblade
On venerdì 24 agosto 2007, Jeff Dike wrote: > On Thu, Aug 23, 2007 at 04:54:59PM +0200, Blaisorblade wrote: > > > actually. Personally I'd prefer: > > > > > > else > > > type = OS_TYPE_DIR; > > > > I strongly agree with

[PATCH] Script to check for undefined Kconfig symbols - v2

2007-08-24 Thread Paolo 'Blaisorblade' Giarrusso
--git a/scripts/checkunknowndefines.sh b/scripts/checkunknowndefines.sh new file mode 100755 index 000..dbb5cef --- /dev/null +++ b/scripts/checkunknowndefines.sh @@ -0,0 +1,59 @@ +#!/bin/sh +# Find Kconfig variables used in source code but never defined in Kconfig +# Copyright (C) 2007, Paolo 'Blaisor

[PATCH 2/2] Script to check for undefined Kconfig symbols

2007-08-24 Thread Paolo 'Blaisorblade' Giarrusso
+1,59 @@ +#!/bin/sh +# Find Kconfig variables used in source code but never defined in Kconfig +# Copyright (C) 2007, Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> + +# Tested with dash. +paths="$@" +[ -z "$paths" ] && paths=. + +# Doing this once at the beginni

[PATCH 1/2] Replace CONFIG_USB_OHCI with CONFIG_USB_OHCI_HCD in a few overlooked files

2007-08-24 Thread Paolo 'Blaisorblade' Giarrusso
een applied. Cc: Giuseppe Patanè <[EMAIL PROTECTED]> Cc: Ralf Baechle <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- arch/mips/au1000/mtx-1/board_setup.c |4 ++-- arch/mips/au1000/pb1000/board_setup

[PATCH] usbmon doc update - mention new wildcard ('0') bus

2007-08-24 Thread Paolo 'Blaisorblade' Giarrusso
Update usbmon documentation, mentioning the "zero" (wildcard) bus. Possibly, in my first hunk, the 'either ... or ...' should be rephrased a bit to be expressed better. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> Cc: USB development list <[EMAIL PROTECTED

[PATCH] usbmon doc update - mention new wildcard ('0') bus

2007-08-24 Thread Paolo 'Blaisorblade' Giarrusso
Update usbmon documentation, mentioning the zero (wildcard) bus. Possibly, in my first hunk, the 'either ... or ...' should be rephrased a bit to be expressed better. Signed-off-by: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] Cc: USB development list [EMAIL PROTECTED] Cc: Pete Zaitcev [EMAIL

[PATCH 1/2] Replace CONFIG_USB_OHCI with CONFIG_USB_OHCI_HCD in a few overlooked files

2007-08-24 Thread Paolo 'Blaisorblade' Giarrusso
applied. Cc: Giuseppe Patanè [EMAIL PROTECTED] Cc: Ralf Baechle [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Signed-off-by: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] --- arch/mips/au1000/mtx-1/board_setup.c |4 ++-- arch/mips/au1000/pb1000/board_setup.c |6 +++--- arch/mips/au1000/pb1100

[PATCH 2/2] Script to check for undefined Kconfig symbols

2007-08-24 Thread Paolo 'Blaisorblade' Giarrusso
-vesa.c uses undefined symbol VIDEO_VESA Hope you can merge this in -mm and use it frequently (probably, a script to look for regressions in its output is useful). It should also be mentioned in SubmittingPatches if you agree. Signed-off-by: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED

[PATCH] Script to check for undefined Kconfig symbols - v2

2007-08-24 Thread Paolo 'Blaisorblade' Giarrusso
is useful). It should also be mentioned in SubmittingPatches if you agree. Signed-off-by: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] --- scripts/checkunknowndefines.sh | 59 1 files changed, 59 insertions(+), 0 deletions(-) diff --git a/scripts

Re: [uml-devel] [PATCH 6/6] UML - Fix hostfs style

2007-08-24 Thread Blaisorblade
On venerdì 24 agosto 2007, Jeff Dike wrote: On Thu, Aug 23, 2007 at 04:54:59PM +0200, Blaisorblade wrote: actually. Personally I'd prefer: else type = OS_TYPE_DIR; I strongly agree with this style; beyond style itself, one strong reason is that joining statements

Re: [uml-devel] [PATCH 6/6] UML - Fix hostfs style

2007-08-23 Thread Blaisorblade
onally I'd prefer: > > else > type = OS_TYPE_DIR; I strongly agree with this style; beyond style itself, one strong reason is that joining statements hinder singlestepping through function code (it's easy to run gdb on UML, and anyway kgdb exists). Bye -- "Doh!&

Re: [uml-devel] [PATCH] UML - Add a .note.SuSE section

2007-08-23 Thread Blaisorblade
On mercoledì 22 agosto 2007, Jeff Dike wrote: > On Tue, Aug 21, 2007 at 07:05:53PM +0200, Blaisorblade wrote: > > It's not the first time we hit effects of such bugs, is it? > > I don't remember seeing this before. > > > The .note.ABI-tag fix, time ago, may be about the s

Re: [uml-devel] [PATCH] UML - Add a .note.SuSE section

2007-08-23 Thread Blaisorblade
On mercoledì 22 agosto 2007, Jeff Dike wrote: On Tue, Aug 21, 2007 at 07:05:53PM +0200, Blaisorblade wrote: It's not the first time we hit effects of such bugs, is it? I don't remember seeing this before. The .note.ABI-tag fix, time ago, may be about the same problem. Are you referring

Re: [uml-devel] [PATCH 6/6] UML - Fix hostfs style

2007-08-23 Thread Blaisorblade
with this style; beyond style itself, one strong reason is that joining statements hinder singlestepping through function code (it's easy to run gdb on UML, and anyway kgdb exists). Bye -- Doh! (cit.), I've made another mistake! Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http

Re: [uml-devel] [PATCH] UML - Add a .note.SuSE section

2007-08-21 Thread Blaisorblade
t; > } > > Ooh, this sounds promising, thanks. It's not the first time we hit effects of such bugs, is it? The .note.ABI-tag fix, time ago, may be about the same problem. Can you double-check all UML linker scripts for more instances of this bug? Bye -- "Doh!" (cit.), I've made ano

Re: [uml-devel] [PATCH] UML - Add a .note.SuSE section

2007-08-21 Thread Blaisorblade
, may be about the same problem. Can you double-check all UML linker scripts for more instances of this bug? Bye -- Doh! (cit.), I've made another another mistake! Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade signature.asc

Re: [uml-devel] [PATCH 4/5] UML - Simplify helper stack handling

2007-07-03 Thread Blaisorblade
-- Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade signature.asc Description: This is a digitally signed message part.

Re: [uml-devel] [PATCH 4/5] UML - Simplify helper stack handling

2007-07-03 Thread Blaisorblade
Blaisorblade http://www.user-mode-linux.org/~blaisorblade signature.asc Description: This is a digitally signed message part.

Re: [uml-devel] [PATCH 2/2] UML - Add stack usage monitoring

2007-06-20 Thread Blaisorblade
On mercoledì 20 giugno 2007, Jeff Dike wrote: > On Wed, Jun 20, 2007 at 04:06:58PM +0200, Blaisorblade wrote: > > Oh, it's exactly what CONFIG_DEBUG_STACK_USAGE does for i386... (not sure > > if you were still wondering...). > > Where? The only usage in i386 that I see is

Re: [uml-devel] [PATCH 2/2] UML - Add stack usage monitoring

2007-06-20 Thread Blaisorblade
e. tomorrow). I'd need to get Jeff's patchset to fix it. Please let me know. Bye! -- Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade do-src-style-fix Description: application/shellscript

Re: [uml-devel] [PATCH 2/2] UML - Add stack usage monitoring

2007-06-20 Thread Blaisorblade
g the > stack-page-zeroing which CONFIG_DEBUG_STACK_USAGE enables. There's nothing > UML-specific about it. > low_water_lock and lowest_to_date should be static to check_stack_usage(), > btw.. -- Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblad

Re: [uml-devel] [PATCH 2/2] UML - Add stack usage monitoring

2007-06-20 Thread Blaisorblade
list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

Re: [uml-devel] [PATCH 2/2] UML - Add stack usage monitoring

2007-06-20 Thread Blaisorblade
them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade do-src-style-fix Description: application/shellscript

Re: [uml-devel] [PATCH 2/2] UML - Add stack usage monitoring

2007-06-20 Thread Blaisorblade
On mercoledì 20 giugno 2007, Jeff Dike wrote: On Wed, Jun 20, 2007 at 04:06:58PM +0200, Blaisorblade wrote: Oh, it's exactly what CONFIG_DEBUG_STACK_USAGE does for i386... (not sure if you were still wondering...). Where? The only usage in i386 that I see is thread_info.h zeroing stacks

Re: [PATCH 5/6] UML - Network and pcap cleanup

2007-05-03 Thread Blaisorblade
stakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel

Re: [PATCH 5/6] UML - Network and pcap cleanup

2007-05-03 Thread Blaisorblade
, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [uml-devel] [PATCH 2/4] UML - tidy process.c

2007-04-03 Thread Blaisorblade
d long stack_sp(unsigned long page); > +#endif > extern int kernel_thread_proc(void *data); > extern void syscall_segv(int sig); > extern int current_pid(void); -- Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mod

Re: [uml-devel] [RFC] UML kernel & rootfs bundle with every kernel release ?

2007-04-03 Thread Blaisorblade
ing IE via wine in a limited image > with just X + wine + IE - I would much prefer that to having wine+IE > installed locally), testing framebuffer apps like gtk-fb/cairo-fb > without risking your dev environment, etc... > > Antoine -- Inform me of my mistakes, so I can add them

Re: [uml-devel] [RFC] UML kernel rootfs bundle with every kernel release ?

2007-04-03 Thread Blaisorblade
installed locally), testing framebuffer apps like gtk-fb/cairo-fb without risking your dev environment, etc... Antoine -- Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade - To unsubscribe from this list

Re: [uml-devel] [PATCH 2/4] UML - tidy process.c

2007-04-03 Thread Blaisorblade
*data); extern void syscall_segv(int sig); extern int current_pid(void); -- Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade - To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [RFC] UML kernel & rootfs bundle with every kernel release ?

2007-04-01 Thread Blaisorblade
y would be good). There would be more to say on this, but I can't right now (I've other stuff to do). -- Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [RFC] UML kernel rootfs bundle with every kernel release ?

2007-04-01 Thread Blaisorblade
-snapshot is a faster COW? Something to setup it automatically would be good). There would be more to say on this, but I can't right now (I've other stuff to do). -- Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade

[RFC] Auto-fixups for CodingStyle against major UML violations

2007-03-31 Thread Blaisorblade
Have you got sick of fixing your sources CodingStyle by hand? Are you reintroducing violations because you've always programmed in a certain style and those kernel hacker have dictated an insane one which you'll never learn? Stop that, the spamful company "BlaisorBlade Inc. " has

Re: [uml-devel] [PATCH] UML - fix I/O hang when multiple devices are in use

2007-03-31 Thread Blaisorblade
On giovedì 29 marzo 2007, Jeff Dike wrote: > On Thu, Mar 29, 2007 at 02:36:43AM +0200, Blaisorblade wrote: > > > Sometimes you need to. I'd probably just remove the do_ubd check and > > > always recall the request function when handling completions, it's > > &g

Re: [uml-devel] [PATCH] UML - fix I/O hang when multiple devices are in use

2007-03-31 Thread Blaisorblade
On giovedì 29 marzo 2007, Jeff Dike wrote: On Thu, Mar 29, 2007 at 02:36:43AM +0200, Blaisorblade wrote: Sometimes you need to. I'd probably just remove the do_ubd check and always recall the request function when handling completions, it's easier and safe. If I'm understanding

[RFC] Auto-fixups for CodingStyle against major UML violations

2007-03-31 Thread Blaisorblade
Have you got sick of fixing your sources CodingStyle by hand? Are you reintroducing violations because you've always programmed in a certain style and those kernel hacker have dictated an insane one which you'll never learn? Stop that, the spamful company BlaisorBlade Inc. has the right

Re: [uml-devel] [patch 06/37] UML - Fix static linking

2007-03-30 Thread Blaisorblade
: { *(__ex_table) } >__stop___ex_table = .; -- Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mes

[PATCH] [PATCH] uml: fix static linking for real

2007-03-30 Thread Paolo 'Blaisorblade' Giarrusso
There was a typo in commit 7632fc8f809a97f9d82ce125e8e3e579390ce2e5, preventing it from working - 32bit binaries crashed hopelessly before the below fix and work perfectly now. Merge for 2.6.21, please. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- include/

[PATCH 3/3] slab: avoid __initdata warning (may be a bogus one)

2007-03-30 Thread Paolo 'Blaisorblade' Giarrusso
positive. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- mm/slab.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/slab.c b/mm/slab.c index 0934f8d..0772faf 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -305,7 +305,7 @@ struct kmem_list3 {

[PATCH 1/3] utrace - uml: make UML compile with utrace enabled

2007-03-30 Thread Paolo 'Blaisorblade' Giarrusso
* The prototype of arch_ptrace doesn't match the one in include/linux/ptrace.h. * utrace_um_native is referred to by utrace_native_view but never defined. Cc: Jeff Dike <[EMAIL PROTECTED]> Cc: Roland McGrath <[EMAIL PROTECTED]> Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[

Re: [uml-devel] [PATCH 1/2] UML - Fix umid in xterm titles

2007-03-30 Thread Blaisorblade
On venerdì 30 marzo 2007, Jeff Dike wrote: > From: Davide Brini <[EMAIL PROTECTED]> > > Calls lines_init() *after* xterm_title is modified to include umid. > > Signed-off-by: Davide Brini <[EMAIL PROTECTED]> > Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> Acke

[PATCH 2/3] sys_futex64-allows-64bit-futexes-workaround for uml

2007-03-30 Thread Paolo 'Blaisorblade' Giarrusso
. Pierre Peiffer, please consider that. Cc: Pierre Peiffer <[EMAIL PROTECTED]> Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- include/asm-um/futex.h | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/include/asm-um/futex.h b/in

[PATCH 0/3] mm-only patches

2007-03-30 Thread Paolo 'Blaisorblade' Giarrusso
Patch-arounds for mm-only compile errors/warnings, got on 2.6.21-rc5-mm2, still apply on 2.6.21-rc5-mm3. -- Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade - To unsubscribe from this list: send the line

Re: [uml-devel] [PATCH 2/2] UML - Speed up exec

2007-03-30 Thread Blaisorblade
+ > switch_mm_skas(>mm->context.skas.id); > } -- Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade Index: linux-2.6.git/arch/um/include/skas/mmu-skas.h

Re: [uml-devel] [PATCH] UML - fix I/O hang when multiple devices are in use

2007-03-30 Thread Blaisorblade
On giovedì 29 marzo 2007, Jeff Dike wrote: > On Thu, Mar 29, 2007 at 02:36:43AM +0200, Blaisorblade wrote: > > > Sometimes you need to. I'd probably just remove the do_ubd check and > > > always recall the request function when handling completions, it's > > &g

Re: [uml-devel] [PATCH] UML - fix I/O hang when multiple devices are in use

2007-03-30 Thread Blaisorblade
On giovedì 29 marzo 2007, Jeff Dike wrote: On Thu, Mar 29, 2007 at 02:36:43AM +0200, Blaisorblade wrote: Sometimes you need to. I'd probably just remove the do_ubd check and always recall the request function when handling completions, it's easier and safe. If I'm understanding

Re: [uml-devel] [PATCH 2/2] UML - Speed up exec

2007-03-30 Thread Blaisorblade
(flush_thread_skas - clearing address space failed, +err = %d\n, ret); + force_sig(SIGKILL, current); + } + switch_mm_skas(current-mm-context.skas.id); } -- Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http

[PATCH 2/3] sys_futex64-allows-64bit-futexes-workaround for uml

2007-03-30 Thread Paolo 'Blaisorblade' Giarrusso
. Pierre Peiffer, please consider that. Cc: Pierre Peiffer [EMAIL PROTECTED] Signed-off-by: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] --- include/asm-um/futex.h | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/include/asm-um/futex.h b/include/asm-um

[PATCH 0/3] mm-only patches

2007-03-30 Thread Paolo 'Blaisorblade' Giarrusso
Patch-arounds for mm-only compile errors/warnings, got on 2.6.21-rc5-mm2, still apply on 2.6.21-rc5-mm3. -- Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade - To unsubscribe from this list: send the line

[PATCH 3/3] slab: avoid __initdata warning (may be a bogus one)

2007-03-30 Thread Paolo 'Blaisorblade' Giarrusso
positive. Signed-off-by: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] --- mm/slab.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/slab.c b/mm/slab.c index 0934f8d..0772faf 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -305,7 +305,7 @@ struct kmem_list3 { * Need

[PATCH 1/3] utrace - uml: make UML compile with utrace enabled

2007-03-30 Thread Paolo 'Blaisorblade' Giarrusso
* The prototype of arch_ptrace doesn't match the one in include/linux/ptrace.h. * utrace_um_native is referred to by utrace_native_view but never defined. Cc: Jeff Dike [EMAIL PROTECTED] Cc: Roland McGrath [EMAIL PROTECTED] Signed-off-by: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED

Re: [uml-devel] [PATCH 1/2] UML - Fix umid in xterm titles

2007-03-30 Thread Blaisorblade
On venerdì 30 marzo 2007, Jeff Dike wrote: From: Davide Brini [EMAIL PROTECTED] Calls lines_init() *after* xterm_title is modified to include umid. Signed-off-by: Davide Brini [EMAIL PROTECTED] Signed-off-by: Jeff Dike [EMAIL PROTECTED] Acked-by: Paolo 'Blaisorblade' Giarrusso [EMAIL

Re: [uml-devel] [patch 06/37] UML - Fix static linking

2007-03-30 Thread Blaisorblade
Blaisorblade http://www.user-mode-linux.org/~blaisorblade - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH] [PATCH] uml: fix static linking for real

2007-03-30 Thread Paolo 'Blaisorblade' Giarrusso
There was a typo in commit 7632fc8f809a97f9d82ce125e8e3e579390ce2e5, preventing it from working - 32bit binaries crashed hopelessly before the below fix and work perfectly now. Merge for 2.6.21, please. Signed-off-by: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] --- include/asm-um

Re: [uml-devel] [PATCH] UML - fix I/O hang when multiple devices are in use

2007-03-28 Thread Blaisorblade
On giovedì 29 marzo 2007, Blaisorblade wrote: > On mercoledì 28 marzo 2007, Jeff Dike wrote: > > [ This patch needs to get into 2.6.21, as it fixes a serious bug > > introduced soon after 2.6.20 ] > > > > Commit 62f96cb01e8de7a5daee472e540f726db2801499 introduced per-d

Re: [uml-devel] [PATCH] UML - fix I/O hang when multiple devices are in use

2007-03-28 Thread Blaisorblade
, depending whether UML trasmits or receives data; with 2GHz double rates). Update: I now get 150Mbit / 200Mbit (Uml receives/Uml sends) at 1GHz, and still the double at 2Ghz. This is a different UML though. * using futexes instead of pipes for synchronization (required for previous one). -- Info

[PATCH][2.6.21] uml: fix unreasonably long udelay

2007-03-28 Thread Paolo 'Blaisorblade' Giarrusso
x86_64 users, especially using Device Mapper. To hit this bug, a compile-time constant time parameter must be passed - that's why UML seems to work most times. Fix this with a simple udelay implementation. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- arch/um/sy

Re: + uml-fix-pte-bit-collision.patch added to -mm tree

2007-03-28 Thread Blaisorblade
On martedì 27 marzo 2007, [EMAIL PROTECTED] wrote: > The patch titled > uml: fix pte bit collision > has been added to the -mm tree. Its filename is > uml-fix-pte-bit-collision.patch ACK from me: Acked-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> >

Re: + uml-fix-pte-bit-collision.patch added to -mm tree

2007-03-28 Thread Blaisorblade
On martedì 27 marzo 2007, [EMAIL PROTECTED] wrote: The patch titled uml: fix pte bit collision has been added to the -mm tree. Its filename is uml-fix-pte-bit-collision.patch ACK from me: Acked-by: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] *** Remember to use

[PATCH][2.6.21] uml: fix unreasonably long udelay

2007-03-28 Thread Paolo 'Blaisorblade' Giarrusso
x86_64 users, especially using Device Mapper. To hit this bug, a compile-time constant time parameter must be passed - that's why UML seems to work most times. Fix this with a simple udelay implementation. Signed-off-by: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] --- arch/um/sys-i386

Re: [uml-devel] [PATCH] UML - fix I/O hang when multiple devices are in use

2007-03-28 Thread Blaisorblade
instead of pipes for synchronization (required for previous one). -- Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [uml-devel] [PATCH] UML - fix I/O hang when multiple devices are in use

2007-03-28 Thread Blaisorblade
On giovedì 29 marzo 2007, Blaisorblade wrote: On mercoledì 28 marzo 2007, Jeff Dike wrote: [ This patch needs to get into 2.6.21, as it fixes a serious bug introduced soon after 2.6.20 ] Commit 62f96cb01e8de7a5daee472e540f726db2801499 introduced per-devices queues and locks, which

Re: + uml-create-archh.patch added to -mm tree

2007-03-22 Thread Blaisorblade
rm me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com - To unsubscribe from this list: send the line "un

Re: [uml-devel] [ PATCH 4/7 ] UML - create as-layout.h

2007-03-22 Thread Blaisorblade
Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com - To unsubscribe from this list: send the line "unsu

Re: + uml-create-archh.patch added to -mm tree

2007-03-22 Thread Blaisorblade
to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [uml-devel] [ PATCH 4/7 ] UML - create as-layout.h

2007-03-22 Thread Blaisorblade
, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com - To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear)

2007-03-21 Thread Blaisorblade
On Tuesday 20 March 2007 07:00, Nick Piggin wrote: > On Mon, Mar 19, 2007 at 09:44:28PM +0100, Blaisorblade wrote: > > On Sunday 18 March 2007 03:50, Nick Piggin wrote: > > > > > Yes, I believe that is the case, however I wonder if that is going > > > > >

Re: [patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear)

2007-03-21 Thread Blaisorblade
On Tuesday 20 March 2007 07:00, Nick Piggin wrote: On Mon, Mar 19, 2007 at 09:44:28PM +0100, Blaisorblade wrote: On Sunday 18 March 2007 03:50, Nick Piggin wrote: Yes, I believe that is the case, however I wonder if that is going to be a problem for you to distinguish between write

Re: [patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear)

2007-03-19 Thread Blaisorblade
On Sunday 18 March 2007 03:50, Nick Piggin wrote: > On Sat, Mar 17, 2007 at 01:17:00PM +0100, Blaisorblade wrote: > > On Tuesday 13 March 2007 02:19, Nick Piggin wrote: > > > On Tue, Mar 13, 2007 at 12:01:13AM +0100, Blaisorblade wrote: > > > > On Wednesday 07 March

Re: [patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear)

2007-03-19 Thread Blaisorblade
On Sunday 18 March 2007 03:50, Nick Piggin wrote: On Sat, Mar 17, 2007 at 01:17:00PM +0100, Blaisorblade wrote: On Tuesday 13 March 2007 02:19, Nick Piggin wrote: On Tue, Mar 13, 2007 at 12:01:13AM +0100, Blaisorblade wrote: On Wednesday 07 March 2007 11:02, Nick Piggin wrote: Yeah

Re: [patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear)

2007-03-17 Thread Blaisorblade
On Tuesday 13 March 2007 02:19, Nick Piggin wrote: > On Tue, Mar 13, 2007 at 12:01:13AM +0100, Blaisorblade wrote: > > On Wednesday 07 March 2007 11:02, Nick Piggin wrote: > > > > Yeah, tmpfs/shm segs are what I was thinking about. If UML can live > > > > with th

Re: [patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear)

2007-03-17 Thread Blaisorblade
On Tuesday 13 March 2007 02:19, Nick Piggin wrote: On Tue, Mar 13, 2007 at 12:01:13AM +0100, Blaisorblade wrote: On Wednesday 07 March 2007 11:02, Nick Piggin wrote: Yeah, tmpfs/shm segs are what I was thinking about. If UML can live with that as well, then I think it might be a good

Re: [patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear)

2007-03-12 Thread Blaisorblade
ether. filemap_populate and shmem_populate are so obnoxiously different that I already wanted to do that (after merging remap_file_pages() core). Also, I'm curious. Since my patches are already changing remap_file_pages() code, should they be absolutely merged after yours? -- Inform me of my mista

Re: [patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear)

2007-03-12 Thread Blaisorblade
, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Lockdep report against pktcdvd

2007-03-09 Thread Blaisorblade
56.526356]  [] do_sys_open+0x4d/0xd5 [   56.526377]  [] sys_open+0x1b/0x1d [   56.526396]  [] system_call+0x7e/0x83 [   56.526417] -- Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade Chiacchiera con i tuoi amici in te

Lockdep report against pktcdvd

2007-03-09 Thread Blaisorblade
] do_sys_open+0x4d/0xd5 [   56.526377]  [8107d92d] sys_open+0x1b/0x1d [   56.526396]  [81009f6e] system_call+0x7e/0x83 [   56.526417] -- Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade Chiacchiera con i

Re: [patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear)

2007-03-08 Thread Blaisorblade
. > > > -- wli -- Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com - To unsubscribe f

Re: [patch 027/101] Kconfig: FAULT_INJECTION can be selected only if LOCKDEP is enabled.

2007-03-08 Thread Blaisorblade
On Wednesday 07 March 2007 18:11, Greg KH wrote: > From: "Paolo 'Blaisorblade' Giarrusso" <[EMAIL PROTECTED]> > > There is no prompt for STACKTRACE, so it is enabled only when 'select'ed. > FAULT_INJECTION depends on it, while LOCKDEP selects it. So FAULT_INJECTION

Re: [patch 027/101] Kconfig: FAULT_INJECTION can be selected only if LOCKDEP is enabled.

2007-03-08 Thread Blaisorblade
On Wednesday 07 March 2007 18:11, Greg KH wrote: From: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] There is no prompt for STACKTRACE, so it is enabled only when 'select'ed. FAULT_INJECTION depends on it, while LOCKDEP selects it. So FAULT_INJECTION becomes visible in Kconfig only when

Re: [patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear)

2007-03-08 Thread Blaisorblade
no need for a persistent backing store for the object to be remapped in Oracle's case, in any event. It's largely the in-core destination and source of IO, not something saved on-disk itself. -- wli -- Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade

Re: [uml-devel] [PATCH 4/5] UML - driver formatting fixes

2007-03-06 Thread Blaisorblade
o out_close; > } The second line should better say -err instead of err. -- Inform me of my mistakes, so I can add them to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*htt

Re: [uml-devel] [PATCH 4/5] UML - driver formatting fixes

2007-03-06 Thread Blaisorblade
to my list! Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

[PATCH 1/2] uml: make sigio_lock() irq-safe

2007-03-05 Thread Paolo 'Blaisorblade' Giarrusso
From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> sigio_lock is taken both from process context and from interrupt context. So we *must* use irqsave. Then, remove irq disabling from update_thread(), as it's called with sigio_lock() held (yes, set_signals(0) is local_irq_save). I

[PATCH 2/2] uml: avoid calling request_irq in atomic context

2007-03-05 Thread Paolo 'Blaisorblade' Giarrusso
From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> To avoid calling request_irq under a spinlock, and to simplify code around, code a state machine to allow safely dropping and retaking sigio_lock during initialization. The state variable is protected by a spinlock together with much

Re: [uml-devel] [PATCH 04/11] uml - hostfs: avoid possible escapes from hostfs=.

2007-03-05 Thread Blaisorblade
On Monday 05 March 2007 23:03, Jeff Dike wrote: > On Mon, Mar 05, 2007 at 09:49:02PM +0100, Paolo 'Blaisorblade' Giarrusso wrote: > > From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> > > > > Avoid accepting things like -o .., -o dir/../../dir2, -o dir/../.. .

[PATCH 03/11] uml - hostfs: make hostfs= option work as a jail, as intended.

2007-03-05 Thread Paolo 'Blaisorblade' Giarrusso
From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> When a given host directory is specified to be mounted both in hostfs=path1 and with mount option -o path2, we should give access to path1/path2, but this does not happen. Fix that in the simpler way. Also, root_ino can be the empty

[PATCH 08/11] uml: mark both consoles as CON_ANYTIME

2007-03-05 Thread Paolo 'Blaisorblade' Giarrusso
From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> Since both UML consoles do not use percpu variables, they may be called when the cpu is still offline, and they may be marked CON_ANYTIME (this is documented in kernel/printk.c, grep for CON_ANYTIME to find mentions of this). Work

[PATCH 05/11] hostfs: rename some vars for clarity

2007-03-05 Thread Paolo 'Blaisorblade' Giarrusso
From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> * rename name to host_root_path * rename data to req_root. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- fs/hostfs/hostfs_kern.c | 26 +- 1 files changed, 13 insertions(+),

[PATCH 11/11] uml: fix errno usage

2007-03-05 Thread Paolo 'Blaisorblade' Giarrusso
From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> Avoid reusing userspace errno twice - it can be cleared by libc code everywhere (in particular printk() does clear it in my setup). Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- arch/um/drivers/d

[PATCH 07/11] uml: remove dead code about os_usr1_signal() and os_usr1_process()

2007-03-05 Thread Paolo 'Blaisorblade' Giarrusso
From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> os_usr1_signal() is totally unused, os_usr1_process() is used only by TT mode. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- arch/um/include/os.h |3 ++- arch/um/os-Linux/process.c |3 +++

[PATCH 00/11] Uml simple fixes

2007-03-05 Thread Paolo 'Blaisorblade' Giarrusso
Some tested UML fixes - should be applied for 2.6.21. -- Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo inf

[PATCH 01/11] uml: code convention cleanup of a file

2007-03-05 Thread Paolo 'Blaisorblade' Giarrusso
From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> Fix coding conventions violations is arch/um/os-Linux/helper.c. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- arch/um/os-Linux/helper.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

[PATCH 04/11] uml - hostfs: avoid possible escapes from hostfs=.

2007-03-05 Thread Paolo 'Blaisorblade' Giarrusso
From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> Avoid accepting things like -o .., -o dir/../../dir2, -o dir/../.. . This may be considered useless, but YMMV. I consider that this has a limited security value, exactly like disabling module support (in many case it is useful). Sign

[PATCH 09/11] uml: fix confusion irq early reenabling

2007-03-05 Thread Paolo 'Blaisorblade' Giarrusso
From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> Fix confusion about call context - comments and code are inconsistent and plain wrong, my fault. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- arch/um/drivers/line.c |6 +++--- 1 files changed,

[PATCH 06/11] uml: fix a memory leak in the multicast driver

2007-03-05 Thread Paolo 'Blaisorblade' Giarrusso
From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> Memory allocated by mcast_user_init must be freed in the matching mcast_remove. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- arch/um/drivers/mcast_user.c | 10 +- 1 files changed, 9 inse

[PATCH 02/11] uml - hostfs: fix double free

2007-03-05 Thread Paolo 'Blaisorblade' Giarrusso
From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> Fix double free in the error path - when name is assigned into root_inode we do not own it any more and we must not kfree() it - see patch for details. Thanks to William Stearns for the initial report. CC: William Stearns &

[PATCH 10/11] uml - activate_fd: return ENOMEM only when appropriate

2007-03-05 Thread Paolo 'Blaisorblade' Giarrusso
From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> Avoid returning ENOMEM in case of a duplicate IRQ - ENOMEM was saved into err earlier. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- arch/um/kernel/irq.c |1 + 1 files changed, 1 insertions(+),

[PATCH 10/11] uml - activate_fd: return ENOMEM only when appropriate

2007-03-05 Thread Paolo 'Blaisorblade' Giarrusso
From: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] Avoid returning ENOMEM in case of a duplicate IRQ - ENOMEM was saved into err earlier. Signed-off-by: Paolo 'Blaisorblade' Giarrusso [EMAIL PROTECTED] --- arch/um/kernel/irq.c |1 + 1 files changed, 1 insertions(+), 0 deletions

  1   2   3   4   5   6   7   >