[tip:perf/core] perf stat: Introduce --repeat forever

2013-03-21 Thread tip-bot for Frederik Deweerdt
Commit-ID: a7e191c376fad084d9f3c7ac89a1f7c47462ebc8 Gitweb: http://git.kernel.org/tip/a7e191c376fad084d9f3c7ac89a1f7c47462ebc8 Author: Frederik Deweerdt AuthorDate: Fri, 1 Mar 2013 13:02:27 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 15 Mar 2013 14:01:26 -0300 perf stat

[patch v2] perf stat: --repeat forever

2013-03-01 Thread Frederik Deweerdt
h iteration. In this mode SIGINT is passed to perf to be able to stop the loop with Ctrl+C. Regards, Frederik Signed-off-by: Frederik Deweerdt diff --git a/tools/perf/Documentation/perf-stat.txt b/tools/perf/Documentation/perf-stat.txt index faf4f4f..23e587a 100644 --- a/tools/perf/Documentation

Re: [patch] perf stat: --repeat forever

2013-02-18 Thread Frederik Deweerdt
Hi Arnaldo, On Mon, Feb 18, 2013 at 12:04:44PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Feb 15, 2013 at 05:28:49PM -0500, Frederik Deweerdt escreveu: > > Hi, > > > > The following patch causes 'perf stat --repeat 0' to be interpreted as > > 'fo

[patch] perf stat: --repeat forever

2013-02-15 Thread Frederik Deweerdt
. Regards, Frederik Signed-off-by: Frederik Deweerdt diff --git a/tools/perf/Documentation/perf-stat.txt b/tools/perf/Documentation/perf-stat.txt index cf0c310..784976a 100644 --- a/tools/perf/Documentation/perf-stat.txt +++ b/tools/perf/Documentation/perf-stat.txt @@ -52,7 +52,7 @@ OPTIO

[tip:perf/core] perf annotate browser: Fix segfault when drawing out-of-bounds jumps

2013-01-25 Thread tip-bot for Frederik Deweerdt
Commit-ID: 865c66c4183aab1d12522ca3ad3a3339d2437e5c Gitweb: http://git.kernel.org/tip/865c66c4183aab1d12522ca3ad3a3339d2437e5c Author: Frederik Deweerdt AuthorDate: Mon, 14 Jan 2013 14:47:17 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 24 Jan 2013 16:40:36 -0300 perf

Re: [patch] perf: tui: Fix segfault when drawing out-of-bounds jumps

2013-01-14 Thread Frederik Deweerdt
On Mon, Jan 14, 2013 at 10:44:16AM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Jan 11, 2013 at 07:00:43PM -0500, Frederik Deweerdt escreveu: > > Hi, > > > > When perf.data contains out-of-symbol jumps, > > annotate_browser__mark_jump_targets() correctly avoids mar

[patch] perf: tui: Fix segfault when drawing out-of-bounds jumps

2013-01-11 Thread Frederik Deweerdt
gus memory access when dereferencing 'bcursor' or 'btarget' The following patch performs the same check as mark_jump_targets() in order to avoid drawing the bogus jump. Regards, Frederik Signed-off-by: Frederik Deweerdt diff --git a/tools/perf/ui/browsers/annotate.c b/too

Re: Hyperthreading performance oddities

2008-02-22 Thread Frederik Deweerdt
Hello Henk, On Fri, Feb 22, 2008 at 10:36:01AM +0100, belcampo wrote: > Kernel 2.6.22.9 smp hyperthreading > BENCHMARKs: VC: 334.042s VO: 0.053s A: 0.000s Sys: 4.049s = 338.143s > Kernel 2.6.22.9 nonsmp/hyperthreading > BENCHMARKs: VC: 262.008s VO: 0.031s A: 0.000s Sys: 3.528s = 265.

Re: [BUG] rfcomm

