Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-18 Thread Matt Mackall
On Wed, Apr 18, 2007 at 07:00:24AM +0200, Nick Piggin wrote: It's also not yet clear that a scheduler can't be taught to do the right thing with X without fiddling with nice levels. Being fair doesn't prevent that. Implicit unfairness is wrong though, because it will bite people. What's

Re: [PATCH] Show slab memory usage on OOM and SysRq-M (v2)

2007-04-18 Thread Pekka J Enberg
On Tue, 2007-04-17 at 19:34 +0400, Pavel Emelianov wrote: +#define SHOW_TOP_SLABS 10 On Tue, 17 Apr 2007, Dave Hansen wrote: Real minor nit on this one: SHOW_TOP_SLABS sounds like a bool. Should I show the top slabs? This might be a bit more clear: #define TOP_NR_SLABS_TO_SHOW 10

Re: [PATCH] Document SPIN_LOCK_UNLOCKED/RW_LOCK_UNLOCKED deprecation

2007-04-18 Thread Ingo Molnar
* Michael Ellerman [EMAIL PROTECTED] wrote: Apparently it's not cool anymore to use SPIN/RW_LOCK_UNLOCKED. There's some mention of this in Documentation/spinlocks.txt, but that only talks about dynamic initialisation. A comment in the code mentioning the preferred usage would be good

[PATCH] libata: add Samsung HD401LJ to the NCQ blacklist

2007-04-18 Thread Max Kellermann
Yet another hard drive which doesn't seem to get NCQ right. ata1: EH in ADMA mode, notifier 0x0 notifier_error 0x0 gen_ctl 0x1501000 status 0x400 next cpb count 0xB next cpb idx 0x0 [...] ata1: timeout waiting for ADMA IDLE, stat=0x400 ata1: timeout waiting for ADMA LEGACY, stat=0x400

Re: [PATCH] Show slab memory usage on OOM and SysRq-M

2007-04-18 Thread Pekka J Enberg
On Tue, 17 Apr 2007, Eric Dumazet wrote: This nr_pages should be in struct kmem_list3, not in struct kmem_cache, or else you defeat NUMA optimizations if touching a field in kmem_cache at kmem_getpages()/kmem_freepages() time. We already touch -flags, -gfpflags, and -gfporder in

Re: [PATCH] Show slab memory usage on OOM and SysRq-M (v2)

2007-04-18 Thread Pekka Enberg
On 4/17/07, Pavel Emelianov [EMAIL PROTECTED] wrote: The out_of_memory() function and SysRq-M handler call show_mem() to show the current memory usage state. I am still somewhat unhappy about the spinlock, but I don't really have a better suggestion either. Other than that, looks good to me.

Re: [PATCH] libata: add Samsung HD401LJ to the NCQ blacklist

2007-04-18 Thread Tejun Heo
Max Kellermann wrote: Yet another hard drive which doesn't seem to get NCQ right. ata1: EH in ADMA mode, notifier 0x0 notifier_error 0x0 gen_ctl 0x1501000 status 0x400 next cpb count 0xB next cpb idx 0x0 [...] ata1: timeout waiting for ADMA IDLE, stat=0x400 ata1: timeout waiting for ADMA

Re: [PATCH] Show slab memory usage on OOM and SysRq-M (v2)

2007-04-18 Thread Pavel Emelianov
Dave Hansen wrote: On Tue, 2007-04-17 at 19:34 +0400, Pavel Emelianov wrote: +#define SHOW_TOP_SLABS 10 Real minor nit on this one: SHOW_TOP_SLABS sounds like a bool. Should I show the top slabs? This might be a bit more clear: #define TOP_NR_SLABS_TO_SHOW 10 or #define

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-18 Thread Nick Piggin
On Wed, Apr 18, 2007 at 12:55:25AM -0500, Matt Mackall wrote: On Wed, Apr 18, 2007 at 07:00:24AM +0200, Nick Piggin wrote: It's also not yet clear that a scheduler can't be taught to do the right thing with X without fiddling with nice levels. Being fair doesn't prevent that. Implicit

[PATCH] Introduce a handy list_first_entry macro (v2)

2007-04-18 Thread Pavel Emelianov
There are many places in the kernel where the construction like foo = list_entry(head-next, struct foo_struct, list); are used. The code might look more descriptive and neat if using the macro list_first_entry(head, type, member) \ list_entry((head)-next, type, member) Here

Re: [PATCH] Show slab memory usage on OOM and SysRq-M (v2)

2007-04-18 Thread Pavel Emelianov
Pekka Enberg wrote: On 4/17/07, Pavel Emelianov [EMAIL PROTECTED] wrote: The out_of_memory() function and SysRq-M handler call show_mem() to show the current memory usage state. I am still somewhat unhappy about the spinlock, but I don't really What's wrong with the spinlock? It exists

Re: [PATCH] documentation: convert the Documentation directory to UTF-8

