[PATCH] jfs: clear PAGECACHE_TAG_DIRTY for no-write pages

2007-12-28 Thread Fengguang Wu
Andrew, This patch fixed the 'pdflush stuck in D state' bug http://bugzilla.kernel.org/show_bug.cgi?id=9291 and should be pushed to mainline ASAP. --- When JFS decides to drop a dirty metapage, it simply clears the META_dirty bit and leave alone the PG_dirty and PAGECACHE_TAG_DIRTY bits.

Re: fib6_del_route has redundant code

2007-12-28 Thread David Miller
From: Gui Jianfeng [EMAIL PROTECTED] Date: Fri, 28 Dec 2007 13:58:21 +0800 I think the following code in fib6_del_route in the latest kernel is useless. 1125 if (fn-leaf == NULL fn-fn_flagsRTN_TL_ROOT) 1126 fn-leaf = ip6_null_entry; ip6_null_entry will never

[PATCH] joystick: add Guitar Hero 2 controllers

2007-12-28 Thread Corbin Simpson
From: Corbin Simpson [EMAIL PROTECTED] Add USB IDs for the drumkit from Rock Band and the guitar from Guitar Hero 2 to the joystick driver for Xbox 360 controllers (drivers/input/joystick/xpad.c). Signed-off-by: Corbin Simpson [EMAIL PROTECTED] --- These are both wired USB devices for the Xbox

Re: fib6_del_route has redundant code

2007-12-28 Thread Gui Jianfeng
From: Gui Jianfeng [EMAIL PROTECTED] Date: Fri, 28 Dec 2007 13:58:21 +0800 I think the following code in fib6_del_route in the latest kernel is useless. 1125 if (fn-leaf == NULL fn-fn_flagsRTN_TL_ROOT) 1126 fn-leaf = ip6_null_entry; ip6_null_entry will never be

Re: kernel panic - help!?

2007-12-28 Thread Cai Qian
Hi, From: Oliver Falk [EMAIL PROTECTED] Subject: Re: kernel panic - help!? Date: Fri, 28 Dec 2007 08:36:20 +0100 On 12/12/2007 03:24 PM, Justin Banks wrote: Dave Young wrote On Dec 12, 2007 5:17 PM, Oliver Falk [EMAIL PROTECTED] wrote: Can someone explain me that? Dec 12 00:24:15

Re: kernel panic - help!?

2007-12-28 Thread Adrian Bunk
On Fri, Dec 28, 2007 at 08:36:38AM +0100, Oliver Falk wrote: On 12/12/2007 03:55 PM, Luiz Fernando N. Capitulino wrote: Em Wed, 12 Dec 2007 10:17:10 +0100 Oliver Falk [EMAIL PROTECTED] escreveu: | Can someone explain me that? ... | Dec 12 00:24:15 santorini kernel: EFLAGS: 00010246

Re: Working upstream toolchain for avr32?

2007-12-28 Thread Adrian Bunk
On Fri, Dec 14, 2007 at 10:41:58AM +0100, Haavard Skinnemoen wrote: On Thu, 13 Dec 2007 20:56:17 +0100 Adrian Bunk [EMAIL PROTECTED] wrote: AFAIK the latest available AVR32 toolchains are some patched gcc 4.0 and some patched binutils 2.17, and avr32 is currently the only architecture

Re: Major regression on hackbench with SLUB (more numbers)

2007-12-28 Thread Ingo Molnar
* Al Viro [EMAIL PROTECTED] wrote: So two questions: why isn't -f the default? And is /sys/slab Because it gives misleading output. It displays the name of the first of multiple slabs that share the same storage structures. Erm... Let me spell it out: current lifetime rules are

Re: 2.6.24-rc6-mm1 Kernel panics at different functions ()

2007-12-28 Thread Kamalesh Babulal
Andrew Morton wrote: On Thu, 27 Dec 2007 14:19:54 +0530 Kamalesh Babulal [EMAIL PROTECTED] wrote: Hi Andrew, The 2.6.24-rc6-mm1 kernel with hotfix x86-fix-system-gate-related-crash.patch applied panics while booting on a x86_64 box Unable to handle kernel NULL pointer dereference at

Re: [PATCH] Exporting capability code/name pairs

2007-12-28 Thread James Morris
On Fri, 28 Dec 2007, KaiGai Kohei wrote: Remaining issues: - We have to mount securityfs explicitly, or use /etc/fstab. It can cause a matter when we want to use this feature on very early phase on boot. (like /sbin/init) Why can't early userspace itself mount securityfs? I'm not even

Re: [PATCH 1/4] fs/autofs: Use time_before, time_before_eq, etc.

2007-12-28 Thread Julia Lawall
On Wed, 26 Dec 2007, H. Peter Anvin wrote: Ray Lee wrote: On Dec 26, 2007 7:21 AM, Julia Lawall [EMAIL PROTECTED] wrote: - if (jiffies - ent-last_usage timeout) + if (time_before(jiffies, ent-last_usage + timeout)) I don't think this is a safe change?

Re: 2.6.22-stable causes oomkiller to be invoked

