Re: [PATCH][RFC][POWERPC] i2c: adds support for i2c bus on 8xx

2007-04-22 Thread Olof Johansson
On Fri, Apr 20, 2007 at 08:27:14AM +0400, Vitaly Bordug wrote: diff --git a/arch/powerpc/platforms/8xx/mpc885ads_setup.c b/arch/powerpc/platforms/8xx/mpc885ads_setup.c index 9bd81c7..d32e066 100644 --- a/arch/powerpc/platforms/8xx/mpc885ads_setup.c +++

Re: [patch] CFS scheduler, -v5

2007-04-22 Thread Gene Heskett
On Sunday 22 April 2007, Nick Piggin wrote: On Mon, Apr 23, 2007 at 03:12:29AM +0200, Ingo Molnar wrote: i'm pleased to announce release -v5 of the CFS scheduler patchset. The patch against v2.6.21-rc7 and v2.6.20.7 can be downloaded from: http://redhat.com/~mingo/cfs-scheduler/ this CFS

[report] renicing X, cfs-v5 vs sd-0.46

2007-04-22 Thread Ingo Molnar
* Linus Torvalds [EMAIL PROTECTED] wrote: The X server should not be re-niced. It was done in the past, and it was wrogn then (and caused problems - we had to tell people to undo it, because some distros had started doing it by default). If you have a single client, the X server is *not*

Re: [patch] CFS scheduler, -v5

2007-04-22 Thread Ingo Molnar
* Nick Piggin [EMAIL PROTECTED] wrote: the biggest user-visible change in -v5 are various interactivity improvements (especially under higher load) to fix reported regressions, and an improved way of handling nice levels. There's also a new sys_sched_yield_to() syscall implementation

Re: [patch] CFS scheduler, -v5

2007-04-22 Thread Ingo Molnar
* Gene Heskett [EMAIL PROTECTED] wrote: I haven't approached that yet, but I just noticed, having been booted to this for all of 5 minutes, that although I told it not to renice x when my script ran 'make oldconfig', and I answered n, but there it is, sitting at -19 according to htop.

[PATCH] kthread: Spontaneous exit support

2007-04-22 Thread Eric W. Biederman
This patch implements the kthread helper functions kthread_start and kthread_end which make it simple to support a kernel thread that may decided to exit on it's own before we request it to. It is still assumed that eventually we will get around to requesting that the kernel thread stop.

SATA errors/messages after upgrade to 2.6.20.7

2007-04-22 Thread alex=lists-linux-kernel
It is a Samsung HD501LJ SATA drive connected to 631xESB/632xESB controller. Reading and writing every block of the drive does not generate any other errors/failures. This is observed in 2.6.20.7 like a clockwork on any badblocks -v run or rebuild of a MD raid1 array onto the disk. It, however,

Re: [RFC][PATCH -mm 2/3] freezer: Introduce freezer_flags

2007-04-22 Thread Satyam Sharma
On 4/23/07, Paul Jackson [EMAIL PROTECTED] wrote: One more question - why would I want to do this? Check out the FAQ in Documentation/power/swsusp.txt. Is this like something that would be useful on a laptop, to suspend activity and reduce battery drain, while preserving the current state of

Re: [patch] CFS scheduler, -v5 (build problem - make headers_check fails)

2007-04-22 Thread Zach Carter
Ingo Molnar wrote: i'm pleased to announce release -v5 of the CFS scheduler patchset. The patch against v2.6.21-rc7 and v2.6.20.7 can be downloaded from: FYI, make headers_check seems to fail on this: [EMAIL PROTECTED] linux-2.6]$ make headers_check [snip] CHECK

Re: [patch] CFS scheduler, -v5

2007-04-22 Thread Nick Piggin
On Mon, Apr 23, 2007 at 04:55:53AM +0200, Ingo Molnar wrote: * Nick Piggin [EMAIL PROTECTED] wrote: the biggest user-visible change in -v5 are various interactivity improvements (especially under higher load) to fix reported regressions, and an improved way of handling nice levels.

Re: [patch] CFS scheduler, -v5

2007-04-22 Thread Ingo Molnar
* Nick Piggin [EMAIL PROTECTED] wrote: note that CFS's granularity value is not directly comparable to timeslice length: Right, but it does introduce the kbuild regression, [...] Note that i increased the granularity from 1msec to 5msecs after your kbuild report, could you perhaps

Re: [PATCH] lazy freeing of memory through MADV_FREE

