Re: regression: 100% io-wait with 2.6.24-rcX

2008-01-13 Thread Joerg Platte
Am Sonntag, 13. Januar 2008 schrieb Fengguang Wu: No idea yet :-/ I'm afraid I have to trouble you again - the bug just refused to appear in my system. I prepared a kernel module for you to gather more information: make insmod ext2-writeback-debug.ko sleep 1s rmmod ext2-writeback-debug

Re: regression: 100% io-wait with 2.6.24-rcX

2008-01-13 Thread Fengguang Wu
On Sun, Jan 13, 2008 at 09:05:43AM +0100, Joerg Platte wrote: Am Sonntag, 13. Januar 2008 schrieb Fengguang Wu: No idea yet :-/ I'm afraid I have to trouble you again - the bug just refused to appear in my system. I prepared a kernel module for you to gather more information: make

Re: Could not set non-blocking flag with 2.6.24-rc5

2008-01-13 Thread Tino Keitel
On Sat, Jan 12, 2008 at 21:10:15 +, Christoph Hellwig wrote: On Thu, Dec 13, 2007 at 09:16:01PM +0100, Tino Keitel wrote: Hi folks, I often build Debian packages inside a chroot. Today I discovered a failure during an aptitude update, which is a command to download new package

Re: [CALL FOR TESTING] Make Ext3 fsck way faster [2.6.23.13]

2008-01-13 Thread Michael Gerdau
This patch does not apply to a clean 2.6.23.13 tree using either of patch -p1 patch.ext3-fsck-faster patch -p1 -l patch.ext3-fsck-faster Best, Michael -- Michael Gerdau email: [EMAIL PROTECTED] GPG-keys available on request or at public keyserver signature.asc Description: This is

Re: regression: 100% io-wait with 2.6.24-rcX

2008-01-13 Thread Joerg Platte
Am Sonntag, 13. Januar 2008 schrieb Fengguang Wu: On Sun, Jan 13, 2008 at 09:05:43AM +0100, Joerg Platte wrote: Am Sonntag, 13. Januar 2008 schrieb Fengguang Wu: No idea yet :-/ I'm afraid I have to trouble you again - the bug just refused to appear in my system. I prepared a kernel

HPET timer broken using 2.6.23.13 / nanosleep() hangs

2008-01-13 Thread Andrew Paprocki
I started debugging a problem I was having with my sky2 network driver under 2.6.23.13. The investigation led me to find that the HPET timer wasn't working at all, causing the sky2 driver to not work properly. Simple example: am2:/sys/devices/system/clocksource/clocksource0# cat

Re: 2.6.24-rc7, intel audio: alsa doesn't say a beep

2008-01-13 Thread Takashi Iwai
At Fri, 11 Jan 2008 22:55:28 +0100, Harald Dunkel wrote: Takashi Iwai wrote: At Thu, 10 Jan 2008 23:02:53 +0100, Harald Dunkel wrote: Takashi Iwai wrote: Hm... Just to be sure, try the patch below. It's a clean up patch that I'd like to apply later. Sorry, no sound. OK, but

Re: [RFD] Incremental fsck

2008-01-13 Thread Al Boldi
Theodore Tso wrote: On Wed, Jan 09, 2008 at 02:52:14PM +0300, Al Boldi wrote: Ok, but let's look at this a bit more opportunistic / optimistic. Even after a black-out shutdown, the corruption is pretty minimal, using ext3fs at least. After a unclean shutdown, assuming you have decent

Re: [PATCH 0/5] USB Kconfig: Reorganize USB Kconfig Menu

2008-01-13 Thread Al Boldi
Greg KH wrote: On Sat, Jan 12, 2008 at 01:20:46PM +0300, Al Boldi wrote: Greg KH wrote: On Sat, Jan 05, 2008 at 06:40:38PM +0300, Al Boldi wrote: Reorganize USB Kconfig Menu, and move USB_GADGET out into the Device Driver Menu. ?This helps the USB Kconfig Menu to be more

Re: 2.6.24-rc7, intel audio: alsa doesn't say a beep

2008-01-13 Thread Takashi Iwai
At Sat, 12 Jan 2008 10:41:21 +0100, Harald Dunkel wrote: Takashi Iwai wrote: At Thu, 10 Jan 2008 23:02:53 +0100, Harald Dunkel wrote: Takashi Iwai wrote: Hm... Just to be sure, try the patch below. It's a clean up patch that I'd like to apply later. Sorry, no sound. OK, but

Re: [PATCH 0/5] USB Kconfig: Reorganize USB Kconfig Menu

2008-01-13 Thread Stefan Richter
Greg KH wrote: On Sat, Jan 12, 2008 at 01:20:46PM +0300, Al Boldi wrote: Greg KH wrote: On Sat, Jan 05, 2008 at 06:40:38PM +0300, Al Boldi wrote: Reorganize USB Kconfig Menu, and move USB_GADGET out into the Device Driver Menu. ?This helps the USB Kconfig Menu to be more logical/usable.

Re: [PATCH 3/5] NLM: Have lockd call try_to_freeze

2008-01-13 Thread Jeff Layton
On Thu, 10 Jan 2008 13:01:34 -0500 Jeff Layton [EMAIL PROTECTED] wrote: lockd makes itself freezable, but never calls try_to_freeze(). Have it call try_to_freeze() within the main loop. Signed-off-by: Jeff Layton [EMAIL PROTECTED] --- fs/lockd/svc.c |3 +++ 1 files changed, 3