2007-12-28 Thread Dhaval Giani
On Thu, Dec 27, 2007 at 11:22:34AM -0800, Christoph Lameter wrote: On Thu, 27 Dec 2007, Dhaval Giani wrote: anything specific you are looking for? I still hit the oom. Weird WTH is this? You run an unmodified upstream tree? Can you add a printk in quicklist_trim that shows Hi, I

Re: [Patch v2] Make PCI extended config space (MMCONFIG) a driver opt-in

2007-12-28 Thread Ivan Kokshaysky
On Fri, Dec 28, 2007 at 01:07:09AM -0500, Daniel Barkalow wrote: So would always using conf1 for the non-extended space (unless the platform only uses mmconfig), or at least for the first 64 bytes. I'd bet all the subtle bugs are in the first few words, anyway. (With blatant bugs in the

Re: [PATCH] jfs: clear PAGECACHE_TAG_DIRTY for no-write pages

2007-12-28 Thread Peter Zijlstra
On Fri, 2007-12-28 at 16:03 +0800, Fengguang Wu wrote: Andrew, This patch fixed the 'pdflush stuck in D state' bug http://bugzilla.kernel.org/show_bug.cgi?id=9291 and should be pushed to mainline ASAP. --- When JFS decides to drop a dirty metapage, it simply clears the

Re: [PATCH] jfs: clear PAGECACHE_TAG_DIRTY for no-write pages

2007-12-28 Thread Fengguang Wu
On Fri, Dec 28, 2007 at 12:33:46PM +0100, Peter Zijlstra wrote: On Fri, 2007-12-28 at 16:03 +0800, Fengguang Wu wrote: Andrew, This patch fixed the 'pdflush stuck in D state' bug http://bugzilla.kernel.org/show_bug.cgi?id=9291 and should be pushed to mainline ASAP. ---

Re: [PATCH 0/5] Version 17, series to add device tree naming to i2c

2007-12-28 Thread Jean Delvare
Hi John, Le 27/12/2007, Jon Smirl écrit: On 12/19/07, Jon Smirl [EMAIL PROTECTED] wrote: Another rework of the i2c for powerpc device tree patch. This version implements standard alias naming only on the powerpc platform and only for the device tree names. The old naming mechanism of

Re: [PATCH 2/9] ide: fix ide_intr() for non-PCI devices and CONFIG_BLK_DEV_IDEPCI=y

2007-12-28 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: 'hwif-pci_dev !hwif-pci_dev-vendor' condition is never true, check for 'hwif-chipset != ide_pci' instead. Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] Acked-by: Sergei Shtylyov [EMAIL PROTECTED] MBR, Sergei -- To unsubscribe from this list:

Re: [PATCH 1/9] piix: remove stale comments

2007-12-28 Thread Sergei Shtylyov
Hello. Bartlomiej Zolnierkiewicz wrote: Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] Acked-by: Sergei Shtylyov [EMAIL PROTECTED] Index: b/drivers/ide/pci/piix.c === --- a/drivers/ide/pci/piix.c +++

[PATCH] Hibernation: Document __save_processor_state() on x86-64

2007-12-28 Thread Rafael J. Wysocki
From: Rafael J. Wysocki [EMAIL PROTECTED] Document the fact that __save_processor_state() has to save all CPU registers referred to by the kernel in case a different kernel is used to load and restore a hibernation image containing it. Sigend-off-by: Rafael J. Wysocki [EMAIL PROTECTED] ---

Kernel bloat - is it happening and if so, where?

2007-12-28 Thread Richard Purdie
A tricky question to answer. On ARM based Zaurus handhelds the kernel has to fit into a 1.2MB partition. It makes sense to have as much core functionality compiled into the kernel as possible but its becoming increasingly difficult to fit functional kernels into the space available. The devices

Re: [PATCH 05/10] x86_64: Use generic percpu

2007-12-28 Thread Andi Kleen
On Friday 28 December 2007 01:10:51 [EMAIL PROTECTED] wrote: x86_64 provides an optimized way to determine the local per cpu area offset through the pda and determines the base by accessing a remote pda. And? The rationale for this patch seems to be incomplete. As far as I can figure out

Re: [PATCH 7/9] icside: use hwif-dev

