Re: kernel BUG at net/core/skbuff.c in linux-2.6.21-rc6

2007-04-19 Thread Bartek
Your fix is probably needed too. However, I think the issue that Patrick was trying to fix is the case where p[0] != PPP_ALLSTATIONS and therefore we'd still have a problem there. I tested Paul's patch for last few days and I think everything seems ok. The system is stable. Regards Bartek - To

Wrong free clusters count on FAT32

2007-04-19 Thread DervishD
Hi all :) I have a portable device with a FAT32 formatted hard disk in it, and everytime I delete a file in the device *using the device itself to do it* the device increases its count of free space and if I plug the device in a Windows system, Windows agrees on the free space. Linux doesn

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

2007-04-19 Thread Ingo Molnar
* Willy Tarreau <[EMAIL PROTECTED]> wrote: > Good idea. The machine I'm typing from now has 1000 scheddos running > at +19, and 12 gears at nice 0. [...] > From time to time, one of the 12 aligned gears will quickly perform a > full quarter of round while others slowly turn by a few degrees. I

Re: [PATCH] ipv4/ipvs: Convert to kthread API

2007-04-19 Thread Simon Horman
On Thu, Apr 19, 2007 at 01:58:57AM -0600, Eric W. Biederman wrote: > From: Eric W. Biederman <[EMAIL PROTECTED]> > > Modify startup of ipvs sync threads to use kthread_run > instead of a weird combination of calling kernel_thread > to start a fork_sync_thread whose hole purpose in life was > to ca

Re: [Suspend2-devel] Re: CFS and suspend2: hang in atomic copy

2007-04-19 Thread Nigel Cunningham
Hi Ingo. On Thu, 2007-04-19 at 09:04 +0200, Ingo Molnar wrote: > * Nigel Cunningham <[EMAIL PROTECTED]> wrote: > > > From subsequent emails, I think you already got your answer, but just > > in case... > > > > Yes, if you enabled "Replace swsusp by default" and you already had it > > set up fo

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

2007-04-19 Thread Miklos Szeredi
> Checking the permissions on the mountpoint to allow unmounting is > > - rather inelegant: user can't see those permissions, can only > determine if umount is allowed by trial and error > > - may be a security hole, e.g.: > > sysadmin: > > mkdir -m 777 /mnt/disk >

Re: Performance degradation with FFSB between 2.6.20 and 2.6.21-rc7

2007-04-19 Thread Jens Axboe
On Wed, Apr 18 2007, Valerie Clement wrote: > > Running benchmark tests (FFSB) on an ext4 filesystem, I noticed a > performance degradation (about 15-20 percent) in sequential write tests > between 2.6.19-rc6 and 2.6.21-rc4 kernels. > > I ran the same tests on ext3 and XFS filesystems and I saw

Re: Performance degradation with FFSB between 2.6.20 and 2.6.21-rc7

2007-04-19 Thread Valerie Clement
Andrew Morton wrote: It could be due to I/O scheduler changes. Which one are you using? CFQ? Or it could be that there has been some changed behaviour at the VFS/pagecache layer: the VFS might be submitting little hunks of lots of files, rather than large hunks of few files. Or it could be a

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

2007-04-19 Thread Jiri Bohac
Hi, is there any reason to use an explicit int instead of a typeof in the abs() macro? The current implementation will return bogus results when used with longs. How about changing the int to a typeof like this?: Fix the abs() macro to work with wider types than int. Signed-off-by: Jiri Boh

Re: Announce - Staircase Deadline cpu scheduler v0.42

2007-04-19 Thread Con Kolivas
On Thursday 19 April 2007 13:22, Nick Piggin wrote: > On Thu, Apr 19, 2007 at 12:12:14PM +1000, Con Kolivas wrote: > > Version 0.42 > > > > http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc7-sd-0.42.patch > > OK, I run some tests later today... Thank you very much. -- -ck - To unsubscr

[PATCH -mm] Taskstats fix getdelays usage information

2007-04-19 Thread Balbir Singh
Add usage to getdelays.c. This patch was originally posted by Randy Dunlap http://lkml.org/lkml/2007/3/19/168 Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> Signed-off-by: <[EMAIL PROTECTED]> --- Documentation/accounting/getdelays.c | 14 -- 1 file changed, 12 insertions(+), 2 d

[PATCH] lockdep: lookup_chain_cache comment errata

2007-04-19 Thread Jarek Poplawski
[PATCH] lockdep: lookup_chain_cache comment errata Signed-off-by: Jarek Poplawski <[EMAIL PROTECTED]> --- diff -Nurp 2.6.21-rc7-/kernel/lockdep.c 2.6.21-rc7/kernel/lockdep.c --- 2.6.21-rc7-/kernel/lockdep.c2007-04-18 10:14:06.0 +0200 +++ 2.6.21-rc7/kernel/lockdep.c 2007-04-19 11:

Re: [PATCH] lockdep: lookup_chain_cache comment errata

2007-04-19 Thread Ingo Molnar
* Jarek Poplawski <[EMAIL PROTECTED]> wrote: > [PATCH] lockdep: lookup_chain_cache comment errata > > Signed-off-by: Jarek Poplawski <[EMAIL PROTECTED]> thanks, Acked-by: Ingo Molnar <[EMAIL PROTECTED]> Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: CFS and suspend2: hang in atomic copy (was: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS])

