Re: Linux 2.6.22-rc1

2007-05-14 Thread Jean Delvare
Hi Antonino, hi Linus, On Sun, 13 May 2007 20:50:54 +0200, Antonino Ingargiola wrote: 2007/5/13, Linus Torvalds [EMAIL PROTECTED]: On Sun, 13 May 2007, Antonino Ingargiola wrote: On my desktop pc with Debian Etch and 2.6.22-rc1 the gnome panel applet Sensors Applet give an error

Re: [RFD] Freezing of kernel threads

2007-05-14 Thread Srivatsa Vaddagiri
On Sun, May 13, 2007 at 09:33:41AM -0700, Linus Torvalds wrote: On Sun, 13 May 2007, Gautham R Shenoy wrote: RFC #1: Use get_hot_cpus()- put_hot_cpus() , which follow the well known refcounting model. Yes. And usign the preempt count as a refcount is fairly natural, no? We do already

[OT] Re: patch for vmware for Linux-2.6.21

2007-05-14 Thread Petr Vandrovec
Jeff Chua wrote: On 5/14/07, Arjan van de Ven [EMAIL PROTECTED] wrote: On Mon, 2007-05-14 at 09:18 +0800, Jeff Chua wrote: I'm sorry... but why are you posting these patches here? Those aren't GPL modules, and thus very offtopic for lkml, maybe except for if you want to deliberately have

Re: [patch 0/2] [PATCH] input: correctly handle keys without hardware release event

2007-05-14 Thread Giel de Nijs
On 5/14/07, Dmitry Torokhov [EMAIL PROTECTED] wrote: This patch adds a soft release key mask to input_dev, to enable keyboard drivers to determine which keys never generate a hardware release event and hence add a release event after every press event of such keys. The mask is controlled by

Re: [1/2] 2.6.22-rc1: known regressions

2007-05-14 Thread Jean Delvare
Hi Michal, On Sun, 13 May 2007 20:14:45 +0200, Michal Piotrowski wrote: I2C Subject: Sensors Applet give an error message No chip detected References : http://lkml.org/lkml/2007/5/13/109 Submitter : Antonino Ingargiola [EMAIL PROTECTED] Status : Unknown There is currently zero

Re: Linux 2.6.22-rc1

2007-05-14 Thread Satyam Sharma
Hi David, On 5/14/07, David Miller [EMAIL PROTECTED] wrote: From: Tilman Schmidt [EMAIL PROTECTED] Date: Sun, 13 May 2007 20:19:09 +0200 Would it be asking too much to have help texts on the following new (wrt 2.6.21) configuration options? ESP Scsi Driver Core (SCSI_ESP_CORE) [N/m] (NEW)

[patch 0/4] powerpc 2.6.21-rt1: fix build a breakage and some minor issues

2007-05-14 Thread Tsutomu OWA
Hi Ingo, Please apply. This series of patches fixes a build breakage and some minor issues including oonverting spinlocks to raw ones, adding a need_resched_delayed check, etc. for powerpc64. This applies on top of linux-2.6.21 and patch-2.6.21-rt1. Compile and boot tested for both

Re: [patch 2/4] powerpc 2.6.21-rt1: convert spinlocks to raw ones for Celleb.

2007-05-14 Thread Tsutomu OWA
Convert more spinlocks to raw ones for Celleb. Signed-off-by: Tsutomu OWA [EMAIL PROTECTED] -- owa diff -rup linux-2.6.21-rt1/arch/powerpc/platforms/celleb/htab.c rt/arch/powerpc/platforms/celleb/htab.c --- linux-2.6.21-rt1/arch/powerpc/platforms/celleb/htab.c 2007-04-26

Re: [PATCH] x86-64 highres/dyntick support

2007-05-14 Thread Thomas Gleixner
Alistair, On Mon, 2007-05-14 at 02:17 +0100, Alistair John Strachan wrote: I've noticed a few problems with this patch series, which I manually (without difficulty) ported to 2.6.22-rc1. There are a couple of fixups pending. I'm going to push out a new queue today. Only 195 timer

Re: [patch 1/4] powerpc 2.6.21-rt1: fix a build breakage by adding __raw_*_relax() macros

2007-05-14 Thread Tsutomu OWA
Add missing macros to fix a build breakage for PREEMPT_DESKTOP. Signed-off-by: Tsutomu OWA [EMAIL PROTECTED] -- owa diff -rup linux-2.6.21-rt1/include/asm-powerpc/spinlock.h rt/include/asm-powerpc/spinlock.h --- linux-2.6.21-rt1/include/asm-powerpc/spinlock.h 2007-05-07 14:08:12.0

Re: [patch 0/4] powerpc 2.6.21-rt1: reduce scheduling latency by changing tlb flush size

2007-05-14 Thread Tsutomu OWA
To reduce scheduling latecy by changing tlb flush size to 1. Since tlb flush on Celleb is done by calling (an) expensive hypervisor call(s), it takes a long time to flush tlbs and causes scheduing latency. As I don't know how long it takes on other platforms, it would be better to enclose it

Why can't we sleep in an ISR?

2007-05-14 Thread Learning Linux
I have a very basic doubt here ... what makes it impossible to sleep in an ISR? I mean, I know that the kernel preemption is disabled and the kernel will panic, but I could not understand why? TIA, LL - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [patch 4/4] powerpc 2.6.21-rt1: reduce scheduling latency by changing tlb flush size

