Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-22 Thread Greg KH
On Mon, Apr 23, 2007 at 03:40:21PM +0900, Tejun Heo wrote: > Hello, Dmitry. > > Dmitry Torokhov wrote: > > Isn't think a good thing? By decoupling the 2 layers we insulate them > > from changes in each other. This allows bug subsystems to concentrate > > on topics that important to them instead of

Re: [PATCH] use spinlock instead of binary mutex in idt77252 driver

2007-04-22 Thread Matthias Kaehlcke
El Sun, Apr 22, 2007 at 07:50:36PM -0400 Kyle Moffett ha dit: > On Apr 22, 2007, at 17:39:59, Matthias Kaehlcke wrote: > >use spinlock instead of binary mutex in idt77252 driver > > I think you really meant: "Use mutex instead of binary semaphore in > idt77252 driver", since this is a binary se

Re: SLUB: kmem_cache_destroy doesn't - version 2.

2007-04-22 Thread Christoph Lameter
On Mon, 23 Apr 2007, Neil Brown wrote: > Another option might be to name each cache actually created with a > unique name, and then create a symlink for each cache that was asked > for (whether it was created or whether a pre-existing cache was used). > Then being lazy about deletion shouldn't be

Re: SLUB: kmem_cache_destroy doesn't - version 2.

2007-04-22 Thread Neil Brown
On Thursday April 19, [EMAIL PROTECTED] wrote: > > Right. Sigh. But there is no user of the symlinks. > > I could drop the symlinks completely. Just do not track what names a cache > aliases to? > Suppose I have a kmem_cache which at different times has different sizes (like, for example, the

Re: Question about Reiser4

2007-04-22 Thread William Heimbigner
On Mon, 23 Apr 2007, Rik van Riel wrote: William Heimbigner wrote: If there was 1) a maintainer and 2) code that didn't break "coding standards", would it be included in the kernel? While I cannot speak for Linus and Andrew, code that fulfills these criteria (and is useful to have - reiser

Re: [PATCH 10/10] mm: per device dirty threshold

2007-04-22 Thread Andrew Morton
On Mon, 23 Apr 2007 08:29:59 +0200 Miklos Szeredi <[EMAIL PROTECTED]> wrote: > > > What about swapout? That can increase the number of writeback pages, > > > without decreasing the number of dirty pages, no? > > > > Could we not solve that by enabling cap_account_writeback on > > swapper_space,

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-22 Thread Tejun Heo
Hello, Dmitry. Dmitry Torokhov wrote: > Isn't think a good thing? By decoupling the 2 layers we insulate them > from changes in each other. This allows bug subsystems to concentrate > on topics that important to them instead of worying about refcounting > objects that are not directly interesting

Re: [PATCH 10/10] mm: per device dirty threshold

2007-04-22 Thread Miklos Szeredi
> > > > The other deadlock, in throttle_vm_writeout() is still to be solved. > > > > > > Let's go back to the original changelog: > > > > > > Author: marcelo.tosatti > > > Date: Tue Mar 8 17:25:19 2005 + > > > > > > [PATCH] vm: pageout throttling > > > > > > With silly pageou

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

2007-04-22 Thread Vivek Goyal
On Mon, Apr 23, 2007 at 12:17:22AM -0600, Eric W. Biederman wrote: > Vivek Goyal <[EMAIL PROTECTED]> writes: > > > On Sun, Apr 22, 2007 at 11:15:48PM -0600, Eric W. Biederman wrote: > >> +++ b/arch/x86_64/Kconfig > >> @@ -565,62 +565,9 @@ config CRASH_DUMP > >>which are loaded in the m

Re: Question about Reiser4

2007-04-22 Thread Rik van Riel
William Heimbigner wrote: If there was 1) a maintainer and 2) code that didn't break "coding standards", would it be included in the kernel? While I cannot speak for Linus and Andrew, code that fulfills these criteria (and is useful to have - reiser4 seems to have enough user interest) usually

Re: [patch] CFS scheduler, -v5

