Re: [patch 1/3] fix illogical behavior in balance_dirty_pages()

2007-03-26 Thread Andrew Morton
On Mon, 26 Mar 2007 11:32:47 +0200 Miklos Szeredi [EMAIL PROTECTED] wrote: Stopping writers which have idle queues is completely unproductive, and that is basically what the current algorithm does. This is because the kernel permits all of its allotment of dirty+writeback pages to be

[PATCH -mm] Blackfin arch: fix struct dmasg packing bug

2007-03-26 Thread Wu, Bryan
Hi folks, This patch fix a bug about struct dmasg packed missing bug. Using __attribute__ instead of pragma. Signed-off-by: Bryan Wu [EMAIL PROTECTED] --- include/asm-blackfin/dma.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6/include/asm-blackfin/dma.h

[PATCH -mm] Blackfin arch: cleanup cache header file

2007-03-26 Thread Wu, Bryan
Hi folks, According to Paul's review, this patch cleanup the include/asm-blackfin/cache.h comments. Signed-off-by: Bryan Wu [EMAIL PROTECTED] --- include/asm-blackfin/cache.h | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) Index:

[PATCH -mm] Blackfin arch: fix reboot kernel mounting spi flash print error bug

2007-03-26 Thread Wu, Bryan
Hi folks, This patch fix a printing error bug when reboot kernel mounting on SPI flash. Signed-off-by: Bryan Wu [EMAIL PROTECTED] --- arch/blackfin/mach-bf533/boards/cm_bf533.c |2 +- arch/blackfin/mach-bf533/boards/ezkit.c |2 +- arch/blackfin/mach-bf533/boards/stamp.c

[PATCH -mm] Blackfin arch: fix compiling error in flat c file

2007-03-26 Thread Wu, Bryan
Hi folks, THis patch fixed including wrong header file when compiling in 2.6.21-rc4-mm. Signed-off-by: Bryan Wu [EMAIL PROTECTED] --- arch/blackfin/kernel/flat.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6/arch/blackfin/kernel/flat.c

[PATCH -mm] Blackfin arch: power management replace firmware disk mode

2007-03-26 Thread Wu, Bryan
Hi folks, This patches replace firmware disk mode according to include/linux/pm.h Signed-off-by: Bryan Wu [EMAIL PROTECTED] --- arch/blackfin/mach-common/pm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.x/arch/blackfin/mach-common/pm.c

[PATCH -mm] Blackfin arch: add kdebug header file

2007-03-26 Thread Wu, Bryan
Hi folks, This patch adds kdebug.h header file to blackfin architecture. Signed-off-by: Bryan Wu [EMAIL PROTECTED] --- include/asm-blackfin/kdebug.h |1 + 1 file changed, 1 insertion(+) Index: linux-2.6/include/asm-blackfin/kdebug.h

-rc5: e1000 resume weirdness

2007-03-26 Thread Ingo Molnar
hm, on a T60, after suspend/resume, i get an e1000 timeout: e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang Tx Queue 0 TDH ec TDT ec next_to_use

[PATCH -mm] Blackfin: rtc fix rtc_update_irq augument

2007-03-26 Thread Wu, Bryan
Hi folks, Replacing class_dev to directly using rtc_dev. Signed-off-by: Bryan Wu [EMAIL PROTECTED] --- drivers/rtc/rtc-bfin.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6/drivers/rtc/rtc-bfin.c ===

[PATCH -mm] Blackfin: spi driver cleanup and coding style fixing

2007-03-26 Thread Wu, Bryan
Hi folks, This patch cleanup blackfin SPI driver code and fix some coding style problems. Signed-off-by: Bryan Wu [EMAIL PROTECTED] --- drivers/spi/spi_bfin5xx.c | 322 +- 1 file changed, 179 insertions(+), 143 deletions(-) Index:

[PATCH -mm] Blackfin: spi driver fix reboot kernel mounting spi flash print error bug

2007-03-26 Thread Wu, Bryan
Hi folks, This patch fix a printing error bug when reboot kernel mounting on SPI flash. Signed-off-by: Bryan Wu [EMAIL PROTECTED] --- drivers/spi/spi_bfin5xx.c |9 - 1 file changed, 9 deletions(-) Index: linux-2.6/drivers/spi/spi_bfin5xx.c

[PATCH -mm] Revoke core code: fix nommu arch compiling error bug

2007-03-26 Thread Wu, Bryan
Hi folks, As struct mm_struct vm_mm is hidden in struct vm_area_struct in NOMMU arch, this is a fixing method when compiling failure on blackfin arch. Signed-off-by: Bryan Wu [EMAIL PROTECTED] --- fs/revoke.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-)

[PATCH -mm] vdso print fatal signals: fix compiling error bug in nommu arch

2007-03-26 Thread Wu, Bryan
Hi folks, As struct mm_struct vm_mm is hidden in struct vm_area_struct in NOMMU arch, this is a fixing method when compiling failure on blackfin arch. Signed-off-by: Bryan Wu [EMAIL PROTECTED] --- kernel/signal.c |4 1 file changed, 4 insertions(+) Index: linux-2.6/kernel/signal.c