2007-05-14 Thread Tsutomu OWA
Oopps, Subject was wrong resending it. Sorry. To reduce scheduling latecy by changing tlb flush size to 1. Since tlb flush on Celleb is done by calling (an) expensive hypervisor call(s), it takes a long time to flush tlbs and causes scheduing latency. As I don't know how long it takes on

Re: [patch 3/3] clockevents: Fix resume logic - updated version

2007-05-14 Thread Andrew Morton
On Sun, 13 May 2007 18:12:50 +0200 Thomas Gleixner [EMAIL PROTECTED] wrote: On Sat, 2007-05-12 at 02:00 -0700, Andrew Morton wrote: Still hangs in the same fashion, sorry. It's peculiar that the hang happens when acpi_evaluate_object() hits its return statement. Any theories there?

Re: [patch 3/4] powerpc 2.6.21-rt1: add a need_resched_delayed() check

2007-05-14 Thread Tsutomu OWA
Add a need_resched_delayed() check. This was pointed by Sergei Shtylyov; http://ozlabs.org/pipermail/linuxppc-dev/2007-March/033148.html Signed-off-by: Tsutomu Owa [EMAIL PROTECTED] -- owa diff -rup linux-2.6.21-rt1/arch/powerpc/kernel/idle.c rt/arch/powerpc/kernel/idle.c ---

Re: [patch 4/4] powerpc 2.6.21-rt1: reduce scheduling latency by changing tlb flush size

2007-05-14 Thread Thomas Gleixner
Tsutomu-san, On Mon, 2007-05-14 at 15:38 +0900, Tsutomu OWA wrote: Oopps, Subject was wrong resending it. Sorry. To reduce scheduling latecy by changing tlb flush size to 1. Since tlb flush on Celleb is done by calling (an) expensive hypervisor call(s), it takes a long time to flush

Re: [patch 3/3] clockevents: Fix resume logic - updated version

2007-05-14 Thread Thomas Gleixner
On Sun, 2007-05-13 at 23:42 -0700, Andrew Morton wrote: On Sun, 13 May 2007 18:12:50 +0200 Thomas Gleixner [EMAIL PROTECTED] wrote: On Sat, 2007-05-12 at 02:00 -0700, Andrew Morton wrote: Still hangs in the same fashion, sorry. It's peculiar that the hang happens when

Re: patch for vmware for Linux-2.6.21

2007-05-14 Thread Christoph Hellwig
On Mon, May 14, 2007 at 11:19:52AM +0800, Jeff Chua wrote: On 5/14/07, Arjan van de Ven [EMAIL PROTECTED] wrote: On Mon, 2007-05-14 at 09:18 +0800, Jeff Chua wrote: I'm sorry... but why are you posting these patches here? Those aren't GPL modules, and thus very offtopic for lkml, maybe

[PATCH] Add __vunmap prototype

2007-05-14 Thread Benjamin Herrenschmidt
__vunmap is not static but I couldn't find a prototype for it, so this adds it. I need to use it in some powerpc patch to come. Signed-off-by: Benjamin Herrenschmidt [EMAIL PROTECTED] include/linux/vmalloc.h |1 + 1 file changed, 1 insertion(+) Index: linux-cell/include/linux/vmalloc.h

Re: [PATCH 2/5] lguest guest feedback tidyups

