Re: 2.6.22-rc6 spurious hangs

2007-07-01 Thread Thomas Sattler
>>> Thomas, any chance you could try the patch below? >> I'm still testing but I couldn't break it until now. > Great, thanks a lot Thomas! The box is still running without a problem, it seems the bug is fixed. Thanks a lot, Thomas -- keep mailinglists in english, feel free to send PM in german

Re: [Cbe-oss-dev] [PATCH 1/1] Fix elf_core_dump() when writing arch specific notes (spu coredumps)

2007-07-01 Thread Benjamin Herrenschmidt
.../... > While I'm here I should point out that the spu coredump code does not work > if we're dumping to a pipe - we'll have to wait for 23 to fix that. > > Signed-off-by: Michael Ellerman <[EMAIL PROTECTED]> Ugly but I suppose we can't do better for 2.6.22 Acked-by: Benjamin Herrenschmidt

Re: [PATCH] ioremap: fix iounmap numpages

2007-07-01 Thread Dmitry Monakhov
On 00:33 Пнд 02 Июл , Dave Young wrote: > > On 6/29/07, Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > > Dave Young wrote: > > > Hi, > > > The second parameter of change_page_attr in iounmap is wrong, it should > > be (p->size - 1) >> PAGE_SHIFT > > > > > > > Why's that? Isn't p->size

Re: [PATCH] SPARC64: Emphasize that sparc64 doesn't support return probes.

2007-07-01 Thread David Miller
From: "Robert P. J. Day" <[EMAIL PROTECTED]> Date: Sun, 1 Jul 2007 12:49:58 -0400 (EDT) > > Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> I think it's simply better for me to add kretprobe support don't you think? It's on my todo list and I don't want to add this doc blurb that will very

Re: 2.6.22-rc6-mm1: TUNER_TEA5761 kconfig fixes

2007-07-01 Thread Michael Krufky
Adrian Bunk wrote: > On Thu, Jun 28, 2007 at 03:43:21AM -0700, Andrew Morton wrote: > >> ... >> Changes since 2.6.22-rc4-mm2: >> ... >> git-dvb.patch >> ... >> git trees >> ... >> > > > The following doesn't make much sense: > > drivers/media/video/Kconfig: > ... > config TUNER_TEA5761 >

Re: [-mm patch] unionfs: make functions static

2007-07-01 Thread Adrian Bunk
On Sun, Jul 01, 2007 at 09:42:49PM -0400, Josef Sipek wrote: > On Sun, Jul 01, 2007 at 10:23:30PM +0200, Adrian Bunk wrote: > > This patch makes some needlessly global functions static. > > > ... > > --- linux-2.6.22-rc6-mm1/fs/unionfs/lookup.c.old2007-07-01 > > 00:05:02.0 +0200 > >

Re: [-mm patch] unionfs: make functions static