2007-04-19 Thread Esben Nielsen
On Wed, 18 Apr 2007, Ingo Molnar wrote: * Christian Hesse <[EMAIL PROTECTED]> wrote: Hi Ingo and all, On Friday 13 April 2007, Ingo Molnar wrote: as usual, any sort of feedback, bugreports, fixes and suggestions are more than welcome, I just gave CFS a try on my system. From a user's po

Re: Performance degradation with FFSB between 2.6.20 and 2.6.21-rc7

2007-04-19 Thread Valerie Clement
Jens Axboe wrote: Please tell me how you are running ffsb, and also please include a dmessg from a booted system. Hi, our mails crossed! please see my response to Andrew. You could reproduce the problem with dd command as suggested, it's more easy. I'm sending you the dmesg info. For my tests

[KJ][PATCH]SPIN_LOCK_UNLOCKED cleanup in arch/mips

2007-04-19 Thread Milind Arun Choudhary
SPIN_LOCK_UNLOCKED cleanup,use DEFINE_SPINLOCK instead Signed-off-by: Milind Arun Choudhary <[EMAIL PROTECTED]> --- excite_setup.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/basler/excite/excite_setup.c b/arch/mips/basler/excite/excite_setup.c index 42f0ed

Re: [PATCH] fs/afs: Convert to kthread API.

2007-04-19 Thread David Howells
Eric W. Biederman <[EMAIL PROTECTED]> wrote: > This patch modifies the startup of kafscmd, kafsasyncd, and kafstimod > to use kthread_run instead of a combination of kernel_thread and > daemonize making the code slightly simpler and more maintainable. Please drop this patch for the moment as I ha

Re: [PATCH] net/rxrpc: Convert to kthread API.

2007-04-19 Thread David Howells
Eric W. Biederman <[EMAIL PROTECTED]> wrote: > This patch modifies the startup of krxtimod, krxiod, and krxsecd > to use kthread_run instead of a combination of kernel_thread > and daemonize making the code slightly simpler and more maintainable. Again, please drop in favour of my RxRPC patches.

Re: [PATCH] CONFIG_PACKET_MMAP should depend on MMU

2007-04-19 Thread David Howells
Aubrey Li <[EMAIL PROTECTED]> wrote: > Yes, it's reasonable for me, as long as your > host IP is 192.168.2.128 > and > target IP is 192.168.2.141 That is correct, yes:-) I expect it's an NFS packet as my board is using an NFS root at the moment. David - To unsubscribe from this

[PATCH] use mutex instead of binary semaphore in FORE Systems 200E-series driver for ATM

2007-04-19 Thread Matthias Kaehlcke
use mutex instead of binary semaphore in FORE Systems 200E-series driver for ATM Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> --- diff --git a/drivers/atm/fore200e.c b/drivers/atm/fore200e.c index a7c0ed3..7ab827d 100644 --- a/drivers/atm/fore200e.c +++ b/drivers/atm/fore200e.c @@ -1502,

Re: CFS and suspend2: hang in atomic copy (was: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS])