2007-04-18 Thread Geert Uytterhoeven
On Tue, 17 Apr 2007, John Anthony Kazos Jr. wrote: --- linux-2.6.21-rc7.orig/Documentation/fb/framebuffer.txt2007-02-04 13:44:54.0 -0500 +++ linux-2.6.21-rc7.mod/Documentation/fb/framebuffer.txt 2007-04-17 12:44:09.0 -0400 @@ -217,7 +217,7 @@ vsync length.

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-18 Thread Matt Mackall
On Wed, Apr 18, 2007 at 08:37:11AM +0200, Nick Piggin wrote: I don't know how that supports your argument for unfairness, I never had such an argument. I like fairness. My argument is that -you- don't have an argument for making fairness a -requirement-. processes are special only because

[PATCH] Show slab memory usage on OOM and SysRq-M (v3)

2007-04-18 Thread Pavel Emelianov
The out_of_memory() function and SysRq-M handler call show_mem() to show the current memory usage state. This is also helpful to see which slabs are the largest in the system. Thanks Pekka for good idea of how to make it better. The nr_pages is stored on kmem_list3 because: 1. as Eric pointed

Re: drivers/video/output.c

2007-04-18 Thread Geert Uytterhoeven
On Tue, 17 Apr 2007, Dave Jones wrote: git-bisect just fingered it as responsible for my backlight doesn't turn on suspend/resume regression on the Thinkpad X60. I think it's lying. Actually I've seeing git bisect lying on me, too. I retried a few times (fortunately it didn't require

Re: [RFC][PATCH 0/15] VFS based Union Mount

2007-04-18 Thread Bharata B Rao
On Tue, Apr 17, 2007 at 12:56:24PM -0400, Shaya Potter wrote: Bharata B Rao wrote: No. foo is not visible. While looking for a file in a union mounted directory, the lookup starts from the topmost directory and proceeds downwards if the file isn't present the top layers. If a whiteout is

Re: AppArmor FAQ

2007-04-18 Thread Rob Meijer
On Tue, April 17, 2007 23:55, Karl MacMillan wrote: On Mon, 2007-04-16 at 20:20 -0400, James Morris wrote: On Mon, 16 Apr 2007, John Johansen wrote: Label-based security (exemplified by SELinux, and its predecessors in MLS systems) attaches security policy to the data. As the data flows

Re: [patch 00/10] mount ownership and unprivileged mount syscall (v3)

2007-04-18 Thread Jeremy Maitin-Shepard
It seems that this might introduce serious denial of service possibilities due to the fact that many of the file systems are not robust to invalid on-block-device data. -- Jeremy Maitin-Shepard - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-18 Thread Nick Piggin
On Wed, Apr 18, 2007 at 01:55:34AM -0500, Matt Mackall wrote: On Wed, Apr 18, 2007 at 08:37:11AM +0200, Nick Piggin wrote: I don't know how that supports your argument for unfairness, I never had such an argument. I like fairness. My argument is that -you- don't have an argument for

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-18 Thread James Bruce
Matt Mackall wrote: On Tue, Apr 17, 2007 at 03:59:02PM -0700, William Lee Irwin III wrote: On Tue, Apr 17, 2007 at 03:32:56PM -0700, William Lee Irwin III wrote: I'm working with the following suggestion: On Tue, Apr 17, 2007 at 09:07:49AM -0400, James Bruce wrote: Nonlinear is a must IMO. I

Re: AppArmor FAQ

2007-04-18 Thread David Lang
remember that the windows NT permission model is theoreticly superior to the Unix permission model. however there are far more insecure windows boxes out there then Unix boxes (even if taken as a percentage of the installed base) I don't think that anyone is claiming that AA is superior to

Re: [PATCH] libata: add Samsung HD401LJ to the NCQ blacklist

2007-04-18 Thread Max Kellermann
On 2007/04/18 08:26, Tejun Heo [EMAIL PROTECTED] wrote: Can you try it on another controller? Say, a ahci or sil24? Seems to work ok on a Via VT8251 controller (AHCI) on kernel 2.6.21-rc6-git4 without my NCQ disabling patch. By the way, on this machine, I had a lot of SATA timeouts during

Re: [PATCH] libata: add Samsung HD401LJ to the NCQ blacklist

2007-04-18 Thread Tejun Heo
Max Kellermann wrote: On 2007/04/18 08:26, Tejun Heo [EMAIL PROTECTED] wrote: Can you try it on another controller? Say, a ahci or sil24? Seems to work ok on a Via VT8251 controller (AHCI) on kernel 2.6.21-rc6-git4 without my NCQ disabling patch. Unfortunately, NCQ is not supported on

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-18 Thread Cornelia Huck
On Wed, 18 Apr 2007 03:41:10 +0900, Tejun Heo [EMAIL PROTECTED] wrote: Hello, all. Agreed with the problem but I'm not very enthusiastic for adding kobj-owner. How about the following? exit() routines will have to do device_unregister_wait() instead of device_unregister(). On return

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-18 Thread Cornelia Huck
On Wed, 18 Apr 2007 03:49:01 +0900, Tejun Heo [EMAIL PROTECTED] wrote: Oh, one more thing, with proper code audit, we can just make device_unregister() do the waiting instead of adding separate device_unregister_wait(). I think that will be a good step toward immediate-detach driver model.

Re: Disabling x86 System Management Mode

