Re: [3/3] 2.6.21-rc7: known regressions (v2)

2007-04-25 Thread Antonino A. Daplas
On Wed, 2007-04-25 at 10:33 -0400, Dave Jones wrote: On Wed, Apr 25, 2007 at 09:52:16PM +0800, Antonino A. Daplas wrote: And have you tried the following settings: FB_BACKLIGHT=y ACPI_IBM=n ACPI_VIDEO=n BTW, there was one report where resume from RAM resulted in a screen full

Re: [RFC][PATCH] fix abs() macro to work with types wider than int

2007-04-25 Thread John Anthony Kazos Jr.
I think it's like it is just to be consistent with abs() in C, which also contains labs() and llabs(). We actually had labs() before (few months ago), but since it was not used, and if it would it seemed better to just fix abs(), it was removed. So I think this is the

Re: [PATCH] i386: For debugging, make the initial page table setup less forgiving.

2007-04-25 Thread H. Peter Anvin
Andrew Morton wrote: This patch causes oopses after a minute or so running LTP's ./testcases/bin/growfiles -W gf16 -b -e 1 -i 0 -L 120 -u -g 4090 -T 100 -t 408990 -l -C 10 -c 1000 -S 10 -f Lgf02_ on everyone's favoutite Vaio, configured with

Re: [PATCH -mm] slub: update cpu after new_slab()

2007-04-25 Thread Christoph Lameter
On Wed, 25 Apr 2007, Hugh Dickins wrote: SLUB gave me a NULL pointer dereference in slab_alloc(), in the slab_lock(page) of its Current cpuslab is acceptable block: cpu 1 had been looking at cpu_slab[2], which then went NULL beneath it. Since new_slab() may reenable interrupts and sleep (when

Re: [PATCH] Fix chapter reference in CodingStyle

2007-04-25 Thread Randy Dunlap
On Mon, 23 Apr 2007 12:10:22 +0200 Jesper Juhl wrote: Greetings, commit 226a6b84aaaf1fac7a5d41cf4e7387fd9ba895d5 renumbered Chapter 11 in Documentation/CodingStyle to Chapter 12, but it didn't update the reference to that chapter further down in the file. This patch corrects the chapter

Re: Serial console problem in 2.6.21-rc7-mm1 and earlier

2007-04-25 Thread John Stoffel
Christoph On Tue, 24 Apr 2007, Andrew Morton wrote: Nothing special apart from the usual problem with serial not accepting characters that we had for awhile now. I wasn't aware of that one. Christoph I use a serial console on my x86_84 box. For a while now I Christoph can see all

Re: [00/17] Large Blocksize Support V3

2007-04-25 Thread Christoph Lameter
On Wed, 25 Apr 2007, Jens Axboe wrote: I need this patch to actually boot the thing, or it bombs with a NULL deref in page_cache_size(). Yeah on 32 bit which I disabled It then boots, doing a little test with 8kb ext2 quickly dies though: BUG: unable to handle kernel NULL pointer

Re: [RFC][PATCH] fix abs() macro to work with types wider than int

2007-04-25 Thread Randy Dunlap
John Anthony Kazos Jr. wrote: I think it's like it is just to be consistent with abs() in C, which also contains labs() and llabs(). We actually had labs() before (few months ago), but since it was not used, and if it would it seemed better to just fix abs(), it was removed. So I think this

Re: Serial console problem in 2.6.21-rc7-mm1 and earlier

2007-04-25 Thread Christoph Lameter
On Wed, 25 Apr 2007, John Stoffel wrote: Christoph I use a serial console on my x86_84 box. For a while now I Christoph can see all output but I cannot type any Christoph characters. /dev/console broke? I've sorta seen this problem too, but with gdm. If I have my kernel line setup like

Re: Fw: [PATCH -mm] workqueue: debug possible endless loop in cancel_rearming_delayed_work

2007-04-25 Thread Oleg Nesterov
On 04/25, Oleg Nesterov wrote: On 04/25, Jarek Poplawski wrote: Probably this is also possible without timer i.e. with queue_work. Yes, thanks. While adding cpu-hotplug check I forgot to add -current_work check, which is needed to actually implement this

[PATCH] use mutex instead of semaphore in tty_io.c

2007-04-25 Thread Matthias Kaehlcke
drivers/char/tty_io.c uses a semaphore as mutex. use the mutex API instead of the (binary) semaphore Signed-off-by: Matthias Kaehlcke [EMAIL PROTECTED] -- diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c index 7a32df5..4496fd2 100644 --- a/drivers/char/tty_io.c +++

Re: [PATCH]:Replacing current-state with set_current_state in kernel/signal.c

2007-04-25 Thread Linus Torvalds
On Wed, 25 Apr 2007, Eric Dumazet wrote: Either you think you corrected a BUG, so please state it clearly in Changelog so that Linus immediatly apply your patch for 2.6.21 :) It's not a bug. Setting current state manually is fine _iff_ you don't actually test a condition value. It's only