2007-05-14 Thread Rusty Russell
On Sun, 2007-05-13 at 19:43 +0100, Al Viro wrote: On Fri, May 11, 2007 at 11:21:30AM +1000, Rusty Russell wrote: /* Devices are in page above top of normal mem. */ - lguest_devices = ioremap(max_pfn PAGE_SHIFT, PAGE_SIZE); + lguest_devices = (__force

Re: kernel oops after unloading nf_conntrack_netbios_ns_module

2007-05-14 Thread Gabor Burjan
On Sat, May 12, 2007 at 05:05:51PM +0200, Patrick McHardy wrote: Gabor Burjan wrote: EIP is at destroy_conntrack+0x52/0x127 [nf_conntrack] nmblookup existing_netbios_name cat /proc/net/ip_conntrack sleep 3 rmmod nf_conntrack_netbios_ns Thanks for the report and good testcase, the

Re: Why can't we sleep in an ISR?

2007-05-14 Thread Learning Linux
I have a very basic doubt here ... what makes it impossible to sleep in an ISR? I mean, I know that the kernel preemption is disabled and the kernel will panic, but I could not understand why? Because the interrupt which you are serving in the ISR has been masked to avoid preemption( true for

Re: [PATCH] Add __vunmap prototype

2007-05-14 Thread Andrew Morton
On Mon, 14 May 2007 17:07:03 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: __vunmap is not static but I couldn't find a prototype for it, so this adds it. I need to use it in some powerpc patch to come. Signed-off-by: Benjamin Herrenschmidt [EMAIL PROTECTED]

Re: [RFD] Freezing of kernel threads

2007-05-14 Thread Gautham R Shenoy
On Mon, May 14, 2007 at 11:48:46AM +0530, Srivatsa Vaddagiri wrote: The other complication get/put_hotcpu() had was dealing with write-followed-by-read lock attempt by the *same* thread (whilst doing cpu_down/up). IIRC this was triggered by some callback processing in CPU_DEAD or

Re: [linux-usb-devel] converting appletouch to usb autosuspend...

2007-05-14 Thread Oliver Neukum
Am Samstag, 12. Mai 2007 23:40 schrieb Jiri Kosina: Oliver, do you have any update please? Not yet. You can have them tomorrow. Regards Oliver - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: [RFD] Freezing of kernel threads

2007-05-14 Thread Dipankar Sarma
On Mon, May 14, 2007 at 11:48:46AM +0530, Srivatsa Vaddagiri wrote: On Sun, May 13, 2007 at 09:33:41AM -0700, Linus Torvalds wrote: On Sun, 13 May 2007, Gautham R Shenoy wrote: RFC #1: Use get_hot_cpus()- put_hot_cpus() , which follow the well known refcounting model. Yes. And usign

Re: [PATCH] swsusp: Use platform mode by default

2007-05-14 Thread Stefan Seyfried
On Fri, May 11, 2007 at 03:51:38PM -0700, Linus Torvalds wrote: On Fri, 11 May 2007, Rafael J. Wysocki wrote: Just to clarify, the change in question isn't new. It was introduced by the commit 9185cfa92507d07ac787bc73d06c4eec7239 before 2.6.20, at Seife's request and with

Re: [PATCH] resolve duplicate flag no for PG_lazyfree

2007-05-14 Thread Fengguang Wu
On Sun, May 13, 2007 at 10:46:30PM -0700, Andrew Morton wrote: On Mon, 14 May 2007 10:37:18 +0800 Fengguang Wu [EMAIL PROTECTED] wrote: PG_lazyfree and PG_booked shares the same bit. Either it is a bug that shall fixed by the following patch, or the situation should be explicitly

Re: [patch 4/4] powerpc 2.6.21-rt1: reduce scheduling latency by changing tlb flush size

2007-05-14 Thread Tsutomu OWA
At Mon, 14 May 2007 08:51:46 +0200, Thomas Gleixner wrote: On Mon, 2007-05-14 at 15:38 +0900, Tsutomu OWA wrote: As I don't know how long it takes on other platforms, it would be better to enclose it within #ifdef CONFIG_PPC_CELLEB. Yes, that might be appropriate. Can you add this and

Re: [PATCH] Add __vunmap prototype

2007-05-14 Thread Benjamin Herrenschmidt
On Mon, 2007-05-14 at 00:16 -0700, Andrew Morton wrote: On Mon, 14 May 2007 17:07:03 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: __vunmap is not static but I couldn't find a prototype for it, so this adds it. I need to use it in some powerpc patch to come. Signed-off-by:

Re: [PATCH] Add __vunmap prototype

2007-05-14 Thread Satyam Sharma
On 5/14/07, Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: On Mon, 2007-05-14 at 00:16 -0700, Andrew Morton wrote: On Mon, 14 May 2007 17:07:03 +1000 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: __vunmap is not static but I couldn't find a prototype for it, so this adds it. I need to

Re: [PATCH] driver core: fix warning of temporarily unused multithreaded probing function (was: Re: Linux 2.6.22-rc1)

2007-05-14 Thread Cornelia Huck
On Sun, 13 May 2007 11:47:53 +0200, Borislav Petkov [EMAIL PROTECTED] wrote: if I'm not mistaken, despite the PCI_MULTITHREAD_PROBE removal, Cornelia Huck wanted to keep driver-core-per-subsystem-multithreaded-probing.patch: quote Wouldn't per-subsystem multithreaded probing just expose

[PATCH] Make __vunmap static

2007-05-14 Thread Benjamin Herrenschmidt
__vunmap doesn't seem to be used outside of mm/vmalloc.c, and has no prototype in any header so let's make it static Signed-off-by: Benjamin Herrenschmidt [EMAIL PROTECTED] mm/vmalloc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-cell/mm/vmalloc.c

[patch 0/5] powerpc 2.6.21-rt1] latency trace support for powerpc

2007-05-14 Thread Tsutomu OWA
Hi Ingo, Please consider for inclusion. This series of patches adds very basic latency trace support for powerpc. Compile, boot and trace tested (a little) on Celleb. Thanks in advance. -- owa TOSHIBA, Corprate Software Engineering Center. - To unsubscribe from this list: send the

V4L Regression (Was: Linux 2.6.22-rc1)

2007-05-14 Thread Robert Fitzsimons
Existing v4l applications are failing with the latest release candidate. This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.22-rc1) xinerama 0: 1280x1024+0+0 /dev/video0 [v4l2]: ioctl VIDIOC_G_FBUF: Invalid argument v4l-conf had some trouble, trying to continue anyway ioctl:

Re: [patch 1/5] powerpc 2.6.21-rt1: add mcount() and _mcount()

2007-05-14 Thread Tsutomu OWA
add mcount() and _mcount() for latency trace support. Signed-off-by: Tsutomu OWA [EMAIL PROTECTED] -- owa diff -rup linux-2.6.21-rt1/arch/powerpc/kernel/entry_64.S rt/arch/powerpc/kernel/entry_64.S --- linux-2.6.21-rt1/arch/powerpc/kernel/entry_64.S 2007-05-07 14:08:12.0 +0900 +++

Re: 2.6.22-rc1 lost snd_4236 device

