[PATCH 2/2] x86_64 vDSO: put vars in .rodata

2007-09-24 Thread Roland McGrath
This adds a const to the definitions vvar.c makes, so that the vdso_* variables go into .rodata instead of .data. This is essentially a cosmetic change, just giving the section headers in the vDSO file more pleasing flags. These variables are read-only from the perspective of the vDSO itself and

Re: [RFC][PATCH] mm: couple rcu and memory reclaim

2007-09-24 Thread Peter Zijlstra
On Mon, 24 Sep 2007 16:12:19 +0530 Balbir Singh <[EMAIL PROTECTED]> wrote: > Peter Zijlstra wrote: > > > > Just an idea I had, it seems like a good idea to wait for RCU callbacks > > in reclaim so that we won't get all of memory stuck there. > > > > If this location is too aggressive we might st

Re: [git] CFS-devel, group scheduler, fixes

2007-09-24 Thread Peter Zijlstra
On Mon, 24 Sep 2007 12:42:15 +0200 Mike Galbraith <[EMAIL PROTECTED]> wrote: > On Mon, 2007-09-24 at 12:24 +0200, Peter Zijlstra wrote: > > > how about something like: > > > > s64 delta = (s64)(vruntime - min_vruntime); > > if (delta > 0) > > min_vruntime += delta; > > > > That would rid us

Re: 2.6.23-rc7-mm1 - 'touch' command causes Oops.

2007-09-24 Thread Balbir Singh
[EMAIL PROTECTED] wrote: > On Mon, 24 Sep 2007 02:17:16 PDT, Andrew Morton said: > >> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc7/2.6.23-rc7-mm1/ > > It lived fast, it died young, it didn't leave a pretty corpse... > > Something in the startup scripts did a 'touch',

2.6.22.7 default kernel configuration

2007-09-24 Thread Jaswinder Singh
Hi all, Can please someone let me know what is criteria for default kernel configuration . Is it based upon some survey or requested by Fedora or others. By default configuration size of vmlinux is 41 MB and it includes approx 75% of useless stuff for me. what is the idea behind 'default kernel

Re: 2.6.23-rc6-mm1: Build failures on ppc64_defconfig

2007-09-24 Thread Mel Gorman
On (22/09/07 12:24), Satyam Sharma didst pronounce: > > > On Thu, 20 Sep 2007, Satyam Sharma wrote: > > > > BTW ppc64_defconfig didn't quite like 2.6.23-rc6-mm1 either ... > > IIRC I got build failures in: > > > drivers/net/spider_net.c > > > [PATCH -mm] spider_net: Misc build fixes after rec

Re: 2.6.23-rc6-mm1

2007-09-24 Thread Mel Gorman
On (22/09/07 14:11), Satyam Sharma didst pronounce: > > > -static volatile int kgdb_hwbreak_sstep[NR_CPUS]; > > +volatile int kgdb_hwbreak_sstep[NR_CPUS]; > > That looks fishy to me. Why is it volatile-qualified? It turned out that it was unnecessary. A follow-up patch removed the volatile and k

Re: [git] CFS-devel, group scheduler, fixes

2007-09-24 Thread Mike Galbraith
On Mon, 2007-09-24 at 12:42 +0200, Mike Galbraith wrote: > On Mon, 2007-09-24 at 12:24 +0200, Peter Zijlstra wrote: > > > how about something like: > > > > s64 delta = (s64)(vruntime - min_vruntime); > > if (delta > 0) > > min_vruntime += delta; > > > > That would rid us of most of the funny

Re: [RFC][PATCH] mm: couple rcu and memory reclaim

2007-09-24 Thread Balbir Singh
Peter Zijlstra wrote: > On Mon, 24 Sep 2007 16:12:19 +0530 Balbir Singh > <[EMAIL PROTECTED]> wrote: > >> Peter Zijlstra wrote: >>> Just an idea I had, it seems like a good idea to wait for RCU callbacks >>> in reclaim so that we won't get all of memory stuck there. >>> >>> If this location is too

[-mm Patch] net/bluetooth/hidp/core.c: Make hidp_setup_input() return int

2007-09-24 Thread WANG Cong
This patch: - makes hidp_setup_input() return int to indicate errors; - checks its return value to handle errors. And this time it is against -rc7-mm1 tree. Thanks to roel and Marcel Holtmann for comments. Signed-off-by: WANG Cong <[EMAIL PROTECTED]> --- net/bluetooth/hidp/core.c | 11 +

Re: fpu IO port reservation (arch/i386)

2007-09-24 Thread Maciej W. Rozycki
On Fri, 21 Sep 2007, Andi Kleen wrote: > > For the curious the details of all the hassle are reasonably well > > described in the Intel's AP-578 application note. > > Thanks. Ok it has to stay for for i386 then; although it would be in theory > possible to only reserve when the CPU is a real 38

Re: [git] CFS-devel, group scheduler, fixes