2007-12-28 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: * Setup hwif-dev in icside_setup(). * Use hwif-dev instead of state-dev in icside_build_sglist(), icside_dma_end(), icside_dma_start() and icside_dma_setup(). * Remove no longer needed 'dev' field from struct icside_state. Cc: Russell King [EMAIL

Re: 2.6.24-rc6-mm1 Kernel panics at different functions ()

2007-12-28 Thread Dhaval Giani
While doing the git bisect, following panic was seen Unable to handle kernel paging request at 401e RIP: [80232ec8] load_balance_monitor+0x15e/0x2a4 PGD 0 Oops: [1] SMP last sysfs file:

[PATCH RESEND] max3100 driver

2007-12-28 Thread chripell
This patch adds support for the MAX3100 SPI UART. Generated on 20071228 against v2.6.23 Signed-off-by: Christian Pellegrin [EMAIL PROTECTED] --- drivers/serial/Kconfig |7 + drivers/serial/Makefile|1 + drivers/serial/max3100.c | 987

kexec refuses to boot latest -mm

2007-12-28 Thread Dhaval Giani
Hi Vivek, I can't seem to get the latest -mm (2.6.24-rc6-mm1) to boot with kexec. It just gets stuck at Starting new kernel. It does boot normally when booted as the first kernel. Any hints debugging? (x86 architecture) -- regards, Dhaval -- To unsubscribe from this list: send the line

2.6.24-rc5 sysfs pci bridge duplicate symlink

2007-12-28 Thread Bahadir Balban
Hi, On ARM with PCI, I get this error since -rc2 (didn't try rc1): sysfs: duplicate filename 'bridge' can not be created WARNING: at fs/sysfs/dir.c:424 sysfs_add_one() [c00287fc] (dump_stack+0x0/0x14) from [c00cbc64] (sysfs_add_one+0x50/0xf4) [c00cbc14] (sysfs_add_one+0x0/0xf4) from [c00ccd30]

[PATCH 06/11] writeback: requeue_io_wait() on locked buffers

2007-12-28 Thread Fengguang Wu
Convert to requeue_io_wait() for case: pages skipped due to locked buffers Cc: Michael Rubin [EMAIL PROTECTED] Cc: Peter Zijlstra [EMAIL PROTECTED] Signed-off-by: Fengguang Wu [EMAIL PROTECTED] --- fs/fs-writeback.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

[PATCH 05/11] writeback: requeue_io_wait() on congested blockdev

2007-12-28 Thread Fengguang Wu
Convert to requeue_io_wait() for case: congested blockdev Cc: Michael Rubin [EMAIL PROTECTED] Cc: Peter Zijlstra [EMAIL PROTECTED] Signed-off-by: Fengguang Wu [EMAIL PROTECTED] --- fs/fs-writeback.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

[PATCH 04/11] writeback: requeue_io_wait() on locked inode

2007-12-28 Thread Fengguang Wu
Convert to requeue_io_wait() for case: inode is locked Cc: Michael Rubin [EMAIL PROTECTED] Cc: Peter Zijlstra [EMAIL PROTECTED] Signed-off-by: Fengguang Wu [EMAIL PROTECTED] --- fs/fs-writeback.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) ---

[PATCH 10/11] writeback: remove redirty_tail()

2007-12-28 Thread Fengguang Wu
Remove redirty_tail(). It's no longer used. Cc: Michael Rubin [EMAIL PROTECTED] Cc: Peter Zijlstra [EMAIL PROTECTED] Signed-off-by: Fengguang Wu [EMAIL PROTECTED] --- fs/fs-writeback.c | 24 1 file changed, 24 deletions(-) ---

[PATCH 00/11] writeback bug fixes and simplifications

2007-12-28 Thread Fengguang Wu
Andrew, Here are some writeback bug fixes and code cleanups, based on 2.6.24-rc6-mm1. The detailed description can be found in the first patch, which introduces the new facility for the following patches to use. The first two patches combined should fix the slow writes for concurrent large and

[PATCH 07/11] writeback: requeue_io() on redirtied inode

2007-12-28 Thread Fengguang Wu
Redirtied inodes could be seen in really fast writes. They should really be synced as soon as possible. redirty_tail() could delay the inode for up to 30s. Kill the delay by using requeue_io() instead. Cc: Michael Rubin [EMAIL PROTECTED] Cc: Peter Zijlstra [EMAIL PROTECTED] Signed-off-by:

[PATCH 01/11] writeback: introduce s_more_io_wait for inodes to be re-synced after a while

2007-12-28 Thread Fengguang Wu
Introduce super_block.s_more_io_wait and writeback_control.more_io_wait. They are for inodes that for some reason cannot be synced immediately. These inodes will be moved to s_more_io_wait and retried after a while(waiting up to 0.1s). The normal lots-of-dirty-pages inodes will be moved to

[PATCH 09/11] writeback: replace redirty_tail() on memory-backed bdi

2007-12-28 Thread Fengguang Wu
Replace redirty_tail() with queue_dirty() on memory backed bdi. Cc: Michael Rubin [EMAIL PROTECTED] Cc: Peter Zijlstra [EMAIL PROTECTED] Signed-off-by: Fengguang Wu [EMAIL PROTECTED] --- fs/fs-writeback.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

[PATCH 03/11] writeback: replace redirty_tail() on more-pages-to-sync

2007-12-28 Thread Fengguang Wu
Replace redirty_tail() with requeue_io()/requeue_io_wait() when there are more pages to sync. There won't be starvation. Cc: Michael Rubin [EMAIL PROTECTED] Cc: Peter Zijlstra [EMAIL PROTECTED] Signed-off-by: Fengguang Wu [EMAIL PROTECTED] --- fs/fs-writeback.c | 43

[PATCH 02/11] writeback: requeue_io_wait() on blocked kupdate

2007-12-28 Thread Fengguang Wu
Convert to requeue_io_wait() for case: kupdate cannot write all pages because of uncontrollable bad conditions. Cc: Michael Rubin [EMAIL PROTECTED] Cc: Peter Zijlstra [EMAIL PROTECTED] Signed-off-by: Fengguang Wu [EMAIL PROTECTED] --- fs/fs-writeback.c |7 ++- 1 file changed, 6

[PATCH 08/11] writeback: introduce queue_dirty()

2007-12-28 Thread Fengguang Wu
Introduce queue_dirty() to enqueue a newly dirtied inode. It helps remove duplicate code. Cc: Michael Rubin [EMAIL PROTECTED] Cc: Peter Zijlstra [EMAIL PROTECTED] Signed-off-by: Fengguang Wu [EMAIL PROTECTED] --- fs/fs-writeback.c | 21 + 1 file changed, 13 insertions(+), 8

[PATCH 11/11] writeback: __sync_single_inode() code cleanup

2007-12-28 Thread Fengguang Wu
Make the if-else straight in __sync_single_inode(). No behavior change. Cc: Michael Rubin [EMAIL PROTECTED] Cc: Peter Zijlstra [EMAIL PROTECTED] Signed-off-by: Fengguang Wu [EMAIL PROTECTED] --- fs/fs-writeback.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) ---