2007-04-19 Thread Ingo Molnar
* Esben Nielsen <[EMAIL PROTECTED]> wrote: > >+/* > >+ * Temporarily insert at the last position of the tree: > >+ */ > >+p->fair_key = LLONG_MAX; > >+__enqueue_task_fair(rq, p); > > p->on_rq = 1; > >+ > >+/* > >+ * Update the key to the real value, so that when al

Re: CFS and suspend2: hang in atomic copy (was: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS])

2007-04-19 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > > I think a better approach would be to keep track of the rightmost > > entry, set the key to the rightmost's key +1 and then simply insert > > it there. > > yeah. I had that implemented at a stage but was trying to be too > clever for my own good ;-

Re: Announce - Staircase Deadline cpu scheduler v0.42

2007-04-19 Thread Nick Piggin
On Thu, Apr 19, 2007 at 07:40:04PM +1000, Con Kolivas wrote: > On Thursday 19 April 2007 13:22, Nick Piggin wrote: > > On Thu, Apr 19, 2007 at 12:12:14PM +1000, Con Kolivas wrote: > > > Version 0.42 > > > > > > http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc7-sd-0.42.patch > > > > OK, I

Re: Wrong free clusters count on FAT32

2007-04-19 Thread Boaz Harrosh
DervishD wrote: > Hi all :) > > I have a portable device with a FAT32 formatted hard disk in it, and > everytime I delete a file in the device *using the device itself to do > it* the device increases its count of free space and if I plug the > device in a Windows system, Windows agrees on

Re: NETDEV WATCHDOG, tulip, 2.6.18

2007-04-19 Thread Tomasz Chmielewski
> I also have recurrent problems with > NETDEV WATCHDOG: eth0: transmit timed out I remember having it with some older kernels on Fujitsu-Siemens Scenic machines. If you search the list, you'll find several similar reports about the tulip driver (NETDEV WATCHDOG: eth0: transmit timed out).

Re: CFS and suspend2: hang in atomic copy

2007-04-19 Thread Bob Picco
Ingo Molnar wrote: [Thu Apr 19 2007, 02:29:36AM EDT] > > * Bob Picco <[EMAIL PROTECTED]> wrote: > > > I had hoped to collect more data with CFS V2. It crashes in > > scale_nice_down for s2ram when attempting to disable_nonboot_cpus. So > > part of traceback looks like (typed by hand with o

[KJ][PATCH]SPIN_LOCK_UNLOCKED cleanup in drivers/serial

2007-04-19 Thread Milind Arun Choudhary
SPIN_LOCK_UNLOCKED cleanup,use __SPIN_LOCK_UNLOCKED instead Signed-off-by: Milind Arun Choudhary <[EMAIL PROTECTED]> --- cpm_uart/cpm_uart_core.c | 12 ++-- s3c2410.c|6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/serial/cpm_uart/c

[KJ][PATCH]SPIN_LOCK_UNLOCKED cleanup in drivers/char/keyboard

2007-04-19 Thread Milind Arun Choudhary
SPIN_LOCK_UNLOCKED cleanup,use __SPIN_LOCK_UNLOCKED instead Signed-off-by: Milind Arun Choudhary <[EMAIL PROTECTED]> --- keyboard.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/keyboard.c b/drivers/char/keyboard.c index cb8d691..df9bfc1 100644 --- a/drive

[PATCH] lockdep: removed unused ip argument in mark_lock & mark_held_locks

2007-04-19 Thread Jarek Poplawski
It looks like a remainder from designing... (or I miss something?) PS: patched on 2.6.21-rc7 + today's lookup_chain_cache comment errata Signed-off-by: Jarek Poplawski <[EMAIL PROTECTED]> --- diff -Nurp 2.6.21-rc7-/kernel/lockdep.c 2.6.21-rc7/kernel/lockdep.c --- 2.6.21-rc7-/kernel/lockdep.c

Re: How to structure an SPI UART driver?

2007-04-19 Thread dmitry pervushin
On Чтв, 2007-04-19 at 17:45 +1000, Zik Saleeba wrote: > I'm looking for a little advice on writing a driver for the Phillips > sc16is752 SPI UART chip. I've written drivers before but I'm having a > problem with this one. Since this driver is both an SPI driver and a > UART driver I'm unclear on wh

Re: Announce - Staircase Deadline cpu scheduler v0.42

2007-04-19 Thread Con Kolivas
On Thursday 19 April 2007 20:22, Nick Piggin wrote: > On Thu, Apr 19, 2007 at 07:40:04PM +1000, Con Kolivas wrote: > > On Thursday 19 April 2007 13:22, Nick Piggin wrote: > > > On Thu, Apr 19, 2007 at 12:12:14PM +1000, Con Kolivas wrote: > > > > Version 0.42 > > > > > > > > http://ck.kolivas.org/pa

Re: kernel BUG at net/core/skbuff.c in linux-2.6.21-rc6

2007-04-19 Thread Herbert Xu
Herbert Xu <[EMAIL PROTECTED]> wrote: > > Paul Mackerras <[EMAIL PROTECTED]> wrote: >> >> So this doesn't change process_input_packet(), which treats the case >> where the first byte is 0xff (PPP_ALLSTATIONS) but the second byte is >> 0x03 (PPP_UI) as indicating a packet with a PPP protocol numbe

[KJ][PATCH] sound: SPIN_LOCK_UNLOCKED cleanup

2007-04-19 Thread Milind Arun Choudhary
SPIN_LOCK_UNLOCKED cleanup,use __SPIN_LOCK_UNLOCKED instead Signed-off-by: Milind Arun Choudhary <[EMAIL PROTECTED]> --- soc/at91/at91-i2s.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/at91/at91-i2s.c b/sound/soc/at91/at91-i2s.c index 9fc0c0

Renice X for cpu schedulers

2007-04-19 Thread Con Kolivas
Ok, there are 3 known schedulers currently being "promoted" as solid replacements for the mainline scheduler which address most of the issues with mainline (and about 10 other ones not currently being promoted). The main way they do this is through attempting to maintain solid fairness. There is

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

2007-04-19 Thread Jes Sorensen
Russ, Robin, Any objections to this patch? Eric, please send such patches to the appropriate list, it's in ia64 file after all. Thanks, Jes --- Begin Message --- From: Eric W. Biederman <[EMAIL PROTECTED]> This patch starts the xpc kernel threads using kthread_run not a combination of kernel_

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

2007-04-19 Thread Peter Williams
William Lee Irwin III wrote: * Andrew Morton <[EMAIL PROTECTED]> wrote: Yes, there are potential compatibility problems. Example: a machine with 100 busy httpd processes and suddenly a big gzip starts up from console or cron. [...] On Thu, Apr 19, 2007 at 08:38:10AM +0200, Ingo Molnar wrote:

Re: Wrong free clusters count on FAT32

2007-04-19 Thread Juergen Beisert
On Thursday 19 April 2007 10:57, DervishD wrote: > I have a portable device with a FAT32 formatted hard disk in it, and > everytime I delete a file in the device *using the device itself to do > it* the device increases its count of free space and if I plug the > device in a Windows system, Win

Dropping CONFIG_REORDER on x86-64 for 2.6.22

2007-04-19 Thread Andi Kleen
Hallo, I'm thinking about dropping the x86-64 CONFIG_REORDER for 2.6.22. The function enabled -ffunction-sections and then tries to reorder the executable While that's in theory a worthy goal to save TLB/icache, in practice it didn't really work out. Rationale: - It cannot be enabled in norma

[KJ][PATCH]SPIN_LOCK_UNLOCKED cleanup in drivers/atm, net

2007-04-19 Thread Milind Arun Choudhary
SPIN_LOCK_UNLOCKED cleanup,use __SPIN_LOCK_UNLOCKED instead Signed-off-by: Milind Arun Choudhary <[EMAIL PROTECTED]> --- drivers/atm/atmtcp.c |2 +- net/atm/clip.c |2 +- net/atm/lec.c|2 +- net/atm/mpc.c|2 +- net/atm/signaling.c |2 +- net/dccp/minis

Re: Performance degradation with FFSB between 2.6.20 and 2.6.21-rc7

2007-04-19 Thread Jens Axboe
On Thu, Apr 19 2007, Valerie Clement wrote: > Jens Axboe wrote: > >Please tell me how you are running ffsb, and also please include a > >dmessg from a booted system. > > > Hi, > our mails crossed! please see my response to Andrew. > You could reproduce the problem with dd command as suggested, it's

[RFC 0/2] Fix Freezer related races.

2007-04-19 Thread Gautham R Shenoy
Hello Everyone, Oleg had pointed out some subtle races which could lead to the failure of the process freezer in the patchset which I had posted earlier. A couple of these problems seem to be present in the latest -mm(2.6.21-rc6-mm1). This is an attempt to fix them. Awaiting you feedback, Rega

[RFC PATCH 1/2] Fix PF_NOFREEZE and freezeable race

2007-04-19 Thread Gautham R Shenoy
This patch fixes the race pointed out by Oleg Nesterov. * Freezer marks a thread as freezeable. * The thread now marks itself PF_NOFREEZE causing it to freeze on calling try_to_freeze(). Thus the task is frozen, even though it doesn't want to. * Subsequent thaw_processes() will also fail to t

Re: 2.6.21-rc5 from fc7-rc2 problems

2007-04-19 Thread Stephen Clark
Alan Cox wrote: scsi0 : pata_ali PM: Adding info for No Bus:host0 ata1.00: ATA-5: HITACHI_DK23CA-20, 00H1A0A3, max UDMA/100 < drive can do 100 ata1.00: 39070080 sectors, multi 16: LBA ata1.00: configured for UDMA/33<=== configured as 33 How is this system act

[RFC PATCH(experimental) 2/2] Fix freezer-kthread_stop race

2007-04-19 Thread Gautham R Shenoy
Threads which wait for completion on a frozen thread might result in causing the freezer to fail, if the waiting thread is freezeable. There are some well known cases where it's preferable to temporarily thaw the frozen process, finish the wait for completion and allow both the processes to call

Re: 2.6.21-rc5 from fc7-rc2 problems

2007-04-19 Thread Stephen Clark
Len Brown wrote: On Wednesday 18 April 2007 16:23, Jeff Garzik wrote: Len Brown wrote: < Linux version 2.6.20-1.2933.fc6 < ([EMAIL PROTECTED]) (gcc version 4.1.1 20070105 < (Red Hat 4.1.1-51)) #1 SMP Mon Mar 19 11:38:26 EDT 2007 --- Linux version 2.6.20-1.3023.fc7 ([EMAIL PROTE

Re: 2.6.21-rc5 from fc7-rc2 problems

2007-04-19 Thread Alan Cox
> This is a laptop with both the cd and hardrive connected directly to the > mainboard. The key is > they both work correctly under 2.6.20. 2.6.20 with the old IDE drivers or the new ones ? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAI

[KJ][PATCH]SPIN_LOCK_UNLOCKED cleanup in init_task.h

2007-04-19 Thread Milind Arun Choudhary
SPIN_LOCK_UNLOCKED cleanup,use __SPIN_LOCK_UNLOCKED instead Signed-off-by: Milind Arun Choudhary <[EMAIL PROTECTED]> --- init_task.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/init_task.h b/include/linux/init_task.h index a2d95ff..7951023 100644 --- a/i

[PATCH] Don't force frame pointers for lockdep on MIPS

2007-04-19 Thread Franck Bui-Huu
From: Franck Bui-Huu <[EMAIL PROTECTED]> Stacktrace support on MIPS doesn't use frame pointers. Since this option considerably increases the size of the kernel code, force lockdep to not use it. Signed-off-by: Franck Bui-Huu <[EMAIL PROTECTED]> --- lib/Kconfig.debug |2 +- 1 files changed, 1

Re: Performance degradation with FFSB between 2.6.20 and 2.6.21-rc7

2007-04-19 Thread Jens Axboe
On Thu, Apr 19 2007, Jens Axboe wrote: > On Thu, Apr 19 2007, Valerie Clement wrote: > > Jens Axboe wrote: > > >Please tell me how you are running ffsb, and also please include a > > >dmessg from a booted system. > > > > > Hi, > > our mails crossed! please see my response to Andrew. > > You could r

Re: dio_get_page() lockdep complaints

2007-04-19 Thread Vladimir V. Saveliev
Hello On Thursday 19 April 2007 12:34, Jens Axboe wrote: > On Thu, Apr 19 2007, Andrew Morton wrote: > > On Thu, 19 Apr 2007 10:01:57 +0200 Jens Axboe <[EMAIL PROTECTED]> wrote: > > > > > On Thu, Apr 19 2007, Andrew Morton wrote: > > > > On Thu, 19 Apr 2007 09:38:30 +0200 Jens Axboe <[EMAIL PROTE

Re: Performance degradation with FFSB between 2.6.20 and 2.6.21-rc7

2007-04-19 Thread Valerie Clement
Jens Axboe wrote: On Thu, Apr 19 2007, Valerie Clement wrote: Jens Axboe wrote: Please tell me how you are running ffsb, and also please include a dmessg from a booted system. Hi, our mails crossed! please see my response to Andrew. You could reproduce the problem with dd command as suggested

Re: Performance degradation with FFSB between 2.6.20 and 2.6.21-rc7

2007-04-19 Thread Jens Axboe
On Thu, Apr 19 2007, Valerie Clement wrote: > Jens Axboe wrote: > >On Thu, Apr 19 2007, Valerie Clement wrote: > >>Jens Axboe wrote: > >>>Please tell me how you are running ffsb, and also please include a > >>>dmessg from a booted system. > >>> > >>Hi, > >>our mails crossed! please see my response

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-19 Thread Cornelia Huck
On Wed, 18 Apr 2007 12:41:36 -0400, "Dmitry Torokhov" <[EMAIL PROTECTED]> wrote: > I am still do not understand why this is needed. Would it not be > simplier just to use a reference to struct device instead of embedding > it in a larger structure if their lifetimes are different and one does > no

Re: dio_get_page() lockdep complaints

2007-04-19 Thread Jens Axboe
On Thu, Apr 19 2007, Vladimir V. Saveliev wrote: > Hello > > On Thursday 19 April 2007 12:34, Jens Axboe wrote: > > On Thu, Apr 19 2007, Andrew Morton wrote: > > > On Thu, 19 Apr 2007 10:01:57 +0200 Jens Axboe <[EMAIL PROTECTED]> wrote: > > > > > > > On Thu, Apr 19 2007, Andrew Morton wrote: > >

Re: dio_get_page() lockdep complaints

2007-04-19 Thread Jens Axboe
On Thu, Apr 19 2007, Jens Axboe wrote: > > I tried fio (1.15) with this job file and did not get the possible > > circular locking dependency detected > > Perhaps some of the preempt settings? The box is an emc centera, it's a > lowly p4/ht. As I mentioned, the rootfs is on reiser. So something i

Re: [PATCH] Set a separate lockdep class for neighbour table's proxy_queue

2007-04-19 Thread Jarek Poplawski
On 17-04-2007 21:46, David Miller wrote: > From: Pavel Emelianov <[EMAIL PROTECTED]> > Date: Mon, 16 Apr 2007 16:08:25 +0400 > >> Otherwise the following calltrace will lead to a wrong >> lockdep warning: >> >> neigh_proxy_process() >> `- lock(neigh_table->proxy_queue.lock); >> arp_redo /*

Re: Loud "pop" coming from hard drive on reboot

2007-04-19 Thread Stephen Clark
Jan Engelhardt wrote: On Apr 18 2007 09:39, Stephen Clark wrote: So this is the pop I hear on my new laptop that is using libata=combined_mode when I shut my system down. I didn't get the pop with the same disk drive in an older laptop that was only ide. It sounds like a relay closing or ope

Re: Announce - Staircase Deadline cpu scheduler v0.42

2007-04-19 Thread Willy Tarreau
On Thu, Apr 19, 2007 at 12:12:14PM +1000, Con Kolivas wrote: > On Thursday 19 April 2007 10:41, Con Kolivas wrote: > > On Thursday 19 April 2007 09:59, Con Kolivas wrote: > > > Since there is so much work currently ongoing with alternative cpu > > > schedulers, as a standard for comparison with the

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

2007-04-19 Thread Willy Tarreau
Hi Ingo, On Thu, Apr 19, 2007 at 11:01:44AM +0200, Ingo Molnar wrote: > > * Willy Tarreau <[EMAIL PROTECTED]> wrote: > > > Good idea. The machine I'm typing from now has 1000 scheddos running > > at +19, and 12 gears at nice 0. [...] > > > From time to time, one of the 12 aligned gears will qu

Re: [PATCH] net/rxrpc: Convert to kthread API.

2007-04-19 Thread Eric W. Biederman
David Howells <[EMAIL PROTECTED]> writes: > Eric W. Biederman <[EMAIL PROTECTED]> wrote: > >> This patch modifies the startup of krxtimod, krxiod, and krxsecd >> to use kthread_run instead of a combination of kernel_thread >> and daemonize making the code slightly simpler and more maintainable. >

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-19 Thread Dmitry Torokhov
On 4/19/07, Cornelia Huck <[EMAIL PROTECTED]> wrote: On Wed, 18 Apr 2007 12:41:36 -0400, "Dmitry Torokhov" <[EMAIL PROTECTED]> wrote: > I am still do not understand why this is needed. Would it not be > simplier just to use a reference to struct device instead of embedding > it in a larger struc

Re: Announce - Staircase Deadline cpu scheduler v0.42

2007-04-19 Thread Con Kolivas
On Thursday 19 April 2007 22:55, Willy Tarreau wrote: > On Thu, Apr 19, 2007 at 12:12:14PM +1000, Con Kolivas wrote: > > On Thursday 19 April 2007 10:41, Con Kolivas wrote: > > > On Thursday 19 April 2007 09:59, Con Kolivas wrote: > > > > Since there is so much work currently ongoing with alternati

Re: Renice X for cpu schedulers

2007-04-19 Thread Mark Lord
Con Kolivas wrote: s go ahead and think up great ideas for other ways of metering out cpu bandwidth for different purposes, but for X, given the absurd simplicity of renicing, why keep fighting it? Again I reiterate that most users of SD have not found the need to renice X anyway except if they

Re: Renice X for cpu schedulers

2007-04-19 Thread Peter Williams
Peter Williams wrote: Con Kolivas wrote: Ok, there are 3 known schedulers currently being "promoted" as solid replacements for the mainline scheduler which address most of the issues with mainline (and about 10 other ones not currently being promoted). The main way they do this is through atte

Re: Performance degradation with FFSB between 2.6.20 and 2.6.21-rc7

2007-04-19 Thread Valerie Clement
Jens Axboe wrote: On Thu, Apr 19 2007, Valerie Clement wrote: Jens Axboe wrote: On Thu, Apr 19 2007, Valerie Clement wrote: Jens Axboe wrote: Please tell me how you are running ffsb, and also please include a dmessg from a booted system. Hi, our mails crossed! please see my response to Andr

Re: [KJ][PATCH] sound: SPIN_LOCK_UNLOCKED cleanup

2007-04-19 Thread Takashi Iwai
At Thu, 19 Apr 2007 17:14:44 +0530, Milind Arun Choudhary wrote: > > SPIN_LOCK_UNLOCKED cleanup,use __SPIN_LOCK_UNLOCKED instead > > Signed-off-by: Milind Arun Choudhary <[EMAIL PROTECTED]> Thanks, applied to ALSA tree now. (The file was renamed to at91-ssc.c, so I applied it manually.) Taka

[RFC][PATCH] fix for async scsi scan sysfs problem (resend)

2007-04-19 Thread Josef Bacik
Hello, Resending this to a wider audience (thanks Andrew). I'm having a problem on the newest version of linus's git tree with my qla2xxx card. This is on a UP box, the problem doesn't happen on my similarly configured SMP box. When I unload and then try to load the qla2xxx driver again I ge

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-19 Thread Cornelia Huck
On Thu, 19 Apr 2007 01:06:25 +0900, Tejun Heo <[EMAIL PROTECTED]> wrote: > Heh heh, I'm amazed it actually works. Agreed that the list walking > isn't pretty but adding completion to each kobject still feels like too > much of overhead just for release waiting. Any better ideas? Not really. But

Re: Loud "pop" coming from hard drive on reboot

2007-04-19 Thread emisca
From the debian etch 4.0 /etc/init.d/halt script: # Don't shut down drives if we're using RAID. hddown="-h" if grep -qs '^md.*active' /proc/mdstat then hddown="" fi # If INIT_HALT=HALT don't poweroff. poweroff="-p" if [ "$IN

Re: Loud "pop" coming from hard drive on reboot

2007-04-19 Thread Mark Lord
Stephen Clark wrote: It is definitely the disk drive. It is located in the right front corner of my laptop so I put my ear by it during shutdown and that is where the click is coming from. Isn't there also a speaker located there? - To unsubscribe from this list: send the line "unsubscribe l

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-19 Thread Cornelia Huck
On Thu, 19 Apr 2007 09:13:43 -0400, "Dmitry Torokhov" <[EMAIL PROTECTED]> wrote: > Because they are managed by 2 different entities. the struct device > objects are managed by device core and driver-specific objects are > managed by their respective driver. Not sure if I understand you here. My v

Re: dio_get_page() lockdep complaints

2007-04-19 Thread Roland Dreier
> As I mentioned, the rootfs is on reiser. So something in the boot up > scripts may trigger something that gets reiser to run through that path > with the wrong locking order. After the box is done booting, the dmesg > is clean. I then mount the ext3 fs and run the fio test, the lockdep > tra

why UDF have so ugly filesize limit?

2007-04-19 Thread Marat Buharov
from fs/udf/super.c: in function udf_fill_super sb->s_maxbytes = 1<<30; (1 GB) Why sb->s_maxbytes is not equal to MAX_LFS_FILESIZE? So, in include/linux/fs.h written that the filesystems should put that (MAX_LFS_FILESIZE) into their s_maxbytes, otherwise bad things can happen in VM. - To unsubsc

Re: [RFC][PATCH] fix for async scsi scan sysfs problem (resend)

2007-04-19 Thread James Bottomley
On Thu, 2007-04-19 at 09:25 -0400, Josef Bacik wrote: > Looking through everything I came to the conclusion that we don't really need > the scsi_sysfs_add_devices in scsi_finish_async_scan, which gets run everytime > we do a do_scan_async. In doing the scanning, if we come upon anything we > will

Re: MMCv4 support (8-bit support missing)

2007-04-19 Thread Madhusudhan c
Hi Perre, I don't think I've seen that patch. And now we have the work by Philip and myself which adds support for both MMC 4.0 and 4.2. The only missing piece is 8-bit data and I'm not that interested in adding it until we have a driver that can use it. Here is a link to that patch. http://ww

Re: [ckrm-tech] About I/O scheduler in CKRM

2007-04-19 Thread Srivatsa Vaddagiri
I am not aware of any updates to IO scheduler other than what is listed on the website. Chandra/Shailabh can correct me if I am wrong. Regarding (the future of) CKRM in general, we aren't looking at that framework now, as Linux kernel community seemed to want simpler frameworks. A framework which

[PATCH] revoke: mapping revocation

2007-04-19 Thread Pekka J Enberg
From: Pekka Enberg <[EMAIL PROTECTED]> As pointed out by Andrew Morton, if some process is partway through a big page_cache_readahead() operation, a concurrent invalidate_inode_pages2() is not enough to revoke inode pages. This patch changes the revoke code to modify ->f_mapping to point to a revo

Re: dio_get_page() lockdep complaints

2007-04-19 Thread Jens Axboe
On Thu, Apr 19 2007, Jens Axboe wrote: > > Is it possible that fio was changed? That it was changed to close() the fd > > before doing the munmapping whereas it used to hold the file open? > > It's been a while since I tested on this box, so I don't really recall. > But fio does close() the fd be

Re: Wrong free clusters count on FAT32

2007-04-19 Thread DervishD
Hi Juergen :) * Juergen Beisert <[EMAIL PROTECTED]> dixit: > On Thursday 19 April 2007 10:57, DervishD wrote: > > I have a portable device with a FAT32 formatted hard disk in it, and > > everytime I delete a file in the device *using the device itself to > > do it* the device increases its co

how to tell linux (on x86) to ignore 1M or memory

2007-04-19 Thread Bart Trojanowski
I need to preserve some state from the bios before entering protected mode. For now I want to copy it into some ram accessible by real-mode, say the last megabyte visible in real-mode. What's the easiest way to have linux ignore the megabyte starting at 15M? Cheers, -Bart - To unsubscribe from t

Getting the new RxRPC patches upstream

2007-04-19 Thread David Howells
Eric W. Biederman <[EMAIL PROTECTED]> wrote: > What is the ETA on your patches? That depends on Dave Miller now, I think. I'm assuming they need to go through the network GIT tree to get to Linus. Certainly Andrew Morton seems to think so. David - To unsubscribe from this list: send the line "

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-19 Thread Alan Stern
On Thu, 19 Apr 2007, Cornelia Huck wrote: > On Thu, 19 Apr 2007 01:06:25 +0900, > Tejun Heo <[EMAIL PROTECTED]> wrote: > > > Heh heh, I'm amazed it actually works. Agreed that the list walking > > isn't pretty but adding completion to each kobject still feels like too > > much of overhead just f

Re: Wrong free clusters count on FAT32

2007-04-19 Thread DervishD
Hi Boaz :) * Boaz Harrosh <[EMAIL PROTECTED]> dixit: > > Apart from not using the device itself to delete files (and probably > > not using Windows for that, either) and to run fsck.vfat now and > > then, is anything I can do to avoid this problem? > > > Not that I know how to fix it. But ha

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-19 Thread Dmitry Torokhov
On 4/19/07, Cornelia Huck <[EMAIL PROTECTED]> wrote: On Thu, 19 Apr 2007 09:13:43 -0400, "Dmitry Torokhov" <[EMAIL PROTECTED]> wrote: > Because they are managed by 2 different entities. the struct device > objects are managed by device core and driver-specific objects are > managed by their resp

Re: Renice X for cpu schedulers

2007-04-19 Thread Lee Revell
On 4/19/07, Peter Williams <[EMAIL PROTECTED]> wrote: PS I think that the tasks most likely to be adversely effected by X's CPU storms (enough to annoy the user) are audio streamers so when you're doing tests to determine the best nice value for X I suggest that would be a good criterion. Video

Re: dio_get_page() lockdep complaints

2007-04-19 Thread Jens Axboe
On Thu, Apr 19 2007, Roland Dreier wrote: > Maybe you could add some hack really early on (say at the beginning of > the reiserfs mount code) that took instances of the locks in the > correct order, so you would get a lockdep trace of where the ordering > is violated when it first happens? See the

Re: problem with

2007-04-19 Thread Robert Hancock
liangbowen wrote: You're trying to use a kernel data structure in a user-space program. Don't. The definitions in that header are inside #ifdef __KERNEL__ and so the provided userspace headers remove that part. someone've said the exact same thing, and he said that I can add the - D__KERNEL__ t

Re: Dropping CONFIG_REORDER on x86-64 for 2.6.22

2007-04-19 Thread Arjan van de Ven
Andi Kleen wrote: Rationale: - It cannot be enabled in normal builds because all current lds become very slow when they have to handle thousands of sections. afaik this is only ever reported on SuSE; I've not heard it on any other distro... - To unsubscribe from this list: send the line "uns

Re: how to tell linux (on x86) to ignore 1M or memory

2007-04-19 Thread Paolo Ornati
On Thu, 19 Apr 2007 10:18:04 -0400 Bart Trojanowski <[EMAIL PROTECTED]> wrote: > I need to preserve some state from the bios before entering protected > mode. For now I want to copy it into some ram accessible by real-mode, > say the last megabyte visible in real-mode. > > What's the easiest way

[PATCH] revoke: only fput unused files

2007-04-19 Thread Pekka J Enberg
From: Pekka Enberg <[EMAIL PROTECTED]> We should do fput only to files that were not used by the revoke operation. Signed-off-by: Pekka Enberg <[EMAIL PROTECTED]> --- fs/revoke.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Index: uml-2.6/fs/revoke.c ==

Re: dio_get_page() lockdep complaints

2007-04-19 Thread Chris Mason
On Thu, Apr 19, 2007 at 01:01:42AM -0700, Andrew Morton wrote: > On Thu, 19 Apr 2007 09:38:30 +0200 Jens Axboe <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > Doing some testing on CFQ, I ran into this 100% reproducible report: > > > > === > > [ I

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-19 Thread Cornelia Huck
On Thu, 19 Apr 2007 10:20:51 -0400 (EDT), Alan Stern <[EMAIL PROTECTED]> wrote: > The patch below, applied on top of Cornelia's changes plus the > kobject_init() patch I posted earlier, actually seems to work. And it > prevents an oops which I was able to trigger without it. Looks nice at firs

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

2007-04-19 Thread David Chinner
On Thu, Apr 19, 2007 at 08:54:04AM +0200, Jarek Poplawski wrote: > Hi, > > IMHO cancel_rearming_delayed_work is dangerous place: Agreed - I spent a couple of hours today learning why it can only be used on work functions that always rearm... > - it assumes a work function always rearms (with no

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

2007-04-19 Thread David Chinner
On Thu, Apr 19, 2007 at 09:32:22AM +0200, Ingo Molnar wrote: > > * Jarek Poplawski <[EMAIL PROTECTED]> wrote: > > > + int i = 1000; > > > > - while (!cancel_delayed_work(dwork)) > > + while (!cancel_delayed_work(dwork)) { > > flush_workqueue(wq)

Re: Bitbanging i2c bus driver using the GPIO API

2007-04-19 Thread Jordan Crouse
On 19/04/07 08:54 +0200, Jean Delvare wrote: > Hi Len, > > On Wed, 18 Apr 2007 13:42:56 -0400, Lennart Sorensen wrote: > > On Sat, Apr 14, 2007 at 07:28:07PM +0200, Jean Delvare wrote: > > > Otherwise it looks OK to me, I take the patch. If others have comments > > > or objections, just speak up a

Re: dio_get_page() lockdep complaints

2007-04-19 Thread Vladimir V. Saveliev
Hello On Thursday 19 April 2007 18:15, Jens Axboe wrote: > On Thu, Apr 19 2007, Jens Axboe wrote: > > > Is it possible that fio was changed? That it was changed to close() the > > > fd > > > before doing the munmapping whereas it used to hold the file open? > > > > It's been a while since I tes

Re: dio_get_page() lockdep complaints

2007-04-19 Thread Vladimir V. Saveliev
Hello On Thursday 19 April 2007 12:25, Andrew Morton wrote: > On Thu, 19 Apr 2007 10:01:57 +0200 Jens Axboe <[EMAIL PROTECTED]> wrote: > > > On Thu, Apr 19 2007, Andrew Morton wrote: > > > On Thu, 19 Apr 2007 09:38:30 +0200 Jens Axboe <[EMAIL PROTECTED]> wrote: > > > > > > > Hi, > > > > > > > >

[PATCH] [1/3] sched: implement staircase deadline scheduler timeslice fixes

2007-04-19 Thread Con Kolivas
This is the first in a series of 3 patches to bring the staircase deadline cpu scheduler up to version 0.43. They apply on top of "[PATCH] sched: implement staircase deadline scheduler further improvements-1" Assuming we're still queueing these up in -mm for comparison, that patch is still outstand

[PATCH] [2/3] sched: implement staircase deadline scheduler docupdate

2007-04-19 Thread Con Kolivas
Update documentation to reflect higher maximum rr_interval. Signed-off-by: Con Kolivas <[EMAIL PROTECTED]> --- Documentation/sysctl/kernel.txt |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.21-rc7-sd/Documentation/sysctl/kernel.txt

[PATCH] [3/3] sched: increase ksoftirqd priority

2007-04-19 Thread Con Kolivas
More aggressive nice discrimination by the Staircase-Deadline cpu scheduler means ksoftirqd is getting significantly less cpu than previously. Adjust nice value accordingly for similar cpu distribution. Signed-off-by: Con Kolivas <[EMAIL PROTECTED]> --- kernel/softirq.c |2 +- 1 file changed

<    1   2   3   4   5   >