2007-05-14 Thread Takashi Iwai
At Sun, 13 May 2007 12:23:52 -0400 (EDT), Pete Clements wrote: Fyi: With 2.6.22-rc1 get following when loading sound device module. Introduced with 2.6.21-git16. FATAL: Error inserting snd_cs4236 (/lib/modules/2.6.22-rc1/kernel/sound/isa/cs423x/snd-cs4236.ko): No such device FATAL:

Re: [patch 2/5] powerpc 2.6.21-rt1: dummy functions and export _mcount to compile

2007-05-14 Thread Tsutomu OWA
add dummy functions save_stack_trace(), early_printk() for now and export _mcount to compile. Signed-off-by: Tsutomu OWA [EMAIL PROTECTED] -- owa diff -rup linux-2.6.21-rt1/arch/powerpc/kernel/setup_64.c rt/arch/powerpc/kernel/setup_64.c --- linux-2.6.21-rt1/arch/powerpc/kernel/setup_64.c

Re: [patch 3/5] powerpc 2.6.21-rt1: mark raw_local_irq_restore() and timebase_read() as notrace

2007-05-14 Thread Tsutomu OWA
mark raw_local_irq_restore() and timebase_read() as notrace since these are called from __trace(). Signed-off-by: Tsutomu OWA [EMAIL PROTECTED] -- owa diff -rup linux-2.6.21-rt1/arch/powerpc/kernel/irq.c rt/arch/powerpc/kernel/irq.c --- linux-2.6.21-rt1/arch/powerpc/kernel/irq.c 2007-05-07

[PATCH] nommu: add ioremap_page_range().

2007-05-14 Thread Paul Mundt
lib/ioremap.c is presently only built in if CONFIG_MMU is set. While this is reasonable, platforms that support both CONFIG_MMU=y or n need to be able to call in to this regardless. As none of the current nommu platforms do anything special with ioremap(), we assume that it's always successful.

Re: [BUG][PATCH] Fix race condition about network device name allocation

2007-05-14 Thread Kenji Kaneshige
Hi, How about the following (untested), instead. It hold a removes the sysfs entries earlier (on unregister_netdevice), but holds a kobject reference. Then when todo runs the actual last put free happens. I've confirmed the problem is fixed by Stephen's patch on my reproduction environment.

Re: [patch 4/5] powerpc 2.6.21-rt1: rename mcount variable in xmon to xmon_mcount

2007-05-14 Thread Tsutomu OWA
Rename variable name mcount in xmon to xmon_mcount, since it conflicts with mcount() function used by latency trace function. Signed-off-by: Tsutomu OWA [EMAIL PROTECTED] -- owa diff -rup linux-2.6.21-rt1/arch/powerpc/xmon/xmon.c rt/arch/powerpc/xmon/xmon.c ---

Re: [patch 5/5] powerpc 2.6.21-rt1] fix clocksource_timebase.shift value

2007-05-14 Thread Tsutomu OWA
Calculate clocksource_timebase.shift from tb_ticks_per_jiffy to get an accurate translation, though I don't understand why current version of clocksource_timebase.shift could be constant... Signed-off-by: Tsutomu OWA [EMAIL PROTECTED] -- owa --- linux-2.6.21-rt1/arch/powerpc/kernel/time.c

fair clock use in CFS

2007-05-14 Thread Srivatsa Vaddagiri
Hi, I have been brooding over how fair clock is computed/used in CFS and thought I would ask the experts to avoid wrong guesses! As I understand, fair_clock is a monotonously increasing clock which advances at a pace inversely proportional to the load on the runqueue. If load = 1 (task),

Re: + timer_stats-slimmed-down-using-statistics-infrastucture.patch added to -mm tree

2007-05-14 Thread Martin Peschke
Arjan van de Ven wrote: On Fri, 2007-04-20 at 17:18 -0700, [EMAIL PROTECTED] wrote: The patch titled timer_stats slimmed down: using statistics infrastucture has been added to the -mm tree. Its filename is timer_stats-slimmed-down-using-statistics-infrastucture.patch *** Remember to

[PATCH] h8300 atomic.h update

2007-05-14 Thread Yoshinori Sato
add atomic_sub_and_test define. Signed-off-by: Yoshinori Sato [EMAIL PROTECTED] diff --git a/include/asm-h8300/atomic.h b/include/asm-h8300/atomic.h index 21f5442..b4cf0ea 100644 --- a/include/asm-h8300/atomic.h +++ b/include/asm-h8300/atomic.h @@ -37,6 +37,7 @@ static __inline__ int

Re: Linux 2.6.22-rc1

2007-05-14 Thread Antonino Ingargiola
2007/5/14, Jean Delvare [EMAIL PROTECTED]: [cut] I am not familiar with the gnome sensors applet. Does it say where it is getting the data (driver name, device name...)? The applet settings show a list of sensors under the libsensors name. Those are the sensors that work on 2.6.21.1. However

Re: [PATCH 0/2] convert mmap_sem to a scalable rw_mutex

2007-05-14 Thread Esben Nielsen
On Sat, 12 May 2007, Eric Dumazet wrote: Esben Nielsen a écrit : On Sat, 12 May 2007, Peter Zijlstra wrote: On Sat, 2007-05-12 at 11:27 +0200, Esben Nielsen wrote: On Fri, 11 May 2007, Peter Zijlstra wrote: I was toying with a scalable rw_mutex and found that it gives