Kerneldoc comments in files not mentioned by *.tmpl

2007-12-28 Thread Andi Kleen
I added kerneldoc comments to some files and was a little surprised that they didn't appear in make mandocs output. It turns out only functions in files mentioned in Documentation/DocBook/*.tmpl are extracted. Since that's a pretty unknown requirement (at least I didn't know it) I suppose a lot

Re: [autofs] [PATCH 1/4] fs/autofs: Use time_before, time_before_eq, etc.

2007-12-28 Thread Fabio Olive Leite
On Wed, Dec 26, 2007 at 11:58:56AM -0800, Ray Lee wrote: On Dec 26, 2007 7:21 AM, Julia Lawall [EMAIL PROTECTED] wrote: - if (jiffies - ent-last_usage timeout) + if (time_before(jiffies, ent-last_usage + timeout)) I don't think this is a safe change?

Re: TOMOYO Linux Security Goal

2007-12-28 Thread Tetsuo Handa
Hello. Serge E. Hallyn wrote: Auto-learning in itself doesn't seem novel, but so you're saying it's novel in ust how integrated it is - no mnual intervention necessary? You can run your system with only policy collected by learning mode. Thus, you basically don't need manual intervention. But

Re: kexec refuses to boot latest -mm

2007-12-28 Thread Vivek Goyal
On Fri, Dec 28, 2007 at 06:15:32PM +0530, Dhaval Giani wrote: Hi Vivek, I can't seem to get the latest -mm (2.6.24-rc6-mm1) to boot with kexec. It just gets stuck at Starting new kernel. It does boot normally when booted as the first kernel. Any hints debugging? (x86 architecture) I

Re: Major regression on hackbench with SLUB (more numbers)

2007-12-28 Thread Steven Rostedt
On Fri, 28 Dec 2007, Ingo Molnar wrote: or if sysfs/kobjects should be scrapped and rewritten, do you have any insight into what kind of abstraction could/should replace it? Should we go back to procfs and get rid of kobjects altogether? (as it's slowly turning into a /proc problem of

Re: kbuild: modules_install regression ? - depmod

2007-12-28 Thread devzero
i have the same issue, but with 2.6.24-rc6 on a box with 512MB RAM System is openSUSE 10.3 on make modules_install , depmod reproduceably dies with out of memory error when it is ~800MB VSZ and ~350MB RSS this happens on different hardware. any clue what`s going wrong? how much memory should i

Re: TOMOYO Linux Security Goal

2007-12-28 Thread Serge E. Hallyn
Quoting Tetsuo Handa ([EMAIL PROTECTED]): Hello. Serge E. Hallyn wrote: Auto-learning in itself doesn't seem novel, but so you're saying it's novel in ust how integrated it is - no mnual intervention necessary? You can run your system with only policy collected by learning mode.

[PATCH/RFC] Add support for PowerQUICC watchdog

2007-12-28 Thread Jochen Friedrich
The PowerQUICC series has a watchdog which can be activated by the boot loader and then needs to be reset in regular intervals. Once the watchdog is enabled, it can't be disabled anymore. This patch adds support for this kind of watchdog. An early init function is provided to manually reset the

[PATCH/RFC] Add support for freescale watchdog to CPM serial driver.

2007-12-28 Thread Jochen Friedrich
If a freescale watchdog device node is present, reset the watchdog while waiting for serial input. Signed-off-by: Jochen Friedrich [EMAIL PROTECTED] --- arch/powerpc/boot/cpm-serial.c | 33 - 1 files changed, 32 insertions(+), 1 deletions(-) diff --git

Strange NFS write performance Linux-Solaris-10/VXFS, maybe VW related

2007-12-28 Thread Martin Knoblauch
Hi, currently I am tracking down an interesting effect when writing to a Solars-10/Sparc based server. The server exports two filesystems. One UFS, one VXFS. The filesystems are mounted NFS3/TCP, no special options. Linux kernel in question is 2.6.24-rc6, but it happens with earlier kernels

Re: [PATCH] net/ipv4/netfilter/ip_tables.c: remove some inlines

2007-12-28 Thread Patrick McHardy
Denys Vlasenko wrote: On Monday 17 December 2007 14:47, Patrick McHardy wrote: This clashes with my pending patches, which I'll push upstream today. I also spent some time resyncing ip_tables and ip6_tables so a diff of both (with some sed'ing) shows only the actual differences, so please

[PATCH] x86: export 'leave_mm' symbol

2007-12-28 Thread Miguel Botón
This patch fixes a linking error if CONFIG_ACPI_PROCESSOR=m (this error occurs in the 'mm' branch of linux-2.6-x86.git). We need to export the 'leave_mm' symbol so it can be accessible for the ACPI processor module. Signed-off-by: Miguel Botón [EMAIL PROTECTED] diff --git

Re: [PATCH] jfs: clear PAGECACHE_TAG_DIRTY for no-write pages

2007-12-28 Thread Dave Kleikamp
On Fri, 2007-12-28 at 12:33 +0100, Peter Zijlstra wrote: On Fri, 2007-12-28 at 16:03 +0800, Fengguang Wu wrote: Andrew, This patch fixed the 'pdflush stuck in D state' bug http://bugzilla.kernel.org/show_bug.cgi?id=9291 and should be pushed to mainline ASAP. --- When

Re: [Patch v2] Make PCI extended config space (MMCONFIG) a driver opt-in

2007-12-28 Thread Arjan van de Ven
On Fri, 28 Dec 2007 13:34:51 +0300 Ivan Kokshaysky [EMAIL PROTECTED] wrote: On Fri, Dec 28, 2007 at 01:07:09AM -0500, Daniel Barkalow wrote: So would always using conf1 for the non-extended space (unless the platform only uses mmconfig), or at least for the first 64 bytes. I'd bet all the

[PATCHv3] powerpc: DBox2 Board Support

2007-12-28 Thread Jochen Friedrich
This patch adds device tree source, default config and setup code for DBox2 devices. Signed-off-by: Jochen Friedrich [EMAIL PROTECTED] --- arch/powerpc/boot/Makefile |4 +- arch/powerpc/boot/cuboot-dbox2.c | 280 arch/powerpc/boot/dts/dbox2.dts | 251

Re: [Patch v2] Make PCI extended config space (MMCONFIG) a driver opt-in

2007-12-28 Thread Ivan Kokshaysky
On Fri, Dec 28, 2007 at 08:14:18AM -0800, Arjan van de Ven wrote: it removes code by removing quirks / known not working stuff.. This not working stuff gets detected at probe time - see drivers/pci/probe.c:pci_cfg_space_size(). Ivan. -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] jfs: clear PAGECACHE_TAG_DIRTY for no-write pages

2007-12-28 Thread Dave Kleikamp
On Fri, 2007-12-28 at 10:25 -0600, Dave Kleikamp wrote: On Fri, 2007-12-28 at 12:33 +0100, Peter Zijlstra wrote: I'm not liking this open-coded tag_clear, although I currently fail to come up with a nice solution. I'm looking at __block_write_full_page() for guidance. The situation

Re: TOMOYO Linux Security Goal

2007-12-28 Thread Valdis . Kletnieks
On Fri, 28 Dec 2007 23:32:09 +0900, Tetsuo Handa said: You can run your system with only policy collected by learning mode. Thus, you basically don't need manual intervention. But since there are randomly named files (i.e. temporary files), you pay a little time to modify policy. The

Oops involving RFCOMM and sysfs

2007-12-28 Thread Gabor Gombas
Hi, I'm using my phone as a GPRS modem over Bluetooth. Sometimes Bluetooth on the phone seems to stall and the phone has to be switched off on to get it back to a sane state. During this I sometimes get the following Oops (this is kernel 2.6.24-rc6 on x86_64): Dec 28 17:52:11 host kernel:

Re: [Patch v2] Make PCI extended config space (MMCONFIG) a driver opt-in

2007-12-28 Thread Loic Prylli
On 12/28/2007 11:38 AM, Ivan Kokshaysky wrote: On Fri, Dec 28, 2007 at 08:14:18AM -0800, Arjan van de Ven wrote: it removes code by removing quirks / known not working stuff.. The only quirk I see removed is a bitmap with an arbitrary size (that we don't really know is

Re: [PATCH] allow use of mtd and jffs2 on uml

2007-12-28 Thread Sam Ravnborg
On Thu, Dec 27, 2007 at 01:15:25PM -0500, Jason Lunz wrote: Allow parts of drivers/mtd to compile on uml by pushing the HAS_IOMEM dependencies down closer to the parts of mtd that actually need it. This allows enough of mtd to build to let jffs2 be used on uml. Signed-off-by: Jason Lunz

Re: Strange NFS write performance Linux-Solaris-10/VXFS, maybe VW related

2007-12-28 Thread Chris Snook
Martin Knoblauch wrote: Hi, currently I am tracking down an interesting effect when writing to a Solars-10/Sparc based server. The server exports two filesystems. One UFS, one VXFS. The filesystems are mounted NFS3/TCP, no special options. Linux kernel in question is 2.6.24-rc6, but it happens

Re: [PATCH v4 7/8] debugfs: allow access to signed values

2007-12-28 Thread Christoph Hellwig
On Thu, Dec 20, 2007 at 01:47:13PM +0100, Arnd Bergmann wrote: Also, Christoph has recently posted a suggestion for how to improve the interface to allow the 'get' operation to return an error: http://patchwork.ozlabs.org/cbe-oss-dev/patch?id=14962 I'd suggest consolidating the two changes

just a test

2007-12-28 Thread Adrian Bunk
Just a test - please ignore. cu Adrian -- Is there not promise of rain? Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. Only a promise, Lao Er said. Pearl S. Buck - Dragon Seed -- To

[PATCH 2/3] libfs: make simple attributes interruptible

2007-12-28 Thread Christoph Hellwig
Use mutex_lock_interruptible in simple_attr_read/write. Index: linux-2.6.24-rc6/fs/libfs.c === --- linux-2.6.24-rc6.orig/fs/libfs.c2007-12-28 19:51:56.0 +0100 +++ linux-2.6.24-rc6/fs/libfs.c 2007-12-28 19:52:22.0

[PATCH 1/3] libfs: allow error return from simple attributes

2007-12-28 Thread Christoph Hellwig
Sometimes simple attributes might need to return an error, e.g. for acquiring a mutex interruptibly. In fact we have that situation in spufs already which is the original user of the simple attributes. This patch merged the temporarily forked attributes in spufs back into the main ones and

[PATCH 3/3] libfs: rename simple_attr_close to simple_attr_release

2007-12-28 Thread Christoph Hellwig
simple_attr_close implementes -release so it should be named accordingly. Signed-off-by: Christoph Hellwig [EMAIL PROTECTED] Index: linux-2.6.24-rc6/arch/powerpc/platforms/cell/spufs/file.c === ---

Re: [PATCH v4 7/8] debugfs: allow access to signed values

2007-12-28 Thread Johannes Berg
On Fri, 2007-12-28 at 19:58 +0100, Christoph Hellwig wrote: On Thu, Dec 20, 2007 at 01:47:13PM +0100, Arnd Bergmann wrote: Also, Christoph has recently posted a suggestion for how to improve the interface to allow the 'get' operation to return an error:

Re: [Patch v2] Make PCI extended config space (MMCONFIG) a driver opt-in

2007-12-28 Thread Loic Prylli
On 12/28/2007 1:06 AM, Benjamin Herrenschmidt wrote: On Thu, 2007-12-27 at 21:37 -0800, Linus Torvalds wrote: On Fri, 28 Dec 2007, Benjamin Herrenschmidt wrote: I have embedded boards where proper CRS operations is critical since the kernel brings the PCIe link up itself, and thus

Re: [2.6.24 patch] restore ARMv6 OProfile support

2007-12-28 Thread Mathieu Desnoyers
* Adrian Bunk ([EMAIL PROTECTED]) wrote: This patch restores the ARMv6 OProfile support that was killed by commit 09cadedbdc01f1a4bea1f427d4fb4642eaa19da9. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Yup, it must be put back, but I doubt stuffing it in kernel/Kconfig.instrumentation is

[2.6.24 patch] restore ARMv6 OProfile support

2007-12-28 Thread Adrian Bunk
This patch restores the ARMv6 OProfile support that was killed by commit 09cadedbdc01f1a4bea1f427d4fb4642eaa19da9. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- kernel/Kconfig.instrumentation | 19 +++ 1 file changed, 19 insertions(+)

[2.6.24 patch] restore blackfin HARDWARE_PM support

2007-12-28 Thread Adrian Bunk
This patch restores the blackfin Hardware Performance Monitor Profiling support that was killed by commit 09cadedbdc01f1a4bea1f427d4fb4642eaa19da9. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- kernel/Kconfig.instrumentation |9 + 1 file changed, 9 insertions(+)

[2.6.24 patch] restore Cell OProfile support

2007-12-28 Thread Adrian Bunk
This patch restores the Cell OProfile support that was killed by commit 09cadedbdc01f1a4bea1f427d4fb4642eaa19da9. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- kernel/Kconfig.instrumentation |8 1 file changed, 8 insertions(+) 6d1446d35d367fdbdd2a0a29e0d156646ff40630 diff

Re: [2.6.24 patch] restore blackfin HARDWARE_PM support

2007-12-28 Thread Mathieu Desnoyers
* Adrian Bunk ([EMAIL PROTECTED]) wrote: This patch restores the blackfin Hardware Performance Monitor Profiling support that was killed by commit 09cadedbdc01f1a4bea1f427d4fb4642eaa19da9. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Yep, this one too must be put back, but

Re: 2.6.24-rc6-mm1 - git-lblnet.patch and networking horkage

2007-12-28 Thread Paul Moore
On Wednesday 26 December 2007 4:52:03 pm James Morris wrote: On Thu, 26 Dec 2007, Paul Moore wrote: As James said I'm away right now and computer access is limited. However, I'm stuck in the airport right now and spent some time looking at the code ... Based on what has been found so far I

Re: [2.6.24 patch] restore blackfin HARDWARE_PM support

2007-12-28 Thread Adrian Bunk
On Fri, Dec 28, 2007 at 02:14:04PM -0500, Mathieu Desnoyers wrote: * Adrian Bunk ([EMAIL PROTECTED]) wrote: This patch restores the blackfin Hardware Performance Monitor Profiling support that was killed by commit 09cadedbdc01f1a4bea1f427d4fb4642eaa19da9. Signed-off-by: Adrian Bunk

Re: [PATCH] SH/Dreamcast - add support for GD-Rom device

2007-12-28 Thread Gino Badouri
Op donderdag 27-12-2007 om 14:58 uur [tijdzone -0800], schreef Joe Perches: On Thu, 2007-12-27 at 16:52 +, Adrian McMenamin wrote: This patch adds support for the CD-Rom drive on the SEGA Dreamcast. Because it was already so close, might as well make it checkpatch clean. I also added

Re: [2.6.24 patch] restore blackfin HARDWARE_PM support

2007-12-28 Thread Mathieu Desnoyers
* Adrian Bunk ([EMAIL PROTECTED]) wrote: On Fri, Dec 28, 2007 at 02:14:04PM -0500, Mathieu Desnoyers wrote: * Adrian Bunk ([EMAIL PROTECTED]) wrote: This patch restores the blackfin Hardware Performance Monitor Profiling support that was killed by commit

Re: [2.6.24 patch] restore Cell OProfile support

2007-12-28 Thread Mathieu Desnoyers
* Adrian Bunk ([EMAIL PROTECTED]) wrote: This patch restores the Cell OProfile support that was killed by commit 09cadedbdc01f1a4bea1f427d4fb4642eaa19da9. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Same here : why isn't this on by default when SPU_FS and OPROFILE are enabled ? ---

Re: kexec refuses to boot latest -mm

2007-12-28 Thread Neil Horman
On Fri, Dec 28, 2007 at 06:15:32PM +0530, Dhaval Giani wrote: Hi Vivek, I can't seem to get the latest -mm (2.6.24-rc6-mm1) to boot with kexec. It just gets stuck at Starting new kernel. It does boot normally when booted as the first kernel. Any hints debugging? (x86 architecture) --

RE: [PATCH] x86: export 'leave_mm' symbol

2007-12-28 Thread Pallipadi, Venkatesh
Acked-by: Venkatesh Pallipadi [EMAIL PROTECTED] -Original Message- From: Miguel Botón [mailto:[EMAIL PROTECTED] Sent: Friday, December 28, 2007 7:58 AM To: Linux Kernel Mailing List Cc: Ingo Molnar; Thomas Gleixner; Pallipadi, Venkatesh Subject: [PATCH] x86: export 'leave_mm' symbol

Re: [2.6.24 patch] restore ARMv6 OProfile support

2007-12-28 Thread Russell King
On Fri, Dec 28, 2007 at 08:56:36PM +0200, Adrian Bunk wrote: This patch restores the ARMv6 OProfile support that was killed by commit 09cadedbdc01f1a4bea1f427d4fb4642eaa19da9. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Given where we are in the release cycle, I think this cleanup patch

Fwd: Re: [2.6.24 patch] restore ARMv6 OProfile support

2007-12-28 Thread Russell King
Sorry, hit the wrong key. 'T' and 'Y' are too close together. (mutt) - Forwarded message from Russell King [EMAIL PROTECTED] - Date: Fri, 28 Dec 2007 19:57:24 + From: Russell King [EMAIL PROTECTED] To: Adrian Bunk [EMAIL PROTECTED] Cc: Mathieu Desnoyers [EMAIL PROTECTED],

RE: [2.6 patch] scsi/megaraid.c: __devexit annotation

2007-12-28 Thread Patro, Sumant
Ack. Regards, Sumant -Original Message- From: Adrian Bunk [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 11, 2007 2:24 PM To: DL-MegaRAID Linux; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; linux-kernel@vger.kernel.org Subject: [2.6 patch] scsi/megaraid.c: __devexit annotation

Re: [PATCH] AMD Thermal Interrupt Support

2007-12-28 Thread Russell Leidich
OK, given our discussion, perhaps the attached revised patch will be more to your liking. If so, let me know and I'll give it one last paranoid test, then mail you a Signed-off-by patch. -- Russell Leidich diff -uprN /home/rml/linux-2.6.24-rc5.orig/arch/x86/kernel/cpu/mcheck/Makefile

[GIT PULL -mm] 00/30 Unionfs+fsstack updates/fixes/cleanups

2007-12-28 Thread Erez Zadok
The following is a series of patchsets related to Unionfs. This is the second set of patchsets resulting from an lkml review of the entire unionfs code base (many thanks go to all of those who sent their comments). The most significant changes in this set are bug fixes and an overhaul of the

[PATCH 13/30] Unionfs: prevent deadlock in cache coherency

2007-12-28 Thread Erez Zadok
Don't try to truncate_inode_pages in in purge_inode_data, because this could lead to a deadlock between some of address_space ops and dentry revalidation: the address space op is invoked with a lock on our own page, and truncate_inode_pages will block on locked pages. Instead, it should be enough

[PATCH 03/30] Unionfs: use locking around i_size_write in 32-bit systems

2007-12-28 Thread Erez Zadok
CC: Hugh Dickins [EMAIL PROTECTED] Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/super.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/fs/unionfs/super.c b/fs/unionfs/super.c index 0ff9a9e..ed3eb04 100644 --- a/fs/unionfs/super.c +++

[PATCH 12/30] Unionfs: remove custom read/write methods

2007-12-28 Thread Erez Zadok
Having them results in lockdep warnings about having locks and grabbing the same class locks in do_sync_read/write which were called from unionfs_read/write. All they did was revalidate out file object sooner, which will now be deferred till a bit later. Instead, use generic do_sync_read and

[PATCH 06/30] Unionfs: initialize inode times for reused inodes

2007-12-28 Thread Erez Zadok
Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/super.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/fs/unionfs/super.c b/fs/unionfs/super.c index ed3eb04..c474c86 100644 --- a/fs/unionfs/super.c +++ b/fs/unionfs/super.c @@ -55,6 +55,14 @@ static void

[PATCH 22/30] Unionfs: handle on lower inodes in lookup

2007-12-28 Thread Erez Zadok
Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/dentry.c |6 +- fs/unionfs/lookup.c |5 + 2 files changed, 10 insertions(+), 1 deletions(-) diff --git a/fs/unionfs/dentry.c b/fs/unionfs/dentry.c index b207a6f..0e89308 100644 --- a/fs/unionfs/dentry.c +++

[PATCH 19/30] Unionfs: prevent false lockdep warnings in stacking

2007-12-28 Thread Erez Zadok
A stackable file system like unionfs often performs an operation on a lower file system, by calling a vfs_* method, having been called possibly by the very same method from the VFS. Both calls to the vfs_* method grab a lock in the same lock class, and hence lockdep complains. This warning is a

[PATCH 07/30] Unionfs: create new special files only in first branch

2007-12-28 Thread Erez Zadok
When creating a new special file, always create it in the first branch, which is always writeable, not in the branch which may have a whiteout in it. This makes the policy for the creation of new special files consistent with that of new files/directories, as well as improves efficiency a bit.

[PATCH 23/30] Unionfs: set our superblock a/m/ctime granularity

2007-12-28 Thread Erez Zadok
Set it to 1 ns, because we could be stacked on top of file systems with such granularity. Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/main.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/fs/unionfs/main.c b/fs/unionfs/main.c index 92f0e9d..23c18f7

[PATCH 25/30] Unionfs: minor cleanup in check_empty

2007-12-28 Thread Erez Zadok
Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/dirhelper.c |9 +++-- 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/fs/unionfs/dirhelper.c b/fs/unionfs/dirhelper.c index b40090a..4b73bb6 100644 --- a/fs/unionfs/dirhelper.c +++ b/fs/unionfs/dirhelper.c @@ -182,6

[PATCH 05/30] Unionfs: interpose cleanup and fix for spliced dentries

2007-12-28 Thread Erez Zadok
Fix unionfs_interpose to fill lower inode info when d_splice_alias returns NULL. Also cleanup impossible case (d_splice_alias doesn't return ERR_PTR). Signed-off-by: Rachita Kothiyal [EMAIL PROTECTED] Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/main.c | 10 +++--- 1 files

[PATCH 24/30] Unionfs: update inode times after a successful open

2007-12-28 Thread Erez Zadok
Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/commonfops.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/fs/unionfs/commonfops.c b/fs/unionfs/commonfops.c index 4077907..b8357a7 100644 --- a/fs/unionfs/commonfops.c +++ b/fs/unionfs/commonfops.c @@

[PATCH 10/30] Unionfs: mmap fixes

2007-12-28 Thread Erez Zadok
From: Hugh Dickins [EMAIL PROTECTED] Remove !mapping_cap_writeback_dirty shortcircuit from unionfs_writepages. It was introduced to avoid the stray AOP_WRITEPAGE_ACTIVATE coming from shmem_writepage; but that has since been fixed in shmem_writepage and in write_cache_pages. It stayed because it

[PATCH 17/30] Unionfs: remove unnecessary locking in follow-link

2007-12-28 Thread Erez Zadok
Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/inode.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/unionfs/inode.c b/fs/unionfs/inode.c index 37258c8..7ec9c1b 100644 --- a/fs/unionfs/inode.c +++ b/fs/unionfs/inode.c @@ -851,7 +851,8 @@ out: * nor

[PATCH 16/30] Unionfs: remove unnecessary lock in read_inode

2007-12-28 Thread Erez Zadok
Our read_inode doesn't need to grab the superblock rwsem because there no chance it could be affected by branch management. But our read_inode was called from other places which did grab need to grab that rwsem, and lockdep complained. Signed-off-by: Erez Zadok [EMAIL PROTECTED] ---

[PATCH 09/30] Unionfs: release special files on copyup

2007-12-28 Thread Erez Zadok
If we copyup a special file (char, block, etc.), then dput the source object. Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/copyup.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/fs/unionfs/copyup.c b/fs/unionfs/copyup.c index 3fe4865..f48209f 100644

[PATCH 30/30] Unionfs: don't check parent dentries

2007-12-28 Thread Erez Zadok
Parent dentries may not be locked and may change, so don't check them. But do check parent inodes if they are passed to the method. Also, ensure the checks are done only if no error occurred. Signed-off-by: Erez Zadok [EMAIL PROTECTED] --- fs/unionfs/commonfops.c |1 - fs/unionfs/file.c

  1   2   3   4   5   >