Re: HPET timer broken using 2.6.23.13 / nanosleep() hangs

2008-01-13 Thread Dhaval Giani
On Sun, Jan 13, 2008 at 06:10:52AM -0500, Andrew Paprocki wrote: I started debugging a problem I was having with my sky2 network driver under 2.6.23.13. The investigation led me to find that the HPET timer wasn't working at all, causing the sky2 driver to not work properly. Simple example:

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

2008-01-13 Thread Tony Camuso
Arjan van de Ven wrote: On Sat, 12 Jan 2008 20:36:59 -0500 Tony Camuso [EMAIL PROTECTED] wrote: Just about NOBODY has devices that need the extended config space. At all. The PCI express spec requires the platform to provide access to this space for express-compliance. More devices will be

Re: INITIO scsi driver fails to work properly

2008-01-13 Thread Filippos Papadopoulos
On 1/11/08, James Bottomley [EMAIL PROTECTED] wrote: On Fri, 2008-01-11 at 18:44 +0200, Filippos Papadopoulos wrote: On Jan 11, 2008 5:44 PM, James Bottomley [EMAIL PROTECTED] wrote: I havent reported initio: I/O port range 0x0 is busy. Sorry ... we appear to have several

Re: HPET timer broken using 2.6.23.13 / nanosleep() hangs

2008-01-13 Thread Andrew Paprocki
I applied the patch to my 2.6.23.13 tree and upon reboot it stopped right after: Clocksource tsc unstable (delta = ... ns) Time: hpet clocksource has been installed. It locked up hard.. cursor stopped blinking and SysRq isn't working either. -Andrew On Jan 13, 2008 7:03 AM, Dhaval Giani [EMAIL

Re: [PATCH 3/6] NLM: Initialize completion variable in lockd_up

2008-01-13 Thread Jeff Layton
On Wed, 9 Jan 2008 17:35:42 + Christoph Hellwig [EMAIL PROTECTED] wrote: On Tue, Jan 08, 2008 at 02:33:15PM -0500, Jeff Layton wrote: lockd_start_done is a global var that can be reused if lockd is restarted, but it's never reinitialized. On all but the first use, wait_for_completion

isofs maintainer and write support

2008-01-13 Thread xerces8
Hi! I write here as the MAINTAINERS file has no entry about the isofs. The question is : Is there any plan/way/idea to have read/write support for isofs ? I know of user space tools that can perform any operation (like create/read/write/rename/delete file/directory) but that is nowhere as

Re: PROBLEM REMAINS: [sata_nv ADMA breaks ATAPI] Crash on accessing DVD-RAM

2008-01-13 Thread Alan Cox
Other than that, I guess the solutions would be to just set a 32-bit mask on the device if either port has an ATAPI device connected (which is fairly ugly, considering that you could do things like hotplug an ATAPI device when the other port was in use, for example), or do something to

Re: HPET timer broken using 2.6.23.13 / nanosleep() hangs

2008-01-13 Thread Dhaval Giani
On Sun, Jan 13, 2008 at 08:10:46AM -0500, Andrew Paprocki wrote: I applied the patch to my 2.6.23.13 tree and upon reboot it stopped right after: Clocksource tsc unstable (delta = ... ns) Time: hpet clocksource has been installed. It locked up hard.. cursor stopped blinking and SysRq

question regarding user mode linux

2008-01-13 Thread thomas
I try to setup a user mode linux session and dmesg says: [cut] ubda: unknown partition table Choosing a random ethernet address for device eth0 Netdevice 0 (9e:69:a0:f3:f1:f0) : TUN/TAP backend - IP = 192.168.5.1 Filesystem ubda: Disabling barriers, not supported by the underlying device [cut]

Problem with tg3 in 2.6.23.12

2008-01-13 Thread Stephan von Krawczynski
Hello all, we recently tried to stress several netblk configurations and got this kernel log (amongst others). If additional information is required feel free to ask. We can try patches as well the config is not in production yet. Jan 12 15:46:54 fs2 kernel: swapper: page allocation failure.

Re: [i2c] [PATCH] update module-init-tools to support the i2c subsystem

2008-01-13 Thread Jean Delvare
On Mon, 17 Dec 2007 21:39:37 -0500, Jon Smirl wrote: Follow on to: Series to add device tree naming to i2c Teach module-init-tools about the i2c subsystem. Can you please explain what this patch does and why it is needed? -- Jean Delvare -- To unsubscribe from this list: send the line

Re: [i2c] [PATCH 1/5] Implement module aliasing for i2c to translate from device tree names

2008-01-13 Thread Jean Delvare
Hi Jon, On Sat, 12 Jan 2008 11:26:34 -0500, Jon Smirl wrote: The common scheme used elsewhere in the kernel for handling more than one device in a single driver is aliases. The i2c code's existing driver_name/type combination is a different way of implementing the same feature. But there is

Re: isofs maintainer and write support