[PATCH 00/16] AF_RXRPC socket family and AFS rewrite [try #4]

2007-04-25 Thread David Howells
The first of these patches together provide secure client-side RxRPC connectivity as a Linux kernel socket family. Only the RxRPC transport/session side is supplied - the presentation side (marshalling the data) is left to the client. Copies of the patches can be found here:

[PATCH 02/16] cancel_delayed_work: use del_timer() instead of del_timer_sync() [try #4]

2007-04-25 Thread David Howells
del_timer_sync() buys nothing for cancel_delayed_work(), but it is less efficient since it locks the timer unconditionally, and may wait for the completion of the delayed_work_timer_fn(). cancel_delayed_work() == 0 means: before this patch: work-func may still be running

[PATCH 03/16] AF_RXRPC: Key facility changes for AF_RXRPC [try #4]

2007-04-25 Thread David Howells
Export the keyring key type definition and document its availability. Add alternative types into the key's type_data union to make it more useful. Not all users necessarily want to use it as a list_head (AF_RXRPC doesn't, for example), so make it clear that it can be used in other ways.

Re: [PATCH -mm] slub: update cpu after new_slab()

2007-04-25 Thread Hugh Dickins
On Wed, 25 Apr 2007, Christoph Lameter wrote: On Wed, 25 Apr 2007, Hugh Dickins wrote: SLUB gave me a NULL pointer dereference in slab_alloc(), in the slab_lock(page) of its Current cpuslab is acceptable block: cpu 1 had been looking at cpu_slab[2], which then went NULL beneath it.

[PATCH 10/16] AFS: Handle multiple mounts of an AFS superblock correctly [try #4]

2007-04-25 Thread David Howells
Handle multiple mounts of an AFS superblock correctly, checking to see whether the superblock is already initialised after calling sget() rather than just unconditionally stamping all over it. Also delete the silent parameter to afs_fill_super() as it's not used and can, in any case, be obtained

[PATCH 0/7] Battery class, external power framework, ds2760 battery

2007-04-25 Thread Anton Vorontsov
Hi all, I believe most battery issues elaborated and settled, and battery class has grown up for the -mm merge. Also, I hope that current battery stuff will make everyone happy at some grade. This patchset accumulated ideas and suggestions from reviews by David Brownell, Evgeniy Polyakov, Greg

[PATCH 2/7] pda power driver

2007-04-25 Thread Anton Vorontsov
Common power driver for PDAs and phones with one or two external power supplies (AC/USB) connected to main and backup batteries, and optional builtin charger. It's used to stop logic duplication through different embedded devices. So, power supply *logic* is here. pda_power register power

[PATCH 1/7] External power framework

2007-04-25 Thread Anton Vorontsov
Power supplies and power supplicants. Supplicants (batteries so far) may ask to notify they when power supply arrive/gone. This framework used by battery class. It's permitted for supply to be bound to several supplicants (think main and backup batteries). It's also permitted for supplicants to

[PATCH 3/7] Universal battery class

2007-04-25 Thread Anton Vorontsov
Battery class used to export battery properties to userspace in consistent manner. It defines core set of battery attributes, available via sysfs, which should be applicable to (almost) every battery out there. Each attribute has well defined meaning, up to unit of measure used. While the

[PATCH 4/7] APM emulation driver for class batteries

2007-04-25 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- drivers/battery/Kconfig |7 ++ drivers/battery/Makefile|2 + drivers/battery/apm_power.c | 228 +++ 3 files changed, 237 insertions(+), 0 deletions(-) create mode 100644

[PATCH 15/16] AFS: Implement the CB.InitCallBackState3 operation [try #4]

2007-04-25 Thread David Howells
Implement the CB.InitCallBackState3 operation for the fileserver to call. This reduces the amount of network traffic because if this op is aborted, the fileserver will then attempt an CB.InitCallBackState operation. Signed-Off-By: David Howells [EMAIL PROTECTED] --- fs/afs/afs_cm.h|1 +

[PATCH 5/7] 1-Wire ds2760 chip battery driver

2007-04-25 Thread Anton Vorontsov
This is driver for batteries with ds2760 chip inside, found inside almost every HP iPaq and HTC PDAs/phones. Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- drivers/battery/Kconfig |7 + drivers/battery/Makefile |2 + drivers/battery/ds2760_battery.c | 503

[PATCH 6/7] remove #if 0 from find_bus function, export it.

2007-04-25 Thread Anton Vorontsov
This function were placed in #if 0 because nobody was using it. We using it now. See http://lwn.net/Articles/210610/ Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- drivers/base/bus.c |5 ++--- include/linux/device.h |2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff

Found this in my logs

2007-04-25 Thread Udo van den Heuvel
Hello, I found this in my logs. What can I do about it? Kind regards, Udo Apr 25 17:28:18 epia kernel: Apr 25 17:28:18 epia kernel: === Apr 25 17:28:18 epia kernel: [ INFO: possible circular locking dependency detected ] Apr 25 17:28:18 epia

[PATCH 7/7] ds2760 W1 slave

2007-04-25 Thread Anton Vorontsov
This is W1 slave for ds2760 chip, found inside almost every HP iPaq and HTC PDAs/phones. Acked-by: Evgeniy Polyakov [EMAIL PROTECTED] Signed-off-by: Anton Vorontsov [EMAIL PROTECTED] --- drivers/w1/slaves/Kconfig | 13 drivers/w1/slaves/Makefile|1 +

Re: Question about Reiser4

2007-04-25 Thread Jeff Chua
On 4/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Laurent Riffard's Reiser4 patch to the default linux-2.6.20 kernel and a couple of others. Thank you. Got it. Testing it now. Jeff. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

[PATCH 13/16] commit ad495d7b6cfcd1bc2eaf06c42699be0bb5d84234 [try #4]

2007-04-25 Thread David Howells
[NETLINK]: Mirror UDP MSG_TRUNC semantics. If the user passes MSG_TRUNC in via msg_flags, return the full packet size not the truncated size. Idea from Herbert Xu and Thomas Graf. Signed-off-by: David S. Miller [EMAIL PROTECTED] --- net/netlink/af_netlink.c |3 +++ 1 files

[PATCH 14/16] AFS: Add support for the CB.GetCapabilities operation [try #4]

2007-04-25 Thread David Howells
Add support for the CB.GetCapabilities operation with which the fileserver can ask the client for the following information: (1) The list of network interfaces it has available as IPv4 address + netmask plus the MTUs. (2) The client's UUID. (3) The extended capabilities of the client,

[PATCH 12/16] AFS: Update the AFS fs documentation [try #4]

2007-04-25 Thread David Howells
Update the AFS fs documentation. Signed-Off-By: David Howells [EMAIL PROTECTED] --- Documentation/filesystems/afs.txt | 214 +++-- 1 files changed, 154 insertions(+), 60 deletions(-) diff --git a/Documentation/filesystems/afs.txt

Re: [PATCH 5/15] cfq-iosched: speed up rbtree handling

2007-04-25 Thread Alan D. Brunelle
Hi Jens - The attached patch speeds it up even more - I'm finding a 9% reduction in %system with no loss in IO performance. This just sets the cached element when the first is looked for. Alan From: Alan D. Brunelle [EMAIL PROTECTED] Update cached leftmost every time it is found.

Re: [PATCH -mm] slub: update cpu after new_slab()

2007-04-25 Thread Christoph Lameter
On Wed, 25 Apr 2007, Hugh Dickins wrote: Right. local_irq_save does not switch off preemption as I thought. Strange comment. Preemption is not possible while IRQs are disabled, but new_slab() rightly reenables them within itself in the __GFP_WAIT case, since it's going off to do a page

[PATCH 04/16] AF_RXRPC: Make it possible to merely try to cancel timers from a module [try #4]

2007-04-25 Thread David Howells
Export try_to_del_timer_sync() for use by the AF_RXRPC module. Signed-Off-By: David Howells [EMAIL PROTECTED] --- kernel/timer.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/kernel/timer.c b/kernel/timer.c index dd6c2c1..b22bd39 100644 --- a/kernel/timer.c +++

[PATCH 01/16] AF_RXRPC: Move generic skbuff stuff from XFRM code to generic code [try #4]

2007-04-25 Thread David Howells
Move generic skbuff stuff from XFRM code to generic code so that AF_RXRPC can use it too. The kdoc comments I've attached to the functions needs to be checked by whoever wrote them as I had to make some guesses about the workings of these functions. Signed-Off-By: David Howells [EMAIL PROTECTED]

Re: Reasons to merge suspend2.

2007-04-25 Thread William Heimbigner
On Wed, 25 Apr 2007, John Anthony Kazos Jr. wrote: I didn't read your whole post, it's way too long, but I would like to see your patch in mainline as an option to swsusp. What would make this infeasible? For one thing, Linus said not but yesterday that he doesn't want multiple competing

Re: [RFC][PATCH] on-demand readahead

2007-04-25 Thread Fengguang Wu
On Wed, Apr 25, 2007 at 04:37:41PM +0200, Andi Kleen wrote: Fengguang Wu [EMAIL PROTECTED] writes: OVERHEADS The new code reduced the overheads of - excessively calling the readahead routine on small sized reads (the current readahead code insists on seeing all requests)

Re: [RFC][PATCH] on-demand readahead

2007-04-25 Thread Andi Kleen
Yeah, the on-demand readahead can avoid _all_ lookups for small in-cache files. How? But what do you mean by AS? struct address_space You seem to have a lot of magic numbers. They probably all need symbols and explanations. The magic numbers are for easier testings, and will be

Re: [PATCH -mm] slub: update cpu after new_slab()

2007-04-25 Thread Hugh Dickins
On Wed, 25 Apr 2007, Christoph Lameter wrote: On Wed, 25 Apr 2007, Hugh Dickins wrote: Right. local_irq_save does not switch off preemption as I thought. Strange comment. Preemption is not possible while IRQs are disabled, but new_slab() rightly reenables them within itself in the

Re: Reasons to merge suspend2.

2007-04-25 Thread Pavel Machek
Hi! I didn't read your whole post, it's way too long, but I would like to see your patch in mainline as an option to swsusp. What would make this infeasible? For one thing, Linus said not but yesterday that he doesn't want multiple competing suspend algorithms like this in the kernel at

Re: [1/3] 2.6.21-rc7: known regressions (v2)

2007-04-25 Thread Wolfgang Erig
On Wed, Apr 25, 2007 at 03:21:53AM +0200, Adrian Bunk wrote: On Tue, Apr 24, 2007 at 05:51:11PM -0700, Greg KH wrote: On Wed, Apr 25, 2007 at 02:29:58AM +0200, Adrian Bunk wrote: On Tue, Apr 24, 2007 at 05:14:28PM -0700, Greg KH wrote: On Tue, Apr 24, 2007 at 11:32:53AM +0200, Wolfgang

Re: [PATCH -mm] slub: update cpu after new_slab()

2007-04-25 Thread Christoph Lameter
On Wed, 25 Apr 2007, Hugh Dickins wrote: But, surely you wouldn't have expected it to stay on the processor throughout the waiting page allocation?? I think you're misremembering your expectations, and this was just a simple, understandable, oversight. You do not know my fuzzy brain... Some

Re: Serial console problem in 2.6.21-rc7-mm1 and earlier

2007-04-25 Thread John Stoffel
Christoph == Christoph Lameter [EMAIL PROTECTED] writes: Christoph On Wed, 25 Apr 2007, John Stoffel wrote: Christoph I use a serial console on my x86_84 box. For a while now I Christoph can see all output but I cannot type any Christoph characters. /dev/console broke? I've sorta seen this

Re: Reasons to merge suspend2.

2007-04-25 Thread William Heimbigner
On Wed, 25 Apr 2007, Pavel Machek wrote: Hi! I didn't read your whole post, it's way too long, but I would like to see your patch in mainline as an option to swsusp. What would make this infeasible? For one thing, Linus said not but yesterday that he doesn't want multiple competing suspend

Re: + handle-kernelcore=-boot-parameter-in-common-code-to-avoid-boot-problem-on-ia64.patch added to -mm tree

2007-04-25 Thread Mel Gorman
On (25/04/07 08:08), Randy Dunlap didst pronounce: On Tue, 24 Apr 2007 14:04:28 -0700 [EMAIL PROTECTED] wrote: The patch titled Handle kernelcore= boot parameter in common code to avoid boot problem on IA64 has been added to the -mm tree. Its filename is

Re: Serial console problem in 2.6.21-rc7-mm1 and earlier

2007-04-25 Thread Christoph Lameter
On Wed, 25 Apr 2007, John Stoffel wrote: Ok, no idea then. It's working for me in 2.6.21-rc7 as long as I don't have more than one console= entry in my kernel boot args. 2.6.21-rc7 is working fine here too. mm is the problem. - To unsubscribe from this list: send the line unsubscribe

Re: about linux console and printk

2007-04-25 Thread Jan-Benedict Glaw
On Wed, 2007-04-25 22:22:22 +0800, Shan, Guo Wen (Gavin) [EMAIL PROTECTED] wrote: The linux could support several console driver at same time? If so, what I need to do is call register_console() for several times? Did you try that? Have you read through the register_console() code as well as

Re: + handle-kernelcore=-boot-parameter-in-common-code-to-avoid-boot-problem-on-ia64.patch added to -mm tree

2007-04-25 Thread Randy Dunlap
Mel Gorman wrote: On (25/04/07 08:08), Randy Dunlap didst pronounce: On Tue, 24 Apr 2007 14:04:28 -0700 [EMAIL PROTECTED] wrote: The patch titled Handle kernelcore= boot parameter in common code to avoid boot problem on IA64 has been added to the -mm tree. Its filename is

Re: [3/3] 2.6.21-rc7: known regressions (v2)

2007-04-25 Thread Dave Jones
On Wed, Apr 25, 2007 at 11:24:42PM +0800, Antonino A. Daplas wrote: On Wed, 2007-04-25 at 10:33 -0400, Dave Jones wrote: On Wed, Apr 25, 2007 at 09:52:16PM +0800, Antonino A. Daplas wrote: And have you tried the following settings: FB_BACKLIGHT=y ACPI_IBM=n

[PATCH] use mutex instead of semaphore in RocketPort driver v3

2007-04-25 Thread Matthias Kaehlcke
the RocketPort driver uses a semaphore as mutex. use the mutex API instead of the (binary) semaphore Signed-off-by: Matthias Kaehlcke [EMAIL PROTECTED] -- diff --git a/drivers/char/rocket.c b/drivers/char/rocket.c index 76357c8..af9379b 100644 --- a/drivers/char/rocket.c +++

Re: [patch] unprivileged mounts update

2007-04-25 Thread H. Peter Anvin
Miklos Szeredi wrote: Andrew, please skip this patch, for now. Serge found a problem with the fsuid approach: setfsuid(nonzero) will remove filesystem related capabilities. So even if root is trying to set the user=UID flag on a mount, access to the target (and in case of bind, the

[PATCH 0/2] Lumpy Reclaim V6 cleanups

2007-04-25 Thread Andy Whitcroft
Following this email are two cleanup patches against lumpy V6 (as contained in v2.6.21-rc7-mm1). These address the review feedback from Andrew Morton, thanks for reviewing. introduce-HIGH_ORDER-delineating-easily-reclaimable-orders-fix: changes the name of the constant to

[PATCH 1/2] introduce HIGH_ORDER delineating easily reclaimable orders cleanups

2007-04-25 Thread Andy Whitcroft
Switch from HIGH_ORDER to the more logical and descriptive PAGE_ALLOC_COSTLY_ORDER indicating the boundary between orders easily reclaimed and allocated and those which are not. Signed-off-by: Andy Whitcroft [EMAIL PROTECTED] Acked-by: Mel Gorman [EMAIL PROTECTED] --- diff --git

[PATCH 2/2] lumpy: increase pressure at the end of the inactive list cleanups

2007-04-25 Thread Andy Whitcroft
Cleanups following review feedback for the patch below: lumpy: increase pressure at the end of the inactive list This patch: 1) introduces ISOLATE_[ACTIVE,INACTIVE], 2) changes the name of the deactivate_pages() helper to clear_active_flags(), 3) cleans up and simplifies the checks in

Re: [linux-pm] Linux 2.6.21-rc6

2007-04-25 Thread Tobias Diedrich
Rafael J. Wysocki wrote: On Sunday, 15 April 2007 21:40, Tobias Diedrich wrote: Rafael J. Wysocki wrote: On Sunday, 15 April 2007 17:14, David Brownell wrote: On Sunday 15 April 2007 4:16 am, Rafael J. Wysocki wrote: On Sunday, 15 April 2007 10:02, Tobias Diedrich wrote: I

Re: [RFC][PATCH] ChunkFS: fs fission for faster fsck

2007-04-25 Thread David Lang
On Wed, 25 Apr 2007, Nikita Danilov wrote: David Lang writes: On Tue, 24 Apr 2007, Nikita Danilov wrote: David Lang writes: On Tue, 24 Apr 2007, Nikita Danilov wrote: Amit Gud writes: Hello, This is an initial implementation of ChunkFS technique, briefly

Re: [PATCH 5/15] cfq-iosched: speed up rbtree handling

2007-04-25 Thread Jens Axboe
On Wed, Apr 25 2007, Alan D. Brunelle wrote: Hi Jens - The attached patch speeds it up even more - I'm finding a 9% reduction in %system with no loss in IO performance. This just sets the cached element when the first is looked for. Interesting, good thinking. It should not change the IO

Re: Found this in my logs

2007-04-25 Thread Udo van den Heuvel
Udo van den Heuvel wrote: Apr 25 17:28:18 epia kernel: [ INFO: possible circular locking dependency detected ] Apr 25 17:28:18 epia kernel: 2.6.20.1 #8 [cut] I think I was copying a not so large file to my windoze box. The cp took relatively long and afterwards I noticed the logged things. Do

Re: [patch] unprivileged mounts update

2007-04-25 Thread Serge E. Hallyn
Quoting H. Peter Anvin ([EMAIL PROTECTED]): Miklos Szeredi wrote: Andrew, please skip this patch, for now. Serge found a problem with the fsuid approach: setfsuid(nonzero) will remove filesystem related capabilities. So even if root is trying to set the user=UID flag on a mount,

Re: mm snapshot broken-out-2007-04-25-02-49.tar.gz uploaded

2007-04-25 Thread William Heimbigner
On Wed, 25 Apr 2007, [EMAIL PROTECTED] wrote: The mm snapshot broken-out-2007-04-25-02-49.tar.gz has been uploaded to ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-04-25-02-49.tar.gz Was support for UnionFS deliberately removed in this release? William Heimbigner

Re: [patch] unprivileged mounts update

2007-04-25 Thread Eric W. Biederman
Miklos Szeredi [EMAIL PROTECTED] writes: From: Miklos Szeredi [EMAIL PROTECTED] - refine adding nosuid and nodev flags for unprivileged mounts: o add nosuid, only if mounter doesn't have CAP_SETUID capability o add nodev, only if mounter doesn't have CAP_MKNOD capability - allow

Re: [patch] unprivileged mounts update

2007-04-25 Thread Serge E. Hallyn
Quoting Eric W. Biederman ([EMAIL PROTECTED]): Miklos Szeredi [EMAIL PROTECTED] writes: From: Miklos Szeredi [EMAIL PROTECTED] - refine adding nosuid and nodev flags for unprivileged mounts: o add nosuid, only if mounter doesn't have CAP_SETUID capability o add nodev, only if

Re: suspend2 merge (was Re: [Suspend2-devel] Re: CFS and suspend2: hang in atomic copy)

2007-04-25 Thread Pavel Machek
Hi! Even I am running in-kernel swsusp, but my managers were pretty clear they want graphical progress bar hiding all the 'ugly' swsusp messages... and in the end the same uswsusp enables compression, too. I absolutely detest all suspend-to-disk crap. Quite frankly, I hate the

Re: Serial console problem in 2.6.21-rc7-mm1 and earlier

2007-04-25 Thread John Stoffel
Christoph On Wed, 25 Apr 2007, John Stoffel wrote: Ok, no idea then. It's working for me in 2.6.21-rc7 as long as I don't have more than one console= entry in my kernel boot args. Christoph 2.6.21-rc7 is working fine here too. mm is the problem. Ah ok. My issue must be something else then,

RE: [PATCH] IPROUTE: Modify tc for new PRIO multiqueue behavior

2007-04-25 Thread Waskiewicz Jr, Peter P
-Original Message- From: J Hadi Salim [mailto:[EMAIL PROTECTED] On Behalf Of jamal Sent: Wednesday, April 25, 2007 4:37 AM To: Stephen Hemminger Cc: Waskiewicz Jr, Peter P; [EMAIL PROTECTED]; linux-kernel@vger.kernel.org; [EMAIL PROTECTED]; cramerj; Kok, Auke-jan H; Leech,

Re: [patch] unprivileged mounts update

2007-04-25 Thread Eric W. Biederman
Serge E. Hallyn [EMAIL PROTECTED] writes: Quoting H. Peter Anvin ([EMAIL PROTECTED]): Miklos Szeredi wrote: Andrew, please skip this patch, for now. Serge found a problem with the fsuid approach: setfsuid(nonzero) will remove filesystem related capabilities. So even if root is

Re: [PATCH] i386: For debugging, make the initial page table setup less forgiving.

2007-04-25 Thread Eric W. Biederman
H. Peter Anvin [EMAIL PROTECTED] writes: Andrew Morton wrote: This patch causes oopses after a minute or so running LTP's ./testcases/bin/growfiles -W gf16 -b -e 1 -i 0 -L 120 -u -g 4090 -T 100 -t 408990 -l -C 10 -c 1000 -S 10 -f Lgf02_ on everyone's favoutite Vaio, configured with

Re: [RFC][PATCH] ChunkFS: fs fission for faster fsck

2007-04-25 Thread Amit Gud
Andreas Dilger wrote: How do you recover if fsfuzzer takes out a cnode in the chain? The chunk is marked clean, but clearly corrupted and needs fixing and you don't know what it was pointing at. Hence you have a pointer to a trashed cnode *somewhere* that you need to find and fix, and a bunch

Re: [PATCH 5/15] cfq-iosched: speed up rbtree handling

2007-04-25 Thread Jens Axboe
On Wed, Apr 25 2007, Jens Axboe wrote: On Wed, Apr 25 2007, Alan D. Brunelle wrote: Hi Jens - The attached patch speeds it up even more - I'm finding a 9% reduction in %system with no loss in IO performance. This just sets the cached element when the first is looked for.

Re: [patch] unprivileged mounts update

2007-04-25 Thread Serge E. Hallyn
Quoting Eric W. Biederman ([EMAIL PROTECTED]): Serge E. Hallyn [EMAIL PROTECTED] writes: Quoting H. Peter Anvin ([EMAIL PROTECTED]): Miklos Szeredi wrote: Andrew, please skip this patch, for now. Serge found a problem with the fsuid approach: setfsuid(nonzero) will remove

Re: [00/17] Large Blocksize Support V3

2007-04-25 Thread Jens Axboe
On Wed, Apr 25 2007, Christoph Lameter wrote: On Wed, 25 Apr 2007, Jens Axboe wrote: I need this patch to actually boot the thing, or it bombs with a NULL deref in page_cache_size(). Yeah on 32 bit which I disabled Yep, on the grounds that devices may not cover the full address

Re: [PATCH] i386: For debugging, make the initial page table setup less forgiving.

2007-04-25 Thread H. Peter Anvin
Eric W. Biederman wrote: This patch only affects the initial page tables, which should have been thrown out *way* long ago at this point. Yes. I noticed this was happening a few days ago. I must not have mentioned it loudly enough. You mentioned the continued use of init_mm. This is

Re: [3/3] 2.6.21-rc7: known regressions (v2)

2007-04-25 Thread Ingo Molnar
just found and fixed the bug below in SysRq-T - should be included in v2.6.21 i think. -- Subject: [patch] make SysRq-T show all tasks again From: Ingo Molnar [EMAIL PROTECTED] show_state() (SysRq-T) developed the buggy habbit of not showing TASK_RUNNING tasks. This

Re: [patch 1/7] libata: check for AN support

2007-04-25 Thread Kristen Carlson Accardi
On Wed, 25 Apr 2007 02:49:46 +0200 Olivier Galibert [EMAIL PROTECTED] wrote: On Tue, Apr 24, 2007 at 01:53:27PM -0700, Kristen Carlson Accardi wrote: Check to see if an ATAPI device supports Asynchronous Notification. If so, enable it. changes from last version: * fix typo in

pgprot_writecombine() and PATs on x86

2007-04-25 Thread Roland Dreier
Hi Eric, Where do your patches to add an implementation of pgprot_writecombine() using PATs on x86 stand? The mlx4 driver I'm planning on merging for 2.6.22 would really like writecombining, and I'm interested in doing the work to finally get the PAT stuff merged (probably for 2.6.23 I guess).

Re: [00/17] Large Blocksize Support V3

2007-04-25 Thread Christoph Lameter
On Wed, 25 Apr 2007, Jens Axboe wrote: Impossible. page is not dereferenced. Cannot cause a NULL pointer deference. Sure I know that, hence the oops happening there is likely fallout from something scribbling where it should not have. Hmmm... Must be a big scribble. And you are sure

Re: [00/17] Large Blocksize Support V3

2007-04-25 Thread Jens Axboe
On Wed, Apr 25 2007, Christoph Lameter wrote: On Wed, 25 Apr 2007, Jens Axboe wrote: Impossible. page is not dereferenced. Cannot cause a NULL pointer deference. Sure I know that, hence the oops happening there is likely fallout from something scribbling where it should not have.

Re: [3/3] 2.6.21-rc7: known regressions (v2)

2007-04-25 Thread john stultz
On Wed, 2007-04-25 at 04:06 -0700, Andrew Morton wrote: On Mon, 23 Apr 2007 23:49:09 +0200 Adrian Bunk [EMAIL PROTECTED] wrote: This email lists some known regressions in Linus' tree compared to 2.6.20. If you find your name in the Cc header, you are either submitter of one of the

Re: [PATCH 5/15] cfq-iosched: speed up rbtree handling

2007-04-25 Thread Jens Axboe
On Wed, Apr 25 2007, Jens Axboe wrote: On Wed, Apr 25 2007, Jens Axboe wrote: On Wed, Apr 25 2007, Alan D. Brunelle wrote: Hi Jens - The attached patch speeds it up even more - I'm finding a 9% reduction in %system with no loss in IO performance. This just sets the cached

Re: [PATCH 09/25] xen: Account for time stolen by Xen

2007-04-25 Thread Jeremy Fitzhardinge
Andi Kleen wrote: + +do { +state_time = state-state_entry_time; +barrier(); Should be likely rmb We discussed this, and decided that it wasn't necessary. The state is always updated by the current CPU, so if it changes under our feet it will be because we

Re: [00/17] Large Blocksize Support V3

2007-04-25 Thread Christoph Lameter
On Wed, 25 Apr 2007, Jens Axboe wrote: All of memory is lowmem. There are no bounces going on, for sure. Could you figure out what this is? The patchset was intentionally only for 64 bit. I cannot get to the 32 bit headaches for a week or so. - To unsubscribe from this list: send the line

Re: [PATCH 09/25] xen: Account for time stolen by Xen

2007-04-25 Thread Andi Kleen
On Wednesday 25 April 2007 20:13:34 Jeremy Fitzhardinge wrote: Andi Kleen wrote: + + do { + state_time = state-state_entry_time; + barrier(); Should be likely rmb We discussed this, and decided that it wasn't necessary. The state is always updated by the

Re: [PATCH] i386: For debugging, make the initial page table setup less forgiving.

2007-04-25 Thread Jeremy Fitzhardinge
Eric W. Biederman wrote: H. Peter Anvin [EMAIL PROTECTED] writes: Andrew Morton wrote: This patch causes oopses after a minute or so running LTP's ./testcases/bin/growfiles -W gf16 -b -e 1 -i 0 -L 120 -u -g 4090 -T 100 -t 408990 -l -C 10 -c 1000 -S 10 -f Lgf02_ on

Re: pgprot_writecombine() and PATs on x86

2007-04-25 Thread Andi Kleen
On Wednesday 25 April 2007 20:02:26 Roland Dreier wrote: Hi Eric, Where do your patches to add an implementation of pgprot_writecombine() using PATs on x86 stand? It's on my todo list. The mlx4 driver I'm planning on merging for 2.6.22 would really like writecombining, and I'm

Re: [00/17] Large Blocksize Support V3

2007-04-25 Thread Jens Axboe
On Wed, Apr 25 2007, Christoph Lameter wrote: On Wed, 25 Apr 2007, Jens Axboe wrote: All of memory is lowmem. There are no bounces going on, for sure. Could you figure out what this is? The patchset was intentionally only for 64 bit. I cannot get to the 32 bit headaches for a week or so.

Re: [PATCH 0/9] Kconfig: cleanup s390 v2.

2007-04-25 Thread Randy Dunlap
On Mon, 23 Apr 2007 10:45:34 -0700 Andrew Morton wrote: On Mon, 23 Apr 2007 16:11:23 +0200 Martin Schwidefsky [EMAIL PROTECTED] wrote: Greetings, I've added the results of the review to the Kconfig cleanup patches for s390. Patch #2 has been split, one half has all the HAS_IOMEM

Re: [PATCH] i386: For debugging, make the initial page table setup less forgiving.

2007-04-25 Thread Eric W. Biederman
H. Peter Anvin [EMAIL PROTECTED] writes: Eric W. Biederman wrote: This patch only affects the initial page tables, which should have been thrown out *way* long ago at this point. Yes. I noticed this was happening a few days ago. I must not have mentioned it loudly enough. You mentioned

Re: [RFC][PATCH] fix abs() macro to work with types wider than int

2007-04-25 Thread linux-os \(Dick Johnson\)
On Wed, 25 Apr 2007, John Anthony Kazos Jr. wrote: I think it's like it is just to be consistent with abs() in C, which also contains labs() and llabs(). We actually had labs() before (few months ago), but since it was not used, and if it would it seemed better to just fix abs(), it was

Re: [PATCH] clocksource: acpi_pm trivial comment update

2007-04-25 Thread Len Brown
Applied. thanks, -Len On Tuesday 10 April 2007 15:20, Daniel Walker wrote: Signed-Off-By: Daniel Walker [EMAIL PROTECTED] --- drivers/clocksource/acpi_pm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.20/drivers/clocksource/acpi_pm.c

Re: pgprot_writecombine() and PATs on x86

2007-04-25 Thread Roland Dreier
Where do your patches to add an implementation of pgprot_writecombine() using PATs on x86 stand? It's on my todo list. Great. Let me know if there's anything I can do to help. When it's PCI space you can likely just use MTRRs. PAT is mostly useful for applications that do IO

Re: pgprot_writecombine() and PATs on x86

2007-04-25 Thread Roland Dreier
Roland is the mlx4 sane enough to put the memory that needs write-combining a prefetchable bar. So several cards can be combined together? Yes, it is in a prefetchable BAR. It's the second half of the second BAR in: 0d:00.0 InfiniBand: Mellanox Technologies Unknown device 634a (rev

Re: pgprot_writecombine() and PATs on x86

2007-04-25 Thread Eric W. Biederman
Andi Kleen [EMAIL PROTECTED] writes: On Wednesday 25 April 2007 20:02:26 Roland Dreier wrote: Hi Eric, Where do your patches to add an implementation of pgprot_writecombine() using PATs on x86 stand? It's on my todo list. Basically enabling PAT is easy. Adding the paranoid checks is

Re: suspend2 merge (was Re: [Suspend2-devel] Re: CFS and suspend2: hang in atomic copy)

2007-04-25 Thread Adrian Bunk
On Wed, Apr 25, 2007 at 07:34:05PM +0200, Pavel Machek wrote: Hi! Even I am running in-kernel swsusp, but my managers were pretty clear they want graphical progress bar hiding all the 'ugly' swsusp messages... and in the end the same uswsusp enables compression, too. I

Re: [PATCH 09/25] xen: Account for time stolen by Xen

2007-04-25 Thread Jeremy Fitzhardinge
Andi Kleen wrote: Then the barrier shouldn't be needed at all? We still need to prevent compiler reordering. Anyways needs comments Yep. J - 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 (rev 2)] cxacru: Cleanup sysfs attribute code

2007-04-25 Thread Simon Arlott
This changes the format of unknown status values to be less verbose and uses an array instead of several different snprintf calls. Since only enum values are assigned to it, poll_state is changed from int to enum. Use abs() for dB values instead of two almost identical return lines.

Re: pgprot_writecombine() and PATs on x86

2007-04-25 Thread Dave Jones
On Wed, Apr 25, 2007 at 08:19:27PM +0200, Andi Kleen wrote: On Wednesday 25 April 2007 20:02:26 Roland Dreier wrote: Hi Eric, Where do your patches to add an implementation of pgprot_writecombine() using PATs on x86 stand? It's on my todo list. Whats the status on the code

Re: [patch 1/7] libata: check for AN support

2007-04-25 Thread Kristen Carlson Accardi
Check to see if an ATAPI device supports Asynchronous Notification. If so, enable it. Changes from last version: * use parens around id in ata.h Signed-off-by: Kristen Carlson Accardi [EMAIL PROTECTED] Index: 2.6-git/drivers/ata/libata-core.c

Re: [patch] unprivileged mounts update

2007-04-25 Thread Eric W. Biederman
Serge E. Hallyn [EMAIL PROTECTED] writes: Quoting Eric W. Biederman ([EMAIL PROTECTED]): Are there other permission checks that mount is doing that we care about. Not mount itself, but in looking up /share/fa/root/home/fa, user fa doesn't have the rights to read /share, and by setting

Re: [PATCH 11/25] xen: Xen SMP guest support

2007-04-25 Thread Jeremy Fitzhardinge
Andi Kleen wrote: #ifdef CONFIG_X86_LOCAL_APIC static unsigned long xen_apic_read(unsigned long reg) Can't you just make them all NULL? Crashing here should be correct. No. The APIC setup code does at least one unconditional read to get the APIC version before deciding the

Re: [PATCH] use mutex instead of semaphore in EDAC core

2007-04-25 Thread Doug Thompson
Thanks, I will have to modify this, as the edac_mc.c has been re-written in a patch I have in my queue, but not net pushed up stream. I will generate a new quilt patch with your named acknowledged. thanks doug thompson --- Matthias Kaehlcke [EMAIL PROTECTED] wrote: the EDAC core code uses a

<    4   5   6   7   8   9   10   11   12   >