Re: [PATCH] Add driver for Dallas DS1682 elapsed time recorder

2007-05-14 Thread Jean Delvare
Hi Grant, On Sun, 13 May 2007 01:43:42 -0600, Grant Likely wrote: Signed-off-by: Grant Likely [EMAIL PROTECTED] --- Here is the 3rd iteration with the following changes: - Modified to be an i2c new style driver based on David Brownell's work Can we see the corresponding architecture patch

[PATCH 0/5] use mutex instead of semaphore in several drivers

2007-05-14 Thread Matthias Kaehlcke
This patchset converts semaphores that are used as mutexes to the mutex API in the following drivers/code: I2O IDE CAPI 2.0 ST M25Pxx MTD DataFlash MTD -- Matthias Kaehlcke Linux Application Developer Barcelona You must have a plan. If you don't have a plan, you'll

[PATCH] timekeeping fix mismerge

2007-05-14 Thread Thomas Gleixner
The time keeping code move to kernel/time/timekeeping.c broke the clocksource resume logic patch. Fix it up and move the clocksource_resume() call to the appropriate place. Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c diff

[PATCH 1/5] Use mutexes instead of semaphores in I2O driver

2007-05-14 Thread Matthias Kaehlcke
The I2O driver uses two semaphores as mutexes. Use the mutex API instead of the (binary) semaphores. Signed-off-by: Matthias Kaehlcke [EMAIL PROTECTED] -- diff --git a/drivers/message/i2o/device.c b/drivers/message/i2o/device.c index b9df143..80e35e8 100644 --- a/drivers/message/i2o/device.c +++

[PATCH 2/5] Use mutex instead of semaphore in IDE driver

2007-05-14 Thread Matthias Kaehlcke
The IDE driver uses a semaphore as mutex. Use the mutex API instead of the (binary) semaphore. Signed-off-by: Matthias Kaehlcke [EMAIL PROTECTED] -- diff --git a/drivers/ide/ide-disk.c b/drivers/ide/ide-disk.c index 7fff773..af67fd2 100644 --- a/drivers/ide/ide-disk.c +++

pxamci.c fails to compile

2007-05-14 Thread Mike Rapoport
The PXA MMC controller does not compile for PXA27x after MMC reorganization, because it uses protocol defines to implement HW erratum workaround (lines 232 - 247 of drivers/mmc/host/pxamci.c ). The following patch fixes it -- Sincerely yours, Mike. diff --git a/drivers/mmc/host/pxamci.c

[PATCH 3/5] Use mutex instead of semaphore in CAPI 2.0 driver

2007-05-14 Thread Matthias Kaehlcke
The CAPI 2.0 driver uses a semaphore as mutex. Use the mutex API instead of the (binary) semaphore. Signed-off-by: Matthias Kaehlcke [EMAIL PROTECTED] -- diff --git a/drivers/isdn/capi/kcapi.c b/drivers/isdn/capi/kcapi.c index 3ed34f7..9f73bc2 100644 --- a/drivers/isdn/capi/kcapi.c +++

Re: pxamci.c fails to compile

2007-05-14 Thread Russell King
On Mon, May 14, 2007 at 11:22:04AM +0300, Mike Rapoport wrote: The PXA MMC controller does not compile for PXA27x after MMC reorganization, because it uses protocol defines to implement HW erratum workaround (lines 232 - 247 of drivers/mmc/host/pxamci.c ). The following patch fixes it It's

[PATCH 4/5] Use mutex instead of semaphore in the MTD ST M25Pxx driver

2007-05-14 Thread Matthias Kaehlcke
The MTD ST M25Pxx driver uses a semaphore as mutex. Use the mutex API instead of the (binary) semaphore. Signed-off-by: Matthias Kaehlcke [EMAIL PROTECTED] -- diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c index 78c2511..b32806a 100644 --- a/drivers/mtd/devices/m25p80.c

[PATCH 5/5] Use mutex instead of semaphore in the MTD DataFlash driver

2007-05-14 Thread Matthias Kaehlcke
The MTD DataFlash driver uses a semaphore as mutex. Use the mutex API instead of the (binary) semaphore. Signed-off-by: Matthias Kaehlcke [EMAIL PROTECTED] -- diff --git a/drivers/mtd/devices/mtd_dataflash.c b/drivers/mtd/devices/mtd_dataflash.c index a987e91..a5ed6d2 100644 ---

Re: [PATCH] Fix UCB1x00 driver to use sched_setscheduler

2007-05-14 Thread Pavel Machek
Hi! Index: linux-2.6.21-fix-ucb-drivers/drivers/mfd/ucb1x00-ts.c === --- linux-2.6.21-fix-ucb-drivers.orig/drivers/mfd/ucb1x00-ts.c 2007-05-11 18:53:36.0 +0900 +++

[patch] simplify compat_sys_timerfd.

2007-05-14 Thread Heiko Carstens
From: Heiko Carstens [EMAIL PROTECTED] Just thought this is easier to read. Cc: Davide Libenzi [EMAIL PROTECTED] Signed-off-by: Heiko Carstens [EMAIL PROTECTED] --- Feel free to ignore/drop. fs/compat.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) Index:

[patch] Let smp_call_function_single return -EBUSY.