2007-07-01 Thread Satyam Sharma
Hi, [ Cc:'s trimmed ] On 7/2/07, Josef Sipek <[EMAIL PROTECTED]> wrote: On Sun, Jul 01, 2007 at 10:23:30PM +0200, Adrian Bunk wrote: > This patch makes some needlessly global functions static. > ... > --- linux-2.6.22-rc6-mm1/fs/unionfs/lookup.c.old 2007-07-01 00:05:02.0 +0200 >

Re: [-mm patch] unionfs: make functions static

2007-07-01 Thread Josef Sipek
On Sun, Jul 01, 2007 at 10:23:30PM +0200, Adrian Bunk wrote: > This patch makes some needlessly global functions static. > ... > --- linux-2.6.22-rc6-mm1/fs/unionfs/lookup.c.old 2007-07-01 > 00:05:02.0 +0200 > +++ linux-2.6.22-rc6-mm1/fs/unionfs/lookup.c 2007-07-01

Re: [xfs-masters] Re: [PATCH][XFS][resend] fix memory leak in xfs_inactive()

2007-07-01 Thread Timothy Shimmin
David Chinner wrote: On Sun, Jul 01, 2007 at 01:16:51AM +0200, Jesper Juhl wrote: (this is back from May 16 2007, resending since it doesn't look like the patch ever made it in anywhere) http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.6-xfs/fs/xfs/xfs_vnodeops.c.diff?r1=1.698;r2=1.699;f=h Will

Re: [i386] Questions regarding provisional page tables initialization

2007-07-01 Thread Ahmed S. Darwish
Hi Jeremy, On Sun, Jul 01, 2007 at 03:19:30PM -0700, Jeremy Fitzhardinge wrote: > Ahmed S. Darwish wrote: > >Hi list, > > > >AFAIK, in the initializaion phase, kernel builds pages tables with two > >mappings, identity and PAGE_OFFSET + C mapping. The provisional _global > >directory_ is contained

Re: [PATCH][XFS][resend] fix memory leak in xfs_inactive()

2007-07-01 Thread Jesper Juhl
On 02/07/07, David Chinner <[EMAIL PROTECTED]> wrote: On Sun, Jul 01, 2007 at 01:16:51AM +0200, Jesper Juhl wrote: > (this is back from May 16 2007, resending since it doesn't look like > the patch ever made it in anywhere)

Re: [PATCH] ioremap: fix iounmap numpages

2007-07-01 Thread Dave Young
On 6/29/07, Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: Dave Young wrote: > Hi, > The second parameter of change_page_attr in iounmap is wrong, it should be (p->size - 1) >> PAGE_SHIFT > Why's that? Isn't p->size always going to be a pagesize multiple; in which case, why would you want to

Re: blink driver power saving

2007-07-01 Thread Andi Kleen
On Monday 02 July 2007 00:14, Linus Torvalds wrote: > On Sun, 1 Jul 2007, Andi Kleen wrote: > > What is so bad with it? Note it's a debugging facility and used > > for kcrash kernels where the video output doesn't work. But they > > normally only run a few minutes to dump the previous state to

Re: Please pull from 'from_linus' branch

2007-07-01 Thread Kumar Gala
On Jun 29, 2007, at 6:06 AM, Jeff Garzik wrote: Kumar Gala wrote: Please pull from 'for_linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git for_linus to receive the following updates: drivers/net/gianfar.c |2 +- 1 file changed, 1 insertion(+), 1

Re: [RFC: 2.6 patch] ppc: remove APUS support

2007-07-01 Thread Geert Uytterhoeven
On Mon, 2 Jul 2007, Adrian Bunk wrote: > On Mon, Jul 02, 2007 at 12:55:36AM +0200, Geert Uytterhoeven wrote: > > On Sun, 1 Jul 2007, Adrian Bunk wrote: > > > Current status of APUS: > > > - arch/powerpc/: a patch to remove it is in powerpc.git > > > - arch/ppc/: marked BROKEN since 2 years > > >

Re: [RFC: 2.6 patch] ppc: remove APUS support

2007-07-01 Thread Adrian Bunk
On Mon, Jul 02, 2007 at 12:55:36AM +0200, Geert Uytterhoeven wrote: > On Sun, 1 Jul 2007, Adrian Bunk wrote: > > Current status of APUS: > > - arch/powerpc/: a patch to remove it is in powerpc.git > > - arch/ppc/: marked BROKEN since 2 years > > > > This patch therefore removes the remaining

Re: [-mm patch] kernel/power/main.c: make code static

2007-07-01 Thread Rafael J. Wysocki
On Sunday, 1 July 2007 22:23, Adrian Bunk wrote: > On Thu, Jun 28, 2007 at 03:43:21AM -0700, Andrew Morton wrote: > >... > > Changes since 2.6.22-rc4-mm2: > >... > > +pm-reduce-code-duplication-between-mainc-and-userc.patch > >... > > PM updates > >... > > > Some code can now become static. >

Re: [PATCH 4/7][TAKE5] support new modes in fallocate

2007-07-01 Thread David Chinner
On Sat, Jun 30, 2007 at 11:21:11AM +0100, Christoph Hellwig wrote: > On Tue, Jun 26, 2007 at 04:02:47PM +0530, Amit K. Arora wrote: > > > Can you clarify - what is the current behaviour when ENOSPC (or some other > > > error) is hit? Does it keep the current fallocate() or does it free it? > > >

Re: [RFC: 2.6 patch] ppc: remove APUS support

2007-07-01 Thread Geert Uytterhoeven
On Sun, 1 Jul 2007, Adrian Bunk wrote: > Current status of APUS: > - arch/powerpc/: a patch to remove it is in powerpc.git > - arch/ppc/: marked BROKEN since 2 years > > This patch therefore removes the remaining parts of APUS support. > --- linux-2.6.22-rc6-mm1/include/asm-m68k/pgtable.h.old

Re: [-mm patch] remove security/selinux/hooks.c:enabled_mmap_min_addr

2007-07-01 Thread James Morris
On Sun, 1 Jul 2007, Adrian Bunk wrote: > On Thu, Jun 28, 2007 at 03:43:21AM -0700, Andrew Morton wrote: > >... > > Changes since 2.6.22-rc4-mm2: > >... > > +git-selinux-disable-mmap_min_addr-by-default.patch > > > > Fix git-selinux > >... > > > This became dead code. Thanks, it was already

Re: [-mm patch] unexport mmap_min_addr

2007-07-01 Thread James Morris
On Sun, 1 Jul 2007, Adrian Bunk wrote: > On Thu, Jun 28, 2007 at 03:43:21AM -0700, Andrew Morton wrote: > >... > > Changes since 2.6.22-rc4-mm2: > >... > > git-selinux.patch > >... > > git trees > >... > > > Unneeded export. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Thanks, applied

Re: [PATCH][XFS][resend] fix memory leak in xfs_inactive()

2007-07-01 Thread David Chinner
On Sun, Jul 01, 2007 at 01:16:51AM +0200, Jesper Juhl wrote: > (this is back from May 16 2007, resending since it doesn't look like > the patch ever made it in anywhere) http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.6-xfs/fs/xfs/xfs_vnodeops.c.diff?r1=1.698;r2=1.699;f=h Will get merged in

Re: [i386] Questions regarding provisional page tables initialization

2007-07-01 Thread Jeremy Fitzhardinge
Ahmed S. Darwish wrote: Hi list, AFAIK, in the initializaion phase, kernel builds pages tables with two mappings, identity and PAGE_OFFSET + C mapping. The provisional _global directory_ is contained in swapper_pg_dir variable. while the provisional _page tables_ are stored starting from pg0,

[PATCH] fix error handling in ext3_create_journal

2007-07-01 Thread Borislav Petkov
--- From: Borislav Petkov <[EMAIL PROTECTED]> Fix error handling in ext3_create_journal according to kernel conventions. Signed-off-by: Borislav Petkov <[EMAIL PROTECTED]> -- Index: linux-2.6.22-rc6/fs/ext3/super.c === ---

Re: blink driver power saving

2007-07-01 Thread Linus Torvalds
On Sun, 1 Jul 2007, Andi Kleen wrote: > > What is so bad with it? Note it's a debugging facility and used > for kcrash kernels where the video output doesn't work. But they > normally only run a few minutes to dump the previous state to disk > and then reboot. It has been a total disaster

Re: 2.6.22-rc6-mm1: Xen: WARNING: Absolute relocations present

2007-07-01 Thread Jeremy Fitzhardinge
Eric W. Biederman wrote: Jeremy Fitzhardinge <[EMAIL PROTECTED]> writes: Adrian Bunk wrote: <-- snip --> ... RELOCS arch/i386/boot/compressed/vmlinux.relocs WARNING: Absolute relocations present Offset Info Type Sym.Value Sym.Name c0101f80 020c6501 R_386_32

Re: IRQ handling difference between i386 and x86_64

2007-07-01 Thread Chris Snook
Krzysztof Oledzki wrote: On Sat, 30 Jun 2007, Arjan van de Ven wrote: On Sat, 2007-06-30 at 16:55 +0200, Krzysztof Oledzki wrote: Hello, It seems that IRQ handling is somehow different between i386 and x86_64. In my Dell PowerEdge 1950 is it possible to enable interrupts spreading over

Re: [i386] Questions regarding provisional page tables initialization

2007-07-01 Thread Andreas Schwab
"Ahmed S. Darwish" <[EMAIL PROTECTED]> writes: > page_pde_offset = (__PAGE_OFFSET >> 20) > movl %ecx,(%edx)/* Store identity PDE entry */ > movl %ecx,page_pde_offset(%edx) /* Store kernel PDE entry */ > > Why the pde_offset is PAGE_OFFSET >> 20

Re: [2.6 patch] the overdue eepro100 removal

2007-07-01 Thread Jeff Garzik
Kok, Auke wrote: this needs to be resceduled for 2.6.24 (at least). We're hoping to merge the proposed changes (still being worked on) in .23. Milton Miller and David Acker are working on that. Quite agreed. Jeff - To unsubscribe from this list: send the line "unsubscribe

Linux 2.6.22-rc7

2007-07-01 Thread Linus Torvalds
Ok, Linux-2.6.22-rc7 is out there. It's hopefully (almost certainly) the last -rc before the final 2.6.22 release, and we should be in pretty good shape. The flow of patches has really slowed down and the regression list has shrunk a lot. The shortlog/diffstat reflects that, with the biggest

Re: blink driver power saving

2007-07-01 Thread Andi Kleen
On Sunday 01 July 2007 20:07:21 Linus Torvalds wrote: > > On Sun, 1 Jul 2007, Stephen Hemminger wrote: > > > > The blink driver wakes up every jiffies which wastes power unnecessarily. > > Using a notifier gives same effect. Also add ability to unload module. > > I really get the feeling this

Re: blink driver power saving

2007-07-01 Thread Andi Kleen
On Sunday 01 July 2007 18:50:35 Stephen Hemminger wrote: > The blink driver wakes up every jiffies which wastes power unnecessarily. > Using a notifier gives same effect. Also add ability to unload module. It's really a debugging tool where you normally don't care about details like this. I wrote

[i386] Questions regarding provisional page tables initialization

2007-07-01 Thread Ahmed S. Darwish
Hi list, AFAIK, in the initializaion phase, kernel builds pages tables with two mappings, identity and PAGE_OFFSET + C mapping. The provisional _global directory_ is contained in swapper_pg_dir variable. while the provisional _page tables_ are stored starting from pg0, right after _end.

Re: 2.6.22-rc6-mm1: Xen: WARNING: Absolute relocations present

2007-07-01 Thread Eric W. Biederman
Jeremy Fitzhardinge <[EMAIL PROTECTED]> writes: > Eric W. Biederman wrote: >> Jeremy Fitzhardinge <[EMAIL PROTECTED]> writes: >> >> >>> Adrian Bunk wrote: >>> <-- snip --> ... RELOCS arch/i386/boot/compressed/vmlinux.relocs WARNING: Absolute relocations present

[-mm patch] unexport dvb_pll_configure

2007-07-01 Thread Adrian Bunk
On Thu, Jun 28, 2007 at 03:43:21AM -0700, Andrew Morton wrote: >... > Changes since 2.6.22-rc4-mm2: >... > git-dvb.patch >... > git trees >... Now that it's static, it should no longer be exported to modules... Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- ---

Re: [2.6 patch] the overdue eepro100 removal

2007-07-01 Thread Kok, Auke
Adrian Bunk wrote: This patch contains the overdue removal of the eepro100 driver. ... this needs to be resceduled for 2.6.24 (at least). We're hoping to merge the proposed changes (still being worked on) in .23. Milton Miller and David Acker are working on that. Auke - To unsubscribe

Re: 2.6.22-rc6-mm1: Xen: WARNING: Absolute relocations present

2007-07-01 Thread Adrian Bunk
On Sun, Jul 01, 2007 at 09:33:08AM -0700, Jeremy Fitzhardinge wrote: > Eric W. Biederman wrote: >> Jeremy Fitzhardinge <[EMAIL PROTECTED]> writes: >> >> >>> Adrian Bunk wrote: >>> <-- snip --> ... RELOCS arch/i386/boot/compressed/vmlinux.relocs WARNING:

[-mm patch] unexport mmap_min_addr

2007-07-01 Thread Adrian Bunk
On Thu, Jun 28, 2007 at 03:43:21AM -0700, Andrew Morton wrote: >... > Changes since 2.6.22-rc4-mm2: >... > git-selinux.patch >... > git trees >... Unneeded export. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.22-rc6-mm1/security/security.c.old2007-07-01

[-mm patch] remove security/selinux/hooks.c:enabled_mmap_min_addr

2007-07-01 Thread Adrian Bunk
On Thu, Jun 28, 2007 at 03:43:21AM -0700, Andrew Morton wrote: >... > Changes since 2.6.22-rc4-mm2: >... > +git-selinux-disable-mmap_min_addr-by-default.patch > > Fix git-selinux >... This became dead code. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- security/selinux/hooks.c |7

[2.6 patch] mm/slub.c: make code static

2007-07-01 Thread Adrian Bunk
This patch makes some needlessly global code static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- mm/slub.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- linux-2.6.22-rc6-mm1/mm/slub.c.old 2007-07-01 00:34:07.0 +0200 +++ linux-2.6.22-rc6-mm1/mm/slub.c

[-mm patch] make struct dccp_li_cachep static

2007-07-01 Thread Adrian Bunk
On Thu, Jun 28, 2007 at 03:43:21AM -0700, Andrew Morton wrote: >... > Changes since 2.6.22-rc4-mm2: >... > git-net.patch >... > git trees >... Struct dccp_li_cachep can become static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- ---

[-mm patch] unexport bprm_mm_init

2007-07-01 Thread Adrian Bunk
On Thu, Jun 28, 2007 at 03:43:21AM -0700, Andrew Morton wrote: >... > Changes since 2.6.22-rc4-mm2: >... > +mm-variable-length-argument-support.patch >... > Remove the fixed command-line length limit >... bprm_mm_init doesn't have any modular users. Signed-off-by: Adrian Bunk <[EMAIL

[-mm patch] unionfs: make functions static

2007-07-01 Thread Adrian Bunk
This patch makes some needlessly global functions static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- fs/unionfs/lookup.c |4 +++- fs/unionfs/mmap.c | 14 +++--- fs/unionfs/union.h |1 - 3 files changed, 10 insertions(+), 9 deletions(-) ---

[-mm patch] kernel/power/main.c: make code static

2007-07-01 Thread Adrian Bunk
On Thu, Jun 28, 2007 at 03:43:21AM -0700, Andrew Morton wrote: >... > Changes since 2.6.22-rc4-mm2: >... > +pm-reduce-code-duplication-between-mainc-and-userc.patch >... > PM updates >... Some code can now become static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- include/linux/pm.h

[-mm patch] make cpuidle_replace_governor() static

2007-07-01 Thread Adrian Bunk
On Thu, Jun 28, 2007 at 03:43:21AM -0700, Andrew Morton wrote: >... > Changes since 2.6.22-rc4-mm2: >... > +cpuidle-add-rating-to-the-governors-and-pick-the-one-with-highest-rating-by-default.patch >... > cpuidle updates >... This patch makes the needlessly global cpuidle_replace_governor()

2.6.22-rc6-mm1: TUNER_TEA5761 kconfig fixes

2007-07-01 Thread Adrian Bunk
On Thu, Jun 28, 2007 at 03:43:21AM -0700, Andrew Morton wrote: >... > Changes since 2.6.22-rc4-mm2: >... > git-dvb.patch >... > git trees >... The following doesn't make much sense: drivers/media/video/Kconfig: ... config TUNER_TEA5761 tristate "TEA 5761 radio tuner (EXPERIMENTAL)"

[-mm patch] fix duplicate CONFIG_DMAR Makefile line

2007-07-01 Thread Adrian Bunk
On Thu, Jun 28, 2007 at 03:43:21AM -0700, Andrew Morton wrote: >... > Changes since 2.6.22-rc4-mm2: >... > +intel-iommu-intel-iommu-driver.patch >... > Intel IOMMU support >... Contrary to popular belief, two identical Makefile lines don't bring any advantages. ;-) Signed-off-by: Adrian

Re: [PATCH] b44: power down PHY when interface down

2007-07-01 Thread Michael Buesch
On Sunday 01 July 2007 17:00:06 Lennert Buytenhek wrote: > A multimeter should do the trick, but I would advise against this > if you're not totally comfortable with hacking hardware. Ok, the resistor on the board is 100ohm, which is too big according to the docs of the extender. So what I tried

[-mm patch] fix include/asm-m68k/fb.h

2007-07-01 Thread Adrian Bunk
Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.22-rc6-mm1/include/asm-m68k/fb.h.old 2007-06-30 02:40:16.0 +0200 +++ linux-2.6.22-rc6-mm1/include/asm-m68k/fb.h 2007-06-30 02:40:25.0 +0200 @@ -15,6 +15,7 @@ #else static inline void fb_pgprotect(struct

[2.6 patch] bonding/bond_main.c: make 2 functions static

2007-07-01 Thread Adrian Bunk
This patch makes two needleesly global functions static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch has been sent on: - 31 Mar 2007 drivers/net/bonding/bond_main.c |5 +++-- drivers/net/bonding/bonding.h |2 -- 2 files changed, 3 insertions(+), 4 deletions(-) ---

[2.6 patch] unexport bio_{,un}map_user

2007-07-01 Thread Adrian Bunk
bio_{,un}map_user no longer have any modular users. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch has been sent on: - 24 Mar 2007 --- linux-2.6.21-rc4-mm1/fs/bio.c.old 2007-03-24 11:42:28.0 +0100 +++ linux-2.6.21-rc4-mm1/fs/bio.c 2007-03-24 11:42:39.0

[RFC: 2.6.22 patch] don't offer DISPLAY_SUPPORT for now

2007-07-01 Thread Adrian Bunk
DISPLAY_SUPPORT offers support code without any users currently in the tree. For a user it's quite confusing that the help text talks about "proper drivers" when none are available. This patch therefore lets DISPLAY_SUPPORT depend on BROKEN until there will be user. Signed-off-by: Adrian Bunk

[RFC: 2.6 patch] allow disabling DNOTIFY without EMBEDDED

2007-07-01 Thread Adrian Bunk
This patch allows disabling DNOTIFY with CIONFIG_EMBEDDED=n. I'm currently running a kernel with dnotify disabled and I haven't run into any problem. Is there any popular application left that breaks without dnotify support in the kernel? Note that this patch does not remove dnotify support,

[2.6 patch] drivers/net/ns83820.c: fix a check-after-use

2007-07-01 Thread Adrian Bunk
This patch fixes a check-after-use spotted by the Coverity checker. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.22-rc6-mm1/drivers/net/ns83820.c.old 2007-06-29 22:12:22.0 +0200 +++ linux-2.6.22-rc6-mm1/drivers/net/ns83820.c 2007-06-29 22:13:59.0 +0200

[2.6 patch] sound/pci/hda/patch_realtek.c: remove dead code

2007-07-01 Thread Adrian Bunk
On Tue, Jun 19, 2007 at 12:20:36PM +0200, Takashi Iwai wrote: > At Fri, 15 Jun 2007 23:45:31 +0200, > Adrian Bunk wrote: > > > > This patch removes dead code spotted by the Coverity checker. > > > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> > > This appears to be a copy-and-paste error

[-mm patch] #if 0 mm/backing-dev.c:congestion_wait_interruptible()

2007-07-01 Thread Adrian Bunk
congestion_wait_interruptible() is no longer used. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Acked-by: Trond Myklebust <[EMAIL PROTECTED]> --- This patch has been sent on: - 12 Jun 2007 include/linux/backing-dev.h |1 - mm/backing-dev.c|2 ++ 2 files changed, 2

[2.6 patch] remove dead MTD_PMC551_APERTURE_SIZE option

2007-07-01 Thread Adrian Bunk
The CONFIG_MTD_PMC551_APERTURE_SIZE option seems to never have existed, so there's no reason for carrying an #ifdef for it. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch has been sent on: - 3 Jun 2007 --- linux-2.6.22-rc3-mm1/drivers/mtd/devices/pmc551.c.old 2007-06-03

[-mm patch] e1000: #if 0 two functions

2007-07-01 Thread Adrian Bunk
e1000_{read,write}_pci_cfg() are no longer used. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch has been sent on: - 5 Jun 2007 drivers/net/e1000/e1000_hw.h |2 -- drivers/net/e1000/e1000_main.c |4 2 files changed, 4 insertions(+), 2 deletions(-) ---

[2.6 patch] drivers/net/wireless/libertas/wext.c: remove dead code

2007-07-01 Thread Adrian Bunk
This patch removes dead code introduced by commit 90a42210f275e1f828eb6c08bf8252c2d6a774e0 and spotted by the Coverity checker. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/net/wireless/libertas/wext.c |3 --- 1 file changed, 3 deletions(-) ---

[2.6 patch] the overdue removal of X86_SPEEDSTEP_CENTRINO_ACPI

2007-07-01 Thread Adrian Bunk
This patch contains the overdue removal of X86_SPEEDSTEP_CENTRINO_ACPI. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Acked-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> Acked-by: Dave Jones <[EMAIL PROTECTED]> --- This patch has been sent on: - 6 Apr 2007

[2.6 patch] kernel/relay.c: make functions static

2007-07-01 Thread Adrian Bunk
This patch makes some needlessly global functions static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch has been sent on: - 4 Apr 2007 kernel/relay.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) --- linux-2.6.21-rc5-mm3/kernel/relay.c.old

[2.6 patch] kernel/rtmutex-debug.c: cleanups

2007-07-01 Thread Adrian Bunk
This patch contains the following cleanups: - make the needlessly global variable rt_trace_on static - remove the unused global function deadlock_trace_off() Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch has been sent on: - 4 Apr 2007 ---

Re: 2.6.22-rc6 spurious hangs

2007-07-01 Thread Oleg Nesterov
On 07/01, Thomas Sattler wrote: > > > Thomas, any chance you could try the patch below? It is very, very stupid, > > it was done without any understanding of this code, and of course it is > > completely untested. I doubt very much it is correct, and even if it is > > correct it is definitely not

Re: [patch 5/5] Optimize page_mkclean_one

2007-07-01 Thread Martin Schwidefsky
On Sun, 2007-07-01 at 09:54 +0100, Hugh Dickins wrote: > On Sun, 1 Jul 2007, Martin Schwidefsky wrote: > > > > > > Expect you're right, but I _really_ don't want to comment, when I don't > > > understand that "|| pte_write" in the first place, and don't know the > > > consequence of pte_dirty &&

Re: [PATCH] LinuxPPS (with new syscalls API) - new version

2007-07-01 Thread Rodolfo Giometti
On Sun, Jul 01, 2007 at 01:03:11PM +0100, David Woodhouse wrote: > > Seems reasonable enough in principle -- but whatever you do, don't use > "long" for it. That would definitely need different behaviour for 32-bit > vs. 64-bit. Use explicitly sized types such as uint32_t or uint64_t. Which is

Re: [PATCH] LinuxPPS (with new syscalls API) - new version

2007-07-01 Thread Rodolfo Giometti
On Sun, Jul 01, 2007 at 05:13:25PM +1000, Stephen Rothwell wrote: > On Sat, 30 Jun 2007 19:13:40 +0200 Rodolfo Giometti <[EMAIL PROTECTED]> wrote: > > > > Maybe I can define a special struct for exchanging time data as: > > > >struct pps_timedata_s { > > long sec; > > long nsec; >

Re: 2.6.22-rc6 spurious hangs

2007-07-01 Thread Thomas Sattler
> Thomas, any chance you could try the patch below? It is very, very stupid, > it was done without any understanding of this code, and of course it is > completely untested. I doubt very much it is correct, and even if it is > correct it is definitely not good. It would be great if Dmitry can take

Re: [Bugme-new] [Bug 8697] New: nfs-root doesn't work with jumbo frames

2007-07-01 Thread Andrew Morton
please submit the patch via email as per http://www.zip.com.au/~akpm/linux/patches/stuff/tpp.txt to Andrew Morton <[EMAIL PROTECTED]> [EMAIL PROTECTED] linux-kernel@vger.kernel.org thanks. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: blink driver power saving

2007-07-01 Thread Linus Torvalds
On Sun, 1 Jul 2007, Stephen Hemminger wrote: > > The blink driver wakes up every jiffies which wastes power unnecessarily. > Using a notifier gives same effect. Also add ability to unload module. I really get the feeling this thing should be removed entirely. Wasting power is the _least_ of

Re: [PATCH] PXA27x UDC driver.

2007-07-01 Thread David Brownell
On Sunday 01 July 2007, Russell King - ARM Linux wrote: > > > > +#ifdef CONFIG_USB_GADGET_PXA27X > > +#define DEV_CONFIG_SUBSET > > +#endif > > + > > Bad - can we not make this runtime dependent? The #define controls which descriptors are statically linked into every object. I suppose someone

Re: [NETPOLL] netconsole: fix soft lockup when removing module

2007-07-01 Thread Oleg Nesterov
Jarek Poplawski wrote: > >#1 >Until kernel ver. 2.6.21 (including) cancel_rearming_delayed_work() >required a work function should always (unconditionally) rearm with >delay > 0 - otherwise it would endlessly loop. This patch replaces >this function with cancel_delayed_work().

Re: PROBLEM: SATA AHCI driver significant throughput loss in 2.6.22-rc5-g75154f40-dirty

2007-07-01 Thread Ray Lee
On 7/1/07, Dan <[EMAIL PROTECTED]> wrote: > Are you able (as a matter of some urgency) to run a git bisection > search to identify the offending commit? For some reason I am no longer able to reproduce the problem. I've tried several versions including the one I reported and I just can't

Re: [lm-sensors] [PATCH 3/5] use mutex instead of semaphore in SMSC LPC47M192 driver

2007-07-01 Thread Mark M. Hoffman
Hi Matthias: * Matthias Kaehlcke <[EMAIL PROTECTED]> [2007-07-01 18:32:24 +0200]: > The SMSC LPC47M192 driver uses a semaphore as mutex. Use the mutex API > instead of the (binary) semaphore. > > Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> Already in my testing tree[1] and therefore in

Re: [patch 0/6] sys_indirect RFC - sys_indirect introduction

2007-07-01 Thread Davide Libenzi
On Sun, 1 Jul 2007, Ulrich Drepper wrote: > On 6/30/07, Davide Libenzi <[EMAIL PROTECTED]> wrote: > > This is how all those overloaded syscalls looks like, BTW: > > [...] > > How would you do that with a single shared strcture, w/out adding in all > > signal paths the knowledge of the structure?

Re: Man page correction: epoll (7)

2007-07-01 Thread Davide Libenzi
On Sun, 1 Jul 2007, Heikki Orsila wrote: > So, the Q9 should be changed: > > Q9Do I need to continuously read/write an fd until EAGAIN when > using the EPOLLET flag ( Edge Triggered behaviour ) ? > > A9As a general rule, yes. However, there are exceptions. > With some

Re: [PATCH][resend] Remove the last few UMSDOS leftovers.

2007-07-01 Thread H. Peter Anvin
Jesper Juhl wrote: (originally from 28 May 2007, resending due to no response to this final version and not seeing the patch picked up anywhere) The UMSDOS filesystem was removed back in 2.6.11, but some tiny bits stuck around. This patch removes the few remaining leftovers. The only things

Re: PROBLEM: SATA AHCI driver significant throughput loss in 2.6.22-rc5-g75154f40-dirty

2007-07-01 Thread Dan
Are you able (as a matter of some urgency) to run a git bisection search to identify the offending commit? For some reason I am no longer able to reproduce the problem. I've tried several versions including the one I reported and I just can't reproduce the problem. I accidentally overwrote the

[PATCH] SPARC64: Emphasize that sparc64 doesn't support return probes.

2007-07-01 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- diff --git a/arch/sparc64/Kconfig b/arch/sparc64/Kconfig index 89a1b46..6b04c86 100644 --- a/arch/sparc64/Kconfig +++ b/arch/sparc64/Kconfig @@ -446,6 +446,7 @@ config KPROBES execute a callback function. register_kprobe()

blink driver power saving

2007-07-01 Thread Stephen Hemminger
The blink driver wakes up every jiffies which wastes power unnecessarily. Using a notifier gives same effect. Also add ability to unload module. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- a/drivers/misc/blink.c 2007-06-29 22:56:20.0 -0400 +++ b/drivers/misc/blink.c

Re: [PATCH 3/3] tty_io.c: don't use flush_scheduled_work()

2007-07-01 Thread Oleg Nesterov
On 07/01, Alan Cox wrote: > > On Sun, 1 Jul 2007 19:37:49 +0400 > Oleg Nesterov <[EMAIL PROTECTED]> wrote: > > > I don't know how to test this patch, the ack/nack from maintainer is wanted. > > > > flush_scheduled_work() is evil and should be avoided. Change tty_set_ldisc() > > and release_dev()

[PATCH] Update kprobes.txt to list s390 as supporting kprobes.

2007-07-01 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- BTW, avr32 also has some support for kprobes, but it's implemented in a non-standard way so i thought i'd just ignore that here. if someone thinks it should be added, i'm good with that, too. i have *no* idea who should sign off on

[PATCH 5/5] use mutex instead of semaphore in VLSI 82C147 IrDA controller driver

2007-07-01 Thread Matthias Kaehlcke
The VLSI 82C147 IrDA controller driver uses a semaphore as mutex. Use the mutex API instead of the (binary) semaphore. Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> -- diff --git a/drivers/net/irda/vlsi_ir.c b/drivers/net/irda/vlsi_ir.c index bf78ef1..0538ca9 100644 ---

Re: 2.6.22-rc6-mm1: Xen: WARNING: Absolute relocations present

2007-07-01 Thread Jeremy Fitzhardinge
Eric W. Biederman wrote: Jeremy Fitzhardinge <[EMAIL PROTECTED]> writes: Adrian Bunk wrote: <-- snip --> ... RELOCS arch/i386/boot/compressed/vmlinux.relocs WARNING: Absolute relocations present Offset Info Type Sym.Value Sym.Name c0101f80 020c6501 R_386_32

[PATCH 4/5] use mutex instead of semaphore in Virtual Video driver

2007-07-01 Thread Matthias Kaehlcke
The Virtual Video driver uses a semaphore as mutex. Use the mutex API instead of the (binary) semaphore. Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> -- diff --git a/drivers/media/video/vivi.c b/drivers/media/video/vivi.c index f7e1d19..e86f4cd 100644 --- a/drivers/media/video/vivi.c

[PATCH 3/5] use mutex instead of semaphore in SMSC LPC47M192 driver

2007-07-01 Thread Matthias Kaehlcke
The SMSC LPC47M192 driver uses a semaphore as mutex. Use the mutex API instead of the (binary) semaphore. Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> -- diff --git a/drivers/hwmon/smsc47m192.c b/drivers/hwmon/smsc47m192.c index a012f39..7c5cfa2 100644 --- a/drivers/hwmon/smsc47m192.c

[PATCH 2/5] use mutex instead of semaphore in Philips webcam driver

2007-07-01 Thread Matthias Kaehlcke
The Philips webcam driver uses a semaphore as mutex. Use the mutex API instead of the (binary) semaphore. Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> -- diff --git a/drivers/media/video/pwc/pwc-if.c b/drivers/media/video/pwc/pwc-if.c index 085332a..9c0e8d1 100644 ---

[PATCH 1/5] use mutex instead of semaphore in Megaraid Mailbox driver

2007-07-01 Thread Matthias Kaehlcke
The Megaraid Mailbox driver uses a semaphore as mutex. Use the mutex API instead of the (binary) semaphore. Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> -- diff --git a/drivers/scsi/megaraid/mega_common.h b/drivers/scsi/megaraid/mega_common.h index 26e1e6c..fef9ac9 100644 ---

Re: [patch 0/6] sys_indirect RFC - sys_indirect introduction

2007-07-01 Thread Ulrich Drepper
On 6/30/07, Davide Libenzi <[EMAIL PROTECTED]> wrote: This is how all those overloaded syscalls looks like, BTW: [...] How would you do that with a single shared strcture, w/out adding in all signal paths the knowledge of the structure? You said it yourself: each individual wrapper would look

Re: [PATCH] cross-architecture ELF clean up

2007-07-01 Thread Jeremy Fitzhardinge
Sam Ravnborg wrote: Grouping related things together is always a good approach. But the right factor should be used for the grouping. For the ELF file is would from a usage perspective be natural to have constants close to the definition that they are used to describe. Having constants grouped

[PATCH 0/5] use mutex instead of semaphore in several drivers

2007-07-01 Thread Matthias Kaehlcke
This patchset converts semaphores that are used as mutexes to the mutex API in the following drivers: Megaraid Mailbox Philips webcam SMSC LPC47M192 Virtual Video VLSI 82C147 IrDA controller -- Matthias Kaehlcke Linux Application Developer Barcelona Insanity: doing the same

Re: [PATCH 4/7][TAKE5] support new modes in fallocate

2007-07-01 Thread Andreas Dilger
On Jun 30, 2007 11:21 +0100, Christoph Hellwig wrote: > On Tue, Jun 26, 2007 at 04:02:47PM +0530, Amit K. Arora wrote: > > Currently it is left on the file system implementation. In ext4, we do > > not undo preallocation if some error (say, ENOSPC) is hit. Hence it may > > end up with partial

instrumentation and kprobes really still "EXPERIMENTAL"?

2007-07-01 Thread Robert P. J. Day
i just noticed that, in the Kconfig files that support KPROBES, both the "Instrumentation support" menu is still listed as EXPERIMENTAL, while Kprobes support within is simultaneously dependent on that same selection. for one, that's kind of redundant and, for another, isn't kprobes mature

Re: [PATCH 3/3] tty_io.c: don't use flush_scheduled_work()

2007-07-01 Thread Alan Cox
On Sun, 1 Jul 2007 19:37:49 +0400 Oleg Nesterov <[EMAIL PROTECTED]> wrote: > I don't know how to test this patch, the ack/nack from maintainer is wanted. > > flush_scheduled_work() is evil and should be avoided. Change tty_set_ldisc() > and release_dev() to use

Re: 2.6.22-rc6-mm1: Xen: WARNING: Absolute relocations present

2007-07-01 Thread Eric W. Biederman
Jeremy Fitzhardinge <[EMAIL PROTECTED]> writes: > Adrian Bunk wrote: >> <-- snip --> >> >> ... >> RELOCS arch/i386/boot/compressed/vmlinux.relocs >> WARNING: Absolute relocations present >> Offset Info Type Sym.Value Sym.Name >> c0101f80 020c6501 R_386_32

[PATCH 2/3] make cancel_xxx_work_sync() return a boolean

2007-07-01 Thread Oleg Nesterov
Change cancel_work_sync() and cancel_delayed_work_sync() to return a boolean indicating whether the work was actually cancelled. A zero return value means that the work was not pending/queued. Without that kind of change it is not possible to avoid flush_workqueue() sometimes, see the next patch

[PATCH 3/3] tty_io.c: don't use flush_scheduled_work()

2007-07-01 Thread Oleg Nesterov
I don't know how to test this patch, the ack/nack from maintainer is wanted. flush_scheduled_work() is evil and should be avoided. Change tty_set_ldisc() and release_dev() to use cancel_delayed_work_sync/cancel_work_sync. I am not sure we really need to call do_tty_hangup() when

[PATCH 1/3] rename cancel_rearming_delayed_work() to cancel_delayed_work_sync()

2007-07-01 Thread Oleg Nesterov
Imho, the current naming of cancel_xxx workqueue functions is very confusing. cancel_delayed_work() cancel_rearming_delayed_work() cancel_rearming_delayed_workqueue() // obsolete cancel_work_sync() This looks as if the first 2 functions differ in "type" of

Re: [PATCH] b44: power down PHY when interface down

2007-07-01 Thread Michael Buesch
On Sunday 01 July 2007 17:00:06 Lennert Buytenhek wrote: > On Sun, Jul 01, 2007 at 12:23:16PM +0200, Michael Buesch wrote: > > > > More or less. You can't add the resistances like that, since the > > > bus isolation chip buffers the IDSEL signal, but it is correct that > > > if the host's IDSEL

[PATCH] Videopix Frame Grabber: Fix unreleased lock in vfc_debug()

2007-07-01 Thread Matthias Kaehlcke
Videopix Frame Grabber: vfc_debug() doesn't release the device lock when copy_from_user() fails Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> --- diff --git a/drivers/sbus/char/vfc_dev.c b/drivers/sbus/char/vfc_dev.c index 6afc7e5..1cbdabd 100644 --- a/drivers/sbus/char/vfc_dev.c +++

Re: [PATCH] PXA27x UDC driver.

2007-07-01 Thread Russell King - ARM Linux
On Thu, Jun 28, 2007 at 12:36:20PM +0200, Rodolfo Giometti wrote: > attached you can find new version of my patch for PXA27x UDC driver > support against kernel 2.6.22-rc3 (but it applies also ro rc6). > > I'd like to know what I have to do in order to prepare this patch for > kernel inclusion.

  1   2   3   4   >