2007-04-22 Thread Rik van Riel
Nick Piggin wrote: Rik van Riel wrote: Nick Piggin wrote: Rik van Riel wrote: Here are the transactions/seconds for each combination: I've added a 5th column, with just your mmap_sem patch and without my madv_free patch. It is run with the glibc patch, which should make it fall back to

Re: Question about Reiser4

2007-04-22 Thread Rik van Riel
Eric Hopper wrote: I know that this whole effort has been put in disarray by the prosecution of Hans Reiser, but I'm curious as to its status. It was in disarray well before. Many of the reiser4 features, like filesystem plugins, make more technical sense in the Linux VFS, but made more

Re: [PATCH] lazy freeing of memory through MADV_FREE

2007-04-22 Thread Rik van Riel
Rik van Riel wrote: Nick Piggin wrote: Rik van Riel wrote: Nick Piggin wrote: Rik van Riel wrote: Here are the transactions/seconds for each combination: I've added a 5th column, with just your mmap_sem patch and without my madv_free patch. It is run with the glibc patch, which should

Re: Question about Reiser4

2007-04-22 Thread William Heimbigner
Eric Hopper wrote: I know that this whole effort has been put in disarray by the prosecution of Hans Reiser, but I'm curious as to its status. It was in disarray well before. Many of the reiser4 features, like filesystem plugins, make more technical sense in the Linux VFS, but made more

Re: [PATCH] lazy freeing of memory through MADV_FREE

2007-04-22 Thread Nick Piggin
Rik van Riel wrote: I've added a 5th column, with just your mmap_sem patch and without my madv_free patch. It is run with the glibc patch, which should make it fall back to MADV_DONTNEED after the first MADV_FREE call fails. Thanks! (I edited slightly so it doesn't wrap) vanilla new

Re: [patch] CFS scheduler, -v5

2007-04-22 Thread Nick Piggin
On Mon, Apr 23, 2007 at 05:43:10AM +0200, Ingo Molnar wrote: * Nick Piggin [EMAIL PROTECTED] wrote: note that CFS's granularity value is not directly comparable to timeslice length: Right, but it does introduce the kbuild regression, [...] Note that i increased the granularity

Re: [RFC][PATCH -mm 2/3] freezer: Introduce freezer_flags

2007-04-22 Thread Satyam Sharma
Hi Rafael, +/* + * Per task flags used by the freezer + * + * They should not be referred to directly outside of this file. + */ +#define TFF_NOFREEZE 0 /* task should not be frozen */ +#define TFF_FREEZE 8 /* task should go to the refrigerator ASAP */ +#define

RE: How to make mmap'ed kernel buffer non-cacheable

2007-04-22 Thread Bhuvan Kumar MITTAL
Hi Alan, I believe that dma_alloc_coherent will mark the kernel buffer as uncached at alocation time. But that is not my intention. I have mapped some user space memory to the kernel buffer and I wish to ensure that the contents of both are coherent and correctly ordered. In other words I

Re: [PATCH] lazy freeing of memory through MADV_FREE

2007-04-22 Thread Rik van Riel
Nick Piggin wrote: So where is the down_write coming from in this workload, I wonder? Heap management? What syscalls? Trying to answer this question, I straced the mysql threads that showed up in top when running a single threaded sysbench workload. There were no mmap, munmap, brk, mprotect

Re: How to make mmap'ed kernel buffer non-cacheable

2007-04-22 Thread Nick Piggin
Bhuvan Kumar MITTAL wrote: Hi Alan, I believe that dma_alloc_coherent will mark the kernel buffer as uncached at alocation time. But that is not my intention. I have mapped some user space memory to the kernel buffer and I wish to ensure that the contents of both are coherent and correctly

Re: [PATCH] lazy freeing of memory through MADV_FREE

2007-04-22 Thread Nick Piggin
Jakub Jelinek wrote: On Fri, Apr 20, 2007 at 07:52:44PM -0400, Rik van Riel wrote: It turns out that Nick's patch does not improve peak performance much, but it does prevent the decline when running with 16 threads on my quad core CPU! We _definately_ want both patches, there's a huge benefit

Re: [PATCH] fault injection: fix failslab with CONFIG_NUMA

2007-04-22 Thread Pekka J Enberg
On Sun, 22 Apr 2007, Akinobu Mita wrote: Currently failslab injects failures into cache_alloc(). But with enabling CONFIG_NUMA it's not enough to let actual slab allocator functions (kmalloc, kmem_cache_alloc, ...) return NULL. This patch moves fault injection hook inside of