2007-05-14 Thread Heiko Carstens
From: Heiko Carstens [EMAIL PROTECTED] All architectures that have an implementation of smp_call_function_single let it return -EBUSY if it is asked to execute func on the current cpu. Therefore the UP version must always return -EBUSY. Signed-off-by: Heiko Carstens [EMAIL PROTECTED] --- This

[RFC][PATCH 0/14] VFS based Union Mount(v1)

2007-05-14 Thread Bharata B Rao
Here is another post of vfs based union mount implementation. Union mount provides the filesytem namespace unification feature. Unlike the traditional mounts which hide the contents of the mount point, the union mount presents the merged view of the mount point and the mounted filesytem. These

[RFC][PATCH 1/14] Add union mount documentation

2007-05-14 Thread Bharata B Rao
From: Bharata B Rao [EMAIL PROTECTED] Subject: Add union mount documentation. This is an attempt to document some of the implementation details and issues of union mount. Signed-off-by: Bharata B Rao [EMAIL PROTECTED] Signed-off-by: Jan Blunck [EMAIL PROTECTED] ---

[RFC][PATCH 2/14] Add a new mount flag (MNT_UNION) for union mount

2007-05-14 Thread Bharata B Rao
From: Jan Blunck [EMAIL PROTECTED] Subject: Add a new mount flag (MNT_UNION) for union mount. Introduce MNT_UNION, MS_UNION and FS_WHT flags. There are the necessary flags for doing mount /dev/hda3 /mnt -o union You need additional patches for util-linux for that to work. Signed-off-by:

[RFC][PATCH 3/14] Add the whiteout file type

2007-05-14 Thread Bharata B Rao
From: Jan Blunck [EMAIL PROTECTED] Subject: Add the whiteout file type A white-out stops the VFS from further lookups of the white-outs name and returns -ENOENT. This is the same behaviour as if the filename isn't found. This can be used in combination with union mounts to virtually delete

[RFC][PATCH 4/14] Add config options for union mount

2007-05-14 Thread Bharata B Rao
From: Jan Blunck [EMAIL PROTECTED] Subject: Add config options for union mount Introduces two new config options for union mount: CONFIG_UNION_MOUNT - Enables union mount CONFIG_UNION_MOUNT_DEBUG - Enables debugging support for union mount. Also adds debugging routines. FIXME: this needs some

[RFC][PATCH 5/14] Introduce union stack

