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

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

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

[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

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

[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

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

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

[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

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

[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

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

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,

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

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

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,

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

[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

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

[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

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

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

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

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

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

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

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

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 >

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

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

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

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

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

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

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

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

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

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.)

[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

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.

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 [

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

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

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 >

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

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 >

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.

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

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

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

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

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

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

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

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

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__

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

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

[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: > > > > === > > [

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

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)) { > >

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

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

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

[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

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

2007-04-19 Thread Josef Bacik
On Thu, Apr 19, 2007 at 10:02:36AM -0400, James Bottomley wrote: > 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 >

RE: [PATCH] cciss: Fix warnings during compilation under 32bit environment

2007-04-19 Thread Miller, Mike (OS Dev)
> -Original Message- > From: Hisashi Hifumi [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 18, 2007 2:03 AM > To: Miller, Mike (OS Dev); [EMAIL PROTECTED] > Subject: [PATCH] cciss: Fix warnings during compilation under > 32bit environment > > > Hi. > > I fixed following

[PATCH] add two SCSI command opcodes

2007-04-19 Thread Dan Aloni
Applies for 2.6.20.7 and beyond. Signed-off-by: Dan Aloni <[EMAIL PROTECTED]> diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h index 5c0e979..dff842a 100644 --- a/include/scsi/scsi.h +++ b/include/scsi/scsi.h @@ -103,6 +103,7 @@ extern const unsigned char scsi_command_size[8]; #define

Re: Renice X for cpu schedulers

2007-04-19 Thread Con Kolivas
On Thursday 19 April 2007 23:17, Mark Lord wrote: > 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

[ANNOUNCE] Staircase Deadline cpu scheduler version 0.43

2007-04-19 Thread Con Kolivas
In order to keep raising the standard for comparison for the alternative new scheduler developments, here is an updated version of the staircase deadline cpu scheduler. http://ck.kolivas.org/patches/staircase-deadline/2.6.20.7-sd-0.43.patch

Re: Renice X for cpu schedulers

2007-04-19 Thread Peter Williams
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 attempting to maintain

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

2007-04-19 Thread Chuck Lever
Trond Myklebust wrote: On Wed, 2007-04-18 at 20:52 -0500, Florin Iucha wrote: On Wed, Apr 18, 2007 at 10:11:46AM -0400, Trond Myklebust wrote: Do you have a copy of wireshark or ethereal on hand? If so, could you take a look at whether or not any NFS traffic is going between the client and

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

2007-04-19 Thread Trond Myklebust
On Thu, 2007-04-19 at 11:12 -0400, Chuck Lever wrote: > Perhaps instead of looking at the number of bytes sent, the logic in the > last hunk of this patch should check which queue the request is sitting on. ??? It would be a bug for the request to be sitting on _any_ queue when it enters

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

2007-04-19 Thread Ingo Molnar
* Willy Tarreau <[EMAIL PROTECTED]> wrote: > You can certainly script it with -geometry. But it is the wrong > application for this matter, because you benchmark X more than > glxgears itself. What would be better is something like a line > rotating 360 degrees and doing some short stuff

RE: [PATCH] cciss: Fix warnings during compilation under 32bit environment

2007-04-19 Thread James Bottomley
On Thu, 2007-04-19 at 15:09 +, Miller, Mike (OS Dev) wrote: > Nak. You still haven't told where you saw these warnings. What compiler > are you using? I do not see these in my 32-bit environment. I think it's seen with CONFIG_LBD=n on 32 bits In that configuration, sector_t is a u32 (it's

Kernel OOPS:Badness in map_area_pte at mm/vmalloc.c:126 - Why should it misbehave? Linux 2.6.11

2007-04-19 Thread Ashish Gupta
Hi, On configuring an ARM based gateway with a large number of iptables rules, in the kernel, memory allocation (vmalloc) in the kernel half of IPTABLES issues the following warning Badness in map_area_pte at mm/vmalloc.c:126 Badness in map_area_pte at mm/vmalloc.c:126 Badness in map_area_pte

Re: Upgraded to 2.6.20.7 - positives

2007-04-19 Thread Chuck Ebbert
Robert Hancock wrote: > Chuck Ebbert wrote: >> Denis Vlasenko wrote: >>> * From make menuconfig questions it looks like SATA/PATA >>> rewrite (in the form of libata) is almost finished. Hehe, >>> untangling IDE mess was quite a feat, and Jeff did it. Kudos. >>> >> >> ADMA mode on nvidia

Re: [RFC 1/2] Input: ff, add FF_RAW effect

2007-04-19 Thread Jiri Slaby
Dmitry Torokhov napsal(a): > I have been thinking about this and I don't think that exporting motor > data is a good idea, at least not in case of Phantom driver. The fact > that there are 3 motors is a hardware implementation detail and it > is not interesting for general application. Ok, so

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

2007-04-19 Thread Randy Dunlap
On Thu, 19 Apr 2007 11:23:39 +0200 Jiri Bohac wrote: > 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. I think it's like it is just to be consistent with abs() in C, which

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

2007-04-19 Thread Davide Libenzi
On Thu, 19 Apr 2007, Ingo Molnar wrote: > i disagree that the user 'would expect' this. Some users might. Others > would say: 'my 10-thread rendering engine is more important than a > 1-thread job because it's using 10 threads for a reason'. And the CFS > feedback so far strengthens this

Re: [PATCH] add two SCSI command opcodes

2007-04-19 Thread Jan-Benedict Glaw
On Thu, 2007-04-19 18:10:54 +0300, Dan Aloni <[EMAIL PROTECTED]> wrote: > diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h > index 5c0e979..dff842a 100644 > --- a/include/scsi/scsi.h > +++ b/include/scsi/scsi.h > @@ -103,6 +103,7 @@ extern const unsigned char scsi_command_size[8]; > #define

[GIT PULL] kvm oops fix

2007-04-19 Thread Avi Kivity
Linus, Please pull from the 'linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm.git To get a one-liner fixing a host oops running non-pae guests. Avi Kivity (1): KVM: Fix off-by-one when writing to a nonpae guest pde --- drivers/kvm/mmu.c |1 + 1 files

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

2007-04-19 Thread Florin Iucha
On Thu, Apr 19, 2007 at 11:17:28AM -0400, Trond Myklebust wrote: > On Thu, 2007-04-19 at 11:12 -0400, Chuck Lever wrote: > > Perhaps instead of looking at the number of bytes sent, the logic in the > > last hunk of this patch should check which queue the request is sitting on. > > ??? It would

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

2007-04-19 Thread Randy Dunlap
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 > > > > > > which can be found in param.xsl, it being a part of the docbook-xsl > > > distribution. The parameter's name is self-explanatory

Re: Getting the new RxRPC patches upstream

2007-04-19 Thread Eric W. Biederman
David Howells <[EMAIL PROTECTED]> writes: > 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.

<    4   5   6   7   8   9   10   >