2007-09-24 Thread Mike Galbraith
On Mon, 2007-09-24 at 13:08 +0200, Peter Zijlstra wrote: > Its perfectly valid for min_vruntime to exist in 1ULL << 63. But wrap backward timewarp is what's killing my box. -Mike - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Kamalesh Babulal
Hi Andrew, The kernel build fails with CC arch/ia64/kernel/efi.o arch/ia64/kernel/efi.c: In function 'efi_memmap_init': arch/ia64/kernel/efi.c:1088: error: 'total_memory' undeclared (first use in this function) arch/ia64/kernel/efi.c:1088: error: (Each undeclared identifier is reported

realtime preemption performance difference

2007-09-24 Thread Jaswinder Singh
Hi all, I want to check performance difference by using realtime preemption patch : http://www.kernel.org/pub/linux/kernel/projects/rt/ Please let me know from where I can download samples to test realtime preemption performance difference. Can someone please share performance numbers for your

Re: [RFC][PATCH] mm: couple rcu and memory reclaim

2007-09-24 Thread Peter Zijlstra
On Mon, 24 Sep 2007 16:52:15 +0530 Balbir Singh <[EMAIL PROTECTED]> wrote: > Peter Zijlstra wrote: > > On Mon, 24 Sep 2007 16:12:19 +0530 Balbir Singh > > <[EMAIL PROTECTED]> wrote: > > > >> Peter Zijlstra wrote: > >>> Just an idea I had, it seems like a good idea to wait for RCU callbacks > >>>

Re: [git] CFS-devel, group scheduler, fixes

2007-09-24 Thread Peter Zijlstra
On Mon, 24 Sep 2007 13:22:14 +0200 Mike Galbraith <[EMAIL PROTECTED]> wrote: > On Mon, 2007-09-24 at 12:42 +0200, Mike Galbraith wrote: > > On Mon, 2007-09-24 at 12:24 +0200, Peter Zijlstra wrote: > > > > > how about something like: > > > > > > s64 delta = (s64)(vruntime - min_vruntime); > > >

Re: 2.6.22.7 default kernel configuration

2007-09-24 Thread Sam Ravnborg
On Mon, Sep 24, 2007 at 04:41:54PM +0530, Jaswinder Singh wrote: > Hi all, > > Can please someone let me know what is criteria for default kernel > configuration . > > Is it based upon some survey or requested by Fedora or others. > > By default configuration size of vmlinux is 41 MB and it incl

Re: USB autosuspend and turning of usb pendrive leds

2007-09-24 Thread Hans de Goede
Oliver Neukum wrote: Am Freitag 21 September 2007 schrieb Jiri Kosina: On Fri, 21 Sep 2007, Hans de Goede wrote: Thats not what I had in mind, autosuspend doesn't work (presumably because hal keeps polling for media change) maybe I should fix hal to not keep polling for devices which don't ha

Re: 2.6.22.7 autoconf.h is screwed up

2007-09-24 Thread Sam Ravnborg
On Mon, Sep 24, 2007 at 03:50:43PM +0530, Jaswinder Singh wrote: > Hi all, > > 2.6.22.7's include/linux/autoconf.h is completely screwed up as > compare to 2.6.10's autoconf.h . > > 2.6.22.7 totally changed the meaning of autoconf.h autoconf.h has always been autogenerated. And autoconf.h has al

Re: 2.6.23-rc7-mm1 - 'touch' command causes Oops.

2007-09-24 Thread Christoph Hellwig
On Mon, Sep 24, 2007 at 06:35:50AM -0400, [EMAIL PROTECTED] wrote: > On Mon, 24 Sep 2007 02:17:16 PDT, Andrew Morton said: > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc7/2.6.23-rc7-mm1/ > > It lived fast, it died young, it didn't leave a pretty corpse... > > Somet

Re: 2.6.22.7 autoconf.h is screwed up

2007-09-24 Thread Jaswinder Singh
Dear Sam, On 9/24/07, Sam Ravnborg <[EMAIL PROTECTED]> wrote: > On Mon, Sep 24, 2007 at 03:50:43PM +0530, Jaswinder Singh wrote: > > Hi all, > > > > 2.6.22.7's include/linux/autoconf.h is completely screwed up as > > compare to 2.6.10's autoconf.h . > > > > 2.6.22.7 totally changed the meaning of

[patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Miklos Szeredi
Thanks to everyone for the feedback. Here's two of the VFS patches reworked according to comments. I also plan to rework the setattr() patch accordingly and perhaps the xattr patch, altough that is the lowest priority. Christoph, are these OK with you in this form? From: Miklos Szeredi <[E

[patch 2/2] VFS: allow filesystem to override mknod capability checks

2007-09-24 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> Add a new super block flag, that results in the VFS not checking if the current process has enough privileges to do an mknod(). If this flag is set, all mounts for this super block will have the "nodev" flag implied. This is needed on filesystems, where a

2.6.23-rc7-mm1 -- s390 compile failures

2007-09-24 Thread Andy Whitcroft
Getting compile errors on S390: CC arch/s390/mm/cmm.o arch/s390/mm/cmm.c: In function `cmm_init': arch/s390/mm/cmm.c:431: error: implicit declaration of function `register_oom_notifier' arch/s390/mm/cmm.c:443: error: implicit declaration of function

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Jiri Slaby
On 09/24/2007 11:17 AM, Andrew Morton wrote: > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc7/2.6.23-rc7-mm1/ Fine, but on some boots (I noticed this on rc6-mm1 too, but not before): :00:1a.7 EHCI: BIOS handoff failed (BIOS bug ?) 01010001 :00:1d.7 EHCI: BIOS hand

Re: [00/41] Large Blocksize Support V7 (adds memmap support)

2007-09-24 Thread Kyle Moffett
On Sep 23, 2007, at 02:22:12, Goswin von Brederlow wrote: [EMAIL PROTECTED] (Mel Gorman) writes: On (16/09/07 23:58), Goswin von Brederlow didst pronounce: But when you already have say 10% of the ram in mixed groups then it is a sign the external fragmentation happens and some time should b

2.6.23-rc7-mm1 -- powerpc rtas panic

2007-09-24 Thread Andy Whitcroft
Seeing the following from an older power LPAR, pretty sure we had this in the previous -mm also: Unable to handle kernel paging request for data at address 0x Faulting instruction address: 0xc0047ac8 cpu 0x0: Vector: 300 (Data Access) at [c058f750] pc: c0047ac8:

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Christoph Hellwig
On Mon, Sep 24, 2007 at 02:24:54PM +0200, Miklos Szeredi wrote: > Thanks to everyone for the feedback. Here's two of the VFS patches > reworked according to comments. I also plan to rework the setattr() > patch accordingly and perhaps the xattr patch, altough that is the > lowest priority. > > C

Re: [patch 2/2] VFS: allow filesystem to override mknod capability checks

2007-09-24 Thread Christoph Hellwig
On Mon, Sep 24, 2007 at 02:25:54PM +0200, Miklos Szeredi wrote: > From: Miklos Szeredi <[EMAIL PROTECTED]> > > Add a new super block flag, that results in the VFS not checking if > the current process has enough privileges to do an mknod(). > > If this flag is set, all mounts for this super block

Re: Compilation problem with kernel 2.6.9

2007-09-24 Thread Jiri Slaby
On 09/24/2007 11:52 AM, Antoine Zen-Ruffinen wrote: > Hello, > > I tried to compile the kernel 2.6.9 because I want to use it with > RTLinux and that the only 2.6.x kernel supported. I used gcc 2.95.3 as > recommended. > But I have an error by compilation of process.c : > > CC arch/i386/ke

Re: [PATCH 3/4] ide: make ide_rate_filter() also respect PIO and SW/MW DMA mode masks (take 2)

2007-09-24 Thread Sergei Shtylyov
Once I quothed: Make ide_rate_filter() also respect PIO/SWDMA/MWDMA mode masks. While at it, make the udma_filter() method calls take precedence over using the mode masks. This one not looking to pretty -- I've geve some thought on how to beautify all these switch fallthoughs but haven't

Re: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents

2007-09-24 Thread Rafael J. Wysocki
On Monday, 24 September 2007 10:07, Thomas Gleixner wrote: > On Sun, 2007-09-23 at 22:52 +0200, Rafael J. Wysocki wrote: > > > > Second, noacpitimer added to the command line makes all of the kernels, > > > > up to > > > > and including 2.6.23-rc6-mm1, boot (this seems to be 100% reproducible). >

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Cedric Le Goater
Andrew Morton wrote: > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc7/2.6.23-rc7-mm1/ /home/clg/linux/2.6.23-rc7-mm1/drivers/s390/block/dasd_eckd.c: In function `dasd_eckd_build_cp': /home/clg/linux/2.6.23-rc7-mm1/drivers/s390/block/dasd_eckd.c:1181: error: syntax error

Re: [RFC][PATCH] mm: couple rcu and memory reclaim

2007-09-24 Thread Balbir Singh
Peter Zijlstra wrote: >>> Only kswapd can do this, direct reclaim has deadlock potential. >> Yes, but not in all cases, do you want to add any gfp_mask >> based smartness for direct reclaim? > > gfp_mask doesn't carry the needed information. It depends on whether > the current context holds a rcu_

Re: 2.6.23-rc7-mm1 -- s390 compile failures

2007-09-24 Thread Cedric Le Goater
Andy Whitcroft wrote: > Getting compile errors on S390: > > CC arch/s390/mm/cmm.o > arch/s390/mm/cmm.c: In function `cmm_init': > arch/s390/mm/cmm.c:431: error: implicit declaration of function > `register_oom_notifier' > arch/s390/mm/cmm.c:443: error:

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Miklos Szeredi
> On Mon, Sep 24, 2007 at 02:24:54PM +0200, Miklos Szeredi wrote: > > Thanks to everyone for the feedback. Here's two of the VFS patches > > reworked according to comments. I also plan to rework the setattr() > > patch accordingly and perhaps the xattr patch, altough that is the > > lowest priori

Re: [PATCH] ahci: Add MCP79 support to AHCI driver

2007-09-24 Thread Sergei Shtylyov
Hello. Peer Chen wrote: Code change, remove some Device IDs. Signed-off-by: Peer Chen <[EMAIL PROTECTED]> --- --- linux-2.6.23-rc7/drivers/ata/ahci.c.orig2007-09-20 11:01:55.0 -0400 +++ linux-2.6.23-rc7/drivers/ata/ahci.c 2007-09-24 10:08:03.0 -0400 @@ -472,6 +472,14 @@

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Kamalesh Babulal
Hi Andrew, Kernel oops over x86_64 (AMD Opteron(tm) Processor 844) Unable to handle kernel NULL pointer dereference at 0070 RIP: [] fasync_helper+0x6b/0xe4 PGD 181949067 PUD 182228067 PMD 0 Oops: [1] SMP last sysfs file: /devices/system/node/possible CPU 3 Modules linked in:

Re: [RFC][PATCH] mm: couple rcu and memory reclaim

2007-09-24 Thread Peter Zijlstra
On Mon, 24 Sep 2007 18:18:30 +0530 Balbir Singh <[EMAIL PROTECTED]> wrote: > Peter Zijlstra wrote: > >>> Only kswapd can do this, direct reclaim has deadlock potential. > >> Yes, but not in all cases, do you want to add any gfp_mask > >> based smartness for direct reclaim? > > > > gfp_mask doesn'

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Matthew Wilcox
On Mon, Sep 24, 2007 at 02:48:08PM +0200, Miklos Szeredi wrote: > > and if that means adding silly rename support so be it. > > That's what is done currently. > > But it's has various dawbacks, like rmdir doesn't work if there are > open files within an otherwise empty directory. > > I'd happily

Re: 2.6.23-rc7-mm1 - 'touch' command causes Oops.

2007-09-24 Thread Valdis . Kletnieks
On Mon, 24 Sep 2007 13:05:08 BST, Christoph Hellwig said: > On Mon, Sep 24, 2007 at 06:35:50AM -0400, [EMAIL PROTECTED] wrote: > > On Mon, 24 Sep 2007 02:17:16 PDT, Andrew Morton said: > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc7/2.6.23-rc7-mm1/ > > > > It li

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Cedric Le Goater
Andrew Morton wrote: > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc7/2.6.23-rc7-mm1/ I also get this compile error on s390. 'linux/scatterlist.h' has disappeared from the #include pile but where ? /home/clg/linux/2.6.23-rc7-mm1/net/sctp/auth.c: In function `sctp_auth

Re: [PATCH] Uninline kcalloc()

2007-09-24 Thread Kyle Moffett
On Sep 24, 2007, at 01:35:08, [EMAIL PROTECTED] wrote: On Sun, 23 Sep 2007 00:03:49 +0400, Alexey Dobriyan said: -static inline void *kcalloc(size_t n, size_t size, gfp_t flags) -{ - if (n != 0 && size > ULONG_MAX / n) - return NULL; - return __kmalloc(n * size, flags |

Re: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents

2007-09-24 Thread Thomas Gleixner
On Mon, 2007-09-24 at 14:57 +0200, Rafael J. Wysocki wrote: > > > http://tglx.de/projects/hrtimers/2.6.23-rc4/patch-2.6.23-rc4-hrt1.patches.tar.bz2 > > > > > > applied. I also have the 2.6.23-rc6-mm1 dmesg output ready, but there's > > > some > > > -mm-specific noise in it. Please let me know i

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Miklos Szeredi
> > > and if that means adding silly rename support so be it. > > > > That's what is done currently. > > > > But it's has various dawbacks, like rmdir doesn't work if there are > > open files within an otherwise empty directory. > > > > I'd happily accept suggestions on how to deal with this dif

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Cedric Le Goater
putting Vlad in Cc: Cedric Le Goater wrote: > Andrew Morton wrote: >> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc7/2.6.23-rc7-mm1/ > > I also get this compile error on s390. 'linux/scatterlist.h' has disappeared > from the #include pile but where ? > > /home/clg/lin

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Christoph Hellwig
On Mon, Sep 24, 2007 at 03:06:06PM +0200, Miklos Szeredi wrote: > If a network filesystem protocol can't handle operations (be it data > or metadata) on an unlinked file, we must do sillirenaming, so that > the file is not actually unlinked. Or not support such a broken protocol at all. - To unsu

2.6.23-rc7-mm1: fix generic_setlease() mismerge

2007-09-24 Thread Alexey Dobriyan
Please, try this: --- a/fs/locks.c +++ b/fs/locks.c @@ -1373,11 +1373,6 @@ int generic_setlease(struct file *filp, long arg, struct file_lock **flp) if (new_fl == NULL) goto out; - error = -ENOMEM; - new_fl = locks_alloc_lock(); - if (new_fl == NULL) -

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Kamalesh Babulal
Hi Andrew, Kernel BUG over x86_64 (AMD Opteron(tm) Processor 844). Similar kernel Bug was reported for 2.6.23-rc2-mm1 at http://lkml.org/lkml/2007/8/10/20 and the mm-dirty-balancing-for-tasks.patch was dropped from 2.6.23-rc2-mm2. And the same patch is in this -mm version, suspect whether is it

Re: [PATCH0/4] Various bug fixes

2007-09-24 Thread Marcelo Tosatti
Paul, please apply. On Sun, Sep 23, 2007 at 10:16:48PM +0200, Jochen Friedrich wrote: > Here is a series fixing some bugs for 8xx powerpc CPUs. > > 1. [POWERPC] Fix copy'n'paste typo in commproc.c > 2. [PPC] Fix cpm_dpram_addr returning phys mem instead of virt mem > 3. [PPC] Compile fix for 8xx

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Matthew Wilcox
On Mon, Sep 24, 2007 at 03:06:06PM +0200, Miklos Szeredi wrote: > A file isn't deleted while there are still links or open files > refering to it. So getting the attributes for a file with nlink==0 is > perfectly valid while the file is still open. Is it? Why not just pretend that the attributes

Re: [PATCH] Uninline kcalloc()

2007-09-24 Thread Valdis . Kletnieks
On Mon, 24 Sep 2007 08:59:56 EDT, Kyle Moffett said: > Proper fix is to give __kmalloc a "void *caller" parameter and have > all of the various wrapper functions pass in the value of > __builtin_return_address() appropriately. I believe that even works > properly for inline functions which

[PATCH rc7-mm1] fix BUG at mm/swap.c:405!

2007-09-24 Thread Hugh Dickins
a.k.a. mm-use-pagevec-to-rotate-reclaimable-page-fix-2.patch rotate_reclaimable_page() is not necessarily called with IRQ disabled: it must do so when calling the helpfully commented pagevec_move_tail(). Hmm, if pagevec_move_tail() is assuming IRQ disabled, why should it bother with irqsave/irqre

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Pavel Emelyanov
Please, try with this patch too: diff --git a/fs/locks.c b/fs/locks.c index c0fe71a..f599508 100644 --- a/fs/locks.c +++ b/fs/locks.c @@ -1423,7 +1423,7 @@ int generic_setlease(struct file *filp, locks_copy_lock(new_fl, lease); locks_insert_lock(before, new_fl); - *flp = f

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Miklos Szeredi
> > If a network filesystem protocol can't handle operations (be it data > > or metadata) on an unlinked file, we must do sillirenaming, so that > > the file is not actually unlinked. > > Or not support such a broken protocol at all. Wonder what people would say if we removed support for NFSv[23]

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Balbir Singh
Pavel Emelyanov wrote: > Please, try with this patch too: > > diff --git a/fs/locks.c b/fs/locks.c > index c0fe71a..f599508 100644 > --- a/fs/locks.c > +++ b/fs/locks.c > @@ -1423,7 +1423,7 @@ int generic_setlease(struct file *filp, > locks_copy_lock(new_fl, lease); > locks_insert_loc

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Miklos Szeredi
> On Mon, Sep 24, 2007 at 03:06:06PM +0200, Miklos Szeredi wrote: > > A file isn't deleted while there are still links or open files > > refering to it. So getting the attributes for a file with nlink==0 is > > perfectly valid while the file is still open. > > Is it? Why not just pretend that th

Re: USB autosuspend and turning of usb pendrive leds

2007-09-24 Thread Oliver Neukum
Am Montag 24 September 2007 schrieb Hans de Goede: > Oliver Neukum wrote: > > Am Freitag 21 September 2007 schrieb Jiri Kosina: > >> On Fri, 21 Sep 2007, Hans de Goede wrote: > >> > >>> Thats not what I had in mind, autosuspend doesn't work (presumably > >>> because hal keeps polling for media cha

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Christoph Hellwig
On Mon, Sep 24, 2007 at 03:18:10PM +0200, Miklos Szeredi wrote: > > Or not support such a broken protocol at all. > > Wonder what people would say if we removed support for NFSv[23]. > > Just because a protocol does not support "perfect" UNIX semantics, it > doesn't mean it's broken. By that sta

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Vlad Yasevich
Cedric Le Goater wrote: > putting Vlad in Cc: > > Cedric Le Goater wrote: >> Andrew Morton wrote: >>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc7/2.6.23-rc7-mm1/ >> I also get this compile error on s390. 'linux/scatterlist.h' has disappeared >> from the #include pile

Re: [PATCH 14/22] NFS: Use local caching

2007-09-24 Thread Peter Staubach
David Howells wrote: David Howells <[EMAIL PROTECTED]> wrote: Peter Staubach <[EMAIL PROTECTED]> wrote: Did I miss the section where the modified semantics about which mounted file systems can use the cache and which ones can not was implemented? Yes. fs/nfs/super.c:

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Alan Cox
> But it's has various dawbacks, like rmdir doesn't work if there are > open files within an otherwise empty directory. > > I'd happily accept suggestions on how to deal with this differenty. NFS has that problem because it really has to sillyrename into the same directory. I don't see that ssh/s

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Miklos Szeredi
> On Mon, Sep 24, 2007 at 03:18:10PM +0200, Miklos Szeredi wrote: > > > Or not support such a broken protocol at all. > > > > Wonder what people would say if we removed support for NFSv[23]. > > > > Just because a protocol does not support "perfect" UNIX semantics, it > > doesn't mean it's broken

Re: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents

2007-09-24 Thread Rafael J. Wysocki
On Monday, 24 September 2007 15:05, Thomas Gleixner wrote: > On Mon, 2007-09-24 at 14:57 +0200, Rafael J. Wysocki wrote: > > > > http://tglx.de/projects/hrtimers/2.6.23-rc4/patch-2.6.23-rc4-hrt1.patches.tar.bz2 > > > > > > > > applied. I also have the 2.6.23-rc6-mm1 dmesg output ready, but > > >

Re: [patch 1/2] VFS: new fgetattr() file operation

2007-09-24 Thread Miklos Szeredi
> > But it's has various dawbacks, like rmdir doesn't work if there are > > open files within an otherwise empty directory. > > > > I'd happily accept suggestions on how to deal with this differenty. > > NFS has that problem because it really has to sillyrename into the same > directory. I don't

Re: + git-nfs-vs-nfs-convert-to-new-aops.patch added to -mm tree

2007-09-24 Thread Peter Zijlstra
On Thu, 20 Sep 2007 13:20:47 +0200 Peter Zijlstra <[EMAIL PROTECTED]> wrote: > /me continues the mmap write on nfs adventure... My test prog reliably hangs like so: mm_tester D 0040b305 0 2701 2699 6042cef0 602ca520 617dfa50 617de000 617dfa90 60010b62 617dfa80 6002785d

Re: [PATCH 2/3] CRED: Split the task security data and move part of it into struct cred

2007-09-24 Thread Serge E. Hallyn
Quoting David Howells ([EMAIL PROTECTED]): > Move into the cred struct the part of the task security data that defines how > a > task acts upon an object. The part that defines how something acts upon a > task > remains attached to the task. > > For SELinux this requires some of task_security_s

Re: [PATCH] Broadcom 8603 SAS/SATA driver, rough draft

2007-09-24 Thread James Bottomley
On Sun, 2007-09-23 at 20:14 -0400, Jeff Garzik wrote: > James Bottomley wrote: > > On Sun, 2007-09-23 at 19:43 -0400, Jeff Garzik wrote: > >> James Bottomley wrote: > >>> On Sun, 2007-09-23 at 00:04 -0400, Jeff Garzik wrote: > Rather than sitting on this for far too long, I wanted to go ahead

Re: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents

2007-09-24 Thread Thomas Gleixner
On Mon, 2007-09-24 at 15:52 +0200, Rafael J. Wysocki wrote: > > > > So I really wonder, why noacpitimer on the kernel command line makes any > > > > difference. I'm confused. > > > > > > \metoo > > > > > > Well, it was probably read as "noacpi". :-) > > > > Hmm, ACPI is in the log all over the p

Re: 2.6.23-rc7 - _random_ IRQ23 : nobody cared

2007-09-24 Thread David Newall
Paul Rolland "(???) wrote: Hell, IRQ 23 is shared between libata and my modem !!! Tried using the modem? - 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.h

Re: [PATCH] sysfs: backport of sysfs_readdir fix from 2.6.22.y to 2.6.16.y (CVE-2007-3104)

2007-09-24 Thread Jiri Kosina
(Adrian should be CCed on things regarding 2.6.16.y kernel) On Sun, 23 Sep 2007, Miloslav Semler wrote: > This patch solves CVE-2007-3104 - sysfs_readdir oops. > More can be found here: > http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.22.y.git;a=commit;h=dc351252b33f8fede396d6173dba1

Re: [PATCH 24/25] r/o bind mounts: track number of mount writers

2007-09-24 Thread Arjan van de Ven
> It look like a false positive to me, but really, for a patchset of > this complexity and maturity I cannot fathom how it could have > escaped any lockdep testing. the code tries to implement per cpu spinlocks, or rather it tries to bring back the brlocks from way past cute. we can educate

Re: [linux-usb-devel] 2.6.23-rc7-mm1

2007-09-24 Thread Alan Stern
On Mon, 24 Sep 2007, Jiri Slaby wrote: > On 09/24/2007 11:17 AM, Andrew Morton wrote: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc7/2.6.23-rc7-mm1/ > > Fine, but on some boots (I noticed this on rc6-mm1 too, but not before): > :00:1a.7 EHCI: BIOS handoff failed

Re: [PATCH] sb1250-mac: Driver model & phylib update

2007-09-24 Thread Maciej W. Rozycki
On Fri, 21 Sep 2007, Andrew Morton wrote: > > A driver model and phylib update. > > akpm:/usr/src/25> diffstat patches/git-net.patch | tail -n 1 > 1013 files changed, 187667 insertions(+), 23587 deletions(-) > > Sorry, but raising networking patches against Linus's crufty > old mainline tree j

Re: 2.6.23-rc7 + radeonfb/s2ram

2007-09-24 Thread Andreas Herrmann
On Sat, Sep 22, 2007 at 07:27:59AM +0200, Mihai Donțu wrote: > Hi, > > Today, out of curiosity, I pulled 2.6.23-rc7 (leave on the edge in a quiet > weekend). > Anyway, it seems that radeonfb and my: > "01:05.0 VGA compatible controller: ATI Technologies Inc ATI Radeon XPRESS > 200M 5955 (PCIE)"

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Reuben Farrelly
On 24/09/2007 7:17 PM, Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc7/2.6.23-rc7-mm1/ - New git tree git-powerpc-galak.patch added to the -mm lineup: ppc32 things, mainly (Kumar Gala <[EMAIL PROTECTED]>) I'm observing a problem with this kerne

Re: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents

2007-09-24 Thread Rafael J. Wysocki
On Monday, 24 September 2007 16:23, Thomas Gleixner wrote: > On Mon, 2007-09-24 at 15:52 +0200, Rafael J. Wysocki wrote: > > > > > So I really wonder, why noacpitimer on the kernel command line makes > > > > > any > > > > > difference. I'm confused. > > > > > > > > \metoo > > > > > > > > Well, i

Re: [v4l-dvb-maintainer] [PATCH] cafe_ccic: default to allocating DMA buffers at probe time

2007-09-24 Thread Mauro Carvalho Chehab
Hi Andres, Still missing on your patch is your SOB ;) From what I got from Jon, he is ok with your patch. Cheers, Mauro. Em Qua, 2007-09-19 às 01:44 -0400, Andres Salomon escreveu: > By default, we allocate DMA buffers when actually reading from the video > capture device. On a system with 128M

Re: [PATCH] change inotifyfs magic as the same magic is used for futexfs (v2)

2007-09-24 Thread Randy Dunlap
On Mon, 24 Sep 2007 12:46:06 +0400 Andrey Mirkin wrote: > From: Andrey Mirkin <[EMAIL PROTECTED]> > > Right now futexfs and inotifyfs have one magic 0xBAD1DEA, that looks a little > bit confusing. > Use 0xBAD1DEA as magic for futexfs and 0x2BAD1DEA as magic for inotifyfs. > > Signed-off-by: And

Re: [Patch 1/2] Trace code and documentation (updated)

2007-09-24 Thread David Wilder
Christoph Hellwig wrote: Your mailer wrapper the patch so I can't actually apply it to start playing with the patch. - 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-in

Re: [RFC] New kernel-message logging API

2007-09-24 Thread Joe Perches
On Mon, 2007-09-24 at 11:22 +0200, Michael Holzheu wrote: > Together with the idea of not allowing multiple lines in the kprint_xxx > functions, that would go with our approach having message numbers to > identify a message. How does this equate/give message numbers? > If you do it like that, you

Re: 2.6.23-rc7-mm1 ia64 build issue in efi.c

2007-09-24 Thread Bob Picco
There isn't a total_memory identifier within this function's scope. The patch was compile/link tested. Signed-off-by: Bob Picco <[EMAIL PROTECTED]> arch/ia64/kernel/efi.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.23-rc7-mm1/arch/ia64/kernel/efi.c ===

[PATCH 1/2] Uninline find_task_by_xxx set of functions

2007-09-24 Thread Pavel Emelyanov
The find_task_by_something is a set of macros are used to find task by pid depending on what kind of pid is proposed - global or virtual one. All of them are wrappers above the most generic one - find_task_by_pid_type_ns() - and just substitute some args for it. It turned out, that dereferencing

Re: [PATCH] Broadcom 8603 SAS/SATA driver, rough draft

2007-09-24 Thread Jeff Garzik
James Bottomley wrote: On the other hand, I think I can find a nice lever to move Marvell with, so I'll take this on without needing potentially to compromise your contacts. FWIW Marvell is moving quite nicely... they are actively providing docs under NDA, and sometimes sample code (or even a

[PATCH 2/2] Uninline find_pid etc set of functions

2007-09-24 Thread Pavel Emelyanov
The find_pid/_vpid/_pid_ns functions are used to find the struct pid by its id, depending on whic id - global or virtual - is used. The find_vpid() is a macro that pushes the current->nsproxy->pid_ns on the stack to call another function - find_pid_ns(). It turned out, that this dereference toget

Re: Kernel bug

2007-09-24 Thread Mel Gorman
On (19/09/07 17:43), Branislav Bozgai didst pronounce: > uname -a > Linux tweety 2.6.21.3-default #2 Tue Aug 7 17:11:50 EDT 2007 i686 athlon > i386 GNU/Linux > Hello, my system is crashing with following info in /var/log/messages, > thought I send it to you. Does this happen after suspend/resume

Re: 2.6.23-rc7-mm1

2007-09-24 Thread Pavel Emelyanov
Balbir Singh wrote: > Pavel Emelyanov wrote: >> Please, try with this patch too: >> >> diff --git a/fs/locks.c b/fs/locks.c >> index c0fe71a..f599508 100644 >> --- a/fs/locks.c >> +++ b/fs/locks.c >> @@ -1423,7 +1423,7 @@ int generic_setlease(struct file *filp, >> locks_copy_lock(new_fl, leas

Re: [patch 2/3] new timerfd API - wire the new timerfd API to the x86 family

2007-09-24 Thread Davide Libenzi
On Mon, 24 Sep 2007, Michael Kerrisk wrote: > Davide, > > Is it perhaps not better to group the three syscalls contiguously with > respect to syscall numbers? The old timerfd slot can be re-used for some > other syscall later. There's no problem if they're not contiguous. Holes, unless filled

Re: [Patch 1/2] Trace code and documentation (resend)

2007-09-24 Thread David Wilder
Christoph Hellwig wrote: On Fri, Sep 21, 2007 at 09:23:28PM -0700, David J. Wilder wrote: My last posting was mangled by my mailer. I hope this one is better. Also corrected Randy's concerns. Please see previous posting for more information: http://lkml.org/lkml/2007/9/19/4 (PATCH 0/2) Note:

Re: Mask Issue?

2007-09-24 Thread Mel Gorman
On (19/09/07 17:57), Chris Holvenstot didst pronounce: > Still being a little new at this I am not sure if this is an issue at > all or not but I noted that while building the 2.6.23-rc6-git8 kernel > this afternoon I received the following error message: > > Building modules, stage 2. > MODPOS

Re: [00/41] Large Blocksize Support V7 (adds memmap support)

2007-09-24 Thread Andrea Arcangeli
On Sun, Sep 23, 2007 at 08:56:39AM +0200, Goswin von Brederlow wrote: > As a user I know it because I didn't put a kernel source into /tmp. A > programm can't reasonably know that. Various apps requires you (admin/user) to tune the size of their caches. Seems like you never tried to setup a databa

Re: [Patch 1/2] Trace code and documentation (resend)

2007-09-24 Thread Christoph Hellwig
On Mon, Sep 24, 2007 at 08:38:34AM -0700, David Wilder wrote: > >NACK, don't put code into Documentation/. Put it into kernel as it's > >actually useful kernel code. > > Are you suggesting moving the example code into kernel? Or complaining > about example code in /Documentation? Both. examp

Re: [patch 1/3] new timerfd API - new timerfd API

2007-09-24 Thread Davide Libenzi
On Mon, 24 Sep 2007, Thomas Gleixner wrote: > > struct timerfd_ctx { > > struct hrtimer tmr; > > + int clockid; > > ktime_t tintv; > > wait_queue_head_t wqh; > > int expired; > > + u64 ticks; > > }; > > Can you please restructure the struct in a way which does not result in

Re: 2.6.23-rc7-mm1 - 'touch' command causes Oops.

2007-09-24 Thread Dave Hansen
On Mon, 2007-09-24 at 08:58 -0400, [EMAIL PROTECTED] wrote: > > do_times passes an unitialized vfsmount into mnt_want_write. Here's > > the quick fix (untested), but the right fix is to restructure the complete > > mess do_utimes is (never let a libc developer write your kernel code.. :)): > > Cl

[patch] Show ioremap and vmap in /proc/meminfo

2007-09-24 Thread Masatake YAMATO
Hi, For long time I've been thought the following equation is correct: The "MemUsage" is about "Active + Inactive + Slab + PageTables + VmallocUsed" in /proc/meminfo. (I'm not only the person. See https://bugzilla.redhat.com/show_bug.cgi?id=243657.) However, some VmallocUsed doesn't reall

Re: Mask Issue?

2007-09-24 Thread David Woodhouse
On Mon, 2007-09-24 at 16:39 +0100, Mel Gorman wrote: > I noticed this in a -mm recently and never got around to kicking it > properly because I suspected it was a compiler issue. What version > of gcc and binutils are you using? > > David Woodhouse added to cc in case this is a known problem. The

Re: [PATCH 2/3] CRED: Split the task security data and move part of it into struct cred

2007-09-24 Thread David Howells
Serge E. Hallyn <[EMAIL PROTECTED]> wrote: > Ah, ok, so the daemon would use this to act under the user's > credentials. I was thinking the user would be using this to act > under the daemon's or kernel's sid. Think kernel service rather than daemon. NFSd provides its own daemons to override th

Re: [patch 1/3] new timerfd API - new timerfd API

2007-09-24 Thread Thomas Gleixner
On Mon, 2007-09-24 at 08:42 -0700, Davide Libenzi wrote: > > > + ticks += (u64) > > > hrtimer_forward(&ctx->tmr, > > > hrtimer_cb_get_time(&ctx->tmr), > > > > You need to use ctx->tmr.base->get_time() here, otherwi

Re: [PATCH4/4] [POWERPC] Fix cpm_uart driver

2007-09-24 Thread Scott Wood
Jochen Friedrich wrote: In cpm_uart_core, functions cpm_uart_init_bd and cpm_uart_init_scc an offset into DP RAM is calculated by substracting a physical memory constant from an virtual address. This patch fixes the problem by converting the virtual address into a physical first. Huh? DPRAM_B

Re: Urgent bugzilla mainteinance needed

2007-09-24 Thread Jon Tollefson
Martin J. Bligh wrote: > Natalie Protasevich wrote: >> On 9/23/07, David Woodhouse <[EMAIL PROTECTED]> wrote: >>> On Sun, 2007-09-23 at 11:08 -0700, Natalie Protasevich wrote: On 9/23/07, Diego Calleja <[EMAIL PROTECTED]> wrote: > Take a look at http://bugzilla.kernel.org/show_bug.cgi?id=3

  1   2   3   4   5   6   >