2007-04-18 Thread John Sigler
John Sigler wrote: # : /var/log/kern.log; cat /proc/interrupts; /bin/time insmod houba.ko; cat /proc/interrupts; rmmod houba CPU0 0: 519083XT-PIC-XTtimer 2: 0XT-PIC-XTcascade 9: 0XT-PIC-XTacpi 10: 9786

[NETLINK] Don't attach callback to a going-away netlink socket

2007-04-18 Thread Pavel Emelianov
Sorry, I forgot to put netdev and David in Cc when I first sent it. There is a race between netlink_dump_start() and netlink_release() that can lead to the situation when a netlink socket with non-zero callback is freed. Here it is: CPU1: CPU2 netlink_release():

Re: [NETLINK] Don't attach callback to a going-away netlink socket

2007-04-18 Thread Evgeniy Polyakov
On Wed, Apr 18, 2007 at 12:16:18PM +0400, Pavel Emelianov ([EMAIL PROTECTED]) wrote: Sorry, I forgot to put netdev and David in Cc when I first sent it. There is a race between netlink_dump_start() and netlink_release() that can lead to the situation when a netlink socket with non-zero

Re: [PATCH 0/4] 2.6.21-rc7 NFS writes: fix a series of issues

2007-04-18 Thread Peter Zijlstra
On Tue, 2007-04-17 at 21:19 -0400, Trond Myklebust wrote: I've split the issues introduced by the 2.6.21-rcX write code up into 4 subproblems. The first patch is just a cleanup in order to ease review. Patch number 2 ensures that we never release the PG_writeback flag until _after_ we've

Re: [PATCH 2/2] wistron_btns: add led support

2007-04-18 Thread Éric Piel
18.04.2007 06:25, Dmitry Torokhov wrote/a écrit: On Saturday 14 April 2007 12:09, Éric Piel wrote: This patch adds support for mail and wifi leds. It modifies the Kconfig file to automatically pull led_class with wistron_btns, hopefully everyone is fine with this. Was there 1/2 file?

Re: [PATCH][BUG] Fix possible NULL pointer access in 8250 serial driver

2007-04-18 Thread Kenji Kaneshige
I'd imagine that other serial drivers might get upset having their -get_mcrtl() called prior to being opened. Perhaps we should be fixing this in uart_read_proc()? I looked at other serial drivers and I could not find any other drivers which accesses port-info in their -get_mctrl(). This

Re: [NETLINK] Don't attach callback to a going-away netlink socket

2007-04-18 Thread Patrick McHardy
Evgeniy Polyakov wrote: On Wed, Apr 18, 2007 at 12:16:18PM +0400, Pavel Emelianov ([EMAIL PROTECTED]) wrote: Sorry, I forgot to put netdev and David in Cc when I first sent it. There is a race between netlink_dump_start() and netlink_release() that can lead to the situation when a netlink

Re: [NETLINK] Don't attach callback to a going-away netlink socket

2007-04-18 Thread Pavel Emelianov
Evgeniy Polyakov wrote: On Wed, Apr 18, 2007 at 12:16:18PM +0400, Pavel Emelianov ([EMAIL PROTECTED]) wrote: Sorry, I forgot to put netdev and David in Cc when I first sent it. There is a race between netlink_dump_start() and netlink_release() that can lead to the situation when a netlink

Re: Kaffeine problem with CFS

2007-04-18 Thread Ingo Molnar
[ i've Cc:-ed Ulrich Drepper, this CFS-triggered hang seems to have some futex and pthread_cond_wait() relevance. ] * Christoph Pfister [EMAIL PROTECTED] wrote: [1] http://cekirdek.pardus.org.tr/~caglar/strace.kaffeine Could you try xine-ui or gxine? Because I suspect rather xine-lib

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-18 Thread Tejun Heo
Cornelia Huck wrote: On Wed, 18 Apr 2007 03:41:10 +0900, Tejun Heo [EMAIL PROTECTED] wrote: Hello, all. Agreed with the problem but I'm not very enthusiastic for adding kobj-owner. How about the following? exit() routines will have to do device_unregister_wait() instead of

Re: [NETLINK] Don't attach callback to a going-away netlink socket

2007-04-18 Thread Evgeniy Polyakov
On Wed, Apr 18, 2007 at 10:26:31AM +0200, Patrick McHardy ([EMAIL PROTECTED]) wrote: Evgeniy Polyakov wrote: On Wed, Apr 18, 2007 at 12:16:18PM +0400, Pavel Emelianov ([EMAIL PROTECTED]) wrote: Sorry, I forgot to put netdev and David in Cc when I first sent it. There is a race

Re: [NETLINK] Don't attach callback to a going-away netlink socket

2007-04-18 Thread Evgeniy Polyakov
On Wed, Apr 18, 2007 at 12:32:40PM +0400, Pavel Emelianov ([EMAIL PROTECTED]) wrote: Evgeniy Polyakov wrote: On Wed, Apr 18, 2007 at 12:16:18PM +0400, Pavel Emelianov ([EMAIL PROTECTED]) wrote: Sorry, I forgot to put netdev and David in Cc when I first sent it. There is a race between

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-18 Thread Tejun Heo
Cornelia Huck wrote: On Wed, 18 Apr 2007 03:49:01 +0900, Tejun Heo [EMAIL PROTECTED] wrote: Oh, one more thing, with proper code audit, we can just make device_unregister() do the waiting instead of adding separate device_unregister_wait(). I think that will be a good step toward

Re: [PATCH 2.6.21-rc5 1/3] msi: introduce ARCH_SUPPORTS_MSI Kconfig option (rev2)

2007-04-18 Thread Michael Ellerman
On Fri, 2007-03-30 at 16:05 -0700, Dan Williams wrote: Allows architectures to advertise that they support MSI rather than listing each architecture as a PCI_MSI dependency. rev2: * update i386 and x86_64 as well Signed-off-by: Dan Williams [EMAIL PROTECTED] Acked-by: Eric W. Biederman

Re: MMCv4 support (8-bit support missing)

2007-04-18 Thread Pierre Ossman
Madhusudhan c wrote: Hi Pierre/philip, Hi Madhusudhan, Feel free to add me as cc in the future if you want me to notice your mail ;) This is regarding the MMCv4 support that came in as part of the MMC core of 2.6.20 linux kernel version. The high speed MMC cards can support 4-bit/8-bit

