Re: [PATCH 1/1] hotplug cpu: migrate a task within its cpuset

2007-03-15 Thread Nathan Lynch
Robin Holt wrote: On Fri, Mar 09, 2007 at 05:58:59PM -0600, Nathan Lynch wrote: Hello- Cliff Wickman wrote: This patch would insert a preference to migrate such a task to a cpu within its cpuset (and set its cpus_allowed to its cpuset). With this patch, migrate the task

Re: [PATCH take3 16/20] acpi files switched

2007-03-15 Thread Chris Wright
* Len Brown ([EMAIL PROTECTED]) wrote: On Thursday 15 March 2007 01:13, Steven Rostedt wrote: Moved the shared files that were in arch/i386/kernel/acpi to the common area. When I do a make cscope on an i386 or an x86_64 box, will it find these files in the common area? The simple equiv

Re: [PATCH] Remove decl_subsys_name macro and single usage of it.

2007-03-15 Thread Greg KH
On Thu, Mar 01, 2007 at 12:09:59PM -0500, Robert P. J. Day wrote: Remove the macro decl_subsys_name which can be used to declare a sysfs subsystem, along with the single invocation of it in the source tree, since there appears to be little value in creating a subsystem whose subsystem name

Re: NPTL patch for linux 2.4.28

2007-03-15 Thread Peter Zijlstra
On Thu, 2007-03-15 at 03:14 +0530, Syed Ahemed wrote: Getting RHEL's source ( http://lkml.org/lkml/2005/3/21/380 ) was an idea i thought about but then a download of the RHEL source from the following location was denied . http://download.fedora.redhat.com/pub/fedora/linux/core/1/SRPMS/ and

Re: kref refcounting breakage in mainline

2007-03-15 Thread Mike Galbraith
On Wed, 2007-03-14 at 22:27 -0700, Greg KH wrote: But can you try this version instead? It exploded in strcmp(). Unfortunately, the full oops didn't make it to either console or serial console. [ 30.783048] ipmi message handler version 39.1 [ 30.787632] ipmi device interface [

Re: kref refcounting breakage in mainline

2007-03-15 Thread Greg KH
On Thu, Mar 15, 2007 at 08:53:07AM +0100, Mike Galbraith wrote: On Wed, 2007-03-14 at 22:27 -0700, Greg KH wrote: But can you try this version instead? It exploded in strcmp(). Unfortunately, the full oops didn't make it to either console or serial console. [ 30.783048] ipmi message

Re: kref refcounting breakage in mainline

2007-03-15 Thread Mike Galbraith
On Thu, 2007-03-15 at 01:06 -0700, Greg KH wrote: That's good. But why don't we have a module name for this driver? And if we don't have a module name, why would there be a symlink to remove? That's what is keeping your module from unloading, right? Ya got me, but according to my debug

Re: [stable] [PATCH] Fix COMPAT_VDSO regression bug

2007-03-15 Thread Leroy van Logchem
Greg KH wrote: On Thu, Mar 15, 2007 at 12:38:40AM +0100, Leroy van Logchem wrote: Revert [PATCH] Fix CONFIG_COMPAT_VDSO This reverts commit a1f3bb9ae4497a2ed3eac773fd7798ac33a0371f. Several systems couldnt boot using CONFIG_HIGHMEM64G=y as reported in bug #8040. Reverting

Re: [PATCH 10/13] BLK_DEV_IDE_CELLEB dependency fix

2007-03-15 Thread Al Viro
On Thu, Mar 15, 2007 at 03:10:20PM +0900, Akira Iguchi wrote: Al wrote: Eh... You still need dependency on IDE=y; otherwise you'll get configs with IDE=m, BLK_DEV_IDE_CELLEB=y and those won't link. BLK_DEV_IDEDMA_PCI is selectable just fine with IDE=m. It's the same problem as with ps3

[PATCH] ACPI_IBM_BAY can not coexist with ACPI_BAY

2007-03-15 Thread Chris Wedgwood
ACPI_IBM_BAY cannot coexist with ACPI_BAY --- it causes the IBM ACPI code to fail to initialize so all the IBM ACPI functionality is missing. The simplest fix is to just make sure the Kconfig magic disallows ACPI_IBM_BAY when ACPI_BAY is enabled. Signed-off-by: Chris Wedgwood [EMAIL PROTECTED]

Re: [QUICKLIST 0/6] Arch independent quicklists V1

2007-03-15 Thread Andrew Morton
On Mon, 12 Mar 2007 19:32:11 -0700 (PDT) David Miller [EMAIL PROTECTED] wrote: From: David Miller [EMAIL PROTECTED] Date: Mon, 12 Mar 2007 19:26:16 -0700 (PDT) From: Paul Mackerras [EMAIL PROTECTED] Date: Tue, 13 Mar 2007 11:37:32 +1100 David Miller writes: I ported this

Re: [QUICKLIST 0/6] Arch independent quicklists V1

2007-03-15 Thread David Miller
From: Andrew Morton [EMAIL PROTECTED] Date: Thu, 15 Mar 2007 00:22:49 -0800 So... what would happen if sparc64 were to use neither quicklists nor slab? Just grab these pages from the page allocator and clear them? The page table allocator is heavier weight than the quicklists, although