2008-02-11 Thread Frederik Deweerdt
Hello Alon, On Mon, Feb 11, 2008 at 05:57:54PM +0200, Alon Bar-Lev wrote: [...] > Feb 11 17:46:05 alon1 BUG: unable to handle kernel NULL pointer dereference > at virtual address 0008 > Feb 11 17:46:05 alon1 printing eip: c01b2da6 *pde = > Feb 11 17:46:05 alon1 Oops: [#1] PREEM

[patch] crypto test build failure

2008-02-09 Thread Frederik Deweerdt
, Frederik Signed-off-by: Frederik Deweerdt <[EMAIL PROTECTED]> diff --git a/crypto/Kconfig b/crypto/Kconfig index c3166a1..d0287ce 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -567,6 +567,7 @@ config CRYPTO_TEST depends on m select CRYPTO_ALGAPI se

[trivial patch] scsi/ultrastor: clean up inline asm warnings

2008-01-16 Thread Frederik Deweerdt
__mod_license1191, @object + .size __mod_license1191, 12 +__mod_license1191: .string "license=GPL" .section.rodata.str1.1 .LC27: Regards, Frederik Signed-off-by: Frederik Deweerdt <[EMAIL PROTECTED]> diff --git a/drivers/scsi/ultrastor.c b/drivers/scsi/ultr

Re: strace, accept(), ERESTARTSYS and EINTR

2008-01-04 Thread Frederik Deweerdt
On Fri, Jan 04, 2008 at 09:01:38PM +, Phil Endecott wrote: > Dear Experts, > > I have some code like this: > > struct sockaddr_in client_addr; > socklen_t client_size=sizeof(client_addr); > int connfd = accept(fd,(struct sockaddr*)(&client_addr),&client_size); > if (connfd==-1) { > // [1] >

Re: [PATCHv2 2/4] x86&x86-64 support for sys_indirect

2007-11-15 Thread Frederik Deweerdt
Hello Ulrich, On Thu, Nov 15, 2007 at 01:22:31PM -0500, Ulrich Drepper wrote: > diff --git a/include/linux/sched.h b/include/linux/sched.h > index ee800e7..e4e8a22 100644 > --- /dev/null 2007-09-23 16:36:38.465394704 -0700 > +++ b/include/asm-x86/indirect_32.h 2007-11-15 09:52:47.0 -0800

[-mm patch] fix getblk_slow "integer constant is too large" warning

2007-11-06 Thread Frederik Deweerdt
against 2.6.24-rc1: > [...] > getblk-handle-2tb-devices.patch [...] 0x is unsigned long long on 32 bits fs/buffer.c: In function '__getblk_slow': fs/buffer.c:1126: warning: integer constant is too large for 'unsigned long' type Regards, Frederik Signed

Re: kernel NULL pointer dereference in check_spread+0x0/0x26

2007-10-12 Thread Frederik Deweerdt
On Fri, Oct 12, 2007 at 05:31:32PM +0200, Jan Blunck wrote: > On Fri, Oct 12, Frederik Deweerdt wrote: > > > On Fri, Oct 12, 2007 at 02:40:54PM +0200, Jan Blunck wrote: > > > This is with 2.6.23-mm1 and allmodconfig. > > This generates a .config wi

Re: kernel NULL pointer dereference in check_spread+0x0/0x26

2007-10-12 Thread Frederik Deweerdt
On Fri, Oct 12, 2007 at 02:40:54PM +0200, Jan Blunck wrote: > This is with 2.6.23-mm1 and allmodconfig. This generates a .config with CONFIG_SCHED_DEBUG=y and CONFIG_FAIR_GROUP_SCHED=n (The latter causes parent_entity to return NULL). Does setting CONFIG_FAIR_GROUP_SCHED=y help? Regards, Frederik

Re: [PATCH] Fix lguest page-pinning logic ("lguest: bad stack page 0xc057a000")

2007-08-30 Thread Frederik Deweerdt
On Tue, Aug 28, 2007 at 02:09:59AM +1000, Rusty Russell wrote: > If the stack pointer is 0xc057a000, then the first stack page is at > 0xc0579000 (the stack pointer is decremented before use). Not > calculating this correctly caused guests with CONFIG_DEBUG_PAGEALLOC=y > to be killed with a "bad s

Re: [-mm patch] enforce noreplace-smp in alternative_instructions()

2007-08-25 Thread Frederik Deweerdt
On Sat, Aug 25, 2007 at 02:23:24PM +0200, Frederik Deweerdt wrote: > On Sat, Aug 25, 2007 at 10:07:29PM +1000, Rusty Russell wrote: > > Do you need noreplace-smp even on 2.6.23-rc3, > > or only 2.6.23-rc3-mm1? > I'll try ASAP. > Ok, tested: I need noreplace-smp + patch t

Re: [-mm patch] enforce noreplace-smp in alternative_instructions()

2007-08-25 Thread Frederik Deweerdt
On Sat, Aug 25, 2007 at 10:07:29PM +1000, Rusty Russell wrote: > On Fri, 2007-08-24 at 10:22 +0200, Frederik Deweerdt wrote: > > [Added Gerd Hoffman and Rusty Russel to cc] > > On Thu, Aug 23, 2007 at 11:46:52PM -0700, Jeremy Fitzhardinge wrote: > > > Frederik Deweerdt w

Re: [-mm patch] enforce noreplace-smp in alternative_instructions()

2007-08-24 Thread Frederik Deweerdt
[Added Gerd Hoffman and Rusty Russel to cc] On Thu, Aug 23, 2007 at 11:46:52PM -0700, Jeremy Fitzhardinge wrote: > Frederik Deweerdt wrote: > > That means that even when you specify noreplace_smp, some replacing > > takes place anyway. One of the consequences, besides noreplace_smp

Re: [-mm patch] enforce noreplace-smp in alternative_instructions()

2007-08-23 Thread Frederik Deweerdt
On Thu, Aug 23, 2007 at 04:16:17PM -0700, Jeremy Fitzhardinge wrote: > Frederik Deweerdt wrote: > > On Wed, Aug 22, 2007 at 02:06:48AM -0700, Andrew Morton wrote: > > > >> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc3/2.6.23-rc3-mm1/ >

Re: [-mm patch] enforce noreplace-smp in alternative_instructions()

2007-08-23 Thread Frederik Deweerdt
On Thu, Aug 23, 2007 at 02:50:38PM -0700, Andrew Morton wrote: > On Wed, 22 Aug 2007 22:25:51 +0200 > Frederik Deweerdt <[EMAIL PROTECTED]> wrote: > > > On Wed, Aug 22, 2007 at 02:06:48AM -0700, Andrew Morton wrote: > > > > > > ftp://ftp.kernel.org/pub/linu

Re: PROBLEM: Server crashes unexpectedly

2007-08-23 Thread Frederik Deweerdt
On Thu, Aug 23, 2007 at 01:15:12PM +0200, Laurent CARON wrote: > Hi, > > One of my server crashes randomly. > > I suspect a filesystem corruption. What makes you think so? I'd check the memory with memtest. Regards, Frederik - To unsubscribe from this list: send the line "unsubscribe linux-kern

Re: 2.6.23-rc3-mm1: locking boot-time self-test failure

2007-08-22 Thread Frederik Deweerdt
On Wed, Aug 22, 2007 at 07:26:39PM +0200, Mariusz Kozlowski wrote: > Got that on my laptop: > [...] > - > BUG: 6 unexpected failures (out of 218) - debugging disabled! | > --

[-mm patch] enforce noreplace-smp in alternative_instructions()

2007-08-22 Thread Frederik Deweerdt
ility bits and freeing the __smp_locks section. Every call to alternatives_smp_unlock() checks for noreplace-smp beforehand, so remove the check from there. Boot tested on i386 with UP+noreplace-smp (lguest) and SMP (real hardware) Regards, Frederik Signed-off-by: Frederik Deweerdt <[EMAIL

Re: Serial buffer memory leak

2007-08-08 Thread Frederik Deweerdt
On Wed, Aug 08, 2007 at 02:45:32PM +0100, Alan Cox wrote: > > I'm not familiar enough with the tty code to decide what the proper fix > > should > > be. I'll try to write a patch if someone could point me in the right > > direction. > > Something like this perhaps ? > [] > - * flush all

[-mm patch] xtensa console.c: remove duplicate #include

2007-07-27 Thread Frederik Deweerdt
On Wed, Jul 25, 2007 at 04:03:04AM -0700, Andrew Morton wrote: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc1/2.6.23-rc1-mm1/ > Hi, This patch removes one of the two linux/console.h included in arch/xtensa/platform-iss/console.c Signed-off-by: Frederik

Re: v2.6.23-rc1-rt0

2007-07-24 Thread Frederik Deweerdt
function 'u64_div': kernel/latency_hist.c:54: error: implicit declaration of function 'do_div' make[1]: *** [kernel/latency_hist.o] Error 1 make: *** [kernel] Error 2 This was needed to compile rt0 with LATENCY_TRACE on i386: Add asm/div64.h header to define do_div() Sig

[patch] drivers/scsi/scsi_sysfs.c:718: warning: unused variable `rq'

2007-07-23 Thread Frederik Deweerdt
y variable. Regards, Frederik Signed-off-by: Frederik Deweerdt <[EMAIL PROTECTED]> diff --git a/drivers/scsi/scsi_sysfs.c b/drivers/scsi/scsi_sysfs.c index 34cdce6..9e5cc4f 100644 --- a/drivers/scsi/scsi_sysfs.c +++ b/drivers/scsi/scsi_sysfs.c @@ -715,7 +715,6 @@ static int attr_add(struct dev

Re: [PATCH] Use descriptor's functions instead of inline assembly

2007-07-20 Thread Frederik Deweerdt
On Fri, Jul 20, 2007 at 10:56:01AM -0300, Glauber de Oliveira Costa wrote: > This patch provides a new set of functions for managing the descriptor > tables that can be used instead of putting the raw assembly in .c files. > > Signed-off-by: Glauber de Oliveira Costa <[EMAIL PROTECTED]> > > -

Re: [PATCH] i386 CPA fix - do not free reserved pages

2007-07-03 Thread Frederik Deweerdt
if (PageReserved(pg) || !cpu_has_pse || page_private(pg) != 0) > continue; > ClearPagePrivate(pg); > __free_page(pg); > > > * Frederik Deweerdt ([EMAIL PROTECTED]) wrote: > > On Tue, Jul 03, 2007 at 11:37:47AM -

Re: 2.6.22-rc6-mm1 bad_page events.

2007-07-03 Thread Frederik Deweerdt
On Tue, Jul 03, 2007 at 11:37:47AM -0400, Mathieu Desnoyers wrote: > Hi Alan, > > I already sent a fix to Andrew and Andi for this (hrm, forget to CC > lkml on the original message): > > > x86_64 mm cpa cache flush fix > > X86_64 and i386 cpa cache flush fix: > > list_del the deferred list ent

Re: [-mm patch] make csum_and_copy_from_user arch independent

2007-05-11 Thread Frederik Deweerdt
On Fri, May 11, 2007 at 02:14:43AM -0700, David Miller wrote: > From: Frederik Deweerdt <[EMAIL PROTECTED]> > Date: Fri, 11 May 2007 10:27:38 +0200 > > > ERROR: "csum_partial_copy_from_user" [net/rxrpc/af-rxrpc.ko] undefined! > > > > Li

[-mm patch] make csum_and_copy_from_user arch independent (was Re: 2.6.21-mm2)

2007-05-11 Thread Frederik Deweerdt
erik Signed-off-by: Frederik Deweerdt <[EMAIL PROTECTED]> diff --git a/include/net/checksum.h b/include/net/checksum.h index 1242461..2eebb95 100644 --- a/include/net/checksum.h +++ b/include/net/checksum.h @@ -30,13 +30,16 @@ static inline __wsum csum_and_copy_from_user (const vo

Re: ixp4xx compile error (was Re: 2.6.21-mm2)

2007-05-10 Thread Frederik Deweerdt
On Thu, May 10, 2007 at 02:21:29PM +0200, Frederik Deweerdt wrote: > On Wed, May 09, 2007 at 01:23:22AM -0700, Andrew Morton wrote: > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21/2.6.21-mm2/ > > > Hi all, > > I've got this comp

ixp4xx compile error (was Re: 2.6.21-mm2)

2007-05-10 Thread Frederik Deweerdt
.c:54: error: for each function it appears in.) make[3]: *** [drivers/input/misc/ixp4xx-beeper.o] Error 1 make[2]: *** [drivers/input/misc] Error 2 make[1]: *** [drivers/input] Error 2 make: *** [drivers] Error 2 Following patch fixes the problem. Regards, Frederik Signed-off-by: Frederik Deweerdt

Re: kmem_cache_init failure (was Re: 2.6.21-mm1)

2007-05-09 Thread Frederik Deweerdt
On Wed, May 09, 2007 at 02:26:08PM +0200, Frederik Deweerdt wrote: > On Wed, May 09, 2007 at 11:00:46AM +0200, Andi Kleen wrote: > > On Wed, May 09, 2007 at 09:40:24AM +0200, Jan Beulich wrote: > > > >I've bisected it down to the x86_64-mm-cpa-kerneltext.patch and the

Re: kmem_cache_init failure (was Re: 2.6.21-mm1)

2007-05-09 Thread Frederik Deweerdt
On Wed, May 09, 2007 at 11:00:46AM +0200, Andi Kleen wrote: > On Wed, May 09, 2007 at 09:40:24AM +0200, Jan Beulich wrote: > > >I've bisected it down to the x86_64-mm-cpa-kerneltext.patch and the > > > > > >+ if (!pte_present(*kpte)) > > >+ return 0; > > > > I the most recent

Re: kmem_cache_init failure (was Re: 2.6.21-mm1)

2007-05-08 Thread Frederik Deweerdt
On Wed, May 09, 2007 at 12:12:29AM +0200, Andi Kleen wrote: > On Tue, May 08, 2007 at 07:22:33PM +0200, Frederik Deweerdt wrote: > > On Sat, May 05, 2007 at 01:49:55AM -0700, Andrew Morton wrote: > > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/pa

kmem_cache_init failure (was Re: 2.6.21-mm1)

2007-05-08 Thread Frederik Deweerdt
On Sat, May 05, 2007 at 01:49:55AM -0700, Andrew Morton wrote: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21/2.6.21-mm1/ > Hi all, My computer fails early at boot with a stack along the lines of: kmem_cache_zalloc kmem_cache_create kmem_cache_init start_kernel eip is

Re: Strange soft lockup detected message (looks like spin_lock bug in pcnet32)

2007-05-07 Thread Frederik Deweerdt
On Mon, May 07, 2007 at 10:08:07AM -0400, Lennart Sorensen wrote: > On Fri, May 04, 2007 at 03:02:36PM -0400, Lennart Sorensen wrote: > > Well I don't know, but something is going wrong and causing the soft > > lock up. I must admit I am surprised if an interrupt can occour while > > handling an i

[-mm patch] get_unmapped_area: remove now unused ret variable (was Re: 2.6.21-mm1)

2007-05-06 Thread Frederik Deweerdt
mapped_area-handles-map_fixed-in-generic-code.patch rendered the ret variable useless. Regards, Frederik Signed-off-by: Frederik Deweerdt <[EMAIL PROTECTED]> diff --git a/mm/mmap.c b/mm/mmap.c index b0f6eb8..fabf7f4 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -1390,7 +1390,6 @@ unsigned long

Re: [-mm patch] do_revoke error handling (was Re: 2.6.21-mm1)

2007-05-05 Thread Frederik Deweerdt
ion 'do_revoke': > > fs/revoke.c:563: warning: 'details.fset' may be used uninitialized in this > > function > > fs/revoke.c:563: warning: 'details.restore_start' may be used uninitialized > > in this function > > On Sat, 5 May 2007, Frederik

[-mm patch] do_revoke error handling (was Re: 2.6.21-mm1)

2007-05-05 Thread Frederik Deweerdt
his function fs/revoke.c:563: warning: 'details.restore_start' may be used uninitialized in this function It seems that we should goto 'out_free_table' if an error happens in the mainloop. Otherwise 'details' is passed to restore_files() without being initialized.

[-mm patch] mutex.h bogus __must_check (was Re: 2.6.21-mm1)

2007-05-05 Thread Frederik Deweerdt
: warning: 'warn_unused_result' attribute ignored This was introduced by broken-out/mutex_lock_interruptible-add-__must_check.patch Regards, Frederik Signed-off-by: Frederik Deweerdt <[EMAIL PROTECTED]> diff --git a/include/linux/mutex.h b/include/linux/mutex.h index 616500e..85e4225 1

Re: Strange soft lockup detected message (looks like spin_lock bug in pcnet32)

2007-05-04 Thread Frederik Deweerdt
On Fri, May 04, 2007 at 11:19:34AM -0400, Lennart Sorensen wrote: > On Fri, May 04, 2007 at 04:33:26PM +0200, Frederik Deweerdt wrote: > > On Fri, May 04, 2007 at 10:10:24AM -0400, Lennart Sorensen wrote: > > > On Thu, May 03, 2007 at 04:31:43PM -0400, Lenn

Re: Strange soft lockup detected message (looks like spin_lock bug in pcnet32)

2007-05-04 Thread Frederik Deweerdt
On Fri, May 04, 2007 at 10:10:24AM -0400, Lennart Sorensen wrote: > On Thu, May 03, 2007 at 04:31:43PM -0400, Lennart Sorensen wrote: [...] > Should line 2563 be a spin_lock_irqsave instead along with the > appropriate unluck later? IIRC, when you enable lockdep, it will complain about spinlocks us

Re: Linux 2.6.21 - something wrong with dmesg.

2007-04-26 Thread Frederik Deweerdt
On Thu, Apr 26, 2007 at 05:44:40PM +0530, Sunil Naidu wrote: > Hello, > > I did compile the kernel, boots good ;-) BTW, does anyone (on P-III) > facing a memory check skip or sort of? Not getting RAM info in the > dmesg. Unable to get dmseg from the start of the gcc check! Any clue? > Here is the

[-mm patch] pcm_native: lockdep warning when launching jack

2007-04-05 Thread Frederik Deweerdt
[] do_ioctl+0x28/0x80 [39701.405229] [] vfs_ioctl+0x57/0x290 [39701.405233] [] sys_ioctl+0x39/0x60 [39701.405237] [] sysenter_past_esp+0x5d/0x99 [39701.405240] === The attached lockdep annotation silences the warning. Regards, Frederik Signed-off-by: Frederik Deweerdt

ipw2200: can't load firmware (was Re: 2.6.21-rc3-mm1)

2007-03-15 Thread Frederik Deweerdt
On Fri, Mar 09, 2007 at 11:40:43AM +, Frederik Deweerdt wrote: > On Wed, Mar 07, 2007 at 08:18:39PM -0800, Andrew Morton wrote: > > - The wireless changes in here need a lot of testers, please. It is major > > rework. > [...] > > I was able to get ipw2200 wor

Re: 2.6.21-rc3-mm1

2007-03-09 Thread Frederik Deweerdt
On Wed, Mar 07, 2007 at 08:18:39PM -0800, Andrew Morton wrote: > - The wireless changes in here need a lot of testers, please. It is major > rework. [...] > I was able to get ipw2200 working after some fumbling, Any details on the symptoms? I'm unable to boot rc3-mm2, and it hangs right after

Re: [-mm patch] cpu_idle: fix build break

2007-03-02 Thread Frederik Deweerdt
On Fri, Mar 02, 2007 at 07:24:28AM -0800, Venkatesh Pallipadi wrote: > On Fri, Mar 02, 2007 at 02:40:07PM +0000, Frederik Deweerdt wrote: > > On Fri, Mar 02, 2007 at 03:00:26AM -0800, Andrew Morton wrote: > > > +git-acpi-fix-cpuidle-borkage.patch > > This attached patch

[-mm patch] cpu_idle: fix build break

2007-03-02 Thread Frederik Deweerdt
]: *** [drivers/cpuidle/cpuidle.o] Erreur 1 make[1]: *** [drivers/cpuidle] Erreur 2 make: *** [drivers] Erreur 2 Regards, Frederik Signed-off-by: Frederik Deweerdt <[EMAIL PROTECTED]> diff --git a/drivers/cpuidle/cpuidle.c b/drivers/cpuidle/cpuidle.c index dc626d9..9aa1734 100644 --- a/drivers/cp

Re: [patch 00/13] Syslets, "Threadlets", generic AIO support, v3

2007-02-25 Thread Frederik Deweerdt
On Sun, Feb 25, 2007 at 07:34:38PM +0100, Ingo Molnar wrote: > > * Evgeniy Polyakov <[EMAIL PROTECTED]> wrote: > > > > thx - i guess i should just run them without any options and they > > > bind themselves to port 80? What 'ab' options are you using > > > typically to measure them? > > > > Ye

Re: trivial question regarding byte ordering

2007-02-23 Thread Frederik Deweerdt
On Fri, Feb 23, 2007 at 07:18:13AM -0800, Allexio Ju wrote: > Is there a API (or macro) that checks CPU endianness and does byte > ordering conversion on given data (32-bit) if endianness is > big-endian? including include/asm/byteorder.h will define the needed cpu_to_{b,l}e{16,32,64} and {b,l}e{16

Re: circular locking: /proc/sys/vm/drop_caches

2007-02-23 Thread Frederik Deweerdt
On Fri, Feb 23, 2007 at 07:35:38AM +0100, Ingo Molnar wrote: > > Andrew, > > i just got the lockdep warning below when doing: > > echo 3 > /proc/sys/vm/drop_caches > > is this a known quirk in the drop_caches code? > This is known, yes: http://lkml.org/lkml/2006/12/4/19 Regards, Frederik -

Re: Serial related oops

2007-02-21 Thread Frederik Deweerdt
On Wed, Feb 21, 2007 at 09:57:50PM -0800, H. Peter Anvin wrote: > Russell King wrote: > > >Plainly, %ebx changed across the call to serial_in() at c01c0f7b. > >First thing to notice is this violates the C code - "up" can not > >change. > >Now let's look at serial_in: > >c01bfa70: 55

Re: Serial related oops

2007-02-21 Thread Frederik Deweerdt
On Wed, Feb 21, 2007 at 02:13:15PM +, Jose Goncalves wrote: > New devolpments. > I have upgraded to 2.6.16.41, applied a patch sent by Frederik that > removed the changed made in http://lkml.org/lkml/2005/6/23/266 and > activated some more kernel debug, i.e., CONFIG_KALLSYMS_ALL, > CONFIG_DEBUG

Re: Serial related oops

2007-02-19 Thread Frederik Deweerdt
(trimmed tie-fei.zang from the CC, added by mistake) On Mon, Feb 19, 2007 at 02:35:20PM +, Russell King wrote: > > Neither did I, but introducing printk's through the function, we narrowed > > the problem to this part of the code. And removing it makes the problem > > go away. We inserted 37 pr

Re: [-mm patch] fix locking in __make_request (was Re: 2.6.20-mm2: Oops in generic_make_request)

2007-02-19 Thread Frederik Deweerdt
On Mon, Feb 19, 2007 at 03:08:03PM +0100, Michal Piotrowski wrote: > Michal Piotrowski napisał(a): > > Hi Frederik, > > > > On 20/02/07, Frederik Deweerdt <[EMAIL PROTECTED]> wrote: > >> Hi Michal, > >> > >> This seems to be a locking proble

Re: [-mm patch] fix locking in __make_request (was Re: 2.6.20-mm2: Oops in generic_make_request)

2007-02-19 Thread Frederik Deweerdt
On Mon, Feb 19, 2007 at 02:34:53PM +0100, Jens Axboe wrote: > On Tue, Feb 20 2007, Frederik Deweerdt wrote: > > On Sun, Feb 18, 2007 at 09:05:33PM +0100, Michal Piotrowski wrote: > > > On 18/02/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > > > >On Sun, 18 Fe

Re: Serial related oops

2007-02-19 Thread Frederik Deweerdt
On Mon, Feb 19, 2007 at 01:45:39PM +, Russell King wrote: > On Tue, Feb 20, 2007 at 01:29:09PM +0000, Frederik Deweerdt wrote: > > (Sorry for the resend, I forgot to cc the list) > > Hi Russell, > > > > It seems that the following chan

Serial related oops

2007-02-19 Thread Frederik Deweerdt
(Sorry for the resend, I forgot to cc the list) Hi Russell, It seems that the following change in drivers/serial/8250.c + + /* +* Do a quick test to see if we receive an +* interrupt when we enable the TX irq. +*/ + serial_outp(up, UART_IER, UART_IER_THRI); +

[-mm patch] fix locking in __make_request (was Re: 2.6.20-mm2: Oops in generic_make_request)

2007-02-19 Thread Frederik Deweerdt
> Maybe this oops is related too? > > > >Looks that way. > > Hi Michal, This seems to be a locking problem in __make_request, check_plug_merge() should be called with the q->queue_lock held. Could you try the following patch? It silenced the oops for me. Regards, Frederik

Re: 2.6.20-mm1 USB-related OOPS

2007-02-17 Thread Frederik Deweerdt
On Fri, Feb 16, 2007 at 06:17:54PM -0700, Berck E. Nash wrote: > I get the following OOPS on boot, presumably connected with USB driver > loading. I've attached the entire log. Please CC on replies as I'm not > subscribed. > > Loading kernel module nvidia. > [ 149.135709] nvidia: module license

Re: [patch 05/14] syslets: core code

2007-02-15 Thread Frederik Deweerdt
On Thu, Feb 15, 2007 at 05:52:28PM +0100, Ingo Molnar wrote: > From: Ingo Molnar <[EMAIL PROTECTED]> > +static struct syslet_uatom __user * > +exec_atom(struct async_head *ah, struct task_struct *t, > + struct syslet_uatom __user *uatom) > +{ > + struct syslet_uatom __user *last_uatom; >

[-mm patch] pci_iomap_regions error handling fix (was Re: 2.6.20-mm1)

2007-02-15 Thread Frederik Deweerdt
map anyway. Regards, Frederik Signed-off-by: Frederik Deweerdt <[EMAIL PROTECTED]> diff --git a/lib/devres.c b/lib/devres.c index 2a668dd..eb38849 100644 --- a/lib/devres.c +++ b/lib/devres.c @@ -274,21 +274,21 @@ int pcim_iomap_regions(struct pci_dev *pdev, u16 mask, co

Re: -mm merge plans for 2.6.21

2007-02-12 Thread Frederik Deweerdt
On Sat, Feb 10, 2007 at 11:04:48AM -0600, Robert Hancock wrote: > Frederik Deweerdt wrote: > >>How about this one instead then: > >Well, the warning you get is not that obvious: > >test.c: In function 'main': > >test.c:11: warning: 'deprecated_irqf

Re: 20-rc6-mm3 - BUG: at arch/i386/mm/highmem.c:52 kmap_atomic()

2007-02-10 Thread Frederik Deweerdt
On Sat, Feb 10, 2007 at 08:45:26PM +0100, Miguel Ojeda wrote: > When I was testing some stuff at 2.6.20-rc6-mm3 I found this at dmesg > multiple times. > Could you try this hotfix http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20-rc6/2.6.20-rc6-mm3/hot-fixes/ntfs-kmap_atomic-atomic

Re: -mm merge plans for 2.6.21

2007-02-10 Thread Frederik Deweerdt
On Sat, Feb 10, 2007 at 12:42:41PM +0100, Arnd Bergmann wrote: > On Friday 09 February 2007 12:24, Arjan van de Ven wrote: > > > > On Fri, 2007-02-09 at 10:57 +, Frederik Deweerdt wrote: > > > +static const int __deprecated SA_INTERRUPT = IRQF_DISABLED; > > &g

Re: -mm merge plans for 2.6.21

2007-02-09 Thread Frederik Deweerdt
rupt only SA_* flags +When: January 2008 +Why: The interrupt related SA_* flags are replaced by IRQF_* to move them + out of the signal namespace. + +Who: Frederik Deweerdt <[EMAIL PROTECTED]> + +--- diff --git a/include/linux/interrupt.h b/include/linux/interrupt

Re: [RFC] [PATCH] To list all active probes in the system

2007-02-06 Thread Frederik Deweerdt
Hi, Comments below, On Tue, Feb 06, 2007 at 08:17:06PM +0530, Srinivasa Ds wrote: > Srinivasa Ds wrote: > > Christoph Hellwig wrote: > >> On Tue, Feb 06, 2007 at 03:25:35PM +0530, Srinivasa Ds wrote: > >>> Hi folks > >>> > >>> I have developed a patch, that lists all active probes in the

Re: Oops on serial access on kernel 2.6.16.38

2007-01-31 Thread Frederik Deweerdt
On Tue, Jan 30, 2007 at 12:55:49PM +, Jose Goncalves wrote: > Jose Goncalves wrote: > > Frederik Deweerdt wrote: > > > >> On Fri, Jan 26, 2007 at 06:17:03PM +, Jose Goncalves wrote: > >> > >> > >>> Frederik Deweerdt wrote:

Re: [-mm patch] BUG at net/sunrpc/svc.c:128 (was Re: 2.6.20-rc6-mm2)

2007-01-30 Thread Frederik Deweerdt
On Mon, Jan 29, 2007 at 09:49:50AM -0800, Christoph Lameter wrote: > On Mon, 29 Jan 2007, Andrew Morton wrote: > > > > static int > > > svc_pool_map_init_percpu(struct svc_pool_map *m) > > > { > > > - unsigned int maxpools = nr_node_ids; > > > + unsigned int maxpools = num_online_cpus(); > > >

[-mm patch] rcu_trace build fix (was Re: 2.6.20-rc6-mm2 build failure)

2007-01-29 Thread Frederik Deweerdt
function 'rcupreempt_try_flip_state_name': > kernel/rcupreempt.c:642: warning: control reaches end of non-void function > Hi, It looks like a typo there, thanks for reporting. The attached patch "s/RCU_TRACE/CONFIG_RCU_TRACE/" did the trick for me. Btw, shouldn

[-mm patch] BUG at net/sunrpc/svc.c:128 (was Re: 2.6.20-rc6-mm2)

2007-01-29 Thread Frederik Deweerdt
54/0x5a [sunrpc] SS:ESP 0068:c2fd3ed4 The following patch fixes the problem for me. Regards, Frederik Signed-off-by: Frederik Deweerdt <[EMAIL PROTECTED]> diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index c8c7c55..a553f9f 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c @@ -115,7 +1

Re: Oops on serial access on kernel 2.6.16.38

2007-01-26 Thread Frederik Deweerdt
On Fri, Jan 26, 2007 at 06:17:03PM +, Jose Goncalves wrote: > Frederik Deweerdt wrote: > > On Fri, Jan 26, 2007 at 03:50:25PM +, Jose Goncalves wrote: > > > >> I'm having a problem with the latest 2.6.16 kernel (I've found the > >> pr

Re: Oops on serial access on kernel 2.6.16.38

2007-01-26 Thread Frederik Deweerdt
On Fri, Jan 26, 2007 at 03:50:25PM +, Jose Goncalves wrote: > I'm having a problem with the latest 2.6.16 kernel (I've found the > problem on 2.6.16.37 and 2.6.16.38). I have a application that retreives > data from a GPS connected on a serial port. From time to time a get a > kernel Oops, like

Re: [BUG] e100: eth0 appers many times in /proc/interrupts after resume

2007-01-21 Thread Frederik Deweerdt
On Sun, Jan 21, 2007 at 01:45:27PM -0800, Auke Kok wrote: > Frederik Deweerdt wrote: > >On Sun, Jan 21, 2007 at 09:17:41PM +0200, Andrei Popa wrote: > >>It's the 10th resume and in /proc/interrupts eth0 appers 10 times. > >The e100_resume() function should be ca

Re: [BUG] eth0 appers many times in /proc/interrupts after resume

2007-01-21 Thread Frederik Deweerdt
rik Signed-off-by: Frederik Deweerdt <[EMAIL PROTECTED]> diff --git a/drivers/net/e100.c b/drivers/net/e100.c index 2fe0445..0c376e4 100644 --- a/drivers/net/e100.c +++ b/drivers/net/e100.c @@ -2671,6 +2671,7 @@ static int e100_suspend(struct pci_dev *pdev, pm_message_t state) de

[-mm patch] oops in drivers/net/shaper.c

2007-01-20 Thread Frederik Deweerdt
d 2.6.19.2). Regards, Frederik Signed-off-by: Frederik Deweerdt <[EMAIL PROTECTED]> diff --git a/drivers/net/shaper.c b/drivers/net/shaper.c index e886e8d..40e9e27 100644 --- a/drivers/net/shaper.c +++ b/drivers/net/shaper.c @@ -340,6 +340,10 @@ static int shaper_header(struct

Re: High CPU usage with sata_nv

2007-01-15 Thread Frederik Deweerdt
On Mon, Jan 15, 2007 at 06:54:50PM +0200, ris wrote: > I have motherboard with nforce 590 SLI (MCP55) chipset. > On other systems all its ok. > > But i tried a lot o kernels, configurations and always get cpu at 100% when > copying files. > I use SATA II samsung hard drive. > Any dmesg complain?

Re: Early ACPI lockup (was Re: 2.6.20-rc4-mm1)

2007-01-12 Thread Frederik Deweerdt
On Sat, Jan 13, 2007 at 01:08:46AM +0100, Michal Piotrowski wrote: > Jiri Slaby napisał(a): > > Frederik Deweerdt wrote: > >> On Fri, Jan 12, 2007 at 05:53:08PM -0500, Len Brown wrote: > >>> On Friday 12 January 2007 05:20, Frederik Deweerdt wrote: > >>>

Re: Early ACPI lockup (was Re: 2.6.20-rc4-mm1)

2007-01-12 Thread Frederik Deweerdt
On Fri, Jan 12, 2007 at 05:53:08PM -0500, Len Brown wrote: > On Friday 12 January 2007 05:20, Frederik Deweerdt wrote: > > On Thu, Jan 11, 2007 at 10:26:27PM -0800, Andrew Morton wrote: > > > > > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/p

[-mm patch] remove tcp header from tcp_v4_check (take #2)

2007-01-12 Thread Frederik Deweerdt
On Fri, Jan 12, 2007 at 01:33:09PM +, Frederik Deweerdt wrote: > On Thu, Jan 11, 2007 at 10:26:27PM -0800, Andrew Morton wrote: > > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20-rc3/2.6.20-rc4-mm1/ > > Hi, Sorry for the resend,

[-mm patch] remove tcp header from tcp_v4_check

2007-01-12 Thread Frederik Deweerdt
On Thu, Jan 11, 2007 at 10:26:27PM -0800, Andrew Morton wrote: > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20-rc3/2.6.20-rc4-mm1/ > Hi, The tcphdr struct passed to tcp_v4_check is not used, the following patch removes it from the parameter list. (This adds the netf

Re: 2.6.20-rc4-mm1

2007-01-12 Thread Frederik Deweerdt
[drivers/mmc/mmc.o] Error 1 > make[1]: *** [drivers/mmc] Error 2 > make: *** [drivers] Error 2 > Hi, That's because mmc_lock_unlock should depend on CONFIG_KEYS, it uses struct key. Could you try the following patch (compile tested)? Regards, Frederik Signed-off-by: Frederik Deweerdt

Early ACPI lockup (was Re: 2.6.20-rc4-mm1)

2007-01-12 Thread Frederik Deweerdt
On Thu, Jan 11, 2007 at 10:26:27PM -0800, Andrew Morton wrote: > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20-rc3/2.6.20-rc4-mm1/ > Hi, The git-acpi.patch replaces earlier "if(!handler) return -EINVAL" by "BUG_ON(!handler)". This locks my machine early at boot with

[-mm patch] remove tcp header from tcp_v4_check

2007-01-11 Thread Frederik Deweerdt
ds, Frederik Signed-off-by: Frederik Deweerdt <[EMAIL PROTECTED]> Index: 2.6.20-rc3-mm1/include/net/tcp.h === --- 2.6.20-rc3-mm1.orig/include/net/tcp.h +++ 2.6.20-rc3-mm1/include/net/tcp.h @@ -802,9 +802,8 @@ static inline

Re: [Re: 2.6.20-rc3-mm1] BUG: at kernel/sched.c:3415 sub_preempt_count()

2007-01-09 Thread Frederik Deweerdt
On Tue, Jan 09, 2007 at 09:50:20PM +0100, Maciej Rutecki wrote: > Frederik Deweerdt napisał(a): > > > See: > > http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20-rc3/2.6.20-rc3-mm1/hot-fixes/ > > This should fix it. > > Regards, > > Frede

Re: [Re: 2.6.20-rc3-mm1] BUG: at kernel/sched.c:3415 sub_preempt_count()

2007-01-09 Thread Frederik Deweerdt
On Tue, Jan 09, 2007 at 03:40:43PM +0100, Maciej Rutecki wrote: > [ 24.311778] BUG: at kernel/sched.c:3415 sub_preempt_count() > [ 24.311794] [] generic_sync_sb_inodes+0x9e/0x2f0 > [ 24.311823] [] sync_inodes_sb+0x83/0xa0 > [ 24.311840] [] fsync_super+0x8/0x20 > [ 24.311864] [] do_rem

Re: [BUG] sleeping function called from invalid context at kernel/sched.c

2007-01-08 Thread Frederik Deweerdt
On Mon, Jan 08, 2007 at 04:27:32PM -0500, Sumit Narayan wrote: > Hi, > > I am trying to do file write operations in a thread (filewrite()) > initiated from a jprobe (fs_vfs_write()) set on kernel function > (vfs_write()). Although the write operation succeed, I get this on my > log: > > BUG: slee

Re: kobject.c changes in -mm

2007-01-08 Thread Frederik Deweerdt
On Mon, Jan 08, 2007 at 12:31:56PM -0800, Greg KH wrote: > On Mon, Jan 08, 2007 at 07:25:07PM +0000, Frederik Deweerdt wrote: > > On Mon, Jan 08, 2007 at 11:09:42AM -0800, Greg KH wrote: > > > On Mon, Jan 08, 2007 at 01:37:47PM +, Christoph Hellwig wrote: > > >

Re: kobject.c changes in -mm

2007-01-08 Thread Frederik Deweerdt
On Mon, Jan 08, 2007 at 11:09:42AM -0800, Greg KH wrote: > On Mon, Jan 08, 2007 at 01:37:47PM +, Christoph Hellwig wrote: > > --- linux-2.6.20-rc3/lib/kobject.c 2007-01-01 23:04:49.0 -0800 > > +++ devel/lib/kobject.c 2007-01-04 21:13:21.0 -0800 > > @@ -15,6 +15,8 @@ > > #i

Re: [-mm patch] lockdep: possible deadlock in sysfs

2007-01-05 Thread Frederik Deweerdt
On Fri, Jan 05, 2007 at 04:13:25PM +0100, Oliver Neukum wrote: > Am Freitag, 5. Januar 2007 13:16 schrieb Frederik Deweerdt: > > On Thu, Jan 04, 2007 at 10:02:00PM -0800, Andrew Morton wrote: > > > > > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/ak

[-mm patch] lockdep: possible deadlock in sysfs

2007-01-05 Thread Frederik Deweerdt
sh_and_remove) Regards, Frederik [1] http://groups.google.com/group/linux.kernel/msg/5164f76c31958e0b?dmode=source Signed-off-by: Frederik Deweerdt <[EMAIL PROTECTED]> diff --git a/fs/sysfs/inode.c b/fs/sysfs/inode.c index 8c533cb..bcf6bc0 100644 --- a/fs/sysfs/inode.c +++ b/fs/sysf

Re: 2.6.20-rc2-mm1: INFO: possible recursive locking detected in con_close

2007-01-05 Thread Frederik Deweerdt
On Thu, Jan 04, 2007 at 05:10:05PM -0800, Greg KH wrote: > On Fri, Dec 29, 2006 at 11:00:41AM +0000, Frederik Deweerdt wrote: > > On Thu, Dec 28, 2006 at 10:25:12PM +0100, Laurent Riffard wrote: > > > Le 28.12.2006 11:42, Andrew Morton a ?crit : > > > >ftp://ftp.kern

[-mm patch] lockdep: unbalance at generic_sync_sb_inodes

2007-01-05 Thread Frederik Deweerdt
[] kern_mount+0x16/0x1d [ 65.270223] [] sysfs_init+0x57/0xad [ 65.270319] [] mnt_init+0xbf/0x13b [ 65.270412] [] vfs_caches_init+0x97/0xa7 [ 65.270506] [] start_kernel+0x1ca/0x261 [ 65.270600] [<>] 0x0 [ 65.270691] === Regards, Frederik Signed-off-

Re: [PATCH -mm 8/8] user ns: implement user ns unshare

2007-01-04 Thread Frederik Deweerdt
On Thu, Jan 04, 2007 at 12:13:10PM -0600, Serge E. Hallyn wrote: > From: Serge E. Hallyn <[EMAIL PROTECTED]> > Subject: [PATCH -mm 8/8] user ns: implement user ns unshare > > Implement CLONE_NEWUSER flag useable at clone/unshare. > > Signed-off-by: Serge E. Hallyn <[EMAIL PROTECTED]> > --- >

Re: [PATCH -mm 5/8] user ns: prepare copy_tree, copy_mnt, and their callers to handle errs

2007-01-04 Thread Frederik Deweerdt
On Thu, Jan 04, 2007 at 12:12:15PM -0600, Serge E. Hallyn wrote: > diff --git a/fs/namespace.c b/fs/namespace.c > index 5da87e2..a4039a3 100644 > --- a/fs/namespace.c > +++ b/fs/namespace.c > @@ -708,8 +708,9 @@ struct vfsmount *copy_tree(struct vfsmou > return NULL; > > res =

  1   2   >