2007-05-14 Thread Bharata B Rao
From: Jan Blunck [EMAIL PROTECTED] Subject: Introduce union stack. Adds union stack infrastructure to the dentry structure and provides locking routines to walk the union stack. Signed-off-by: Jan Blunck [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- fs/Makefile

[RFC][PATCH 6/14] Union-mount dentry reference counting

2007-05-14 Thread Bharata B Rao
From: Jan Blunck [EMAIL PROTECTED] Subject: Union-mount dentry reference counting dget is modified to walk the union stack taking reference on every dentry that is part of the union stack. This is necessary to ensure that parts of union stack don't go away from under us. Since dget() takes a

Re: [PATCH] usbusx2yaudio: kfree(NULL) is valid

2007-05-14 Thread Takashi Iwai
At Sat, 12 May 2007 20:29:20 +0200 (MEST), Richard Knutsson wrote: if (!x) kfree(x); is not needed since kfree(NULL) is valid. Signed-off-by: Richard Knutsson [EMAIL PROTECTED] --- Compile-tested with all(yes|mod|no)config on x86(|_64) sparc(|64) Diffed against Linus' git-tree. Thanks,

[RFC][PATCH 7/14] Union-mount mounting

2007-05-14 Thread Bharata B Rao
From: Jan Blunck [EMAIL PROTECTED] Subject: Union-mount mounting Adds union mount support to mount() and umount() system calls. Sets up the union stack during mount and destroys it during unmount. TODO: bind and move mounts aren't yet supported with union mounts. Signed-off-by: Jan Blunck

[RFC][PATCH 8/14] Union-mount lookup

2007-05-14 Thread Bharata B Rao
From: Jan Blunck [EMAIL PROTECTED] Subject: Union-mount lookup Modifies the vfs lookup routines to work with union mounted directories. The existing lookup routines generally lookup for a pathname only in the topmost or given directory. The changed versions of the lookup routines search for the

Re: why does x86 make defconfig build a single, lonely module?

2007-05-14 Thread Satyam Sharma
Hi, On 5/13/07, James Bottomley [EMAIL PROTECTED] wrote: On Sun, 2007-05-13 at 11:10 -0500, James Bottomley wrote: - depends on SCSI + depends on SCSI_SCAN_ASYNC This is incorrect, alright, but not because of any of the reasons James mentions below. The only reason why some module

[RFC][PATCH 9/14] Union-mount readdir

2007-05-14 Thread Bharata B Rao
From: Bharata B Rao [EMAIL PROTECTED] Subject: Union mount readdir This modifies the readdir()/getdents() routines to read directory entries from toplevel and the lower directories of a union and present a merged view. The directory entries are read starting from the top layer and they are

[RFC][PATCH 10/14] In-kernel file copy between union mounted filesystems

2007-05-14 Thread Bharata B Rao
From: Jan Blunck [EMAIL PROTECTED] Subject: In-kernel file copy between union mounted filesystems This patch introduces in-kernel file copy between union mounted filesystems. When a file is opened for writing but resides on a lower (thus read-only) layer of the union stack it is copied to the

[RFC][PATCH 11/14] VFS whiteout handling

2007-05-14 Thread Bharata B Rao
From: Jan Blunck [EMAIL PROTECTED] Subject: VFS whiteout handling Introduce white-out handling in the VFS. Signed-off-by: Jan Blunck [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- fs/inode.c| 17 + fs/namei.c| 476

[RFC][PATCH 12/14] ext2 whiteout support

2007-05-14 Thread Bharata B Rao
From: Jan Blunck [EMAIL PROTECTED] Subject: ext2 whiteout support Introduce whiteout support to ext2. Signed-off-by: Jan Blunck [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- fs/ext2/dir.c |2 ++ fs/ext2/namei.c | 17 +

[RFC][PATCH 13/14] ext3 whiteout support

2007-05-14 Thread Bharata B Rao
From: Bharata B Rao [EMAIL PROTECTED] Subject: ext3 whiteout support Introduce whiteout support for ext3. Signed-off-by: Bharata B Rao [EMAIL PROTECTED] Signed-off-by: Jan Blunck [EMAIL PROTECTED] --- fs/ext3/dir.c |2 - fs/ext3/namei.c | 62

[RFC][PATCH 14/14] tmpfs whiteout support

2007-05-14 Thread Bharata B Rao
From: Jan Blunck [EMAIL PROTECTED] Subject: tmpfs whiteout support Introduce whiteout support to tmpfs. Signed-off-by: Jan Blunck [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- mm/shmem.c |9 - 1 files changed, 8 insertions(+), 1 deletion(-) --- a/mm/shmem.c

[ALPHA] Fix hard_smp_processor_id compile error

2007-05-14 Thread Simon Horman
Remove hardcoding of hard_smp_processor_id on UP systems, 2f4dfe206a2fc07099dfad77a8ea2f4b4ae2140f in Linus' tree, moved the definition of hard_smp_processor_id linux/smp.h to asm/smp.h for UP systems. This causes a regression on Alpha. cc1: warnings being treated as errors

Re: why does x86 make defconfig build a single, lonely module?

2007-05-14 Thread Satyam Sharma
On 5/14/07, Satyam Sharma [EMAIL PROTECTED] wrote: [...] config SCSI_WAIT_SCAN tristate - default m - depends on SCSI - depends on MODULES + default m if SCSI=m + default n Note that this also means SCSI_WAIT_SCAN=n (will not get compiled and built even

Re: pxamci.c fails to compile

2007-05-14 Thread Pierre Ossman
Russell King wrote: On Mon, May 14, 2007 at 11:22:04AM +0300, Mike Rapoport wrote: The PXA MMC controller does not compile for PXA27x after MMC reorganization, because it uses protocol defines to implement HW erratum workaround (lines 232 - 247 of drivers/mmc/host/pxamci.c ). The following

Re: [RFD] Freezing of kernel threads

2007-05-14 Thread Rafael J. Wysocki
On Monday, 14 May 2007 09:26, Gautham R Shenoy wrote: On Mon, May 14, 2007 at 11:48:46AM +0530, Srivatsa Vaddagiri wrote: The other complication get/put_hotcpu() had was dealing with write-followed-by-read lock attempt by the *same* thread (whilst doing cpu_down/up). IIRC this was

[PATCH] kbuild: fix wrong warning message in modpost

2007-05-14 Thread Li Yang
One of the Section mismatch warning message in modpost.c is in wrong format. This patch fix it. Signed-off-by: Li Yang [EMAIL PROTECTED] --- scripts/mod/modpost.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index

Re: [PATCH] improved locking performance in rt_run_flush()

2007-05-14 Thread David Miller
From: Dave Johnson [EMAIL PROTECTED] Date: Sat, 12 May 2007 12:36:47 -0400 While testing adding/deleting large numbers of interfaces, I found rt_run_flush() was the #1 cpu user in a kernel profile by far. The below patch changes rt_run_flush() to only take each spinlock protecting the

[PATCH] x86-64 highres/dyntick support 2.6.22-rc1-v1

2007-05-14 Thread Thomas Gleixner
I'm pleased to announce an updated version of the x86_64 highres/dyntick support patches against 2.6.22-rc1: To build a highres / dyntick enabled kernel for x86_64: http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.21.tar.bz2

Opss: 2.6.21-1.3116.ONELAN Kernel last sysfs file: /class/vc/vcsa7/dev

2007-05-14 Thread Barry Scott
I'm testing the robustness of Xorg 1.3 server with intel 2.0 driver by restarting the X and a set of apps every 30 seconds. After about an hour this happened. 2.6.21-1.3116.ONELAN is the same as 2.6.21-1.3116 from FC7 but with the spec file change so that we can run the kernel on an FC4 system.

Re: fair clock use in CFS

2007-05-14 Thread William Lee Irwin III
On Mon, May 14, 2007 at 02:03:58PM +0530, Srivatsa Vaddagiri wrote: I have been brooding over how fair clock is computed/used in CFS and thought I would ask the experts to avoid wrong guesses! As I understand, fair_clock is a monotonously increasing clock which advances at a pace

2.6.21-ck2

2007-05-14 Thread Con Kolivas
This patchset is designed to improve system responsiveness and interactivity. It is configurable to any workload but the default -ck patch is aimed at the desktop and -cks is available with more emphasis on serverspace. Apply to 2.6.21

Re: [PATCH] sdhci: Add quirk to support polling for card presence

2007-05-14 Thread Pierre Ossman
Philip Langdale wrote: @@ -806,11 +819,18 @@ static void sdhci_tasklet_card(unsigned long param) host-mrq-cmd-error = MMC_ERR_FAILED; tasklet_schedule(host-finish_tasklet); } - } - spin_unlock_irqrestore(host-lock, flags); +

Re: fair clock use in CFS

2007-05-14 Thread Ingo Molnar
* William Lee Irwin III [EMAIL PROTECTED] wrote: On Mon, May 14, 2007 at 02:03:58PM +0530, Srivatsa Vaddagiri wrote: I have been brooding over how fair clock is computed/used in CFS and thought I would ask the experts to avoid wrong guesses! As I understand, fair_clock is a

Re: ACPI Power Down is broken in 2.6.21.1

2007-05-14 Thread Pavel Machek
Hi! I have got a problem with Asus F3T notebook and 2.6.21.1 kernel. When I perform powerdown (with user-space app or alt+sysrq+o) I get Power Down. message, but the notebook doesn't turn off. Everything is ok on 2.6.20. There seem to be no changes in acpi/sleep/poweroff.c so I don't know

Re: Opss: 2.6.21-1.3116.ONELAN Kernel last sysfs file: /class/vc/vcsa7/dev

2007-05-14 Thread Michal Piotrowski
Hi Barry, On 14/05/07, Barry Scott [EMAIL PROTECTED] wrote: I'm testing the robustness of Xorg 1.3 server with intel 2.0 driver by restarting the X and a set of apps every 30 seconds. After about an hour this happened. 2.6.21-1.3116.ONELAN is the same as 2.6.21-1.3116 from FC7 but with the

[PATCH] ppc: MCC2 missing in MPC8260 device_list

2007-05-14 Thread Morten Banzon \(HA/ETO\)
from: Morten Banzon [EMAIL PROTECTED] Adds the MCC2 device to the 8260 device_list. signed-off-by: Morten Banzon [EMAIL PROTECTED] --- diff -uprN linux-2.6.21.1.orig/arch/ppc/syslib/pq2_sys.c linux-2.6.21.1/arch/ppc/syslib/pq2_sys.c --- linux-2.6.21.1.orig/arch/ppc/syslib/pq2_sys.c

Re: [RFC][PATCH 9/14] Union-mount readdir

2007-05-14 Thread Carsten Otte
On 5/14/07, Bharata B Rao [EMAIL PROTECTED] wrote: +/* This is a copy from fs/readdir.c */ +struct getdents_callback { + struct linux_dirent __user *current_dir; + struct linux_dirent __user *previous; + int count; + int error; +}; This should go into a header file.

[PATCH 1/2] kbuild: Add Section mismatch warning whitelist for powerpc

2007-05-14 Thread Li Yang
This patch fixes the following Section mismatch warnings when build powerpc platforms. - WARNING: arch/powerpc/mm/built-in.o - Section mismatch: reference to .init.text:early_get_page from .text between 'pte_alloc_one_kernel' (at offset 0xc68) and 'pte_alloc_one' WARNING:

[PATCH 2/2] powerpc: Fix Section mismatch warnings

2007-05-14 Thread Li Yang
This patch fix the following Section mismatch warnings in powerpc code. WARNING: arch/powerpc/platforms/built-in.o - Section mismatch: reference to .init.data:mv643xx_eth_pd_devs from .text between 'mv643xx_eth_add_pds' (at offset 0x9ed2) and 'gg2_read_config' WARNING:

Re: [PATCH 1/2] scalable rw_mutex

2007-05-14 Thread Peter Zijlstra
Changes include: - wmb+rmb != mb - -state folded into -waiter --- Subject: scalable rw_mutex Scalable reader/writer lock. Its scalable in that the read count is a percpu counter and the reader fast path does not write to a shared cache-line. Its not FIFO fair, but starvation proof by

Re: [PATCH] kbuild: fix wrong warning message in modpost

2007-05-14 Thread Sam Ravnborg
On Mon, May 14, 2007 at 06:04:28PM +0800, Li Yang wrote: One of the Section mismatch warning message in modpost.c is in wrong format. This patch fix it. Thanks. I have another patch from Russell King that fixes this and on top of that makes the warnings more readable. So I will apply his patch.

Re: fair clock use in CFS

2007-05-14 Thread William Lee Irwin III
On Mon, May 14, 2007 at 02:03:58PM +0530, Srivatsa Vaddagiri wrote: I have been brooding over how fair clock is computed/used in CFS and thought I would ask the experts to avoid wrong guesses! As I understand, fair_clock is a monotonously increasing clock which advances at a pace inversely

Re: [PATCH 1/2] kbuild: Add Section mismatch warning whitelist for powerpc

2007-05-14 Thread Sam Ravnborg
On Mon, May 14, 2007 at 06:53:32PM +0800, Li Yang wrote: This patch fixes the following Section mismatch warnings when build powerpc platforms. - WARNING: arch/powerpc/mm/built-in.o - Section mismatch: reference to .init.text:early_get_page from .text between

  1   2   3   4   5   6   7   8   9   10   >