2007-04-22 Thread Ingo Molnar
* Markus Trippelsdorf <[EMAIL PROTECTED]> wrote: > > The new version does not link here (amd64,smp): > > > > LD .tmp_vmlinux1 > > arch/x86_64/kernel/built-in.o:(.rodata+0x1dd8): undefined reference to > > `sys_yield_to' > > Changing sys_yield_to to sys_sched_yield_to in > include/as

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

2007-04-22 Thread Eric W. Biederman
Vivek Goyal <[EMAIL PROTECTED]> writes: > On Sun, Apr 22, 2007 at 11:15:48PM -0600, Eric W. Biederman wrote: >> +++ b/arch/x86_64/Kconfig >> @@ -565,62 +565,9 @@ config CRASH_DUMP >>which are loaded in the main kernel with kexec-tools into >>a specially reserved region and

Re: slab allocators: Remove SLAB_DEBUG_INITIAL flag

2007-04-22 Thread Christoph Lameter
On Sun, 22 Apr 2007, Andrew Morton wrote: > This patch causes a use-uninitialised crash in the locks code. Sigh. The only case in which the check is inverted in a constructor. Invert the check. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> Index: linux-2.6.21-rc6/fs/locks.c

Re: Wrong free clusters count on FAT32

2007-04-22 Thread DervishD
Hi Ogawa :) * OGAWA Hirofumi <[EMAIL PROTECTED]> dixit: > DervishD <[EMAIL PROTECTED]> writes: > >> It would add the limitation to following simple usage, > >> > >># mount -t vfat /dev/sda1 /mnt > >> # cp -a * /mnt > >> # umount > >> > >> if /dev/sda1 was the large and s

RE: [PATCH 2.6.20 7/14] CRIS architecture update - Boot

2007-04-22 Thread Mikael Starvik
Updated patch according to Sam's comments. /Mikael diff -urNP --exclude='*.cvsignore' ../linux/arch/cris/arch-v32/boot/compressed/decompress.ld linux-2.6/arch/cris/arch-v32/boot/compressed/decompress.ld --- ../linux/arch/cris/arch-v32/boot/compressed/decompress.ld 2007-02-04 19:44:54.0

Re: [PATCH 10/10] mm: per device dirty threshold

2007-04-22 Thread Peter Zijlstra
On Sat, 2007-04-21 at 22:25 +0200, Miklos Szeredi wrote: > > > The other deadlock, in throttle_vm_writeout() is still to be solved. > > > > Let's go back to the original changelog: > > > > Author: marcelo.tosatti > > Date: Tue Mar 8 17:25:19 2005 + > > > > [PATCH] vm: pageout throttl

Re: Question about Reiser4

2007-04-22 Thread Jeff Chua
On 4/23/07, William Heimbigner <[EMAIL PROTECTED]> wrote: Obviously there's a significant number of people interested in reiser4 Count me in. Jeff. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at h

Re: Question about Reiser4

2007-04-22 Thread William Heimbigner
On Mon, 23 Apr 2007, Rik van Riel wrote: William Heimbigner wrote: However, is the code really in such a shape that the community doesn't want to maintain it? Obviously there's a significant number of people interested in reiser4 - if there weren't, questions like this wouldn't keep getting

Re: [PATCH] Check for error returned by kthread_create on creating journal thread

2007-04-22 Thread Pavel Emelianov
Andrew Morton wrote: > On Mon, 16 Apr 2007 11:41:14 +0400 > Pavel Emelianov <[EMAIL PROTECTED]> wrote: > >> If the thread failed to create the subsequent wait_event >> will hang forever. >> >> This is likely to happen if kernel hits max_threads limit. >> >> Will be critical for virtualization syst

Re: slab allocators: Remove SLAB_DEBUG_INITIAL flag

2007-04-22 Thread Andrew Morton
On Fri, 20 Apr 2007 18:39:43 -0700 (PDT) Christoph Lameter <[EMAIL PROTECTED]> wrote: > I have never seen a use of SLAB_DEBUG_INITIAL. It is only supported by SLAB. > > I think its purpose was to have a callback after an object has been freed > to verify that the state is the constructor state a

Re: Question about Reiser4

2007-04-22 Thread Rik van Riel
William Heimbigner wrote: However, is the code really in such a shape that the community doesn't want to maintain it? Obviously there's a significant number of people interested in reiser4 - if there weren't, questions like this wouldn't keep getting asked. There are people interested in usi

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

2007-04-22 Thread Vivek Goyal
On Sun, Apr 22, 2007 at 11:15:48PM -0600, Eric W. Biederman wrote: > > 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 ha

[PATCH] Transparently handle <.symbol> lookup for kprobes

2007-04-22 Thread Srinivasa Ds
When data symbols are not present in kernel image, user needs to add dot(".") before function name explicitly, that he wants to probe in kprobe module on ppc64. for ex:- When data symbols are missing on ppc64, [EMAIL PROTECTED] ~]# cat /proc/kallsyms | grep do_fork c0

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 tech

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 L

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 --ba

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 */ >

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 fu

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: > ... > > - featu

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 onto

[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 b

[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 CONFIG_

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': >

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 __cache_

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: 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 orde

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 o

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 wi

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 TFF_SKIP

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 increa

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 gl

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 bus

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 m

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 busin

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 M

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 p

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

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 include/linux/usb/cdc

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 o

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,

[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. Signed-o

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

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 implem

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/ >>

[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

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 > +++ b/arch/powerpc/platforms/8xx/mpc88

Re: Question about Reiser4

2007-04-22 Thread Lee Revell
On 4/22/07, Eric Hopper <[EMAIL PROTECTED]> wrote: I'm not an LKML subscriber. Did you try searching LKML archives? Lee - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majord

Re: Wrong free clusters count on FAT32

2007-04-22 Thread OGAWA Hirofumi
DervishD <[EMAIL PROTECTED]> writes: >> It would add the limitation to following simple usage, >> >> # mount -t vfat /dev/sda1 /mnt >> # cp -a * /mnt >> # umount >> >> if /dev/sda1 was the large and slow device, "mount" will need several >> minutes to counts free clusters. I

Question about Reiser4

2007-04-22 Thread Eric Hopper
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. Is Reiser4 going to be going into the Linus kernel anytime soon? Is there somewhere I should be looking to find this out without wasting bandwidth here? I'm not an LKML sub

Re: Wrong free clusters count on FAT32

2007-04-22 Thread OGAWA Hirofumi
Bodo Eggert <[EMAIL PROTECTED]> writes: >> > - usefree is a bad name (I'd suggest recalc_free instead), >> >> Is it about nofree option? > > Yes. I think recalc_free is way more descriptive. Recalc is already default on current patch. -- OGAWA Hirofumi <[EMAIL PROTECTED]> - To unsubscribe from

Fwd: [ck] [ANNOUNCE] Staircase Deadline cpu scheduler version 0.46

2007-04-22 Thread hechacker1
From: hechacker1 <[EMAIL PROTECTED]> Date: Apr 22, 2007 6:09 PM Subject: Re: [ck] [ANNOUNCE] Staircase Deadline cpu scheduler version 0.46 To: Con Kolivas <[EMAIL PROTECTED]> First of all, thank you for your continued development of SD. I've been using RSDL v.30 since it came out with skunk-sourc

Re: [REPORT] cfs-v4 vs sd-0.44

2007-04-22 Thread Nick Piggin
On Sun, Apr 22, 2007 at 04:24:47PM -0700, Linus Torvalds wrote: > > > On Sun, 22 Apr 2007, Juliusz Chroboczek wrote: > > > > Why not do it in the X server itself? This will avoid controversial > > policy in the kernel, and have the added advantage of working with > > X servers that don't direct

Re: [patch] CFS scheduler, -v5

2007-04-22 Thread Nick Piggin
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 release mainly fixes regressions

[patch] CFS scheduler, -v5

2007-04-22 Thread Ingo Molnar
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 release mainly fixes regressions and improves interactivity: 13 files changed, 211 insertions(+), 199

Re: [PATCH] lazy freeing of memory through MADV_FREE

2007-04-22 Thread Nick Piggin
Rik van Riel wrote: Nick Piggin wrote: Rik van Riel wrote: Here are the transactions/seconds for each combination: vanilla new glibc madv_free kernel madv_free + mmap_sem threads 1 610 609 596545 2103211361196

Re: [REPORT] cfs-v4 vs sd-0.44

2007-04-22 Thread Rusty Russell
On Sun, 2007-04-22 at 09:16 -0700, Ulrich Drepper wrote: > On 4/22/07, William Lee Irwin III <[EMAIL PROTECTED]> wrote: > > On Sun, Apr 22, 2007 at 12:17:31AM -0700, Ulrich Drepper wrote: > > > For futex(), the extension is needed for the FUTEX_WAIT operation. We > > > need a new operation FUTEX_W

Re: [PATCH] use spinlock instead of binary mutex in idt77252 driver

2007-04-22 Thread Satyam Sharma
On 4/23/07, Matthias Kaehlcke <[EMAIL PROTECTED]> wrote: use spinlock instead of binary mutex in idt77252 driver Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> -- diff --git a/drivers/atm/idt77252.c b/drivers/atm/idt77252.c index b4b8014..e3cf141 100644 --- a/drivers/atm/idt77252.c +++ b

Re: [PATCH] use spinlock instead of binary mutex in idt77252 driver

2007-04-22 Thread Kyle Moffett
On Apr 22, 2007, at 17:39:59, Matthias Kaehlcke wrote: use spinlock instead of binary mutex in idt77252 driver I think you really meant: "Use mutex instead of binary semaphore in idt77252 driver", since this is a binary semaphore (not a mutex, which are always binary): - struct semap

Re: [BUG? -rc7] SMP: Just one CPU activated: P4 3GHz HT

2007-04-22 Thread Robert Hancock
Miguel Ojeda wrote: Hi all, I have a ASUS P4P800 Deluxe, P4 3GHz HT, 1GB RAM and testing -rc7 I noticed I just got 1 CPU. I checked my .config but I do not see anything bad. Also I read Documentation/smp.txt. Just for being sure this is not a bug, I'm posting it. Here you have .config and dmes

More reiserfs trouble in 2.6.21-rc5

2007-04-22 Thread Andi Kleen
FYI, This was a debugging kernel (preempt, slab debugging, lockdep etc. enabled) running autotest and some other load on a 4 core Opteron system There was also another lockdep warning before that which I'm sending separately. Looks like some memory corruption. Could be something else, but at le

Re: [PATCH] Add missing USRobotics Wireless Adapter (Model 5423) id into zd1211rw

2007-04-22 Thread Daniel Drake
S.Çağlar Onur wrote: USRobotics Wireless Adapter (Model 5423) works well with current zd1211rw driver also (i have tested 2.6.18, 2.6.20 and 2.6.21-rc7). I know -mm/and Daniel's tree has new version (i think with more features like rate estimator etc.) of this driver but maybe you should consid

reiserfs lockdep warning in 2.6.21-rc5

2007-04-22 Thread Andi Kleen
=== [ INFO: possible circular locking dependency detected ] 2.6.21-rc5-git6 #44 --- perl/7968 is trying to acquire lock: (&inode->i_mutex){--..}, at: [] reiserfs_file_release+0x109/0x2cc but

Re: Bitbanging i2c bus driver using the GPIO API

2007-04-22 Thread Jordan Crouse
On 22/04/07 11:41 -0400, [EMAIL PROTECTED] wrote: > scx200_acb doesn't detect any device that it can drive (nothing in dmesg > at all when loaded) on the sc1200. I believe the main changes that > happened to scx200_acb was adding support for the newer CS chipsets, > such as the one used with t

Re: [REPORT] cfs-v4 vs sd-0.44

2007-04-22 Thread Linus Torvalds
On Sun, 22 Apr 2007, Juliusz Chroboczek wrote: > > Why not do it in the X server itself? This will avoid controversial > policy in the kernel, and have the added advantage of working with > X servers that don't directly access hardware. It's wrong *wherever* you do it. The X server should not

BUG: Null pointer dereference (2.6.21-rc7)

2007-04-22 Thread William Heimbigner
On running "pktsetup 0 /dev/hdd", I get the following: [ 3970.461403] = [ 3970.482051] [ INFO: possible recursive locking detected ] [ 3970.498210] 2.6.21-rc7 #2 [ 3970.506062] - [ 3970.58] vol_id/8686 is

Linux 2.6.16.49

2007-04-22 Thread Adrian Bunk
Location: ftp://ftp.kernel.org/pub/linux/kernel/v2.6/ git tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.16.y.git RSS feed of the git tree: http://www.kernel.org/git/?p=linux/kernel/git/stable/linux-2.6.16.y.git;a=rss Changes since 2.6.16.48: Adrian Bunk (2): Linux

Re: [REPORT] cfs-v4 vs sd-0.44

2007-04-22 Thread Juliusz Chroboczek
> Oh I definitely was not advocating against renicing X, Why not do it in the X server itself? This will avoid controversial policy in the kernel, and have the added advantage of working with X servers that don't directly access hardware. Con, if you tell me ``if you're running under Linux and s

Re: [PATCH] [KERNEL-DOC] kill warnings when building mandocs

2007-04-22 Thread Randy Dunlap
--- ~Randy --- Original Message --- > On Thu, Apr 19, 2007 at 08:53:36AM -0700, Randy Dunlap wrote: > > On Thu, 19 Apr 2007 08:20:59 +0200 Borislav Petkov wrote: > > > > > > > > > > I'm pretty sure the reason you cannot reproduce this warning is the > > > > > line > > > > > > > > > > 1 >

Re: [PATCH] dma_declare_coherent_memory wrong allocation

2007-04-22 Thread Guennadi Liakhovetski
On Mon, 23 Apr 2007, Guennadi Liakhovetski wrote: > to also allow for size not an integer number of pages as Andrew noticed? > This could be done in 2 patches: patch 2: --- Fix bitmap allocation and size non-multiple of PAGE_SIZE in dma_declare_coherent_memory implementations. i386 compile-tes

Re: [PATCH] macintosh/therm_pm72.c: Convert to kthread API.

2007-04-22 Thread Paul Mackerras
Christoph Hellwig writes: > Why is this driver using a thread at all? It's only doing a bunch > of rather short-lived things in the thread. It's doing i2c reads and writes, which block, and are actually quite slow. Paul. - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [PATCH] dma_declare_coherent_memory wrong allocation

2007-04-22 Thread Guennadi Liakhovetski
On Sun, 22 Apr 2007, James Bottomley wrote: > On Fri, 2007-04-13 at 20:08 +0200, Guennadi Liakhovetski wrote: > > - int bitmap_size = (pages + 31)/32; > > + int bitmap_size = DIV_ROUND_UP(pages, 8); > > This isn't quite right. Bitmaps are arrays of longs, not arrays of > bytes. The bug is f

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

2007-04-22 Thread Paul Jackson
Rafael wrote: > I'll try to explain how it works. Ok - thanks. Good explanation of how it works. One more question - why would I want to do this? Is this like something that would be useful on a laptop, to suspend activity and reduce battery drain, while preserving the current state of ones ses

Re: ChunkFS - measuring cross-chunk references

2007-04-22 Thread Amit Gud
Karuna sagar K wrote: Hi, The attached code contains program to estimate the cross-chunk references for ChunkFS file system (idea from Valh). Below are the results: Nice to see some numbers! But would be really nice to know: - what the chunk size is - how the files were created or, more vagu

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

2007-04-22 Thread Andi Kleen
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 not a spinlock. Also normally some rationale is added to the

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

2007-04-22 Thread Rafael J. Wysocki
On Sunday, 22 April 2007 23:14, Paul Jackson wrote: > Rafael wrote: > > Move all of the freezer-related flags to a separate field in task_struct and > > introduce functions to operate them using set_bit() etc. > > It's getting time I learned what this freezer thing is. > > What would you suggest

Re: [PATCH] sas_scsi_host: Convert to use the kthread API

2007-04-22 Thread Eric W. Biederman
James Bottomley <[EMAIL PROTECTED]> writes: > Changelog and cc to linux-scsi, and I think it can go in ... not that it > matters; nothing ever activates this code inside libsas anyway ... Should we just remove the relevant code then? Eric - To unsubscribe from this list: send the line "unsubscri

Re: Fw: [PATCH][RFC] PCMCIA support for 8xx using platform devices

2007-04-22 Thread Arnd Bergmann
On Sunday 22 April 2007, Vitaly Bordug wrote: > This utilizes PCMCIA on mpc885ads and mpc866ads from arch/powerpc. In the > new approach, direct IMMR accesses from within drivers/ were totally > eliminated, that requires hardware_enable, hardware_disable, voltage_set > board-specific functions to b

Re: Wrong free clusters count on FAT32

2007-04-22 Thread Bodo Eggert
On Sun, 22 Apr 2007, OGAWA Hirofumi wrote: > Bodo Eggert <[EMAIL PROTECTED]> writes: > > Windows _does_ care*, it will pretend the disk to be full. > > Did you test on 2000 or XP? (e.g. write 0 to free_clusters, then > create new file.) That was back when I still used W98. > > - usefree is a ba

Re: [PATCH] sas_scsi_host: Convert to use the kthread API

2007-04-22 Thread James Bottomley
On Sun, 2007-04-22 at 20:38 +0100, Christoph Hellwig wrote: > On Thu, Apr 19, 2007 at 05:37:53PM -0700, Andrew Morton wrote: > > On Thu, 19 Apr 2007 01:58:38 -0600 > > "Eric W. Biederman" <[EMAIL PROTECTED]> wrote: > > > > > From: Eric W. Biederman <[EMAIL PROTECTED]> > > > > > > This patch modif

[PATCH] use spinlock instead of binary mutex in idt77252 driver

2007-04-22 Thread Matthias Kaehlcke
use spinlock instead of binary mutex in idt77252 driver Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> -- diff --git a/drivers/atm/idt77252.c b/drivers/atm/idt77252.c index b4b8014..e3cf141 100644 --- a/drivers/atm/idt77252.c +++ b/drivers/atm/idt77252.c @@ -2430,7 +2430,7 @@ idt77252_ope

[PATCH 1/1] Char: icom, mark __init as __devinit

2007-04-22 Thread Jiri Slaby
icom, mark __init as __devinit Two functions are called from __devinit context, but they are marked as __init. Fix this. Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]> --- commit 257f51b72348e8879e8ef397f82e1408233843c1 tree 79a82d6c884adc7b941773929c92d269a9b91679 parent 6f42cfdf174bdd2c05edf7d1

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

2007-04-22 Thread Matthias Kaehlcke
use spinlock instead of binary mutex in CDU-31A driver Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> -- diff --git a/drivers/cdrom/cdu31a.c b/drivers/cdrom/cdu31a.c index 2157c58..d3649e4 100644 --- a/drivers/cdrom/cdu31a.c +++ b/drivers/cdrom/cdu31a.c @@ -263,7 +263,7 @@ static int sony

Re: [ANNOUNCE] Staircase Deadline cpu scheduler version 0.46

2007-04-22 Thread Con Kolivas
On Monday 23 April 2007 03:58, Thomas Backlund wrote: > mån 2007-04-23 klockan 01:03 +1000 skrev Con Kolivas: > > Yet another significant bugfix for SMP balancing was just posted for the > > staircase deadline cpu scheduler which improves behaviour dramatically on > > any SMP machine. > > > > Thank

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

2007-04-22 Thread Paul Jackson
Rafael wrote: > Move all of the freezer-related flags to a separate field in task_struct and > introduce functions to operate them using set_bit() etc. It's getting time I learned what this freezer thing is. What would you suggest I read? I looked in include/linux/freezer.h and didn't see any ex

Re: [PATCH] reiserfs: fix xattr root locking/refcount bug

2007-04-22 Thread Jeff Mahoney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew Morton wrote: > On Sat, 21 Apr 2007 11:26:31 -0400 Jeff Mahoney <[EMAIL PROTECTED]> wrote: > >> The listxattr() and getxattr() operations are only protected by a read >> lock. As a result, if either of these operations run in parallel, a race

Testing framework

2007-04-22 Thread Karuna sagar K
Hi, For some time I had been working on this file system test framework. Now I have a implementation for the same and below is the explanation. Any comments are welcome. Introduction: The testing tools and benchmarks available around do not take into account the repair and recovery aspects of fi

Re: [PATCH] ia64 sn xpc: Convert to use kthread API.

2007-04-22 Thread Christoph Hellwig
On Thu, Apr 19, 2007 at 01:58:44AM -0600, Eric W. Biederman wrote: > From: Eric W. Biederman <[EMAIL PROTECTED]> > > This patch starts the xpc kernel threads using kthread_run > not a combination of kernel_thread and daemonize. Resuling > in slightly simpler and more maintainable code. This driv

ChunkFS - measuring cross-chunk references

2007-04-22 Thread Karuna sagar K
Hi, The attached code contains program to estimate the cross-chunk references for ChunkFS file system (idea from Valh). Below are the results: test on ext3, / partition-1 on 27 March 2007 Number of files = 217806 Number of directories = 24295 Total size = 8193116 KB Total data stored = 7557892 K

Re: [PATCH] arm ecard: Conver to use the kthread API.

2007-04-22 Thread Christoph Hellwig
On Thu, Apr 19, 2007 at 01:58:43AM -0600, Eric W. Biederman wrote: > From: Eric W. Biederman <[EMAIL PROTECTED]> > > This patch modifies the startup of kecardd to use > kthread_run not a kernel_thread combination of kernel_thread > and daemonize. Making the code slightly simpler and more > mainta

Re: [PATCH] s390/scsi/zfcp_erp: Convert to use the kthread API

2007-04-22 Thread Christoph Hellwig
On Thu, Apr 19, 2007 at 01:58:42AM -0600, Eric W. Biederman wrote: > From: Eric W. Biederman <[EMAIL PROTECTED]> > > Modify zfcperp%s to be started with kthread_run not > a combination of kernel_thread, daemonize and siginitsetinv > making the code slightly simpler and more maintainable. This dri

  1   2   3   >