Re: [QUICKLIST 0/6] Arch independent quicklists V1

2007-03-15 Thread Andrew Morton
On Thu, 15 Mar 2007 00:31:18 -0700 (PDT) David Miller [EMAIL PROTECTED] wrote: From: Andrew Morton [EMAIL PROTECTED] Date: Thu, 15 Mar 2007 00:22:49 -0800 So... what would happen if sparc64 were to use neither quicklists nor slab? Just grab these pages from the page allocator and

Re: [patch 2/5] fs: introduce new aops and infrastructure

2007-03-15 Thread Nick Piggin
On Wed, Mar 14, 2007 at 11:23:05PM -0700, Joel Becker wrote: On Thu, Mar 15, 2007 at 05:36:42AM +0100, Nick Piggin wrote: On Wed, Mar 14, 2007 at 09:13:29PM -0700, Mark Fasheh wrote: Are we going to get rid of the file and intr arguments btw? I'm not sure intr is useful, and mapping is

[BUGFIX][PATCH] fixing placement of register stack under ulimit -s

2007-03-15 Thread KAMEZAWA Hiroyuki
This patch fixes ia64's bug in ulimit -s handling. against 2.6.21-rc3. At first,the address of register stack is defined by this == ia64_set_rbs_bot() unsigned long stack_size = current-signal-rlim[RLIMIT_STACK].rlim_max -16; if (stack_size MAX_USER_STACK_SIZE)

Re: alsa was Re: ABI coupling to hypervisors via CONFIG_PARAVIRT

2007-03-15 Thread Pavel Machek
Hi! I think the sound example to the right really shows it. /dev/dsp has a consistent ABI on a ton of systems. The API below it, varies. Linux got file_operations and ALSA. Solaris/BSD may have its vnode-and-so-on-functions and some sort of OSS. I think this is a poor

Re: alsa was Re: ABI coupling to hypervisors via CONFIG_PARAVIRT

2007-03-15 Thread Pavel Machek
Hi! So... in dsp, if I wanted to record sound, I did cat /dev/dsp /tmp/foo; cat /tmp/foo /dev/dsp If that worked, I had usable sound system, and if it broke, I knew it is kernel fault. With alsa it is download install alsalib download install alsautils

Re: [PATCH] Kprobes: Make kprobe.symbol_name const

2007-03-15 Thread Christoph Hellwig
On Thu, Mar 15, 2007 at 10:05:47AM +0530, Ananth N Mavinakayanahalli wrote: From: Ananth N Mavinakayanahalli [EMAIL PROTECTED] Kprobes doesn't scribble the kprobe.symbol_name field. Its only set by the module when registering the probe. Modules that exercise good hygiene using the const

Re: alsa was Re: ABI coupling to hypervisors via CONFIG_PARAVIRT

2007-03-15 Thread Zachary Amsden
Pavel Machek wrote: download install alsalib download install alsautils create 1007 nodes in /dev I really hope you meant permission 1007 nodes, not 1007 nodes! I'm checking right now, and if the latter is the case, I'm going to uninstall alsa, even if that means

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

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

Re: alsa was Re: ABI coupling to hypervisors via CONFIG_PARAVIRT

2007-03-15 Thread Pavel Machek
Hi! download install alsalib download install alsautils create 1007 nodes in /dev I really hope you meant permission 1007 nodes, not 1007 nodes! I'm checking right now, and if the latter is the case, I'm going to uninstall alsa, even if that means my computer will forever

Re: kref refcounting breakage in mainline

2007-03-15 Thread Mike Galbraith
On Thu, 2007-03-15 at 09:32 +0100, Mike Galbraith wrote: On Thu, 2007-03-15 at 01:06 -0700, Greg KH wrote: That's good. But why don't we have a module name for this driver? And if we don't have a module name, why would there be a symlink to remove? That's what is keeping your module

Re: [BUG: kernel/irq/proc.c] unprotected iteration over the IRQ action list in name_unique()

2007-03-15 Thread Dmitry Adamushko
On 14/03/07, Dmitry Adamushko [EMAIL PROTECTED] wrote: 1-st issue: unprotected iteration over the IRQ action list in name_unique() the racing sequences: [ 1 ] request_irq() - setup_irq() - register_handler_proc() - name_unique() - iterate over the action list (*) setup_irq() releases a

Re: [Bug 8040] Hang before INIT when CONFIG_HIGHMEM4G=y

2007-03-15 Thread Nilshar
Hello, I can confirm that the problem disappear when I disable Compat VDSO support by setting CONFIG_COMPAT_VDSO=n. Thanks Leroy. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

[PATCH] change misleading EFI partition support description

2007-03-15 Thread Johannes Berg
This patch removes the misleading Presently only useful on the IA-64 platform text from the EFI partition Kconfig. EFI partitions are also used by Apple on their Intel-based machines and thus you need EFI partition support if you (for example) want to attach such a machine in target disk mode.

Re: [stable] [PATCH] Fix COMPAT_VDSO regression bug