2008-01-13 Thread Jan Engelhardt
On Jan 13 2008 14:28, xerces8 wrote: I write here as the MAINTAINERS file has no entry about the isofs. The question is : Is there any plan/way/idea to have read/write support for isofs ? I know of user space tools that can perform any operation (like create/read/write/rename/delete

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

2008-01-13 Thread Jean Delvare
Hi Jon, On Sat, 12 Jan 2008 11:00:31 -0500, Jon Smirl wrote: On 1/12/08, Jean Delvare wrote: What I meant is that the translation from Open Firmware device name to Linux device name could happen in different ways. Making module aliases out of the is one possibility but this is not the only

Re: [i2c] [PATCH] update module-init-tools to support the i2c subsystem

2008-01-13 Thread Jon Smirl
On 1/13/08, Jean Delvare [EMAIL PROTECTED] wrote: On Mon, 17 Dec 2007 21:39:37 -0500, Jon Smirl wrote: Follow on to: Series to add device tree naming to i2c Teach module-init-tools about the i2c subsystem. Can you please explain what this patch does and why it is needed? It generates the

iwlwifi 1.2.23 vs. kernel 2.6.23.13

2008-01-13 Thread Mario Guenterberg
Hi... I has tried to compile the latest stable kernel (2.6.23.13) with the iwlwifi-1.2.23 driver and the mac80211-10.0.4 framework. I has patched the kernel source tree and when I start menuconfig, it was fine. If I started to run make, nothing seems to be wrong, but the iwl3945 module was not

Re: [i2c] [PATCH] update module-init-tools to support the i2c subsystem

2008-01-13 Thread Jean Delvare
On Sun, 13 Jan 2008 10:14:14 -0500, Jon Smirl wrote: On 1/13/08, Jean Delvare [EMAIL PROTECTED] wrote: On Mon, 17 Dec 2007 21:39:37 -0500, Jon Smirl wrote: Follow on to: Series to add device tree naming to i2c Teach module-init-tools about the i2c subsystem. Can you please explain

possible recursive locking, 2.6.24-rc7

2008-01-13 Thread Denys Fedoryshchenko
Hi, got in dmesg Not sure where to send (there is TCP), so sending netdev@ and kernel@ [159859.491752] [159859.491755] = [159859.492021] [ INFO: possible recursive locking detected ] [159859.492156] 2.6.24-rc7-devel #2 [159859.492284]

Re: PROBLEM REMAINS: [sata_nv ADMA breaks ATAPI] Crash on accessing DVD-RAM

2008-01-13 Thread James Bottomley
On Sun, 2008-01-13 at 13:33 +, Alan Cox wrote: Other than that, I guess the solutions would be to just set a 32-bit mask on the device if either port has an ATAPI device connected (which is fairly ugly, considering that you could do things like hotplug an ATAPI device when the

Re: [PATCH: 2/2] [SERIAL] avoid stalling suspend if serial port won't drain

2008-01-13 Thread Pavel Machek
On Tue 2008-01-08 11:57:03, Russell King wrote: Some ports seem to be unable to drain their transmitters on shut down. Such a problem can occur if the port is programmed for hardware imposed flow control, characters are in the FIFO but the CTS signal is inactive. Normally, this isn't a

[PATCH] mmu notifiers #v2

2008-01-13 Thread Andrea Arcangeli
Hello, This patch is last version of a basic implementation of the mmu notifiers. In short when the linux VM decides to free a page, it will unmap it from the linux pagetables. However when a page is mapped not just by the regular linux ptes, but also from the shadow pagetables, it's currently

Re: [i2c] [PATCH 1/5] Implement module aliasing for i2c to translate from device tree names

2008-01-13 Thread Jon Smirl
On 1/13/08, Jean Delvare [EMAIL PROTECTED] wrote: Hi Jon, On Sat, 12 Jan 2008 11:26:34 -0500, Jon Smirl wrote: The common scheme used elsewhere in the kernel for handling more than one device in a single driver is aliases. The i2c code's existing driver_name/type combination is a

Re: possible recursive locking, 2.6.24-rc7

2008-01-13 Thread Peter Zijlstra
On Sun, 2008-01-13 at 17:51 +0200, Denys Fedoryshchenko wrote: Hi, got in dmesg Not sure where to send (there is TCP), so sending netdev@ and kernel@ It's epoll, this is a known issue and will be fixed soon. Thanks for reporting. [159859.491752] [159859.491755]

Re: [i2c] [PATCH] update module-init-tools to support the i2c subsystem

2008-01-13 Thread Jon Smirl
On 1/13/08, Jean Delvare [EMAIL PROTECTED] wrote: On Sun, 13 Jan 2008 10:14:14 -0500, Jon Smirl wrote: On 1/13/08, Jean Delvare [EMAIL PROTECTED] wrote: On Mon, 17 Dec 2007 21:39:37 -0500, Jon Smirl wrote: Follow on to: Series to add device tree naming to i2c Teach module-init-tools

Re: 2.6.24-rc6: possible recursive locking detected

2008-01-13 Thread Peter Zijlstra
On Mon, 2008-01-07 at 20:49 +0300, Oleg Nesterov wrote: On 01/07, Oleg Nesterov wrote: Consider this just for illustration patch, --- t/kernel/lockdep.c 2007-11-09 12:57:31.0 +0300 +++ t/kernel/lockdep.c 2008-01-07 19:43:50.0 +0300 @@ -1266,10 +1266,13 @@

Re: PROBLEM REMAINS: [sata_nv ADMA breaks ATAPI] Crash on accessing DVD-RAM

2008-01-13 Thread Alan Cox
Yes, I concur for the short term. The other two possible courses of action either involve long discussions (the different device one) or you'll never quite be sure you got all the paths (the GFP_DMA32 one). At least with this one, you know everything will work. The different device one is

Re: [PATCH] Only print SCSI data direction warning once for a command

2008-01-13 Thread Andi Kleen
to the log because they come from printk_ratelimit(). So all you've done is halved the volume of flow to the logs and left a dangling printk suppressed message that keeps spewing, so I don't think the patch even does what you describe it as doing ... if you reverse the order of the

Re: PROBLEM REMAINS: [sata_nv ADMA breaks ATAPI] Crash on accessing DVD-RAM

2008-01-13 Thread James Bottomley
On Sun, 2008-01-13 at 16:29 +, Alan Cox wrote: Yes, I concur for the short term. The other two possible courses of action either involve long discussions (the different device one) or you'll never quite be sure you got all the paths (the GFP_DMA32 one). At least with this one, you

Re: Lenovo ThinkPads need acpi_osi=Linux

2008-01-13 Thread Pavel Machek
On Sat 2008-01-12 04:16:08, Len Brown wrote: On Friday 11 January 2008 21:23, Henrique de Moraes Holschuh wrote: While helping a user find out what happened to his mute key, I found out that the Lenovo BIOSes need the OSI string Linux defined to behave properly in Linux. Lenovo has

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

2008-01-13 Thread Arjan van de Ven
as a general thing I like where this patch is going On Sun, 13 Jan 2008 00:24:15 -0700 Matthew Wilcox [EMAIL PROTECTED] wrote: + +int raw_pci_read(unsigned int domain, unsigned int bus, unsigned int devfn, + int reg, int len, u32 *val) +{ + if

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

2008-01-13 Thread Arjan van de Ven
On Sun, 13 Jan 2008 07:43:11 -0500 Tony Camuso [EMAIL PROTECTED] wrote: Arjan van de Ven wrote: On Sat, 12 Jan 2008 20:36:59 -0500 Tony Camuso [EMAIL PROTECTED] wrote: Just about NOBODY has devices that need the extended config space. At all. The PCI express spec requires the

Re: [RFD] Incremental fsck

2008-01-13 Thread Pavel Machek
On Sat 2008-01-12 09:51:40, Theodore Tso wrote: On Wed, Jan 09, 2008 at 02:52:14PM +0300, Al Boldi wrote: Ok, but let's look at this a bit more opportunistic / optimistic. Even after a black-out shutdown, the corruption is pretty minimal, using ext3fs at least. After a unclean

Re: [PATCH 1/5] Implement module aliasing for i2c to translate from device tree names

2008-01-13 Thread Jean Delvare
On Sun, 13 Jan 2008 11:24:29 -0500, Jon Smirl wrote: On 1/13/08, Jean Delvare wrote: On Sat, 12 Jan 2008 11:26:34 -0500, Jon Smirl wrote: IMHO, driver_name/type should be removed in new style drivers and replaced with aliases on all platforms since aliases are the standard kernel

Re: [i2c] [PATCH] update module-init-tools to support the i2c subsystem

2008-01-13 Thread Jean Delvare
On Sun, 13 Jan 2008 11:26:07 -0500, Jon Smirl wrote: On 1/13/08, Jean Delvare [EMAIL PROTECTED] wrote: On Sun, 13 Jan 2008 10:14:14 -0500, Jon Smirl wrote: On 1/13/08, Jean Delvare [EMAIL PROTECTED] wrote: On Mon, 17 Dec 2007 21:39:37 -0500, Jon Smirl wrote: Follow on to: Series to

Re: [RFD] Incremental fsck

2008-01-13 Thread Alan Cox
What are ext3 expectations of disk (is there doc somewhere)? For example... if disk does not lie, but powerfail during write damages the sector -- is ext3 still going to work properly? Nope. However the few disks that did this rapidly got firmware updates because there are other OS's that

Re: [PATCH 1/5] Implement module aliasing for i2c to translate from device tree names

2008-01-13 Thread Jon Smirl
On 1/13/08, Jean Delvare [EMAIL PROTECTED] wrote: On Sun, 13 Jan 2008 11:24:29 -0500, Jon Smirl wrote: On 1/13/08, Jean Delvare wrote: On Sat, 12 Jan 2008 11:26:34 -0500, Jon Smirl wrote: IMHO, driver_name/type should be removed in new style drivers and replaced with aliases on all

Re: [PATCH 0/5] USB Kconfig: Reorganize USB Kconfig Menu

2008-01-13 Thread Randy Dunlap
On Sun, 13 Jan 2008 12:50:16 +0100 Stefan Richter wrote: Greg KH wrote: On Sat, Jan 12, 2008 at 01:20:46PM +0300, Al Boldi wrote: Greg KH wrote: On Sat, Jan 05, 2008 at 06:40:38PM +0300, Al Boldi wrote: Reorganize USB Kconfig Menu, and move USB_GADGET out into the Device Driver Menu.

Re: [i2c] [PATCH] update module-init-tools to support the i2c subsystem

2008-01-13 Thread Jon Smirl
On 1/13/08, Jean Delvare [EMAIL PROTECTED] wrote: On Sun, 13 Jan 2008 11:26:07 -0500, Jon Smirl wrote: On 1/13/08, Jean Delvare [EMAIL PROTECTED] wrote: On Sun, 13 Jan 2008 10:14:14 -0500, Jon Smirl wrote: On 1/13/08, Jean Delvare [EMAIL PROTECTED] wrote: On Mon, 17 Dec 2007

Re: [PATCH 3/6] NLM: Initialize completion variable in lockd_up

2008-01-13 Thread Christoph Hellwig
On Sun, Jan 13, 2008 at 08:27:18AM -0500, Jeff Layton wrote: I've been hitting an intermittent null pointer dereference ever since I've made this change: The first thing lockd does is to call lock_kernel(). This may either block (or spin) when it is contended and thus delay updating

Re: Could not set non-blocking flag with 2.6.24-rc5

2008-01-13 Thread Tino Keitel
On Sun, Jan 13, 2008 at 09:56:55 +0100, Tino Keitel wrote: On Sat, Jan 12, 2008 at 21:10:15 +, Christoph Hellwig wrote: On Thu, Dec 13, 2007 at 09:16:01PM +0100, Tino Keitel wrote: Hi folks, I often build Debian packages inside a chroot. Today I discovered a failure during an

Re: [PATCH] SH/Dreamcast - add support for GD-Rom CDROM drive on SEGA Dreamcast

2008-01-13 Thread Adrian McMenamin
On 12/01/2008, Andrew Morton [EMAIL PROTECTED] wrote: On Sat, 12 Jan 2008 14:14:01 + Adrian McMenamin [EMAIL PROTECTED] wrote: + spin_command-cmd[0] = 0x70; + spin_command-cmd[2] = 0x1f; + spin_command-buflen = 0; + gd.pending = 1; + gdrom_packetcommand(gd.cd_info,

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

2008-01-13 Thread Loic Prylli
On 1/12/2008 12:45 PM, Arjan van de Ven wrote: On Sat, 12 Jan 2008 17:40:30 +0300 Ivan Kokshaysky [EMAIL PROTECTED] wrote: + if (reg 256) + return pci_conf1_read(seg,bus,devfn,reg,len,value); + btw this is my main objection to your patch; it intertwines the conf1

[PATCH 04/10] x86: Change NR_CPUS arrays in intel_cacheinfo

2008-01-13 Thread travis
Change the following static arrays sized by NR_CPUS to per_cpu data variables: _cpuid4_info *cpuid4_info[NR_CPUS]; _index_kobject *index_kobject[NR_CPUS]; kobject * cache_kobject[NR_CPUS]; Signed-off-by: Mike Travis [EMAIL PROTECTED] Reviewed-by: Christoph Lameter [EMAIL

[PATCH 08/10] x86: Change NR_CPUS arrays in numa_64

2008-01-13 Thread travis
Change the following static arrays sized by NR_CPUS to per_cpu data variables: char cpu_to_node_map[NR_CPUS]; Signed-off-by: Mike Travis [EMAIL PROTECTED] Reviewed-by: Christoph Lameter [EMAIL PROTECTED] --- arch/x86/kernel/setup_64.c |4 +++- arch/x86/kernel/smpboot_64.c |6

[PATCH 07/10] x86: Cleanup x86_cpu_to_apicid references

2008-01-13 Thread travis
Clean up references to x86_cpu_to_apicid. Removes extraneous comments and standardizes on x86_*_early_ptr for the early kernel init references. Signed-off-by: Mike Travis [EMAIL PROTECTED] Reviewed-by: Christoph Lameter [EMAIL PROTECTED] --- arch/x86/kernel/genapic_64.c | 11 ++-

[PATCH 05/10] x86: Change NR_CPUS arrays in smpboot_64

2008-01-13 Thread travis
Change the following static arrays sized by NR_CPUS to per_cpu data variables: task_struct *idle_thread_array[NR_CPUS]; This is only done if CONFIG_HOTPLUG_CPU is defined as otherwise, the array is removed after initialization anyways. Signed-off-by: Mike Travis [EMAIL PROTECTED]

[PATCH 06/10] x86: Change NR_CPUS arrays in topology

2008-01-13 Thread travis
Change the following static arrays sized by NR_CPUS to per_cpu data variables: i386_cpu cpu_devices[NR_CPUS]; (And change the struct name to x86_cpu.) Signed-off-by: Mike Travis [EMAIL PROTECTED] Reviewed-by: Christoph Lameter [EMAIL PROTECTED] --- arch/x86/kernel/topology.c |8

[PATCH 00/10] x86: Reduce memory and intra-node effects with large count NR_CPUs

2008-01-13 Thread travis
This patchset addresses the kernel bloat that occurs when NR_CPUS is increased. The memory numbers below are with NR_CPUS = 1024 which I've been testing (4 and 32 real processors, the rest possible using the additional_cpus start option.) These changes are all specific to the x86 architecture,

[PATCH 03/10] x86: Change NR_CPUS arrays in powernow-k8

2008-01-13 Thread travis
Change the following static arrays sized by NR_CPUS to per_cpu data variables: powernow_k8_data *powernow_data[NR_CPUS]; Signed-off-by: Mike Travis [EMAIL PROTECTED] Reviewed-by: Christoph Lameter [EMAIL PROTECTED] --- arch/x86/kernel/cpu/cpufreq/powernow-k8.c | 12 ++-- 1

[PATCH 01/10] x86: Change size of APICIDs from u8 to u16

2008-01-13 Thread travis
Change the size of APICIDs from u8 to u16. This partially supports the new x2apic mode that will be present on future processor chips. (Chips actually support 32-bit APICIDs, but that change is more intrusive. Supporting 16-bit is sufficient for now). Signed-off-by: Jack Steiner [EMAIL

[PATCH 02/10] x86: Change size of node ids from u8 to u16

2008-01-13 Thread travis
Change the size of node ids from 8 bits to 16 bits to accomodate more than 256 nodes. Signed-off-by: Mike Travis [EMAIL PROTECTED] Reviewed-by: Christoph Lameter [EMAIL PROTECTED] --- arch/x86/mm/numa_64.c |9 ++--- arch/x86/mm/srat_64.c |2 +- include/asm-x86/numa_64.h |

[PATCH 09/10] x86: Change NR_CPUS arrays in acpi-cpufreq

2008-01-13 Thread travis
Change the following static arrays sized by NR_CPUS to per_cpu data variables: acpi_cpufreq_data *drv_data[NR_CPUS] Signed-off-by: Mike Travis [EMAIL PROTECTED] Reviewed-by: Christoph Lameter [EMAIL PROTECTED] --- arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c | 25

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

2008-01-13 Thread Arjan van de Ven
On Sun, 13 Jan 2008 13:23:35 -0500 Loic Prylli [EMAIL PROTECTED] wrote: Matthew pointed a patch that basically does what you suggested; only one comment on your mail left after that: 2) the pci_enable_ext_config() function and dev-ext_cfg_space field, sysfs interface should be removed from

Re: possible recursive locking, 2.6.24-rc7

2008-01-13 Thread Peter Zijlstra
On Sun, 2008-01-13 at 17:22 +0100, Peter Zijlstra wrote: On Sun, 2008-01-13 at 17:51 +0200, Denys Fedoryshchenko wrote: Hi, got in dmesg Not sure where to send (there is TCP), so sending netdev@ and kernel@ It's epoll, this is a known issue and will be fixed soon. Thanks for reporting.

Re: [PATCH 1/5] Implement module aliasing for i2c to translate from device tree names

2008-01-13 Thread Jean Delvare
Hi Jon, On Sun, 13 Jan 2008 13:01:06 -0500, Jon Smirl wrote: On 1/13/08, Jean Delvare wrote: On Sun, 13 Jan 2008 11:24:29 -0500, Jon Smirl wrote: The kernel automatically exposes modalias as a sysfs attribute so the string must be recorded further down in the driver support layers. No

Re: [PATCH 1/5] Implement module aliasing for i2c to translate from device tree names

2008-01-13 Thread Jon Smirl
On 1/13/08, Jean Delvare [EMAIL PROTECTED] wrote: Hi Jon, On Sun, 13 Jan 2008 13:01:06 -0500, Jon Smirl wrote: On 1/13/08, Jean Delvare wrote: On Sun, 13 Jan 2008 11:24:29 -0500, Jon Smirl wrote: The kernel automatically exposes modalias as a sysfs attribute so the string must be

Re: [PATCH] Documentation: Add 00-INDEX file for AoE

2008-01-13 Thread Randy Dunlap
On Sun, 13 Jan 2008 02:44:48 +0100 (CET) Jesper Juhl wrote: Documentation/aoe/ is missing a 00-INDEX file. Add one. Signed-off-by: Jesper Juhl [EMAIL PROTECTED] Acked-by: Randy Dunlap [EMAIL PROTECTED] Thanks, Jesper. --- 00-INDEX | 18 ++ 1 file changed, 18

Re: [PATCH 1/5] Implement module aliasing for i2c to translate from device tree names

2008-01-13 Thread Jean Delvare
On Sun, 13 Jan 2008 13:50:46 -0500, Jon Smirl wrote: On 1/13/08, Jean Delvare [EMAIL PROTECTED] wrote: The eeprom case might be a bit confusing because that i2c driver supports a single device type, so the driver name is the same as the device name. Take a look at the hwmon/lm90 driver for

Re: [PATCH 3/6] NLM: Initialize completion variable in lockd_up

2008-01-13 Thread J. Bruce Fields
On Sun, Jan 13, 2008 at 06:17:43PM +, Christoph Hellwig wrote: Btw, lockd() takes BKL just after starting up and only implicitly drops it when blocking. This seems very dangerous to me and badly wants updating to some real locking scheme.. Yep. --b. -- To unsubscribe from this list: send

Re: possible recursive locking, 2.6.24-rc7

2008-01-13 Thread Denys Fedoryshchenko
I cannot reproduce, it is happened with rtorrent just randomly. But i will patch and keep watching. On Sun, 13 Jan 2008 19:44:26 +0100, Peter Zijlstra wrote On Sun, 2008-01-13 at 17:22 +0100, Peter Zijlstra wrote: On Sun, 2008-01-13 at 17:51 +0200, Denys Fedoryshchenko wrote: Hi, got in

Re: [PATCH] fat: Editions to support fat_fallocate()

2008-01-13 Thread OGAWA Hirofumi
Grant Likely [EMAIL PROTECTED] writes: On 12/23/07, OGAWA Hirofumi [EMAIL PROTECTED] wrote: Grant Likely [EMAIL PROTECTED] writes: However, digging further, when FALLOC_FL_KEEP_SIZE is set, I don't think fat_cont_expand() has the behaviour that we want to implement. When that flag is

Re: 2.6.24-rc7-rt1: macro put_cpu_var passed 2 arguments, but takes just 1

2008-01-13 Thread Mariusz Kozlowski
Hello, We are pleased to announce the 2.6.24-rc7-rt1 tree, which can be downloaded from the location: http://rt.et.redhat.com/download/ CC arch/x86/mm/init_32.o In file included from include/asm-generic/tlb.h:17, from include/asm/tlb.h:9, from

Re: [PATCH 02/10] x86: Change size of node ids from u8 to u16

2008-01-13 Thread Eric Dumazet
[EMAIL PROTECTED] a écrit : Change the size of node ids from 8 bits to 16 bits to accomodate more than 256 nodes. Signed-off-by: Mike Travis [EMAIL PROTECTED] Reviewed-by: Christoph Lameter [EMAIL PROTECTED] --- arch/x86/mm/numa_64.c |9 ++--- arch/x86/mm/srat_64.c |2 +-

[PATCH 2/12] ide-floppy: remove struct idefloppy_flexible_disk_page

2008-01-13 Thread Borislav Petkov
Signed-off-by: Borislav Petkov [EMAIL PROTECTED] --- drivers/ide/ide-floppy.c | 90 ++--- 1 files changed, 36 insertions(+), 54 deletions(-) diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c index 7648684..06d83cb 100644 ---

[PATCH 1/12] ide-floppy: remove struct idefloppy_mode_parameter_header

2008-01-13 Thread Borislav Petkov
Signed-off-by: Borislav Petkov [EMAIL PROTECTED] --- drivers/ide/ide-floppy.c | 26 +++--- 1 files changed, 3 insertions(+), 23 deletions(-) diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c index 2b9885f..7648684 100644 --- a/drivers/ide/ide-floppy.c +++

[PATCH 3/12] ide-floppy: remove struct idefloppy_capacity_descriptor

2008-01-13 Thread Borislav Petkov
Also, - remove the accompanying 4 byte idefloppy_capacity_header. - rename functions from idefloppy_... to ide_floppy_... after cleanup. - simplify loop in ide_floppy_get_capacity() by reversing if-test condition logically. - finally, fix white space and checkpatch.pl issues Signed-off-by:

[PATCH 4/12] ide-floppy: factor out ioctl handlers from idefloppy_ioctl()

2008-01-13 Thread Borislav Petkov
By passing idefloppy_floppy_t *floppy to the factored out functions, we get rid of (almost) all local vars so stack usage should be at minimum here. Also, we merge idefloppy_begin_format() into idefloppy_format_start() since it is its only user. Also, rename idefloppy_format_start() to

[PATCH 5/12] ide-floppy: report DMA handling in idefloppy_pc_intr() properly

2008-01-13 Thread Borislav Petkov
Signed-off-by: Borislav Petkov [EMAIL PROTECTED] --- drivers/ide/ide-floppy.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c index 00ea8d6..5004773 100644 --- a/drivers/ide/ide-floppy.c +++

[PATCH 7/12] ide-floppy: remove IDEFLOPPY_DEBUG_BUGS macro

2008-01-13 Thread Borislav Petkov
Signed-off-by: Borislav Petkov [EMAIL PROTECTED] --- drivers/ide/ide-floppy.c |7 +-- 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c index b826ac5..e7cc9dd 100644 --- a/drivers/ide/ide-floppy.c +++

[PATCH 8/12] ide-floppy: merge idefloppy_{input,output}_buffers

2008-01-13 Thread Borislav Petkov
We merge idefloppy_{input,output}_buffers() into idefloppy_io_buffers() by introducing a 4th arg. called direction. According to its value we atapi_input_bytes() or atapi_output_bytes(). Also, this simplifies the interrupt handler logic a bit. Finally, rename idefloppy_io_buffers() to

[PATCH 11/12] ide-floppy: remove IDEFLOPPY_DEBUG_INFO

2008-01-13 Thread Borislav Petkov
This info is already available through ioctl() and /proc Signed-off-by: Borislav Petkov [EMAIL PROTECTED] --- drivers/ide/ide-floppy.c | 63 + 1 files changed, 13 insertions(+), 50 deletions(-) diff --git a/drivers/ide/ide-floppy.c

[PATCH 9/12] ide-floppy: remove unused IDEFLOPPY_USE_READ12

2008-01-13 Thread Borislav Petkov
This flag is not being set anywhere in the driver so it can go. Signed-off-by: Borislav Petkov [EMAIL PROTECTED] --- drivers/ide/ide-floppy.c | 17 ++--- 1 files changed, 6 insertions(+), 11 deletions(-) diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c index

[PATCH 6/12] ide-floppy: mv idefloppy_{should_,}report_error

2008-01-13 Thread Borislav Petkov
In addition to shortening the function name, move the printk-call into the function thereby saving some code lines. Also, make the function out_of_line since it is not on a performance critical path. Finally, rename the reworked function to ide_floppy..(). Signed-off-by: Borislav Petkov [EMAIL

[PATCH 0/12] ide-floppy redux v2.5

2008-01-13 Thread Borislav Petkov
Hi Bart, here are the remaining patches which had issues to be worked out. I decided to keep the Flexible Disk Page and Capacity Descriptor in idefloppy_floppy_t for the sake of the two printk calls for which they are used. Otherwise, we'll be changing long-known driver behavior and this won't be

[PATCH 10/12] ide-floppy: remove atomic test_*bit macros

2008-01-13 Thread Borislav Petkov
..and replace them with flag enums. Signed-off-by: Borislav Petkov [EMAIL PROTECTED] --- drivers/ide/ide-floppy.c | 132 + 1 files changed, 73 insertions(+), 59 deletions(-) diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c index

[PATCH 12/12] ide-floppy: fix most of the remaining checkpatch.pl issues

2008-01-13 Thread Borislav Petkov
such as ERROR: switch and case should be at the same indent ERROR: need spaces around that '=' (ctx:VxV) ERROR: trailing statements should be on next line WARNING: no space between function name and open parenthesis '(' WARNING: printk() should include KERN_ facility level ERROR: That open brace {

Re: 2.6.24-rc7-rt1

2008-01-13 Thread Robert Schwebel
On Sun, Jan 13, 2008 at 02:00:01PM -0500, Steven Rostedt wrote: We are pleased to announce the 2.6.24-rc7-rt1 tree Works fine on phyCORE-MPC5200B-tiny, here are the latest results: http://www.pengutronix.de/oselas/realtime/results/20080113-1/ However, when I try to switch on the latency tracer

[PATCH] driver: ip27-rtc - convert ioctl to unlocked_ioctl

2008-01-13 Thread Cyrill Gorcunov
This patch converts ioctl call to unlocked_ioctl form with explicit big-kernel-lock. Also it makes a bit of cleanup converting miscdevice structure initialization to C99 form. Signed-off-by: Cyrill Gorcunov [EMAIL PROTECTED] --- Any comments are welcome. This is untested code - i've no such chip

Re: 2.6.24-rc7-rt1: macro put_cpu_var passed 2 arguments, but takes just 1

2008-01-13 Thread Steven Rostedt
On Sun, 13 Jan 2008, Mariusz Kozlowski wrote: [... snip ...] @@ -56,12 +64,13 @@ static inline void __quicklist_free(int struct page *page) { struct quicklist *q; + int cpu; - q = get_cpu_var(quicklist)[nr]; + q = get_cpu_var_locked(quicklist,

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

2008-01-13 Thread Matthew Wilcox
On Sun, Jan 13, 2008 at 10:41:24AM -0800, Arjan van de Ven wrote: Note: There is not a 100% overlap between need and will not be used in the patches that use legacy for 256. In the other patches posted, extended config space will be used in cases where it won't be with my patch. (Most

Re: 2.6.24-rc7-rt1

2008-01-13 Thread Mariusz Kozlowski
Hello, We are pleased to announce the 2.6.24-rc7-rt1 tree, which can be downloaded from the location: http://rt.et.redhat.com/download/ CC kernel/lockdep.o kernel/lockdep.c: In function 'trace_hardirqs_on': kernel/lockdep.c:2068: error: too many arguments to function

Re: 2.6.24-rc7-rt1

2008-01-13 Thread Steven Rostedt
On Sun, 13 Jan 2008, Robert Schwebel wrote: On Sun, Jan 13, 2008 at 02:00:01PM -0500, Steven Rostedt wrote: We are pleased to announce the 2.6.24-rc7-rt1 tree Works fine on phyCORE-MPC5200B-tiny, here are the latest results: http://www.pengutronix.de/oselas/realtime/results/20080113-1

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

2008-01-13 Thread Loic Prylli
On 1/13/2008 1:41 PM, Arjan van de Ven wrote: On Sun, 13 Jan 2008 13:23:35 -0500 Loic Prylli [EMAIL PROTECTED] wrote: Matthew pointed a patch that basically does what you suggested; only one comment on your mail left after that: 2) the pci_enable_ext_config() function and

Re: 2.6.24-rc7-rt1

2008-01-13 Thread Steven Rostedt
On Sun, 13 Jan 2008, Mariusz Kozlowski wrote: But then there is also trace_hardirqs_on_caller() in kernel/latency_trace.c and both are not static. Servers me right for releasing without testing more than one config. I compiled for x86_64, i386 and PPC 32 and 64, but all without any tracing

Re: [PATCH] driver: ip27-rtc - convert ioctl to unlocked_ioctl

2008-01-13 Thread Alexey Dobriyan
On Sun, Jan 13, 2008 at 11:32:23PM +0300, Cyrill Gorcunov wrote: This patch converts ioctl call to unlocked_ioctl form with explicit big-kernel-lock. Also it makes a bit of cleanup converting miscdevice structure initialization to C99 form. Signed-off-by: Cyrill Gorcunov [EMAIL PROTECTED]

Re: [PATCH] mmu notifiers #v2

2008-01-13 Thread Benjamin Herrenschmidt
On Sun, 2008-01-13 at 17:24 +0100, Andrea Arcangeli wrote: Hello, This patch is last version of a basic implementation of the mmu notifiers. In short when the linux VM decides to free a page, it will unmap it from the linux pagetables. However when a page is mapped not just by the

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

2008-01-13 Thread Loic Prylli
On 1/13/2008 3:43 PM, Matthew Wilcox wrote: On Sun, Jan 13, 2008 at 10:41:24AM -0800, Arjan van de Ven wrote: Note: There is not a 100% overlap between need and will not be used in the patches that use legacy for 256. In the other patches posted, extended config space will be used in

Re: [PATCH] driver: ip27-rtc - convert ioctl to unlocked_ioctl

2008-01-13 Thread Jiri Slaby
On 01/13/2008 09:32 PM, Cyrill Gorcunov wrote: This patch converts ioctl call to unlocked_ioctl form with explicit big-kernel-lock. Also it makes a bit of cleanup converting miscdevice structure initialization to C99 form. Signed-off-by: Cyrill Gorcunov [EMAIL PROTECTED] --- Any comments are

  1   2   3   4   5   >