Re: [Patch 0/7] integrity service framework and provider

2007-03-26 Thread Andrew Morton
On Fri, 23 Mar 2007 12:08:59 -0400 Mimi Zohar [EMAIL PROTECTED] wrote: This is a set of updates to the integrity service framework, previously accepted into -mm, EVM a new integrity service provider, and a new LSM module called Integrity Based Access Control(IBAC), a sample consumer of the

Re: [PATCH 0/3] VM throttling: avoid blocking occasional writers

2007-03-26 Thread Tomoki Sekiyama
Hi, Thanks for your reply. 3) Use dirty_ratio as the blocking ratio. And add start_writeback_ratio, and start writeback at start_writeback_ratio(default:90) * dirty_ratio / 100 [%]. In this way, specifying blocking ratio can be done in the same way as current kernel, but high/low

Re: 2.6.21-rc4-mm1

2007-03-26 Thread Eric Rannaud
On Mon, Mar 26, 2007 at 01:22:32AM -0800, Andrew Morton wrote: On Mon, 26 Mar 2007 11:09:49 +0200 Cornelia Huck [EMAIL PROTECTED] wrote: If so, do you think I should labour on with uevent-improve-error-checking-and-handling.patch plus your fix, or should I drop the lot? (I'm

Re: [3/5] 2.6.21-rc4: known regressions (v2)

2007-03-26 Thread Frederic Riss
2007/3/26, Thomas Gleixner [EMAIL PROTECTED]: On Mon, 2007-03-26 at 08:45 +0200, Frédéric RISS wrote: Additional data point: I just tried with -rc5 and the issue is still present. The config I used for this test defines neither NO_HZ nor HIGH_RES_TIMERS. Do you have CONFIG_HPET_TIMER enabled

Re: [PATCH -mm] Revoke core code: fix nommu arch compiling error bug

2007-03-26 Thread Pekka J Enberg
On Mon, 26 Mar 2007, Wu, Bryan wrote: As struct mm_struct vm_mm is hidden in struct vm_area_struct in NOMMU arch, this is a fixing method when compiling failure on blackfin arch. What compile error is that? I don't see any #ifdef around -vm_mm for struct vm_area_struct in linux/mm.h. On Mon,

Re: [PATCH -mm] Revoke core code: fix nommu arch compiling error bug

2007-03-26 Thread Andrew Morton
On Mon, 26 Mar 2007 18:23:57 +0800 Wu, Bryan [EMAIL PROTECTED] wrote: Hi folks, As struct mm_struct vm_mm is hidden in struct vm_area_struct in NOMMU arch, this is a fixing method when compiling failure on blackfin arch. Signed-off-by: Bryan Wu [EMAIL PROTECTED] --- fs/revoke.c |

Re: 2.6.21-rc4-mm1

2007-03-26 Thread Andrew Morton
On Mon, 26 Mar 2007 12:34:33 +0200 Eric Rannaud [EMAIL PROTECTED] wrote: On Mon, Mar 26, 2007 at 01:22:32AM -0800, Andrew Morton wrote: On Mon, 26 Mar 2007 11:09:49 +0200 Cornelia Huck [EMAIL PROTECTED] wrote: If so, do you think I should labour on with

[GIT PATCHES] V4L/DVB fixes

2007-03-26 Thread Mauro Carvalho Chehab
Linus, Please pull 'master' from: git://git.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git master Basically we have some fixes at IR code, a Kconfig fix when Radio is selected, some lock fixes at DVB core, Secam on saa7115 will now work properly, a fix on msp34xx detection

Re: sata-vsc broken on SGI Prism

2007-03-26 Thread Andreas Schwab
Andrew Morton [EMAIL PROTECTED] writes: On Sat, 24 Mar 2007 10:17:24 +0100 Andreas Schwab [EMAIL PROTECTED] wrote: I'm getting this panic when loading sata-vsc on a SGI Prism: With what kernel? It's still the same with 2.6.21-rc5. Bisection has identified this patch (together with the

Re: [2/5] 2.6.21-rc4: known regressions (v2)

2007-03-26 Thread Tejun Heo
Adrian Bunk wrote: Subject: NCQ problem with ahci and Hitachi drive (ACPI related) References : http://lkml.org/lkml/2007/3/4/178 http://lkml.org/lkml/2007/3/9/475 Submitter : Mathieu Bérard [EMAIL PROTECTED] Handled-By : Tejun Heo [EMAIL PROTECTED] Status : problem is

Re: [linux-usb-devel] [RFC] HID bus design overview.

2007-03-26 Thread Marcel Holtmann
Hi Li, -- HID bus design overview. -- A. Terms. The device of an driver: this mean the device that this driver matched. B. Design. As we discussed before, The entire HID subsystem is divided into

Re: [Devel] Re: Linux-VServer example results for sharing vs. separate mappings ...

2007-03-26 Thread Kirill Korotaev
Andrew Morton wrote: [...skip] The problem is memory reclaim. A number of schemes which have been proposed require a per-container page reclaim mechanism - basically a separate scanner. This is a huge, huge, huge problem. The present scanner has been under development for over a

Re: [patch] sched: accurate user accounting

2007-03-26 Thread malc
On Mon, 26 Mar 2007, Con Kolivas wrote: On Monday 26 March 2007 09:01, Con Kolivas wrote: On Monday 26 March 2007 03:14, malc wrote: On Mon, 26 Mar 2007, Con Kolivas wrote: On Monday 26 March 2007 01:19, malc wrote: Erm... i just looked at the code and suddenly it stopped making any sense

Re: [PATCH 00/22 take 3] UBI: Unsorted Block Images

2007-03-26 Thread Artem Bityutskiy
On Sun, 2007-03-25 at 22:08 +0200, Jörn Engel wrote: And there is no fundamental reason why UBI should export blocks with non-power-of-two sizes. False. There is. UBI currently consists of two parts that are intimately intertwined in the current implementation, but have relatively little

Re: [PATCH -mm] vdso print fatal signals: fix compiling error bug in nommu arch

2007-03-26 Thread Ingo Molnar
* Wu, Bryan [EMAIL PROTECTED] wrote: +#ifdef CONFIG_MMU struct mm_struct *mm = vma-vm_mm; +#else + struct mm_struct *mm = 0; +#endif s/0/NULL ? Ingo - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: [PATCH 2.6.21-rc4-mm1 4/4] sys_futex64 : allows 64bit futexes

2007-03-26 Thread Andrew Morton
On Wed, 21 Mar 2007 10:54:36 +0100 [EMAIL PROTECTED] wrote: It does not provide the functionality for all architectures (only for x64 for now). Well that scuppers our chances of getting -mm kernels tested on ia64, s390 and sparc64. Which is a problem - people do test s390 and ia64 and so

Re: [PATCH -mm] Revoke core code: fix nommu arch compiling error bug

2007-03-26 Thread David Howells
Andrew Morton [EMAIL PROTECTED] wrote: Offending patch is ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc4/2.6.21-rc4-mm1/broken-out/nommu-hide-vm_mm-in-nommu-mode.patch, which seems rather dumb. Or at least, its changelog does a good job of making it look dumb.

Re: [PATCH 1/2] MSR: Add support for safe variants

2007-03-26 Thread Jean Delvare
Hi Andrew, On Sun, 25 Mar 2007 14:22:15 -0800, Andrew Morton wrote: On Sun, 25 Mar 2007 14:18:23 +0200 Jean Delvare [EMAIL PROTECTED] wrote: Add support for _safe (exception handled) variants of rdmsr_on_cpu and wrmsr_on_cpu. This is needed for the upcoming coretemp hardware monitoring

Re: [PATCH -mm] Revoke core code: fix nommu arch compiling error bug

2007-03-26 Thread Pekka J Enberg
Hi David, On Mon, 26 Mar 2007, David Howells wrote: The reason is that, at the moment, VMAs are a global *shared* resource in NOMMU-mode. Each process has a list of global VMAs that it subscribes to, but that's it. This (a) slightly reduces the amount of metadata allocated (possibly), and

Re: [PATCH 00/22 take 3] UBI: Unsorted Block Images

2007-03-26 Thread Jörn Engel
On Mon, 26 March 2007 13:49:06 +0300, Artem Bityutskiy wrote: On Sun, 2007-03-25 at 22:08 +0200, Jörn Engel wrote: Logical volume management can just as easily move its management information into a table, instead of having it spread across all blocks. Blocks can keep their original

Re: [PATCH] Fix race between attach_task and cpuset_exit

2007-03-26 Thread Srivatsa Vaddagiri
On Sun, Mar 25, 2007 at 11:22:15PM +0530, Balbir Singh wrote: +struct cpuset *oldcs_tobe_released = NULL; How about oldcs_to_be_released? Yes, I wanted to use that, but my typo I guess. @@ -2242,19 +2241,20 @@ void cpuset_exit(struct task_struct *tsk { struct cpuset *cs; +

Re: [Patch 3/7] integrity: EVM as an integrity service provider

2007-03-26 Thread Mimi Zohar
On Sun, 2007-03-25 at 21:28 -0800, Andrew Morton wrote: On Sun, 25 Mar 2007 23:13:02 -0400 Mimi Zohar [EMAIL PROTECTED] wrote: On Sun, 2007-03-25 at 00:16 -0800, Andrew Morton wrote: On Fri, 23 Mar 2007 12:09:36 -0400 Mimi Zohar [EMAIL PROTECTED] wrote: +++

Re: [PATCH -mm] Revoke core code: fix nommu arch compiling error bug

2007-03-26 Thread David Howells
Pekka J Enberg [EMAIL PROTECTED] wrote: But what's more important is, can we do revoke_mapping() for NOMMU? AFAICT we can, we just need to scan all the global vmas, right? I don't know, what does it do? Remember, once a NOMMU process thinks it has the right to access a mapping, there's no

Re: [PATCH] Fix race between attach_task and cpuset_exit

2007-03-26 Thread Srivatsa Vaddagiri
On Sun, Mar 25, 2007 at 12:50:25PM -0700, Paul Jackson wrote: Is there perhaps another race here? Yes, we have! Modified patch below. Compile/boot tested on a x86_64 box. Currently cpuset_exit() changes the exiting task's -cpuset pointer w/o taking task_lock(). This can lead to ugly races

Re: [PATCH -mm] Revoke core code: fix nommu arch compiling error bug

2007-03-26 Thread Andrew Morton
On Mon, 26 Mar 2007 12:25:18 +0100 David Howells [EMAIL PROTECTED] wrote: Andrew Morton [EMAIL PROTECTED] wrote: Offending patch is ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc4/2.6.21-rc4-mm1/broken-out/nommu-hide-vm_mm-in-nommu-mode.patch, which seems rather

Re: [PATCH 0/21] MSI rework

2007-03-26 Thread Eric W. Biederman
Michael Ellerman [EMAIL PROTECTED] writes: OK. For starters, do you want to review the first eleven as I've sent them already, that saves spamming everyone again. If you're OK with those eleven, then I'll send the remaining 10 or so later in the week, broken up into (sort-of) functional

Re: [PATCH -mm] Blackfin arch: cleanup cache header file

2007-03-26 Thread Paul Mundt
On Mon, Mar 26, 2007 at 06:11:42PM +0800, Wu, Bryan wrote: +#define L1_CACHE_SHIFT 5 +#define L1_CACHE_BYTES (1 L1_CACHE_SHIFT) -/* For speed we do need to align these ...MaTed---*/ -/* But include/linux/cache.h does this for us if we DO not define ...MaTed---*/ -#define

Re: [PATCH -mm] Revoke core code: fix nommu arch compiling error bug

2007-03-26 Thread Pekka J Enberg
On Mon, 26 Mar 2007, David Howells wrote: I don't know, what does it do? Remember, once a NOMMU process thinks it has the right to access a mapping, there's no way of stopping it doing so short of killing the process. revoke_mapping() is mostly same as munmap(2) except that it preserves the

Re: [PATCH 1/2] MSR: Add support for safe variants

2007-03-26 Thread Andrew Morton
On Mon, 26 Mar 2007 13:29:37 +0200 Jean Delvare [EMAIL PROTECTED] wrote: The patch from Rudolf Marek which I am posting here builds on top of what is already in Linus' tree. Taking it in your tree should not cause any problem. OK, thanks - I'll add this then I'll un-revert the patch which

Re: [PATCH 1/2] MSR: Add support for safe variants

2007-03-26 Thread Mikael Pettersson
On Mon, 26 Mar 2007 13:29:37 +0200, Jean Delvare wrote: * * * * * Updated patch * * * * * From: Rudolf Marek [EMAIL PROTECTED] Add safe (exception handled) variants of rdmsr_on_cpu and wrmsr_on_cpu. You should use these when the target MSR may not actually exist, as doing so could trigger

Re: [PATCH -mm] Revoke core code: fix nommu arch compiling error bug

2007-03-26 Thread David Howells
Andrew Morton [EMAIL PROTECTED] wrote: I'll touch up the changelog for nommu-hide-vm_mm-in-nommu-mode.patch and then I'll temporarily drop it so the blackfin guys can test their work, I guess. Thanks. As I said, I'm also not sure that revocation of VMAs is supportable on NOMMU, so the thing

Re: [PATCH -mm] Revoke core code: fix nommu arch compiling error bug

2007-03-26 Thread Alan Cox
With NOMMU as it stands, private mappings are private copies of the data, and have no impact on the page cache and get no updates from it. It's as if you took a private writable mapping, touched every page and then mprotect()'d it. This isn't necessarily ideal, but we're limited by the lack

Re: [PATCH 1/2] MSR: Add support for safe variants

2007-03-26 Thread Jean Delvare
Hi Mikael, On Mon, 26 Mar 2007 13:57:29 +0200 (MEST), Mikael Pettersson wrote: On Mon, 26 Mar 2007 13:29:37 +0200, Jean Delvare wrote: * * * * * Updated patch * * * * * From: Rudolf Marek [EMAIL PROTECTED] Add safe (exception handled) variants of rdmsr_on_cpu and wrmsr_on_cpu. You

revoke: no revoke for nommu

2007-03-26 Thread Pekka J Enberg
From: Pekka Enberg [EMAIL PROTECTED] There's just no sane way to revoke shared memory mappings for NOMMU so lets disable the thing completely when CONFIG_MMU=n. Cc: Bryan Wu [EMAIL PROTECTED] Cc: David Howells [EMAIL PROTECTED] Cc: Alan Cox [EMAIL PROTECTED] Signed-off-by: Pekka Enberg [EMAIL

Re: [PATCH -mm] Revoke core code: fix nommu arch compiling error bug

2007-03-26 Thread David Howells
Pekka J Enberg [EMAIL PROTECTED] wrote: I don't know, what does it do? Remember, once a NOMMU process thinks it has the right to access a mapping, there's no way of stopping it doing so short of killing the process. revoke_mapping() is mostly same as munmap(2) except that it preserves

Re: Linux 2.6.21-rc5

2007-03-26 Thread Bob Tracy
Thomas Gleixner wrote: This fix from John Stultz is still missing: http://lkml.org/lkml/2007/3/22/287 It's in Andrews queue already and waits to be sent to you. In summary, that fix is a workaround to allow the acpi_pm clocksource to be selected instead of the pit clocksource, thereby

Re: revoke: no revoke for nommu

2007-03-26 Thread David Howells
Pekka J Enberg [EMAIL PROTECTED] wrote: There's just no sane way to revoke shared memory mappings for NOMMU so lets disable the thing completely when CONFIG_MMU=n. I think that's reasonable for now - we can always add support as far as possible later. David - To unsubscribe from this list:

Re: forced umount?

2007-03-26 Thread Pozsar Balazs
On Sun, Mar 18, 2007 at 08:16:19PM +0100, Arjan van de Ven wrote: On Fri, 2007-03-16 at 23:06 -0500, Mike Snitzer wrote: I'm interested in understanding the state of Linux with regard to _really_ forcing a filesystem to unmount. There is a (stale) project at OSDL that has various

Re: Linux 2.6.21-rc5

2007-03-26 Thread Thomas Gleixner
On Mon, 2007-03-26 at 07:25 -0500, Bob Tracy wrote: Thomas Gleixner wrote: This fix from John Stultz is still missing: http://lkml.org/lkml/2007/3/22/287 It's in Andrews queue already and waits to be sent to you. In summary, that fix is a workaround to allow the acpi_pm clocksource

Re: [PATCH] i386: add command line option local_apic_timer_c2_ok

2007-03-26 Thread Pavel Machek
Hi! It turned out that it is almost impossible to trust ACPI, BIOS Co. regarding the C states. This was the reason to switch the local apic timer off in C2 state already. OTOH there are sane and well behaving systems, which get punished by that decision. Allow the user to confirm that the

Re: [PATCH 09/20 take 4] UBI: wear-leveling unit

2007-03-26 Thread Frank Haverkamp
Hi, I wonder if a generic wear-leveling infrastructure makes sense. Artem is showing us here his example of how he is attacking the problem for UBI. The wear-leveling described here is only one approach out of many possible. A different one, I think, is used where e.g. filesystems do their own

Re: [3/5] 2.6.21-rc4: known regressions (v2)

2007-03-26 Thread Pavel Machek
Hi! Subject: ThinkPad R60: suspend to disk broken References : http://lkml.org/lkml/2007/3/23/74 Submitter : Marcus Better [EMAIL PROTECTED] Status : submitter tries to bisect I just tried -rc5. Now suspend to disk seems to work. I think the XFS workqueue patch fixed this.

Re: [PATCH -mm] Revoke core code: fix nommu arch compiling error bug

2007-03-26 Thread Pekka J Enberg
Hi, Pekka J Enberg [EMAIL PROTECTED] wrote: revoke_mapping() is mostly same as munmap(2) except that it preserves the vma but makes it VM_REVOKED. This means that if the process tries to access the region it will SIGBUS and if it tries to remap the range it will get EINVAL. On Mon, 26

Re: 2.6.21-rc1 and 2.6.21-rc2 kwin dies silently

2007-03-26 Thread boris
On Thu, Mar 22, 2007 at 07:49:16PM +, Sid Boyce wrote: Kernel built and installed, so I shall have something to report in the next couple of days. I see this kwin bug too on a Thinkpad (x86_64) as well as on a Pmac (powerpc64). It is only triggerd when the screen is locked AND! set to

Re: [2.6.22 patch] more scheduled OSS driver removal

2007-03-26 Thread Jan Engelhardt
On Mar 26 2007 00:16, Lee Revell wrote: I guess he's referring to the well known Master volume only controls front output problem. This really does need to be resolved, as many other ALSA drivers are effected. I don't see that as a bug. Mine is a TerraTec DMX XFire 1024 (snd-cs46xx).

Re: [PATCH] clockevents: remove bad designed sysfs support for now

2007-03-26 Thread Pavel Machek
On Mon 2007-03-26 11:21:08, Thomas Gleixner wrote: The current sysfs support of clockevents does not obey the only one value per file rule. The real fix is not 2.6.21 material. Therefor remove the sysfs support for now. Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] Thanks! --

Re: [PATCH 1/4] coredump: add an interface to control the core dump routine

2007-03-26 Thread Kawai, Hidehiro
Hi Pavel, Thank you for your reply. I'm sorry for my late reply. I have discussed with my colleagues why you say ugly against my procfs interface, then I noticed I may have misunderstood what you said. Is the reason for saying ugly two interfaces, i.e. preexisting ulimit (get/setrlimit) and my

Re: [PATCH] move die notifier handling to common code

2007-03-26 Thread Christoph Hellwig
On Mon, Mar 26, 2007 at 11:32:09AM +1000, Paul Mackerras wrote: Seems OK, although I think kprobes should not be using notify_die. The set of events that kprobes is interested in has no intersection at all with the set that any other consumer of the notify_die events is interested in, on any

Re: [PATCH -mm] Revoke core code: fix nommu arch compiling error bug

2007-03-26 Thread David Howells
Pekka J Enberg [EMAIL PROTECTED] wrote: We don't touch private mappings at all as they're a snapshot to the inode _before_ it was revoked. So private mappings don't really matter all: you don't see any new data after it has been revoked nor do you flush anything to the disk. Okay, so

Re: [patch 1/3] fix illogical behavior in balance_dirty_pages()

2007-03-26 Thread Peter Zijlstra
On Mon, 2007-03-26 at 02:08 -0800, Andrew Morton wrote: On Mon, 26 Mar 2007 11:32:47 +0200 Miklos Szeredi [EMAIL PROTECTED] wrote: Stopping writers which have idle queues is completely unproductive, and that is basically what the current algorithm does. This is because the kernel permits

Re: [PATCH] i386: add command line option local_apic_timer_c2_ok

2007-03-26 Thread Thomas Gleixner
On Mon, 2007-03-26 at 12:31 +, Pavel Machek wrote: + lapic_timer_c2_ok [IA-32,APIC] trust the local apic timer in + C2 power state. + Could you add comment saying that this is always ok on non-broken systems? That way perhaps it can be added to

Question: half-duplex and full-duplex serial driver

2007-03-26 Thread Mockern
Hi, Could you help me please, how can my serial driver to work in half-duplex and full-duplex mode? Thank you - 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/majordomo-info.html

Re: [3/5] 2.6.21-rc4: known regressions (v2)

2007-03-26 Thread Marcus Better
Pavel Machek wrote: Subject: ThinkPad R60: suspend to disk broken References : http://lkml.org/lkml/2007/3/23/74 input, so I suspended to RAM again. This time the resume failed, it hung after printing Linux! in yellow at the top of the screen. Yellow Linux! is my debugging trick.

[PATCH] x86: tighten kernel image page access rights

2007-03-26 Thread Jan Beulich
On x86-64, kernel memory freed after init can be entirely unmapped instead of just getting 'poisoned' by overwriting with a debug pattern. On i386 and x86-64 (under CONFIG_DEBUG_RODATA), kernel text and bug table can also be write-protected. On x86-64, in addition to that, also make sure that

Re: [patch 1/2] hugetlb: add resv argument to hugetlb_file_setup

2007-03-26 Thread Adam Litke
On Fri, 2007-03-23 at 15:42 -0700, Ken Chen wrote: rename hugetlb_zero_setup() to hugetlb_file_setup() to better match function name convention like shmem implementation. Also add an argument to the function to indicate whether file setup should reserve hugetlb page upfront or not.

Re: [4/5] 2.6.21-rc4: known regressions (v2)

2007-03-26 Thread Michael S. Tsirkin
Update: I tested 2.6.21-rc5 with the following settings # CONFIG_NO_HZ is not set CONFIG_HPET_TIMER=y CONFIG_HPET_EMULATE_RTC=y # CONFIG_HPET is not set 1. Without additional kernel options After systems comes out of suspend to ram, I observed the following behaviour (I used s2ram from

Re: Wrong IDE cable detection in libata [Re: 2.6.21-rc4-mm1]

2007-03-26 Thread Tejun Heo
J.A. Magallón wrote: Libata seems to misdetect my cable. I have double-checked and the cable is 80 pin... Does the following patch fix your problem? http://article.gmane.org/gmane.linux.ide/17444 (You can get the raw message by appending /raw to the URL). -- tejun - To unsubscribe from

Re: 2.6.21-rc4: known regressions with patches (v2)

2007-03-26 Thread Bob Tracy
Adrian Bunk wrote: Subject: boot hangs during IDE detection (clocksource) References : http://lkml.org/lkml/2007/3/19/465 Submitter : Bob Tracy [EMAIL PROTECTED] Caused-By : John Stultz [EMAIL PROTECTED] commit 6bb74df481223731af6c7e0ff3adb31f6442cfcd Handled-By : John

[PATCH] remove pci_dac_dma_... APIs

2007-03-26 Thread Jan Beulich
Based on replies to a respective query, remove the pci_dac_dma_...() APIs (except for pci_dac_dma_supported() on Alpha, where this function is used in non-DAC PCI DMA code). Signed-off-by: Jan Beulich [EMAIL PROTECTED] Cc: Andi Kleen [EMAIL PROTECTED] Cc: Jesse Barnes [EMAIL PROTECTED] Cc:

Re: [patch] hrtimers debug patch

2007-03-26 Thread Thomas Gleixner
On Mon, 2007-03-26 at 16:20 +0200, Michal Piotrowski wrote: I've got a crash dump, I'll try to figure out what is causing it ;) That might be useful http://www.stardust.webpages.pl/files/tbf/bitis-gabonica/2.6.21-rc5/ Can you please upload a disassembly of hrtimer_interrupt() ? I

Re: [3/5] 2.6.21-rc4: known regressions (v2)

2007-03-26 Thread Adrian Bunk
On Mon, Mar 26, 2007 at 12:00:22PM +0200, Marcus Better wrote: Adrian Bunk wrote: Subject: ThinkPad R60: suspend to disk broken References : http://lkml.org/lkml/2007/3/23/74 Submitter : Marcus Better [EMAIL PROTECTED] Status : submitter tries to bisect I just tried -rc5. Now

Re: [patch] hrtimers debug patch

2007-03-26 Thread Michal Piotrowski
On 26/03/07, Thomas Gleixner [EMAIL PROTECTED] wrote: On Mon, 2007-03-26 at 16:20 +0200, Michal Piotrowski wrote: I've got a crash dump, I'll try to figure out what is causing it ;) That might be useful http://www.stardust.webpages.pl/files/tbf/bitis-gabonica/2.6.21-rc5/ Can you please

[PATCH] fs/buffer.c: Loop rewrite within grow_buffers for finding sizebits

2007-03-26 Thread John Anthony Kazos Jr.
From: John Anthony Kazos Jr. [EMAIL PROTECTED] This patch alters the (do...while) construct to a simple (while) and saves one increment operation. It's entirely possible that gcc optimizes away the first iteration anyway, but in case it doesn't (and also because it's easier to read this way),

Re: [patch] hrtimers debug patch

2007-03-26 Thread Michal Piotrowski
On 26/03/07, Michal Piotrowski [EMAIL PROTECTED] wrote: On 26/03/07, Thomas Gleixner [EMAIL PROTECTED] wrote: On Mon, 2007-03-26 at 16:20 +0200, Michal Piotrowski wrote: I've got a crash dump, I'll try to figure out what is causing it ;) That might be useful

[PATCH] Fix Section mismatch compile warning

2007-03-26 Thread Bernhard Walle
Fix Section mismatch warnings in arch/x86_64/kernel/time.c Signed-off-by: Bernhard Walle [EMAIL PROTECTED] --- arch/x86_64/kernel/time.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: linux-2.6.21-rc4-mm1/arch/x86_64/kernel/time.c

[PATCH -mm] Fix: timeout not passed anymore to futex_lock_pi

2007-03-26 Thread Pierre Peiffer
This is a fix for a bug introduced by the patch make-futex_wait-use-an-hrtimer-for-timeout.patch : the timeout value is not passed anymore to futex_lock_pi. Signed-off-by: Pierre Peiffer [EMAIL PROTECTED] --- kernel/futex.c|8 ++-- kernel/futex_compat.c |4 +++- 2 files

Re: debug rsdl 0.33

2007-03-26 Thread Andy Whitcroft
Andy Whitcroft wrote: Con Kolivas wrote: This is about the only place I can see the run_list is looked at unlocked. Can you see if this simple patch helps? The debug patch is unnecessary now. Tests queued with this patch. Will let you know. That patch had no effect on the problem. ...

Re: [PATCH] fat/vfat: optionally ignore system timezone offset when reading/writing timestamps

2007-03-26 Thread OGAWA Hirofumi
Hiroyuki Machida [EMAIL PROTECTED] writes: I'm not famillar with recent fat code, but code itself looks good for just turn on/off time adjusting. On the other hand, I feel we need more consideration on use cases/requirements. I feel that turning off time adjustment is a just ad-hoc solution

Re: [2.6.22 patch] more scheduled OSS driver removal

2007-03-26 Thread Lee Revell
On 3/26/07, Richard Knutsson [EMAIL PROTECTED] wrote: I guess he's referring to the well known Master volume only controls front output problem. This really does need to be resolved, as many other ALSA drivers are effected. rant_mode=on Isn't this quite a basic feature?! Is there somewhere

Re: -rc5: e1000 resume weirdness

2007-03-26 Thread Kok, Auke
Ingo Molnar wrote: hm, on a T60, after suspend/resume, i get an e1000 timeout: e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang Tx Queue 0 TDH ec TDT

Re: -rc5: e1000 resume weirdness

2007-03-26 Thread Jesse Brandeburg
On 3/26/07, Ingo Molnar [EMAIL PROTECTED] wrote: hm, on a T60, after suspend/resume, i get an e1000 timeout: e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang Tx Queue 0 TDH

Re: -rc5: e1000 resume weirdness

2007-03-26 Thread Kok, Auke
Jesse Brandeburg wrote: On 3/26/07, Ingo Molnar [EMAIL PROTECTED] wrote: hm, on a T60, after suspend/resume, i get an e1000 timeout: e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang Tx Queue

Re: race condition in dm-crypt?

2007-03-26 Thread Alasdair G Kergon
On Fri, Mar 23, 2007 at 06:42:14PM +0100, markus reichelt wrote: * Jan C. Nordholz [EMAIL PROTECTED] wrote: I'm seeing this for quite a while now (since 2.6.16 at least), but without any obvious indicator to what might be causing it... where should I continue debugging this? I bet folks at

Re: debug rsdl 0.33

2007-03-26 Thread Con Kolivas
On Tuesday 27 March 2007 01:28, Andy Whitcroft wrote: Andy Whitcroft wrote: Subsequent to that Con suggested testing a refactored RSDL patch. That patch seemed to work on the machine at hand, so tests have been submitted for all the affected machines.

[patch 2.6.21-rc5 1/3] parport-dev driver model support

2007-03-26 Thread David Brownell
Currently a parport_driver can't get a handle on the device node for the underlying parport (PNPACPI, PCI, etc). That prevents correct placement of sysfs child nodes, which can affect things like power management. This patch adds a field to struct parport pointing to that device node, and

[patch 2.6.21-rc5 2/3] legacy PC parports support parport-dev

2007-03-26 Thread David Brownell
From: Jean Delvare [EMAIL PROTECTED] Give legacy parallel ports a platform device in the device tree. This is a quick and dirty implementation; it doesn't actually convert the legacy parport code to the device driver model (by splitting out probing from device creation). But at least parallel

[patch 2.6.21-rc5 3/3] layered parport code uses parport-dev

2007-03-26 Thread David Brownell
Update some of the layered parport_driver code to use parport-dev: - i2c-parport (parent of i2c_adapter) - spi_butterfly (parent of spi_master, allowing cruft removal) - lp (creating class_device) - ppdev (parent of parportN device) - tipar (creating

[patch 2.6.21-rc5] arch/x86_64/kernel/early-quirks.c compiler warning

2007-03-26 Thread David Brownell
Fix unused variable compiler warning on non-SMP x86_64 configs. Signed-off-by: David Brownell [EMAIL PROTECTED] --- a/arch/x86_64/kernel/early-quirks.c +++ b/arch/x86_64/kernel/early-quirks.c @@ -73,9 +73,9 @@ static void __init ati_bugs(void) static void intel_bugs(void) { +#ifdef

[PATCH] Add support for ITE887x serial chipsets

2007-03-26 Thread Niels de Vos
Hi, the Super I/O 887x-chipsets of ITE, are currently not completely supported. Only parport_pc has the ability to activate the (optional) parallel port. This patch adds support for the serial ports. Signed-off-by: Niels de Vos [EMAIL PROTECTED] --- linux-2.6.20.3/drivers/serial/8250_pci.c.orig

Re: some PCMCIA SCSI drivers can be built *only* as modules

2007-03-26 Thread Stefan Richter
Robert P. J. Day wrote at LKML: drivers/scsi/pcmcia/Kconfig: ... config PCMCIA_AHA152X tristate Adaptec AHA152X PCMCIA support depends on m !64BIT select SCSI_SPI_ATTRS help Say Y here if you intend to attach this type of PCMCIA SCSI host

Re: [PATCH] PCMCIA: Allow PCMCIA SCSI drivers to be built into the kernel.

2007-03-26 Thread Stefan Richter
On 3/25/2007 7:59 PM, Robert P. J. Day wrote: Remove the Kconfig requirement that the PCMCIA SCSI drivers be built only as modules, and allow them to be built into the kernel. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] --- i imagine there's a historical reason for these drivers

Re: [PATCH] remove pci_dac_dma_... APIs

2007-03-26 Thread Randy Dunlap
On Mon, 26 Mar 2007 15:12:31 +0100 Jan Beulich wrote: Based on replies to a respective query, remove the pci_dac_dma_...() APIs (except for pci_dac_dma_supported() on Alpha, where this function is used in non-DAC PCI DMA code). Signed-off-by: Jan Beulich [EMAIL PROTECTED] Cc: Andi Kleen

Re: [3/6] 2.6.21-rc4: known regressions

2007-03-26 Thread Thomas Gleixner
On Mon, 2007-03-26 at 13:37 +0800, Jeff Chua wrote: On 3/26/07, Adrian Bunk [EMAIL PROTECTED] wrote: Resume from RAM (s2ram) still broke (tried with or without CONFIG_NO_HZ). Suspend to RAM seems ok, but upon resume, the screen will only display inu and only after pressing the power

Re: [QUICKLIST 1/5] Quicklists for page table pages V4

2007-03-26 Thread Christoph Lameter
On Fri, 23 Mar 2007, Andrew Morton wrote: On Fri, 23 Mar 2007 10:54:12 -0700 (PDT) Christoph Lameter [EMAIL PROTECTED] wrote: Here are the results of aim9 tests on x86_64. There are some minor performance improvements and some fluctuations. There are a lot of numbers there - what

Re: [patch] hrtimers debug patch

2007-03-26 Thread Ingo Molnar
* Michal Piotrowski [EMAIL PROTECTED] wrote: Stardust is down, console log and config attached. thanks! I have stared at hrtimer.c a few more hours and the good news is that i found a narrow SMP race. The bad news is that i dont think it could explain your bug symptoms: the worst-case effect

Re: [PATCH 0/3] VM throttling: avoid blocking occasional writers

2007-03-26 Thread Bill Davidsen
Tomoki Sekiyama wrote: Hi, Thanks for your reply. 3) Use dirty_ratio as the blocking ratio. And add start_writeback_ratio, and start writeback at start_writeback_ratio(default:90) * dirty_ratio / 100 [%]. In this way, specifying blocking ratio can be done in the same way as current

Re: [PATCH -mm] drivers/kvm/svm.c remove unused function

2007-03-26 Thread Avi Kivity
Michal Piotrowski wrote: Remove unused function CC drivers/kvm/svm.o drivers/kvm/svm.c:207: warning: ‘inject_db’ defined but not used Applied, thanks. -- error compiling committee.c: too many arguments to function - To unsubscribe from this list: send the line unsubscribe

<    1   2   3   4   5   6   7   8   >