2007-03-15 Thread Leroy van Logchem
Leroy van Logchem leroy.vanlogchem at wldelft.nl writes: Greg KH wrote: On Thu, Mar 15, 2007 at 12:38:40AM +0100, Leroy van Logchem wrote: Revert [PATCH] Fix CONFIG_COMPAT_VDSO This reverts commit a1f3bb9ae4497a2ed3eac773fd7798ac33a0371f. Several systems couldnt boot

Re: 2.6.21-rc3-mm1

2007-03-15 Thread Mel Gorman
On (14/03/07 17:07), Andrew Morton didst pronounce: On Wed, 14 Mar 2007 20:06:02 +0100 Mariusz Kozlowski [EMAIL PROTECTED] wrote: Hello, Today after +- 24h of uptime I found some more page allocation failures ('eth1: Can't allocate skb for Rx'). You'll find more here:

Re: [PATCH] Remove decl_subsys_name macro and single usage of it.

2007-03-15 Thread Kay Sievers
On 3/1/07, Robert P. J. Day [EMAIL PROTECTED] wrote: Remove the macro decl_subsys_name which can be used to declare a sysfs subsystem, along with the single invocation of it in the source tree, since there appears to be little value in creating a subsystem whose subsystem name differs from

Re: 2.6.21-rc suspend regression: sysfs deadlock

2007-03-15 Thread Cornelia Huck
On Wed, 14 Mar 2007 15:23:10 -0400 (EDT), Alan Stern [EMAIL PROTECTED] wrote: +struct other_task_struct { + struct kobject *kobj; + void(*func)(void *); + void*data; + struct work_struct work; +}; + +static void

Re: [PATCH 1/1] LinuxPPS: Pulse per Second support for Linux

2007-03-15 Thread Rodolfo Giometti
On Wed, Mar 14, 2007 at 04:57:32PM -0400, Lennart Sorensen wrote: Well it does work for our GPS receiver at least. Of course I have to change the baud rate in the driver since our unit doens't use the NNEA standard 4800. And the configure script for ntp doesn't recognize the v2 PPSAPI, so

Re: [PATCH] mm/filemap.c: unconditionally call mark_page_accessed

2007-03-15 Thread Peter Zijlstra
On Wed, 2007-03-14 at 15:58 -0400, Ashif Harji wrote: This patch unconditionally calls mark_page_accessed to prevent pages, especially for small files, from being evicted from the page cache despite frequent access. Since we're hackling over the use-once stuff again... /me brings up:

Re: kswapd 2.4.21-47.0.0.1

2007-03-15 Thread Alan Cox
I have the following configuration: CentOS 3.8, kernel 2.4.21-41.0.01.EL, Dialogic boards. And presumably the proprietary Dialogic binary drivers. In which case this is the wrong list. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: [RFC][PATCH] Apple SMC driver (hardware monitoring and control)

2007-03-15 Thread Nicolas Boichat
Hello, Cong WANG wrote: 2007/3/14, Cong WANG wrote: I am sorry. I forgot to CC to the list. 2007/3/14, Nicolas Boichat wrote: Hello, snip +static ssize_t applesmc_show_fan_manual(struct device *dev, char *buf, + int

Re: [PATCH take3 16/20] acpi files switched

2007-03-15 Thread Steven Rostedt
On Thu, 2007-03-15 at 02:36 -0400, Len Brown wrote: On Thursday 15 March 2007 01:13, Steven Rostedt wrote: Moved the shared files that were in arch/i386/kernel/acpi to the common area. When I do a make cscope on an i386 or an x86_64 box, will it find these files in the common area? At

Re: [patch 1/2] splice: dont steal

2007-03-15 Thread Jens Axboe
On Wed, Mar 14 2007, Nick Piggin wrote: Here are a couple of splice patches I found when digging in the area. I could be wrong, so I'd appreciate confirmation. Untested other than compile, because I don't have a good splice test setup. Considering these are data corruption / information

Re: [patch 2/2] splice: dont readpage

2007-03-15 Thread Jens Axboe
On Wed, Mar 14 2007, Nick Piggin wrote: Splice does not need to readpage to bring the page uptodate before writing to it, because prepare_write will take care of that for us. Ah great, always good to get rid of some code. Splice is also wrong to SetPageUptodate before the page is actually

Re: [PATCH] ahci.c: fix ati sb600 sata IRQ_TF_ERR

2007-03-15 Thread Conke Hu
On 3/14/07, Tejun Heo [EMAIL PROTECTED] wrote: Hello, Conke Hu wrote: When there is no media in SATA CD/DVD drive or media is not ready, AHCI controller fails to execute the ATAPI commands TEST_UNIT_READY, READ_CAPACITY or READ_TOC and reports PORT_IRQ_TF_ERR. But ATI SB600 SATA

Re: [PATCH] ahci.c: fix ati sb600 sata IRQ_TF_ERR

2007-03-15 Thread Tejun Heo
Conke Hu wrote: E Internal error: The host bus adapter experienced an internal error that caused the operation to fail and may have put the host bus adapter into an error state. Host software should reset the interface before re-trying the operation. If the condition persists, the host bus

2.6.20.3: kernel BUG at mm/slab.c:597

2007-03-15 Thread Andreas Steinmetz
Got the following on executing tar tpf /dev/st0l on two different systems (x86): kernel BUG at mm/slab.c:597! invalid opcode: [#1] Modules linked in: sg st sym53c8xx netconsole tg3 e1000 CPU:0 EIP:0060:[c014b720]Not tainted VLI EFLAGS: 00010246 (2.6.20.3-luna #1) EIP is at

Re: [patch 2/5] fs: introduce new aops and infrastructure

2007-03-15 Thread Dmitriy Monakhov
Nick Piggin [EMAIL PROTECTED] writes: Index: linux-2.6/fs/splice.c === --- linux-2.6.orig/fs/splice.c +++ linux-2.6/fs/splice.c @@ -559,7 +559,7 @@ static int pipe_to_file(struct pipe_inod struct address_space *mapping =

Re: [patch 2/5] fs: introduce new aops and infrastructure

2007-03-15 Thread Nick Piggin
Dmitriy Monakhov wrote: Nick Piggin [EMAIL PROTECTED] writes: Index: linux-2.6/fs/splice.c === --- linux-2.6.orig/fs/splice.c +++ linux-2.6/fs/splice.c @@ -559,7 +559,7 @@ static int pipe_to_file(struct pipe_inod struct

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-15 Thread Horms
On Thu, Mar 15, 2007 at 11:17:26AM +0530, Vivek Goyal wrote: On Thu, Mar 15, 2007 at 02:07:56PM +0900, Horms wrote: On Thu, Mar 15, 2007 at 10:25:36AM +0530, Vivek Goyal wrote: On Thu, Mar 15, 2007 at 10:46:38AM +0900, Horms wrote: On Wed, Mar 14, 2007 at 05:00:09PM +, Ian Campbell

[PATCH] /proc/*/oom_score oops re badness

2007-03-15 Thread Alexey Dobriyan
Eternal quest to make while true; do cat /proc/fs/xfs/stat /dev/null 2/dev/null; done while true; do find /proc -type f 2/dev/null | xargs cat /dev/null 2/dev/null; done while true; do modprobe xfs; rmmod xfs; done work reliably continues and now kernel[1] oopses in the

Files not visible across NFS

2007-03-15 Thread Sai Bhushan
Hi, I am facing a problem where-in some files are not visible across NFS and hence, not able to read those files. However, after sometime, the files become visible and the data is accessible. I have tried to do an 'ls -l' operation on the directory and repeat it till the directory gets

Re: [patch 1/2] splice: dont steal

2007-03-15 Thread Nick Piggin
On Thu, Mar 15, 2007 at 12:52:37PM +0100, Jens Axboe wrote: On Wed, Mar 14 2007, Nick Piggin wrote: Here are a couple of splice patches I found when digging in the area. I could be wrong, so I'd appreciate confirmation. Untested other than compile, because I don't have a good splice test

Re: [PATCH] splice: partial write handling fix

2007-03-15 Thread Jens Axboe
On Wed, Mar 14 2007, Dmitriy Monakhov wrote: currently if partial write has happened while -commit_write() then page wasn't marked as accessed and rebalanced. The -commit_write() return values aren't very well designed imho. Is your fix correct getting the pipe_to_file() return value correct

Re: [patch 2/2] splice: dont readpage

2007-03-15 Thread Nick Piggin
On Thu, Mar 15, 2007 at 12:54:54PM +0100, Jens Axboe wrote: On Wed, Mar 14 2007, Nick Piggin wrote: Splice does not need to readpage to bring the page uptodate before writing to it, because prepare_write will take care of that for us. Ah great, always good to get rid of some code.

Re: [patch 1/2] splice: dont steal

2007-03-15 Thread Jens Axboe
On Thu, Mar 15 2007, Nick Piggin wrote: On Thu, Mar 15, 2007 at 12:52:37PM +0100, Jens Axboe wrote: On Wed, Mar 14 2007, Nick Piggin wrote: Here are a couple of splice patches I found when digging in the area. I could be wrong, so I'd appreciate confirmation. Untested other than

Re: 2.6.21-rc suspend regression: sysfs deadlock

2007-03-15 Thread Hugh Dickins
On Thu, 15 Mar 2007, Cornelia Huck wrote: On Wed, 14 Mar 2007 15:23:10 -0400 (EDT), Alan Stern [EMAIL PROTECTED] wrote: sysfs_work_struct is too generic; other parts of sysfs might also want to use workqueues for different purposes. I don't like calling it delayed-anything, because

Re: [PATCH] mm/filemap.c: unconditionally call mark_page_accessed

2007-03-15 Thread Nick Piggin
On Thu, Mar 15, 2007 at 11:39:14AM +0100, Peter Zijlstra wrote: On Wed, 2007-03-14 at 15:58 -0400, Ashif Harji wrote: This patch unconditionally calls mark_page_accessed to prevent pages, especially for small files, from being evicted from the page cache despite frequent access. Since

Re: [patch 2/2] splice: dont readpage

2007-03-15 Thread Jens Axboe
On Thu, Mar 15 2007, Nick Piggin wrote: On Thu, Mar 15, 2007 at 12:54:54PM +0100, Jens Axboe wrote: On Wed, Mar 14 2007, Nick Piggin wrote: Splice does not need to readpage to bring the page uptodate before writing to it, because prepare_write will take care of that for us. Ah

Re: [patch 1/2] splice: dont steal

2007-03-15 Thread Nick Piggin
On Thu, Mar 15, 2007 at 01:27:23PM +0100, Jens Axboe wrote: On Thu, Mar 15 2007, Nick Piggin wrote: We should be able to allow for it with the new a_ops API I'm working on. Should be and in progress stuff, is it guarenteed to get there? Well considering that it is needed in order to

Re: [PATCH] mm/filemap.c: unconditionally call mark_page_accessed

2007-03-15 Thread Dave Kleikamp
On Thu, 2007-03-15 at 01:22 -0400, Ashif Harji wrote: I would tend to agree with David that: Any application doing many tiny-sized reads isn't exactly asking for great performance. As well, applications concerned with performance and caching problems can read in a file in PAGE_SIZE

Re: [PATCH] mm/filemap.c: unconditionally call mark_page_accessed

2007-03-15 Thread Nick Piggin
On Thu, Mar 15, 2007 at 07:46:56AM -0500, Dave Kleikamp wrote: On Thu, 2007-03-15 at 01:22 -0400, Ashif Harji wrote: I would tend to agree with David that: Any application doing many tiny-sized reads isn't exactly asking for great performance. As well, applications concerned with

Re: [patch 1/2] splice: dont steal

2007-03-15 Thread Jens Axboe
On Thu, Mar 15 2007, Nick Piggin wrote: On Thu, Mar 15, 2007 at 01:27:23PM +0100, Jens Axboe wrote: On Thu, Mar 15 2007, Nick Piggin wrote: We should be able to allow for it with the new a_ops API I'm working on. Should be and in progress stuff, is it guarenteed to get there?

Re: [PATCH] Remove decl_subsys_name macro and single usage of it.

2007-03-15 Thread Robert P. J. Day
On Thu, 15 Mar 2007, Kay Sievers wrote: On 3/1/07, Robert P. J. Day [EMAIL PROTECTED] wrote: Remove the macro decl_subsys_name which can be used to declare a sysfs subsystem, along with the single invocation of it in the source tree, since there appears to be little value in creating a

Re: 2.6.21-rc suspend regression: sysfs deadlock

2007-03-15 Thread Oliver Neukum
Am Donnerstag, 15. März 2007 13:31 schrieb Hugh Dickins: Quite apart from this mysterious other task, I don't understand access either. Perhaps defer would best capture the idea of another-task and maybe-delay?  sysfs_defer_work(), struct sysfs_deferred_work? But we do not wish to defer or

Re: [PATCH] Remove decl_subsys_name macro and single usage of it.

2007-03-15 Thread Kay Sievers
On Thu, 2007-03-15 at 08:52 -0400, Robert P. J. Day wrote: On Thu, 15 Mar 2007, Kay Sievers wrote: On 3/1/07, Robert P. J. Day [EMAIL PROTECTED] wrote: Remove the macro decl_subsys_name which can be used to declare a sysfs subsystem, along with the single invocation of it in the

Re: [patch 1/2] splice: dont steal

2007-03-15 Thread Nick Piggin
On Thu, Mar 15, 2007 at 01:54:32PM +0100, Jens Axboe wrote: On Thu, Mar 15 2007, Nick Piggin wrote: On Thu, Mar 15, 2007 at 01:27:23PM +0100, Jens Axboe wrote: On Thu, Mar 15 2007, Nick Piggin wrote: We should be able to allow for it with the new a_ops API I'm working on.

[PATCH]: Fix bogus softlockup warning with sysrq-t

2007-03-15 Thread Prarit Bhargava
There are some situations when soft lockup warnings are expected in the kernel. For example, when doing an alt-sysrq-t on a large number of processes, the dump to console can take a long time and the tasklist_lock is held over that period. This results in a bogus soft lockup warning. This patch

Re: 2.6.21-rc suspend regression: sysfs deadlock

2007-03-15 Thread Dmitry Torokhov
On 3/15/07, Oliver Neukum [EMAIL PROTECTED] wrote: Am Donnerstag, 15. März 2007 13:31 schrieb Hugh Dickins: Quite apart from this mysterious other task, I don't understand access either. Perhaps defer would best capture the idea of another-task and maybe-delay? sysfs_defer_work(), struct

Re: NPTL patch for linux 2.4.28

2007-03-15 Thread Willy Tarreau
On Thu, Mar 15, 2007 at 08:53:06AM +0100, Peter Zijlstra wrote: On Thu, 2007-03-15 at 03:14 +0530, Syed Ahemed wrote: Getting RHEL's source ( http://lkml.org/lkml/2005/3/21/380 ) was an idea i thought about but then a download of the RHEL source from the following location was denied .

Re: [PATCH] splice: partial write handling fix

2007-03-15 Thread Dmitriy Monakhov
Jens Axboe [EMAIL PROTECTED] writes: On Wed, Mar 14 2007, Dmitriy Monakhov wrote: currently if partial write has happened while -commit_write() then page wasn't marked as accessed and rebalanced. The -commit_write() return values aren't very well designed imho. Is your fix correct getting

[PATCH] oom fix: prevent oom from killing a process with children/sibling unkillable

2007-03-15 Thread Ankita Garg
Looking at oom_kill.c, found that the intention to not kill the selected process if any of its children/siblings has OOM_DISABLE set, is not being met. Signed-off-by: Ankita Garg [EMAIL PROTECTED] Index: ankita/linux-2.6.20.1/mm/oom_kill.c

Re: [PATCH] oom fix: prevent oom from killing a process with children/sibling unkillable

2007-03-15 Thread Nick Piggin
On Thu, Mar 15, 2007 at 07:19:21PM +0530, Ankita Garg wrote: Looking at oom_kill.c, found that the intention to not kill the selected process if any of its children/siblings has OOM_DISABLE set, is not being met. Signed-off-by: Ankita Garg [EMAIL PROTECTED] Acked-by: Nick Piggin [EMAIL

Re: 2.6.21-rc suspend regression: sysfs deadlock

2007-03-15 Thread Hugh Dickins
On Thu, 15 Mar 2007, Dmitry Torokhov wrote: How about sysfs_schedule_work? That is what it does - schedules a work on a sysfs object and everyone here knows what schedule_work() does. I'm ashamed to have suggested anything else: certainly gets my vote. Hugh - To unsubscribe from this list:

Re: [Bug 8040] Hang before INIT when CONFIG_HIGHMEM4G=y [Fix CONFIG_COMPAT_VDSO] - Bad?

2007-03-15 Thread Leroy van Logchem
Andi Kleen wrote: Where does it hang exactly? Do you have a boot log? Linux version 2.6.20 ([EMAIL PROTECTED]) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)) #1 SMP Thu Mar 15 11:06:29 CET 2007 BIOS-provided physical RAM map: sanitize start sanitize end copy_e820_map() start:

Re: Files not visible across NFS

2007-03-15 Thread Alexander van Heukelum
On Thu, 15 Mar 2007 16:51:02 +0530, Sai Bhushan [EMAIL PROTECTED] said: Hi, I am facing a problem where-in some files are not visible across NFS and hence, not able to read those files. However, after sometime, the files become visible and the data is accessible. I have tried to do an 'ls

Re: 2.6.21-rc suspend regression: sysfs deadlock

2007-03-15 Thread Alan Stern
On Thu, 15 Mar 2007, Cornelia Huck wrote: The naming seems a bit unintuitive, but I don't have a good alternative idea. Perhaps sysfs_work_struct, sysfs_delayed_work()? sysfs_work_struct is too generic; other parts of sysfs might also want to use workqueues for different purposes.

Re: [PATCH] BLK_DEV_IDE_CELLEB dependency fix

2007-03-15 Thread Sergei Shtylyov
Hello. Akira Iguchi wrote: It's bool and it depends on BLK_DEV_IDE = should depend on BLK_DEV_IDE=y Hm, why I'm seeing module_init() in the driver? :-) And move it to if BLK_DEV_IDEDMA_PCI block because it depends on BLK_DEV_IDEDMA_PCI. IMHO, that driver shouldn't be in

[PATCH] vt: fix a potential race in the VT_WAITACTIVE handler

2007-03-15 Thread Michal Januszewski
On a multiprocessor machine the VT_WAITACTIVE ioctl call may return 0 if fg_console has already been updated in redraw_screen(), but the console switch itself hasn't been completed. Fix this by checking fg_console in vt_waitactive() with the console sem held. Signed-off-by: Michal Januszewski

Re: [PATCH] PPC: Delete unused header file.

2007-03-15 Thread Kumar Gala
On Sat, 10 Mar 2007, Robert P. J. Day wrote: Delete apparently unused header file arch/powerpc/platforms/83xx/mpc834x_itx.h. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] --- applied. In the future it would be helpful if you also copied the linuxppc-dev list on ppc patches. thanks

Re: [PATCH] mm/filemap.c: unconditionally call mark_page_accessed

2007-03-15 Thread Rik van Riel
Andreas Mohr wrote: I've been thinking hard how to avoid the mark_page_accessed() starvation in case of a fixed, (almost) non-changing access state, but this seems hard since it'd seem we need some kind of state management here to figure out good intervals of when to call mark_page_accessed()

Re: [PATCH] mm/filemap.c: unconditionally call mark_page_accessed

2007-03-15 Thread Rik van Riel
Nick Piggin wrote: On Thu, Mar 15, 2007 at 11:39:14AM +0100, Peter Zijlstra wrote: On Wed, 2007-03-14 at 15:58 -0400, Ashif Harji wrote: This patch unconditionally calls mark_page_accessed to prevent pages, especially for small files, from being evicted from the page cache despite frequent

Re: kref refcounting breakage in mainline

2007-03-15 Thread Greg KH
On Thu, Mar 15, 2007 at 11:19:20AM +0100, Mike Galbraith wrote: On Thu, 2007-03-15 at 01:06 -0700, Greg KH wrote: That's good. But why don't we have a module name for this driver? And if we don't have a module name, why would there be a symlink to remove? That's what is keeping your

Re: [PATCH 1/1] LinuxPPS: Pulse per Second support for Linux

2007-03-15 Thread Lennart Sorensen
On Thu, Mar 15, 2007 at 11:29:12AM +0100, Rodolfo Giometti wrote: Can you please provide a little help about it? A patch against current wiki wuold be great! ;) Well all I actually did was simply stick #define HAVE_PPSAPI at the tome of the refclock_nmea.c file. The configure script in ntp is

fake config option w/kbuild?

2007-03-15 Thread Kumar Gala
Guys, I was wondering if there was a way to have a fake config option, one that acts just like a normal config option, but doesn't get a #define CONFIG_FOOBAR .. for it and thus can't be used in code. I explain my problem, and maybe there is a better solution. I have a config option call QE

Re: kbuild question

2007-03-15 Thread Kumar Gala
On Feb 18, 2007, at 1:25 PM, Sam Ravnborg wrote: Sure, on powerpc for some of the embedded sub-architectures you can only select a single board to build for. For a lot of people this is sufficient, however we are moving towards a world where you can easily build in support for

Re: 2.6.21-rc suspend regression: sysfs deadlock

2007-03-15 Thread Cornelia Huck
On Thu, 15 Mar 2007 10:27:19 -0400 (EDT), Alan Stern [EMAIL PROTECTED] wrote: Fair enough. One use of delay is in a comment you wrote; I'll change it as well. Fine with me. Would people be happier with sysfs_schedule_callback() and device_schedule_callback()? At least the functions do

Re: [Bug 8040] Hang before INIT when CONFIG_HIGHMEM4G=y [Fix CONFIG_COMPAT_VDSO] - Bad

2007-03-15 Thread Chuck Ebbert
Leroy van Logchem wrote: Bisecting went well, after 13 compiles this commit was found: a1f3bb9ae4497a2ed3eac773fd7798ac33a0371f is first bad commit commit a1f3bb9ae4497a2ed3eac773fd7798ac33a0371f Author: Roland McGrath [EMAIL PROTECTED] Date: Fri Jan 26 00:56:46 2007 -0800

Re: 2.6.21-rc3-mm1

2007-03-15 Thread Mariusz Kozlowski
Hello Mel, Today after +- 24h of uptime I found some more page allocation failures ('eth1: Can't allocate skb for Rx'). You'll find more here: http://tuxland.pl/misc/2.6.21-rc3-mm1-page-allocation-failure.txt System wasn't doing anything unusual, as usual ;-) X, some p2p

Re: [PATCH 1/1] LinuxPPS: Pulse per Second support for Linux

2007-03-15 Thread Rodolfo Giometti
On Thu, Mar 15, 2007 at 11:18:55AM -0400, Lennart Sorensen wrote: How come none of the .patch files in http://ftp.enneenne.com/pub/misc/linuxpps/refclocks/nmea/ can be accessed? Does your web server not like serving up .patch files? Sorry. I set wrong file permissions. :) Try now. Ciao,

AMD64 kernel oops

2007-03-15 Thread Joerg Platte
Hi! On our file server we have the following problem (the full dmesg output is available at http://www-ds.e-technik.uni-dortmund.de/~jplatte/dmesg.txt ): Unable to handle kernel paging request at 00100108 RIP: [802ec036] keyring_destroy+0x32/0x96 PGD 195d33067 PUD 193202067 PMD

Re: [Bug 8040] Hang before INIT when CONFIG_HIGHMEM4G=y [Fix CONFIG_COMPAT_VDSO] - Bad

2007-03-15 Thread Leroy van Logchem
Chuck Ebbert wrote: Leroy van Logchem wrote: Bisecting went well, after 13 compiles this commit was found: a1f3bb9ae4497a2ed3eac773fd7798ac33a0371f is first bad commit commit a1f3bb9ae4497a2ed3eac773fd7798ac33a0371f Author: Roland McGrath [EMAIL PROTECTED] Date: Fri Jan 26 00:56:46 2007

[patch v2] Fixes and cleanups for earlyprintk aka boot console.

2007-03-15 Thread Gerd Hoffmann
The console subsystem already has an idea of a boot console, using the CON_BOOT flag. The implementation has some flaws though. The major problem is that presence of a boot console makes register_console() ignore any other console devices (unless explicitly specified on the kernel command line).

Re: [PATCH 00/18] Make common x86 arch area for i386 and x86_64 - Take 2

2007-03-15 Thread Martin Bligh
Linus Torvalds wrote: On Wed, 14 Mar 2007, Ingo Molnar wrote: and that's how i think unification of architectures should be done: move code into kernel/* and drivers/*, _not_ into another architecture. That way all architectures benefit. Don't be silly. Did you even *look* at the patches?

Re: [PATCH] mm/filemap.c: unconditionally call mark_page_accessed

2007-03-15 Thread Chuck Ebbert
Ashif Harji wrote: This patch unconditionally calls mark_page_accessed to prevent pages, especially for small files, from being evicted from the page cache despite frequent access. Signed-off-by: Ashif Harji [EMAIL PROTECTED] I like mine better -- it leaves the comment: From: Chuck

Re: [PATCH 00/18] Make common x86 arch area for i386 and x86_64 - Take 2

2007-03-15 Thread Linus Torvalds
On Thu, 15 Mar 2007, Martin Bligh wrote: Can't we move the shared files into a new shared arch/ subdirectory (ia32_64 or whatever), and have them included from both places? That's *exactly* what the patches do (except it's called arch/x86, which is clearly the best option - please don't

Re: [PATCH 00/18] Make common x86 arch area for i386 and x86_64 - Take 2

2007-03-15 Thread Andi Kleen
That's *exactly* what the patches do (except it's called arch/x86, which is clearly the best option - please don't use ia _anywhere_ except for ia64, since that's the only architecture that is really intel architecture). And i860 @) On the downside, it's more ../../.. type stuff. On the

Re: [PATCH] PPC: Delete unused header file.

2007-03-15 Thread Robert P. J. Day
On Thu, 15 Mar 2007, Kumar Gala wrote: On Sat, 10 Mar 2007, Robert P. J. Day wrote: Delete apparently unused header file arch/powerpc/platforms/83xx/mpc834x_itx.h. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] --- applied. In the future it would be helpful if you also

Re: 2.6.21rc suspend to ram regression on Lenovo X60

2007-03-15 Thread Eric W. Biederman
Dave Jones [EMAIL PROTECTED] writes: On Tue, Mar 13, 2007 at 10:22:53AM +0100, Rafael J. Wysocki wrote: On Tuesday, 13 March 2007 05:08, Dave Jones wrote: I spent considerable time over the last day or so bisecting to find out why an X60 stopped resuming somewhen between 2.6.20 and

PCI DAC DMA APIs

2007-03-15 Thread Jan Beulich
While the kernel headers provide for this, there don't appear to be any in-tree users (which seems contrary to general Linux policies). Would there be objections to remove all of these? Jan - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: PCI DAC DMA APIs

2007-03-15 Thread Andi Kleen
On Thursday 15 March 2007 13:38, Jan Beulich wrote: While the kernel headers provide for this, there don't appear to be any in-tree users (which seems contrary to general Linux policies). Would there be objections to remove all of these? Would be fine for me. I think the original idea was to

[PATCH]: Add gate.lds to Documentation/dontdiff

2007-03-15 Thread Prarit Bhargava
Add gate.lds to dontdiff for ia64. Signed-off-by: Prarit Bhargava [EMAIL PROTECTED] diff --git a/Documentation/dontdiff b/Documentation/dontdiff index 63c2d0c..0bf10c7 100644 --- a/Documentation/dontdiff +++ b/Documentation/dontdiff @@ -86,6 +86,7 @@ filelist fixdep fore200e_mkfirm

Re: [PATCH/RFC] PCI prepare/activate instead of enable to avoid IRQ storm and rogue DMA access

2007-03-15 Thread Andi Kleen
Do you mean between disabling IRQ mechanisms and enabling PCI device in pcim_prepare_device()? Yes. -Andi - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH/RFC] PCI prepare/activate instead of enable to avoid IRQ storm and rogue DMA access

2007-03-15 Thread Vivek Goyal
On Wed, Mar 14, 2007 at 10:46:47PM +0100, Andi Kleen wrote: Tejun Heo [EMAIL PROTECTED] writes: Let's assume there's a device which shares its INTX IRQ line with another device and the other one is already initialized. During boot, due to BIOS's fault, bad hardware design or sheer bad

Re: [PATCH 10/13] sl82c105: add -speedproc support

2007-03-15 Thread Woody Suwalski
Sergei Shtylyov wrote: Hello, I wrote: Bartlomiej Zolnierkiewicz wrote: [PATCH] sl82c105: add -speedproc support * add sl82c105_tunepio() wrapper for sl82c105_tune_drive() (just to get the error value) * add sl82c105_tune_chipset() (-speedproc method) for setting transfer mode

Re: [PATCH] ACPI_IBM_BAY can not coexist with ACPI_BAY

2007-03-15 Thread Henrique de Moraes Holschuh
On Thu, 15 Mar 2007, Chris Wedgwood wrote: ACPI_IBM_BAY cannot coexist with ACPI_BAY --- it causes the IBM ACPI code to fail to initialize so all the IBM ACPI functionality is missing. The simplest fix is to just make sure the Kconfig magic disallows ACPI_IBM_BAY when ACPI_BAY is enabled.

Re: [PATCH] ACPI_IBM_BAY can not coexist with ACPI_BAY

2007-03-15 Thread Henrique de Moraes Holschuh
On Thu, 15 Mar 2007, Chris Wedgwood wrote: ACPI_IBM_BAY cannot coexist with ACPI_BAY --- it causes the IBM ACPI code to fail to initialize so all the IBM ACPI functionality is missing. The simplest fix is to just make sure the Kconfig magic disallows ACPI_IBM_BAY when ACPI_BAY is enabled.

rsdl 30 on 2.6.20.2 breaks user space usb

2007-03-15 Thread Andreas Jellinghaus
with plain 2.6.20.2 I get events / called from udev for /proc/bus/usb devices. with rsdl 0.30 added to the kernel I no longer get called for those devices (but I do get called for the new /dev/usbdev devices - except that I can't use them). any idea why and what to do? might be related to a race

  1   2   3   4   5   6   7   8   >