Re: [NETLINK] Don't attach callback to a going-away netlink socket

2007-04-18 Thread Patrick McHardy
Evgeniy Polyakov wrote: On Wed, Apr 18, 2007 at 10:26:31AM +0200, Patrick McHardy ([EMAIL PROTECTED]) wrote: Out of curiosity, why not to fix a netlink_dump_start() to remove callback in error path, since in 'no-error' path it removes it in netlink_dump(). It already does

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-18 Thread Nick Piggin
On Tue, Apr 17, 2007 at 11:59:00AM +0200, Ingo Molnar wrote: * Nick Piggin [EMAIL PROTECTED] wrote: 2.6.21-rc7-cfs-v2 534.80user 30.92system 2:23.64elapsed 393%CPU 534.75user 31.01system 2:23.70elapsed 393%CPU 534.66user 31.07system 2:23.76elapsed 393%CPU 534.56user 30.91system

Re: Kaffeine problem with CFS

2007-04-18 Thread Christoph Pfister
Hi, 2007/4/18, Ingo Molnar [EMAIL PROTECTED]: [ i've Cc:-ed Ulrich Drepper, this CFS-triggered hang seems to have some futex and pthread_cond_wait() relevance. ] * Christoph Pfister [EMAIL PROTECTED] wrote: [1] http://cekirdek.pardus.org.tr/~caglar/strace.kaffeine Could you try

Re: Kaffeine problem with CFS

2007-04-18 Thread Ingo Molnar
* Ingo Molnar [EMAIL PROTECTED] wrote: update: i've reproduced one kind of a hang but i'm not sure it's the same hang Ismail is seeing. It was quite hard to trigger it under CFS, i had to do wild forward/backward button seeks on a real DVD and i mixed it with CPU-intense workloads on the

Re: [NETLINK] Don't attach callback to a going-away netlink socket

2007-04-18 Thread Pavel Emelianov
Evgeniy Polyakov wrote: On Wed, Apr 18, 2007 at 12:32:40PM +0400, Pavel Emelianov ([EMAIL PROTECTED]) wrote: Evgeniy Polyakov wrote: On Wed, Apr 18, 2007 at 12:16:18PM +0400, Pavel Emelianov ([EMAIL PROTECTED]) wrote: Sorry, I forgot to put netdev and David in Cc when I first sent it.

Re: Kaffeine problem with CFS

2007-04-18 Thread Ingo Molnar
* Christoph Pfister [EMAIL PROTECTED] wrote: backtrace: #0 0xe410 in __kernel_vsyscall () #1 0x4a2510c6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb79fd1a8 in QWidget::setUpdatesEnabled () from /usr/lib/libxine.so.1 #3 0xb7a030ab in

Re: Kaffeine problem with CFS

2007-04-18 Thread Ingo Molnar
* Ingo Molnar [EMAIL PROTECTED] wrote: these were only the threads that showed up in htop. Here's a full analysis about what all threads are doing: Process 9303: stuck in xine_play()/pthread_mutex_lock() Process 9319: stuck in pthread_cond_timedwait() Process 9320: stuck in

Re: [NETLINK] Don't attach callback to a going-away netlink socket

2007-04-18 Thread Evgeniy Polyakov
On Wed, Apr 18, 2007 at 10:50:42AM +0200, Patrick McHardy ([EMAIL PROTECTED]) wrote: It already does (netlink_destroy_callback), but that doesn't help with this race though since without this patch we don't enter the error path. I thought that with releasing a socket, which will have a

Re: Kaffeine problem with CFS

2007-04-18 Thread Mike Galbraith
On Wed, 2007-04-18 at 11:01 +0200, Ingo Molnar wrote: * Christoph Pfister [EMAIL PROTECTED] wrote: backtrace: #0 0xe410 in __kernel_vsyscall () #1 0x4a2510c6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb79fd1a8 in QWidget::setUpdatesEnabled ()

Re: [Devel] Re: [patch 05/10] add permit user mounts in new namespace clone flag

2007-04-18 Thread Miklos Szeredi
I've tried to make this unprivileged mount thing as simple as possible, and no simpler. If we can make it even simpler, all the better. We are certainly much more complex then the code in plan9 (just read through it) so I think we have room for improvement. Just for reference what I

Re: Kaffeine problem with CFS

2007-04-18 Thread Christoph Pfister
2007/4/18, Ingo Molnar [EMAIL PROTECTED]: * Christoph Pfister [EMAIL PROTECTED] wrote: backtrace: #0 0xe410 in __kernel_vsyscall () #1 0x4a2510c6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb79fd1a8 in QWidget::setUpdatesEnabled () from

Re: [NETLINK] Don't attach callback to a going-away netlink socket

2007-04-18 Thread Evgeniy Polyakov
On Wed, Apr 18, 2007 at 01:03:56PM +0400, Pavel Emelianov ([EMAIL PROTECTED]) wrote: Yes, you are right, that it will not be freed in netlink_release(), but it will be freed in netlink_dump() after it is processed (in no-error path only though). But error path will leak it. On

Re: [NETLINK] Don't attach callback to a going-away netlink socket

2007-04-18 Thread Patrick McHardy
Evgeniy Polyakov wrote: On Wed, Apr 18, 2007 at 10:50:42AM +0200, Patrick McHardy ([EMAIL PROTECTED]) wrote: I thought that with releasing a socket, which will have a callback attached only results in a leak of the callback? In that case we can just free it in dump() just like it is done in

Re: [PATCH] Provide better abstraction for the serial drivers to xmit buf and tty

2007-04-18 Thread Alan Cox
The basic reason for all this is to eventually allow the low-level serial drivers to function without a uart_info structure being allocated. This will allow the serial console, debuggers like kgdb, and the IPMI serial driver to use one interface to the uart code and Its cheaper to allocate a

Re: Kaffeine problem with CFS

2007-04-18 Thread Ingo Molnar
* Christoph Pfister [EMAIL PROTECTED] wrote: are the updated backtraces in the followup mail i just sent more useful? (I still have that stuck session running so i can whatever debugging you'd like to see done.) QWidget::setUpdatesEnabled() is (wrongly) present in every thread except

Re: [Devel] Re: [patch 05/10] add permit user mounts in new namespace clone flag

2007-04-18 Thread Miklos Szeredi
Allowing this and other flags to NOT be propagated just makes it possible to have a set of shared mounts with asymmetric properties, which may actually be desirable. The shared mount feature was designed to ensure that the mount remained identical at all the locations. OK, so remount

Re: Kaffeine problem with CFS

2007-04-18 Thread Christoph Pfister
2007/4/18, Ingo Molnar [EMAIL PROTECTED]: * Christoph Pfister [EMAIL PROTECTED] wrote: are the updated backtraces in the followup mail i just sent more useful? (I still have that stuck session running so i can whatever debugging you'd like to see done.) QWidget::setUpdatesEnabled() is

Re: Kaffeine problem with CFS

2007-04-18 Thread Ingo Molnar
* Christoph Pfister [EMAIL PROTECTED] wrote: which thread would be the most interesting to you - 9324? The thread which should wake the main thread - but hmm ... 9303 seems to be rather dead-locked than doing pthread_cond_timedwait() ? ok, here it is, 9303 with better symbol names: #0

Re: [NETLINK] Don't attach callback to a going-away netlink socket

2007-04-18 Thread Evgeniy Polyakov
On Wed, Apr 18, 2007 at 11:16:50AM +0200, Patrick McHardy ([EMAIL PROTECTED]) wrote: That is what I referred to as error path. Btw, with positive return value we end up in subsequent call to input which will free callback under lock as expected. No, nothing is going to call

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-18 Thread Cornelia Huck
On Wed, 18 Apr 2007 17:46:09 +0900, Tejun Heo [EMAIL PROTECTED] wrote: It's debatable but I think things will be safer this way. If we wait by default, we are forced to check that all references are dropped and will have a stack dump indicating which object is causing problem when something

Re: [PATCH] crypto: convert crypto subdirectory to UTF-8

2007-04-18 Thread Stefan Richter
John Anthony Kazos Jr. wrote: Convert the subdirectory crypto to UTF-8. The files changed are crypto/fcrypt.c and crypto/api.c. Aren't we using ASCII for C sources? -- Stefan Richter -=-=-=== -=-- =--=- http://arcgraph.de/sr/ - To unsubscribe from this list: send the line unsubscribe

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-18 Thread Con Kolivas
On Wednesday 18 April 2007 18:55, Nick Piggin wrote: On Tue, Apr 17, 2007 at 11:59:00AM +0200, Ingo Molnar wrote: * Nick Piggin [EMAIL PROTECTED] wrote: 2.6.21-rc7-cfs-v2 534.80user 30.92system 2:23.64elapsed 393%CPU 534.75user 31.01system 2:23.70elapsed 393%CPU 534.66user

Re: [PATCH] include files: convert include subdirectory to UTF-8

2007-04-18 Thread Stefan Richter
On 4/17/2007 7:53 PM, John Anthony Kazos Jr. wrote: From: John Anthony Kazos Jr. [EMAIL PROTECTED] Convert the include subdirectory to UTF-8. The following files are changed. include/net/irda/{iriap.h,irttp.h,iriap_event.h,parameters.h}

Re: [PATCH] libata: add Samsung HD401LJ to the NCQ blacklist

2007-04-18 Thread Will Trives
Yet another hard drive which doesn't seem to get NCQ right. I have a Samsung 400LJ that appears to work fine with NCQ on an Intel 965 chipset motherboard (Asus P5B) and Linux kernel 2.6.20.7. Dmesg Output : scsi1 : ahci ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300) ata2.00: ATA-7,

Re: [RFC][PATCH][EXPERIMENTAL] CPU hotplug with frozen tasks

2007-04-18 Thread Gautham R Shenoy
Hi, The patch looks good to me. On Mon, Apr 16, 2007 at 11:27:58PM +0200, Rafael J. Wysocki wrote: --- Documentation/cpu-hotplug.txt |9 +++-- arch/i386/kernel/cpu/intel_cacheinfo.c|2 ++ arch/i386/kernel/cpu/mcheck/therm_throt.c |2 ++

Re: [PATCH] crypto: convert crypto subdirectory to UTF-8

2007-04-18 Thread Alan Cox
On Wed, 18 Apr 2007 11:33:29 +0200 Stefan Richter [EMAIL PROTECTED] wrote: John Anthony Kazos Jr. wrote: Convert the subdirectory crypto to UTF-8. The files changed are crypto/fcrypt.c and crypto/api.c. Aren't we using ASCII for C sources? We haven't done that for many years - it makes

Re: Kaffeine problem with CFS

2007-04-18 Thread Christoph Pfister
2007/4/18, Ingo Molnar [EMAIL PROTECTED]: * Christoph Pfister [EMAIL PROTECTED] wrote: which thread would be the most interesting to you - 9324? The thread which should wake the main thread - but hmm ... 9303 seems to be rather dead-locked than doing pthread_cond_timedwait() ? ok, here it

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-18 Thread Ingo Molnar
* Nick Piggin [EMAIL PROTECTED] wrote: 535.43user 30.62system 2:23.72elapsed 393%CPU Thanks for testing this! Could you please try this also with: echo 1 /proc/sys/kernel/sched_granularity 507.68user 31.87system 2:18.05elapsed 390%CPU 507.99user 31.93system

Re: [PATCH 0/4] 2.6.21-rc7 NFS writes: fix a series of issues

2007-04-18 Thread OGAWA Hirofumi
Trond Myklebust [EMAIL PROTECTED] writes: I was mainly interested in feedback from Peter, Florin and Ogawa-san to find out if this series fixes their problems. You were unfortunate enough to have been on earlier Ccs, so I didn't dare trim you off. :-) Sorry. I'm trying to reproduce that, but

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-18 Thread Tejun Heo
Cornelia Huck wrote: On Wed, 18 Apr 2007 17:46:09 +0900, Tejun Heo [EMAIL PROTECTED] wrote: It's debatable but I think things will be safer this way. If we wait by default, we are forced to check that all references are dropped and will have a stack dump indicating which object is causing

[PATCH 1/11] Char: cyclades, create cy_init_Ze

2007-04-18 Thread Jiri Slaby
cyclades, create cy_init_Ze Move Ze init code into new cy_init_Ze, because we will need it in another place and it will make the code totally unreadable. Signed-off-by: Jiri Slaby [EMAIL PROTECTED] --- commit 1cd1f5e029963fc449c4f84495770611e5c35297 tree a81b2b0a68303d8dfe616edc4c12c9030723ca12

Re: PROBLEM: kernel BUG at mm/rmap.c:522!

2007-04-18 Thread Francesco Ricci
That by itself would suggest a single-bit error, which would point you to running memtest86 overnight to check your RAM. Worth a try. ok, I've finished today the long testing on my ram with memtest86+ 1.65 (distributed in debian): no errors. so I think the problem is somewere else... tnx for

[PATCH 2/11] Char: cyclades, use pci_iomap/unmap

2007-04-18 Thread Jiri Slaby
cyclades, use pci_iomap/unmap fork remove code for pci -- move it to separate, new, function and don't care about pci in the former. Signed-off-by: Jiri Slaby [EMAIL PROTECTED] --- commit 2d99f97963f6a60727c1cc8d21d3bdbf4ba48d7f tree aba7f710a1668c17d56d45ff805ec03adc950c42 parent

[PATCH 3/11] Char: cyclades, init Ze immediately

2007-04-18 Thread Jiri Slaby
cyclades, init Ze immediately There will be no other choice after introducing pci probing anyway. Signed-off-by: Jiri Slaby [EMAIL PROTECTED] --- commit 15bad81f3abe0638e7ccf34fd14cf6c372146742 tree 3dfe3a58322b197e80d09757e4049f1221240a6d parent 2d99f97963f6a60727c1cc8d21d3bdbf4ba48d7f author

Re: Kaffeine problem with CFS

2007-04-18 Thread Christoph Pfister
2007/4/18, Christoph Pfister [EMAIL PROTECTED]: 2007/4/18, Ingo Molnar [EMAIL PROTECTED]: * Christoph Pfister [EMAIL PROTECTED] wrote: which thread would be the most interesting to you - 9324? The thread which should wake the main thread - but hmm ... 9303 seems to be rather

[PATCH 4/11] Char: cyclades, create cy_pci_probe

2007-04-18 Thread Jiri Slaby
cyclades, create cy_pci_probe Move probing code to separate function for easy pci probing conversion. Signed-off-by: Jiri Slaby [EMAIL PROTECTED] --- commit 07df3f0fcb1cad6a274d5b7b32d65df54c3f4fb4 tree cb3c77a959c7ca9d63faaec82c154a752e87ff42 parent 15bad81f3abe0638e7ccf34fd14cf6c372146742

[PATCH 5/11] Char: cyclades, move card entries init into function

2007-04-18 Thread Jiri Slaby
cyclades, move card entries init into function Signed-off-by: Jiri Slaby [EMAIL PROTECTED] --- commit de8850dd6c04762688b19609b13cb16a1e6399a9 tree 288721fb454613ce1d3bdd6ec10ca6e01c3059c7 parent 07df3f0fcb1cad6a274d5b7b32d65df54c3f4fb4 author Jiri Slaby [EMAIL PROTECTED] Mon, 02 Apr 2007

[PATCH 6/11] Char: cyclades, init card struct immediately

2007-04-18 Thread Jiri Slaby
cyclades, init card struct immediately Signed-off-by: Jiri Slaby [EMAIL PROTECTED] --- commit 39e37f9c0e50657a546e20c2e37f58e0f260cdf6 tree f67e112b80d616e9d2fc57f35b6e39a45bea81a7 parent de8850dd6c04762688b19609b13cb16a1e6399a9 author Jiri Slaby [EMAIL PROTECTED] Mon, 02 Apr 2007 12:47:57 +0200

[PATCH 7/11] Char: cyclades, remove some global vars

2007-04-18 Thread Jiri Slaby
cyclades, remove some global vars Signed-off-by: Jiri Slaby [EMAIL PROTECTED] --- commit b1b13ea51dcaef72c5298a04d233b92206adf978 tree a55032090e0b1c40e541685b49f8f608edf60611 parent 39e37f9c0e50657a546e20c2e37f58e0f260cdf6 author Jiri Slaby [EMAIL PROTECTED] Mon, 02 Apr 2007 12:50:04 +0200

[PATCH 8/11] Char: cyclades, cy_init error handling

2007-04-18 Thread Jiri Slaby
cyclades, cy_init error handling - do not panic if tty_register_driver fails - handle fail paths properly Signed-off-by: Jiri Slaby [EMAIL PROTECTED] --- commit 8c76c370ee1c1efa31f64807162c15922fae1e3a tree 19fe12eba568aece1d0b406a4d735f393f2cd3dd parent b1b13ea51dcaef72c5298a04d233b92206adf978

[PATCH 9/11] Char: cyclades, tty_register_device separately for each device

2007-04-18 Thread Jiri Slaby
cyclades, tty_register_device separately for each device Do not register all tty devices at the init time, delay it for the time until some device is found. Signed-off-by: Jiri Slaby [EMAIL PROTECTED] --- commit ad4f792b92f8e6350a62b61442bb6812969bfd73 tree

[PATCH 10/11] Char: cyclades, clear interrupts before releasing

2007-04-18 Thread Jiri Slaby
cyclades, clear interrupts before releasing Without this patch, the driver sometimes causes IRQXX: Nobody cares. Fix it by turning off irqs when releasing. Signed-off-by: Jiri Slaby [EMAIL PROTECTED] --- commit 0156510dee9d326af2ec52cf8b1a388ce9a839e9 tree

[PATCH 11/11] Char: cyclades, allow DEBUG_SHIRQ

2007-04-18 Thread Jiri Slaby
cyclades, allow DEBUG_SHIRQ Test if base addr is non-null in ISR to prove the card has been correctly initialized. This is needed for DEBUG_SHIRQ for example. Signed-off-by: Jiri Slaby [EMAIL PROTECTED] --- commit 71c2e9b72594f69e4e226006206ffa74b55c1642 tree

Re: [PATCH] general: convert kernel subdirectory to UTF-8

2007-04-18 Thread David Härdeman
On Wed, April 18, 2007 6:56, Dmitry Torokhov said: On Tuesday 17 April 2007 13:19, John Anthony Kazos Jr. wrote:  /* - * Samma på svenska.. + * Samma pÃ¥ svenska..  */ Translating this comment into english so more people could understand it would be better option. The comment says

Re: CPU off-on-off: lost CPU management?

2007-04-18 Thread Stefan Prechtel
Hello, I have the same problems with CPU-Hotplug. Whenever I turn off the second core and turn it back on, /proc/cpuinfo shows that the second core is on, but at a different speed. # cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 72

Re: Kaffeine problem with CFS

2007-04-18 Thread Ingo Molnar
* Christoph Pfister [EMAIL PROTECTED] wrote: It's nearly impossible for me to find out which mutex is deadlocking. i've disassembled the xine_play function, and here are the function calls in it: unresolved widget call? pthread_mutex_lock() xine_log() unresolved widget call? function

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-18 Thread Ingo Molnar
* Andy Whitcroft [EMAIL PROTECTED] wrote: as usual, any sort of feedback, bugreports, fixes and suggestions are more than welcome, Pushed this through the test.kernel.org and nothing new blew up. Notably the kernbench figures are within expectations even on the bigger numa systems,

Re: Kaffeine problem with CFS

2007-04-18 Thread Ingo Molnar
hm. I've reviewed all uses of demux_lock. ./src/xine-engine/demux.c does this: pthread_mutex_unlock( stream-demux_lock ); lprintf (sched_yield\n); sched_yield(); pthread_mutex_lock( stream-demux_lock ); why is this done? CFS has definitely changed the yield

Re: Kaffeine problem with CFS

2007-04-18 Thread Ingo Molnar
* Ingo Molnar [EMAIL PROTECTED] wrote: hm. I've reviewed all uses of demux_lock. ./src/xine-engine/demux.c does this: plus it does this too: pthread_mutex_unlock( stream-demux_lock ); xine_usec_sleep(10); pthread_mutex_lock( stream-demux_lock ); this would explain the

Re: Kaffeine problem with CFS

2007-04-18 Thread Ingo Molnar
* Ingo Molnar [EMAIL PROTECTED] wrote: hm. I've reviewed all uses of demux_lock. ./src/xine-engine/demux.c does this: plus it does this too: pthread_mutex_unlock( stream-demux_lock ); xine_usec_sleep(10); pthread_mutex_lock( stream-demux_lock ); this would

Re: Kaffeine problem with CFS

2007-04-18 Thread Ingo Molnar
* Ingo Molnar [EMAIL PROTECTED] wrote: hm. I've reviewed all uses of demux_lock. ./src/xine-engine/demux.c does this: pthread_mutex_unlock( stream-demux_lock ); lprintf (sched_yield\n); sched_yield(); pthread_mutex_lock( stream-demux_lock ); why is

Re: [PATCH] include files: convert include subdirectory to UTF-8

2007-04-18 Thread Stefan Richter
I wrote: Aren't we using ASCII for C sources? Not anymore, according to http://lkml.org/lkml/2007/4/18/94 . -- Stefan Richter -=-=-=== -=-- =--=- http://arcgraph.de/sr/ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: ZFS with Linux: An Open Plea

2007-04-18 Thread Manoj Joseph
Alan Cox wrote: The real test of whether Sun were serious about ZFS being anywhere but Solaris is what they do to license it - they've patented everything they can, and made the code available only under licenses incompatible with other OS products. Their intent is quite clear, and quite sad.

Re: floppy.ko

2007-04-18 Thread H. Peter Anvin
Gene Heskett wrote: Chuckle, see how you are? You keep quoting the 'PC', and 20 years ago the PC term included a lot of machinery that didn't always run M$ code. TRS-80 Color Computers and such, or Apple II, Commode-door etc. Bloody heck. You know very well I was using the term in the

Re: ZFS with Linux: An Open Plea

2007-04-18 Thread Alan Cox
Please do see: http://www.opensolaris.org/os/about/faq/licensing_faq/#patents Which appears to agree with everything I said not what you are claiming. The patent license is strictly tied to their implementation and its derivatives under the CDDL, so specifically acts to exclude Linux. Alan -

Re: ZFS with Linux: An Open Plea

2007-04-18 Thread Manoj Joseph
Alan Cox wrote: Please do see: http://www.opensolaris.org/os/about/faq/licensing_faq/#patents Which appears to agree with everything I said not what you are claiming. The patent license is strictly tied to their implementation and its derivatives under the CDDL, so specifically acts to

Re: [PATCH 0/4] 2.6.21-rc7 NFS writes: fix a series of issues

2007-04-18 Thread Trond Myklebust
On Tue, 2007-04-17 at 23:07 -0500, Florin Iucha wrote: When 'big-copy' hangs, if I switch to a different console and run 'lsof', '[u]mount', or use shell completion on a network mount then that process goes into D state. I cannot umount the network shares nor stop autofs. I cannot do a clean

Re: Disabling x86 System Management Mode

2007-04-18 Thread John Sigler
Andi Kleen wrote: There are usually chipset specific bits that can be set to disable SMMs. See the datasheet if you can get them. Unfortunately most chipset vendors don't give out data sheets easily. I managed to find the south bridge data sheet. http://linux.kernel.free.fr/VT82C686B.pdf

Re: [PATCH] Introduce a handy list_first_entry macro

2007-04-18 Thread Nikita Danilov
Pavel Emelianov writes: There are many places in the kernel where the construction like foo = list_entry(head-next, struct foo_struct, list); are used. The code might look more descriptive and neat if using the macro list_first_entry(head, type, member) \

Re: Loud pop coming from hard drive on reboot

2007-04-18 Thread Bodo Eggert
Tejun Heo [EMAIL PROTECTED] wrote: This really isn't a regression. It's been always like that with libata. libata doesn't make devices go into standby mode and shutdown(8) does it for libata. The problem here is that libata does issue SYNCHRONIZE_CACHE on shutdown. So, the sequence of

  1   2   3   4   5   6   7   8   >