Re: [PATCH] x86: Fix potential overflow in perfctr reservation

2007-04-22 Thread YOSHIFUJI Hideaki / 吉藤英明
Hello. In article [EMAIL PROTECTED] (at Sun, 22 Apr 2007 01:09:17 -0700), Andrew Morton [EMAIL PROTECTED] says: [PATCH] x86: Fix potential overflow in perfctr reservation : The created a warning storm: arch/i386/kernel/nmi.c: In function 'avail_to_resrv_perfctr_nmi_bit':

[PATCH 1/2] x86_64: Reflect the relocatability of the kernel in the ELF header.

2007-04-22 Thread Eric W. Biederman
Currently because vmlinux does not reflect that the kernel is relocatable we still have to support CONFIG_PHYSICAL_START. So this patch adds a small c program to do what we cannot do with a linker script, set the elf header type to ET_DYN. This should remove the last obstacle to removing

[PATCH 2/2] x86_64: Remove CONFIG_PHYSICAL_START and CONFIG_RELOCATABLE

2007-04-22 Thread Eric W. Biederman
Now that the vmlinux is marked as relocatable there is no reason to retain the CONFIG_PHYSICAL_START option, as we can put the binary we have at any 2MB aligned address in memory. With CONFIG_PHYSICAL_START gone the handful of code lines that depend on CONFIG_RELOCATABLE no longer make sense to

Re: SATA errors/messages after upgrade to 2.6.20.7

2007-04-22 Thread Jeff Garzik
[EMAIL PROTECTED] wrote: It is a Samsung HD501LJ SATA drive connected to 631xESB/632xESB controller. Reading and writing every block of the drive does not generate any other errors/failures. This is observed in 2.6.20.7 like a clockwork on any badblocks -v run or rebuild of a MD raid1 array

Re: [patch] CFS scheduler, -v5

2007-04-22 Thread Markus Trippelsdorf
On Mon, Apr 23, 2007 at 07:16:59AM +0200, Markus Trippelsdorf wrote: On Mon, Apr 23, 2007 at 03:12:29AM +0200, Ingo Molnar wrote: i'm pleased to announce release -v5 of the CFS scheduler patchset. The patch against v2.6.21-rc7 and v2.6.20.7 can be downloaded from: ... - feature: add

Re: [patch] CFS scheduler, -v5

2007-04-22 Thread Markus Trippelsdorf
On Mon, Apr 23, 2007 at 03:12:29AM +0200, Ingo Molnar wrote: i'm pleased to announce release -v5 of the CFS scheduler patchset. The patch against v2.6.21-rc7 and v2.6.20.7 can be downloaded from: ... - feature: add initial sys_sched_yield_to() implementation. Not hooked into the futex

Re: [PATCH] use spinlock instead of binary mutex in CDU-31A driver

2007-04-22 Thread Matthias Kaehlcke
El Mon, Apr 23, 2007 at 01:25:58AM +0200 Andi Kleen ha dit: Matthias Kaehlcke [EMAIL PROTECTED] writes: -static DECLARE_MUTEX(sony_sem);/* Semaphore for drive hardware access */ +static DEFINE_MUTEX(sony_mtx); /* Mutex for drive hardware access */ That's

Re: regression with gammu on 2.6.21-rc7

2007-04-22 Thread Greg KH
On Fri, Apr 20, 2007 at 10:58:53AM +0200, Wolfgang Erig wrote: Hello, I have a regression with 2.6.21-rc7-g80d74d51. The utility gammu to talk to my mobile does not work anymore. With 2.6.20 gammu runs fine. Distribution is the latest Debian/testing Wolfgang $ gammu --backup backup

Re: Question about Reiser4

2007-04-22 Thread Rik van Riel
William Heimbigner wrote: Eric Hopper wrote: I know that this whole effort has been put in disarray by the prosecution of Hans Reiser, but I'm curious as to its status. It was in disarray well before. Many of the reiser4 features, like filesystem plugins, make more technical sense in the

Re: Question about Reiser4

2007-04-22 Thread William Heimbigner
William Heimbigner wrote: Eric Hopper wrote: I know that this whole effort has been put in disarray by the prosecution of Hans Reiser, but I'm curious as to its status. It was in disarray well before. Many of the reiser4 features, like filesystem plugins, make more technical

<    1   2   3   4   5   6