[PATCH]: ioremap function balancing in init/cleanup sound/oss/dmasound/dmacound_awacs.c

2007-07-29 Thread postfail
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Two cases where ioremap can be called in init function but will never be cleaned up. patch is against 2.6.23-rc1. Signed-off-by: Post Fail hushmail.com> - --- - --- ./linux-2.6.22.clean/sound/oss/dmasound/dmasound_awacs.c 2007- 07-08

Re: 2.6.23-rc1-mm1 -- INFO: possible recursive locking detected -- (>hb_spinlock){....}, at: [] irias_seq_show+0xba/0x1a8

2007-07-29 Thread Paul Menage
On 7/28/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > > [] proc_cpuset_show+0x5e/0xb9 > > [] seq_read+0xef/0x266 > > [] vfs_read+0x8e/0x117 > > [] sys_read+0x3d/0x61 > > [] sysenter_past_esp+0x5f/0x99 > > === > > INFO: lockdep is turned off. > > Code: 00 89 d8 83 c4 0c

Re: [PATCH 1/5] Use mutex instead of semaphore in the Host AP driver

2007-07-29 Thread Matthias Kaehlcke
El Mon, Jul 30, 2007 at 09:17:25AM +0530 Satyam Sharma ha dit: > Whoops ... > > > On Mon, 30 Jul 2007, Satyam Sharma wrote: > > > On Mon, 30 Jul 2007, Michael Buesch wrote: > > > > > On Sunday 29 July 2007 23:34, Matthias Kaehlcke wrote: > > > > The Host AP driver uses a semaphore as mutex.

Re: [PATCH -rt 1/9] preempt rcu: check for underflow

2007-07-29 Thread Paul E. McKenney
On Sun, Jul 29, 2007 at 07:45:35PM -0700, Daniel Walker wrote: > Simple WARN_ON to catch any underflow in rcu_read_lock_nesting. > > Signed-off-by: Daniel Walker <[EMAIL PROTECTED]> Acked-by: Paul E. McKenney <[EMAIL PROTECTED]> > --- > kernel/rcupreempt.c |6 ++ > 1 file changed, 6

Re: v2.6.23-rc1-rt6-dw1

2007-07-29 Thread Arjan van de Ven
> > +/* > + * trigger a reschedule on all other CPUs: > + */ > +extern void smp_send_reschedule_allbutself(void); > + > +/* > + * trigger a reschedule on all other CPUs: > + */ > +extern void smp_send_reschedule_allbutself(void); > + just to make sure the C compiler doesn't forget it ? or maybe

Re: v2.6.23-rc1-rt6-dw1

2007-07-29 Thread Arjan van de Ven
> > +/* > + * trigger a reschedule on all other CPUs: > + */ > +extern void smp_send_reschedule_allbutself(void); > + > +/* > + * trigger a reschedule on all other CPUs: > + */ > +extern void smp_send_reschedule_allbutself(void); > + > > /* > * Prepare machine for booting other CPUs. > @@

changing include/asm-generic/pgtable.h for non-mmu

2007-07-29 Thread Greg Ungerer
Hi All, There are some parts of include/asm-generic/pgtable.h that are relevant to the non-mmu architectures. To make it easier to include this from them I would like to ifdef the relevant parts. Does anyone object to something like the patch below? Without this there is a handful of functions

Re: [ck] Re: Linus 2.6.23-rc1

2007-07-29 Thread Matthew Hawkins
On 7/30/07, Linus Torvalds <[EMAIL PROTECTED]> wrote: > For example, how hard is it for people to just admit that CFS actually > does better than SD on a number of things? Including very much on the > desktop. Actually in benchmarks Ingo has quoted, SD was better on the desktop (by a small

Re: [ck] Re: Linus 2.6.23-rc1

2007-07-29 Thread Mike Galbraith
On Sun, 2007-07-29 at 14:48 -0700, Bill Huey wrote: > On Sun, Jul 29, 2007 at 10:25:42PM +0200, Mike Galbraith wrote: > > Absolutely. > > > > Con quit for his own reasons. Given that Con himself has said that CFS > > was _not_ why he quite, please discard this... bait. Anyone who's name > >

Re: [PATCH] Doc: DMA-API update

2007-07-29 Thread Muli Ben-Yehuda
On Sun, Jul 29, 2007 at 06:27:22PM -0700, Randy Dunlap wrote: > From: Randy Dunlap <[EMAIL PROTECTED]> > > Fix typos and update function parameters. > > Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> Acked-by: Muli Ben-Yehuda <[EMAIL PROTECTED]> Cheers, Muli - To unsubscribe from this list:

Re: [PATCH -rt 6/9] spinlock/rt_lock random cleanups

2007-07-29 Thread Ankita Garg
On Sun, Jul 29, 2007 at 07:45:40PM -0700, Daniel Walker wrote: > Signed-off-by: Daniel Walker <[EMAIL PROTECTED]> > > --- > include/linux/rt_lock.h |6 -- > include/linux/spinlock.h |5 +++-- > 2 files changed, 7 insertions(+), 4 deletions(-) > > Index:

Re: LinuxPPS & spinlocks

2007-07-29 Thread Satyam Sharma
Hi Rodolfo, On Sun, 29 Jul 2007, Rodolfo Giometti wrote: > On Sat, Jul 28, 2007 at 05:11:17AM +0530, Satyam Sharma wrote: > > > Take the race between the time_pps_setparams() syscall and a concurrent > > pps_event() from an interrupt for instance. From sys_time_pps_setparams, > > the

Re: LinuxPPS & spinlocks

2007-07-29 Thread Satyam Sharma
Hi, On Sun, 29 Jul 2007, Rodolfo Giometti wrote: > On Sat, Jul 28, 2007 at 05:11:17AM +0530, Satyam Sharma wrote: > > > > [ Also, have you considered making pps_source a list and not an array? > > > It'll help you lose a whole lot of MAX_SOURCES, pps_is_allocated, etc > > > kind of gymnastics

[PATCH] Eliminate warnings in ide-tape.c

2007-07-29 Thread Stephen Rothwell
drivers/ide/ide-tape.c: In function '__idetape_kmalloc_stage': drivers/ide/ide-tape.c:2588: warning: large integer implicitly truncated to unsigned type drivers/ide/ide-tape.c:2616: warning: large integer implicitly truncated to unsigned type b_size in struct idetape_bh is an unsigned short.

Re: [PATCH] Remove fs.h from mm.h

2007-07-29 Thread Bryan Wu
On Mon, 2007-07-30 at 08:08 +0800, Linus Torvalds wrote: > > > On Mon, 30 Jul 2007, Alexey Dobriyan wrote: > > > > Cross-compile tested without regressions on my two usual configs and > (sigh): > > > > alpha arm-mx1adsmips-bigsur > powerpc-ebony > .. > > Heh. > >

Re: [SPARC32] NULL pointer derefference

2007-07-29 Thread David Miller
From: Mark Fortescue <[EMAIL PROTECTED]> Date: Mon, 30 Jul 2007 03:18:42 +0100 (BST) > Unfortunatly Sparc32 sun4c low level memory management apears to be > incompatible with commit b6a2fea39318e43fee84fa7b0b90d68bed92d2ba > mm: variable length argument support. > > For some reason, this commit

Re: LinuxPPS & spinlocks

2007-07-29 Thread Satyam Sharma
Hi Rodolfo, On Sun, 29 Jul 2007, Rodolfo Giometti wrote: > On Sat, Jul 28, 2007 at 02:17:24AM +0530, Satyam Sharma wrote: > > > > I only glanced through the code, so could be wrong, but I noticed that > > the only global / shared data you have in there is a global "pps_source" > > array of

Re: [PATCH 01/10] Task Containers(V11): Basic task container framework

2007-07-29 Thread YAMAMOTO Takashi
> +extern void container_init_smp(void); > +static inline void container_init_smp(void) {} stale prototypes? YAMAMOTO Takashi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [PATCH 5/5] Use mutex instead of semaphore in the DVB frontend tuning interface

2007-07-29 Thread Satyam Sharma
On Sun, 29 Jul 2007, Matthias Kaehlcke wrote: > The DVB frontend tuning interface uses a semaphore as mutex. Use the > mutex API instead of the (binary) semaphore. > > Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> Reviewed-by: Satyam Sharma <[EMAIL PROTECTED]> - To unsubscribe from

Re: [PATCH 4/5] Use mutex instead of semaphore in ISDN subsystem common functions

2007-07-29 Thread Satyam Sharma
On Sun, 29 Jul 2007, Matthias Kaehlcke wrote: > The ISDN subsystem common functions use a semaphore as mutex. Use the > mutex API instead of the (binary) semaphore. > > Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> Reviewed-by: Satyam Sharma <[EMAIL PROTECTED]> - To unsubscribe from

Re: [PATCH 1/5] Use mutex instead of semaphore in the Host AP driver

2007-07-29 Thread Satyam Sharma
Whoops ... On Mon, 30 Jul 2007, Satyam Sharma wrote: > On Mon, 30 Jul 2007, Michael Buesch wrote: > > > On Sunday 29 July 2007 23:34, Matthias Kaehlcke wrote: > > > The Host AP driver uses a semaphore as mutex. Use the mutex API > > > instead of the (binary) semaphore. > > > > > >

v2.6.23-rc1-rt6-dw1

2007-07-29 Thread Daniel Walker
I've released another version of the real-time tree. It's just a slightly more bisectable tree, and it includes the fixes I've just released. You can download a combined patch from, ftp://source.mvista.com/pub/dwalker/rt/patch-2.6.23-rc1-rt6-dw1 Or a broken out set from,

Re: sk98lin for 2.6.23-rc1

2007-07-29 Thread Rob Sims
On Thu, Jul 26, 2007 at 06:57:01PM +0200, Adrian Bunk wrote: > On Thu, Jul 26, 2007 at 11:16:36AM -0400, Kyle Rose wrote: > > >From http://www.krose.org/~krose/computing.html: > > > > Since the sky2 driver continues to suck ass (which is a technical > > description for "it hangs all the time

Re: [PATCH 3/5] Use mutex instead of semaphore in the SCSI Tape driver

2007-07-29 Thread Satyam Sharma
On Sun, 29 Jul 2007, Matthias Kaehlcke wrote: > The SCSI Tape driver uses a semaphore as mutex. Use the mutex API > instead of the (binary) semaphore. > > Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> Reviewed-by: Satyam Sharma <[EMAIL PROTECTED]> - To unsubscribe from this list: send

Re: [patch][rfc] 2.6.23-rc1 mm: NUMA replicated pagecache

2007-07-29 Thread Nick Piggin
On Fri, Jul 27, 2007 at 10:30:47AM -0400, Lee Schermerhorn wrote: > On Fri, 2007-07-27 at 10:42 +0200, Nick Piggin wrote: > > Hi, > > > > Just got a bit of time to take another look at the replicated pagecache > > patch. The nopage vs invalidate race and clear_page_dirty_for_io fixes > > gives me

[2.6.22] negative time jump

2007-07-29 Thread Vasily Averin
I've investigated why my testnode freezes. When I found that node is freezed again I've started to press Sysrq keys and noticed the following negative time jump. Could anybody please help me to understand the reasons of this issue? --- VvS comment: some pre-history: node boot Jul 27 13:58:10

Re: [PATCH 2/5] Use mutex instead of semaphore in the OnStream SCSI Tape driver

2007-07-29 Thread Satyam Sharma
Hi, On Sun, 29 Jul 2007, Matthias Kaehlcke wrote: > The OnStream SCSI Tape driver uses a semaphore as mutex. Use the mutex > API instead of the (binary) semaphore. > > Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> > [...] > @@ -3298,7 +3298,7 @@ static ssize_t osst_write(struct file *

Re: [PATCH 1/5] Use mutex instead of semaphore in the Host AP driver

2007-07-29 Thread Satyam Sharma
On Mon, 30 Jul 2007, Michael Buesch wrote: > On Sunday 29 July 2007 23:34, Matthias Kaehlcke wrote: > > The Host AP driver uses a semaphore as mutex. Use the mutex API > > instead of the (binary) semaphore. > > > > Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> [ Something seems to have

Re: [linux-usb-devel] usb-storage autosuspend bug?

2007-07-29 Thread Linus Torvalds
On Fri, 27 Jul 2007, Alan Stern wrote: > > I don't think it's a refcounting problem. My guess is that the > underlying cause is the bug in your urb->status removal patch for > usb_start_wait_urb() -- the one I fixed here: > > http://marc.info/?l=linux-usb-devel=118531582013355=2 > > Of

[PATCH][resend] Fix a typo in Documentation/keys.txt

2007-07-29 Thread Satyam Sharma
[PATCH] Fix a typo in Documentation/keys.txt Signed-off-by: Satyam Sharma <[EMAIL PROTECTED]> Acked-by: David Howells <[EMAIL PROTECTED]> --- [ Previously sent on: June 9, 2007 ] Documentation/keys.txt |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff -ruNp

Re: [PATCH 2/2] Introduce CONFIG_SUSPEND

2007-07-29 Thread Kyle Moffett
On Jul 29, 2007, at 17:30:40, Richard Hughes wrote: So are you guys using: "standby" = idle state, ~0.5 seconds "suspend" = sleep to ram, ~10 seconds "hibernate" = sleep to disk, ~30 seconds If so - you rock. This is the common nomenclature I've been pushing for a few months now in GNOME,

Re: Update: ide problems: 2.6.22-git17 working, 2.6.23-rc1* is not:

2007-07-29 Thread Danny ter Haar
Quoting Gabriel C ([EMAIL PROTECTED]): > Now while we think is ACPI this should be easy for you to bisect. > This commit > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=39804b20f62532fa05c2a8c3e2d1ae551fd0327b > merged ACPI so this one should be your first bad one. >

[PATCH -rt 8/9] spinlocks/rwlocks: use PICK_FUNCTION()

2007-07-29 Thread Daniel Walker
Reaplace old PICK_OP style macros with the new PICK_FUNCTION macro. Signed-off-by: Daniel Walker <[EMAIL PROTECTED]> --- include/linux/sched.h| 13 - include/linux/spinlock.h | 345 ++- kernel/rtmutex.c |2 lib/dec_and_lock.c

[PATCH -rt 9/9] seqlocks: use PICK_FUNCTION

2007-07-29 Thread Daniel Walker
Replace the old PICK_OP style macros with PICK_FUNCTION. Although, seqlocks has some alien code, which I also replaced as can be seen from the line count below. Signed-off-by: Daniel Walker <[EMAIL PROTECTED]> --- include/linux/seqlock.h | 234 +++-

[PATCH -rt 2/9] Dont allow non-threaded softirqs and threaded hardirqs

2007-07-29 Thread Daniel Walker
From: Steven Rostedt <[EMAIL PROTECTED]> Ingo, I think this was sent before, and it did cause problems before. Would there be *any* reason to have non-threaded softirqs but threaded hardirqs. I can see lots of issues with that. This patch has selecting hardirqs also select softirqs as threads.

[PATCH -rt 4/9] ifdef raise_softirq_irqoff wakeup

2007-07-29 Thread Daniel Walker
raise_softirq is called every timer interrupt in run_local_timers(), which causes a thread wakeup to happen every timer interrupt. This happens in !CONFIG_PREEMPT_SOFTIRQS, which means the wakeup is most likely not needed. In addition it also fouls calc_load() since it's, agian, observing at least

[PATCH -rt 7/9] introduce PICK_FUNCTION

2007-07-29 Thread Daniel Walker
PICK_FUNCTION() is similar to the other PICK_OP style macros, and was created to replace them all. I used variable argument macros to handle PICK_FUNC_2ARG/PICK_FUNC_1ARG. Otherwise the marcos are similar to the original macros used for semaphores. The entire system is used to do a compile time

[PATCH -rt 3/9] Fix jiffies wrap issue in update_times

2007-07-29 Thread Daniel Walker
In prior -rt verisons the last_tick value was called wall_jiffies and was initialized in this same way as below. If this value isn't initialized the calc_load function gets skewed for several minutes right after boot up. Skewed meaning always zero. Signed-off-by: Daniel Walker <[EMAIL

[PATCH -rt 6/9] spinlock/rt_lock random cleanups

2007-07-29 Thread Daniel Walker
Signed-off-by: Daniel Walker <[EMAIL PROTECTED]> --- include/linux/rt_lock.h |6 -- include/linux/spinlock.h |5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) Index: linux-2.6.22/include/linux/rt_lock.h ===

[PATCH -rt 5/9] net: fix mis-merge in qdisc_restart

2007-07-29 Thread Daniel Walker
This mismerge caused my networking to malfunction. The interface would come up, but no traffic would make it in/out .. Signed-off-by: Daniel Walker <[EMAIL PROTECTED]> --- net/sched/sch_generic.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index:

[PATCH -rt 1/9] preempt rcu: check for underflow

2007-07-29 Thread Daniel Walker
Simple WARN_ON to catch any underflow in rcu_read_lock_nesting. Signed-off-by: Daniel Walker <[EMAIL PROTECTED]> --- kernel/rcupreempt.c |6 ++ 1 file changed, 6 insertions(+) Index: linux-2.6.22/kernel/rcupreempt.c ===

[PATCH v3 -mm 9/9] netconsole: Support dynamic reconfiguration using configfs

2007-07-29 Thread Satyam Sharma
From: Satyam Sharma <[EMAIL PROTECTED]> [9/9] netconsole: Support dynamic reconfiguration using configfs This patch introduces support for dynamic reconfiguration (adding, removing and/or modifying parameters of netconsole targets at runtime) using a userspace interface exported via configfs.

[PATCH v3 -mm 6/9] netconsole: Introduce netconsole_target

2007-07-29 Thread Satyam Sharma
From: Satyam Sharma <[EMAIL PROTECTED]> [6/9] netconsole: Introduce netconsole_target Introduce a wrapper structure over netpoll to represent logging targets configured in netconsole. This will get extended with other members in further patches. This is done independent of the

[PATCH v3 -mm 7/9] netconsole: Introduce netconsole_netdev_notifier

2007-07-29 Thread Satyam Sharma
From: Satyam Sharma <[EMAIL PROTECTED]> [7/9] netconsole: Introduce netconsole_netdev_notifier To update fields of underlying netpoll structure at runtime on corresponding NETDEV_CHANGEADDR or NETDEV_CHANGENAME notifications. ioctl(SIOCSIFHWADDR or SIOCSIFNAME) could be used to change the

[PATCH v3 -mm 8/9] netconsole: Support multiple logging targets

2007-07-29 Thread Satyam Sharma
From: Satyam Sharma <[EMAIL PROTECTED]> [8/9] netconsole: Support multiple logging targets This patch introduces support for multiple targets, independent of CONFIG_NETCONSOLE_DYNAMIC -- this is useful even in the default case and (including the infrastructure introduced in previous patches)

[PATCH v3 -mm 3/9] netconsole: Simplify boot/module option setup logic

2007-07-29 Thread Satyam Sharma
From: Satyam Sharma <[EMAIL PROTECTED]> [3/9] netconsole: Simplify boot/module option setup logic Presently, boot/module parameters are set up quite differently for the case of built-in netconsole (__setup() -> obsolete_checksetup() -> netpoll_parse_options() -> strlen(config) == 0 in

[PATCH v3 -mm 4/9] netconsole: Use netif_running() in write_msg()

2007-07-29 Thread Satyam Sharma
From: Satyam Sharma <[EMAIL PROTECTED]> [4/9] netconsole: Use netif_running() in write_msg() Avoid unnecessarily disabling interrupts and calling netpoll_send_udp() if the corresponding local interface is not up. Signed-off-by: Satyam Sharma <[EMAIL PROTECTED]> Acked-by: Keiichi Kii <[EMAIL

[PATCH v3 -mm 5/9] netconsole: Add some useful tips to documentation

2007-07-29 Thread Satyam Sharma
From: Satyam Sharma <[EMAIL PROTECTED]> [5/9] netconsole: Add some useful tips to documentation Add some useful general-purpose tips. Also suggest solution for the frequent problem of console loglevel set too low numerically (i.e. for high priority messages only) on the sender. Signed-off-by:

[PATCH v3 -mm 2/9] netconsole: Remove bogus check

2007-07-29 Thread Satyam Sharma
From: Satyam Sharma <[EMAIL PROTECTED]> [2/9] netconsole: Remove bogus check The (!np.dev) check in write_msg() is bogus (always false), because: np.dev is set by netpoll_setup(), which is called by init_netconsole() before register_console(), so write_msg() cannot be triggered unless

[PATCH v3 -mm 1/9] netconsole: Cleanups, codingstyle, prettyfication

2007-07-29 Thread Satyam Sharma
From: Satyam Sharma <[EMAIL PROTECTED]> [1/9] netconsole: Cleanups, codingstyle, prettyfication (1) Remove unwanted headers. (2) Mark __init and __exit as appropriate. (3) Various trivial codingstyle and prettification stuff. Signed-off-by: Satyam Sharma <[EMAIL PROTECTED]> Signed-off-by:

[PATCH v3 -mm 0/9] netconsole: Multiple targets and dynamic reconfigurability

2007-07-29 Thread Satyam Sharma
[0/9] netconsole: Multiple targets and dynamic reconfigurability This is v3 of the patchset, the previous versions are available at: http://lkml.org/lkml/2007/7/4/107 http://lkml.org/lkml/2007/7/10/78 Diffed against 2.6.23-rc1-git6 (6c8dca5d as of writing), but applies successfully to

[PATCH] mips: qemu network work again

2007-07-29 Thread Kyungmin Park
After kernel 2.6.21, the qemu of mips with nfsroot is not working. There are too much WATCHDOG timeout. I try to find what makes it not working and I found it. After Ingo Monlar's patch "[PATCH] genirq: do not mask interrupts by default" [1], it's not working. To solve this, we also have to

[SPARC32] NULL pointer derefference

2007-07-29 Thread Mark Fortescue
Hi All, Unfortunatly Sparc32 sun4c low level memory management apears to be incompatible with commit b6a2fea39318e43fee84fa7b0b90d68bed92d2ba mm: variable length argument support. For some reason, this commit corrupts the memory used by the low level context/pte handling ring buffers in

[PATCH] tiny sched_getaffinity cleanup

2007-07-29 Thread Ulrich Drepper
Unless I'm missing something quite tricky here's another tiny cleanup. The generated code is not affected (gcc is smart enough) but for people looking over the code it is just irritating to have the extra conditional. Signed-off-by: Ulrich Drepper <[EMAIL PROTECTED]> --- kernel/sched.c

Re: [GIT PATCH] SCSI bug fixes for 2.6.23-rc1

2007-07-29 Thread Jeff Garzik
James Bottomley wrote: On Sun, 2007-07-29 at 21:04 -0400, Jeff Garzik wrote: James Bottomley wrote: msleep_interruptible -> ssleep is a change with zero practical impact for this driver, eh, how do you figure? A signal can clearly cause the abort-related functions to delay far shorter than

Re: [GIT PATCH] SCSI bug fixes for 2.6.23-rc1

2007-07-29 Thread James Bottomley
On Sun, 2007-07-29 at 21:04 -0400, Jeff Garzik wrote: > James Bottomley wrote: > > msleep_interruptible -> ssleep is a > > change with zero practical impact for this driver, > > eh, how do you figure? > > A signal can clearly cause the abort-related functions to delay far > shorter than the

Re: Power Management framework proposal

2007-07-29 Thread Matthew Garrett
On Sun, Jul 29, 2007 at 03:00:07PM -0700, [EMAIL PROTECTED] wrote: > yes it is, and each type of device is growing it's own, incompatible, > interfaces for controlling things like this. I was aiming to do two > things. Anything playing with power management needs to be aware of the

Re: [PATCH] Make lguest compile with CONFIG_BLOCK=n and CONFIG_NET=n

2007-07-29 Thread Gabriel C
Rusty Russell wrote: > On Sun, 2007-07-29 at 17:18 +0200, Gabriel C wrote: >> Hi Rusty, >> >> Lguest should depend on BLOCK too , without BLOCK set I get this error: > > Hi Gabriel, > > Thanks for the report! It's probably better to fix this properly > rather than hack it as I did for

[PATCH] Doc: DMA-API update

2007-07-29 Thread Randy Dunlap
From: Randy Dunlap <[EMAIL PROTECTED]> Fix typos and update function parameters. Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> --- Documentation/DMA-API.txt | 79 ++ 1 file changed, 38 insertions(+), 41 deletions(-) ---

Re: [ck] Re: SD still better than CFS for 3d ?(was Re: 2.6.23-rc1)

2007-07-29 Thread Matthew Hawkins
On 7/30/07, John <[EMAIL PROTECTED]> wrote: > I understand that, I was just wondering if the FPS scales the same natively > vs. Wine as I typically only run native games. I have been hesitant to move > over to CFS due to reports of 3D issues and wanted to see if you had numbers > in regards to

Re: [PATCH] Make lguest compile with CONFIG_BLOCK=n and CONFIG_NET=n

2007-07-29 Thread Rusty Russell
On Mon, 2007-07-30 at 06:18 +0530, Satyam Sharma wrote: > On 7/30/07, Rusty Russell <[EMAIL PROTECTED]> wrote: > > +config LGUEST_NET > > + tristate > > + depends on LGUEST_GUEST && NET > > default y ? Thanks, that does work better. Clean configs get an "N" otherwise 8( > I /think/

Re: [GIT PATCH] SCSI bug fixes for 2.6.23-rc1

2007-07-29 Thread Jeff Garzik
James Bottomley wrote: msleep_interruptible -> ssleep is a change with zero practical impact for this driver, eh, how do you figure? A signal can clearly cause the abort-related functions to delay far shorter than the driver wishes. The msleep_interruptible() in arcmsr_wait_msgint_ready()

[PATCH] CPU online file permission

2007-07-29 Thread Ulrich Drepper
Is there a reason why the "online" file in the subdirectories for the CPUs in /sys/devices/system isn't world-readable? I cannot imagine it to be security relevant especially now that a getcpu() syscall can be used to determine what CPUa thread runs on. The file is useful to correctly implement

Re: [PATCH 0/3] core_pattern: cleaned up repost/continuing post of core_pattern enhancements

2007-07-29 Thread Neil Horman
On Mon, Jul 30, 2007 at 07:45:39AM +0800, Eugene Teo wrote: > Hi Martin, > > Martin Pitt wrote: > > Eugene Teo [2007-07-29 21:03 +0800]: > Also, it is probably good to think how we can "drop privileges" while > piping > the core dump output to an external program. A malicious user

Re: [GIT PATCH] SCSI bug fixes for 2.6.23-rc1

2007-07-29 Thread James Bottomley
On Sun, 2007-07-29 at 18:51 -0400, Jeff Garzik wrote: > James Bottomley wrote: > > This is basically a set of bug fixes with a few minor cleanups thrown > > in. There are also a few bsg fixes we're taking through this tree > > because SCSI is the current sole consumer. The reason for the huge

Re: [PATCH] Make lguest compile with CONFIG_BLOCK=n and CONFIG_NET=n

2007-07-29 Thread Satyam Sharma
On 7/30/07, Rusty Russell <[EMAIL PROTECTED]> wrote: > [...] > Gabriel C reports lguest doesn't compile with CONFIG_BLOCK=n. Fix > this by introducing a config var for the block device, which depends > on LGUEST && BLOCK. Do the same for the net driver, rather then > depending gratuitously on

Re: [PATCH 09/68] 0 -> NULL, for arch/m68knommu

2007-07-29 Thread Greg Ungerer
Hi Yoann, Yoann Padioleau wrote: When comparing a pointer, it's clearer to compare it to NULL than to 0. Signed-off-by: Yoann Padioleau <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Acked-by: Greg Ungerer <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] --- comempci.c |2 +- 1 file changed, 1

[PATCH] Make lguest compile with CONFIG_BLOCK=n and CONFIG_NET=n

2007-07-29 Thread Rusty Russell
On Sun, 2007-07-29 at 17:18 +0200, Gabriel C wrote: > Hi Rusty, > > Lguest should depend on BLOCK too , without BLOCK set I get this error: Hi Gabriel, Thanks for the report! It's probably better to fix this properly rather than hack it as I did for NET. Linus, please apply: Gabriel

Re: [PATCH 0/2] Introduce CONFIG_HIBERNATION and CONFIG_SUSPEND (updated)

2007-07-29 Thread Linus Torvalds
Ok, I took this, and modified Len's patch to re-introduce ACPI_SLEEP on top of it (I took the easy way out, and just made PM_SLEEP imply ACPI_SLEEP, which should make everything come out right. I could have dropped ACPI_SLEEP entirely in favour of PM_SLEEP, but that would have implied

Re: [PATCH] Remove fs.h from mm.h

2007-07-29 Thread Linus Torvalds
On Mon, 30 Jul 2007, Alexey Dobriyan wrote: > > Cross-compile tested without regressions on my two usual configs and (sigh): > > alpha arm-mx1adsmips-bigsur powerpc-ebony .. Heh. Kudos for going above and beyond. "But where is blackfin and frv?"

Re: [PATCH] m68knommu: Get rid of duplicate include

2007-07-29 Thread Greg Ungerer
Hi Jesper, Jesper Juhl wrote: This patch removes the duplicate inclusion of asm/irq.h from arch/m68knommu/platform/5206e/config.c You can add my acked by: Acked-by: Greg Ungerer <[EMAIL PROTECTED]> Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- arch/m68knommu/platform/5206e/config.c

Re: Linus 2.6.23-rc1

2007-07-29 Thread Linus Torvalds
On Mon, 30 Jul 2007, George Sescher wrote: > > He said having reality checks is a good thing. He's encouraging some > poor bastard to maintain plugsched out of mainline to have SD or > whatever to compare to. My bad, it was me who misread that (I didn't react to the name, I was thinking

Re: [PATCH 0/3] core_pattern: cleaned up repost/continuing post of core_pattern enhancements

2007-07-29 Thread Eugene Teo
Hi Martin, Martin Pitt wrote: > Eugene Teo [2007-07-29 21:03 +0800]: Also, it is probably good to think how we can "drop privileges" while piping the core dump output to an external program. A malicious user can potentially use it as a possible backdoor since anything

Re: Linus 2.6.23-rc1

2007-07-29 Thread George Sescher
> On Mon, 30 Jul 2007, George Sescher wrote: > > > > > > You're advocating plugsched now? On 30/07/07, Linus Torvalds <[EMAIL PROTECTED]> wrote: > I'd suggest people here take a look at the code. It's not what Ingo was > saying, and it's not what the code is set up to do. He's just stating that

Re: cpufreq scaling appears not to work on overclocked systems

2007-07-29 Thread Dave Jones
On Sun, Jul 29, 2007 at 03:16:45PM -0600, Berck E. Nash wrote: > I'm running a Core2 Duo 1.86GHz overclocked to 2.56GHz. Everything is > normal with cpufreq scaling disabled. With cpufreq scaling enabled in > the kernel, using any governor, /proc/cpuinfo indicates a maximum of the > rated

Re: Fwd: [PATCH] Reboot Dreamcast under software control

2007-07-29 Thread Paul Mundt
On Mon, Jul 30, 2007 at 12:05:31AM +0100, Adrian McMenamin wrote: > On Mon, 2007-07-30 at 07:50 +0900, Paul Mundt wrote: > > On Sun, Jul 29, 2007 at 07:25:21PM +0100, Adrian McMenamin wrote: > > > diff --git a/arch/sh/kernel/process.c b/arch/sh/kernel/process.c > > > index 6334a4c..6f5e9e4 100644

Re: Linus 2.6.23-rc1

2007-07-29 Thread Linus Torvalds
On Mon, 30 Jul 2007, George Sescher wrote: > > > You're advocating plugsched now? I'd suggest people here take a look at the code. It's not what Ingo was saying, and it's not what the code is set up to do. He's just stating that the way he split up the files, it's actually easier from a

Re: Fwd: [PATCH] Reboot Dreamcast under software control

2007-07-29 Thread Adrian McMenamin
On Mon, 2007-07-30 at 07:50 +0900, Paul Mundt wrote: > On Sun, Jul 29, 2007 at 07:25:21PM +0100, Adrian McMenamin wrote: > > diff --git a/arch/sh/kernel/process.c b/arch/sh/kernel/process.c > > index 6334a4c..6f5e9e4 100644 > > --- a/arch/sh/kernel/process.c > > +++ b/arch/sh/kernel/process.c > >

Re: Linus 2.6.23-rc1

2007-07-29 Thread George Sescher
> * Kasper Sandberg <[EMAIL PROTECTED]> wrote: > > [...] As far as im concerned, i may be forced to unofficially maintain > > SD for my own systems(allthough lots in the gaming community is bound > > to be interrested, as it does make games lots better) On 30/07/07, Ingo Molnar <[EMAIL

Re: [PATCH] powerpc: clean out a bunch of duplicate includes

2007-07-29 Thread Benjamin Herrenschmidt
On Mon, 2007-07-30 at 00:18 +0200, Jesper Juhl wrote: > Hi, > > Here's a patch to clean out a bunch of duplicate includes from > arch/powerpc/ > > Please consider for inclusion. Ah.. historical stuff stacking up :-) > > Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> Acked-by: Benjamin

Re: RFC: Remove the arm26 port

2007-07-29 Thread ian
On Sun, 2007-07-29 at 13:50 +0200, Adrian Bunk wrote: > Considering the state of the arm26 port, I do hereby suggest to remove > it from the Linx kernel since it's far from a usable state and doesn't > seem to come back into a usable state. > > If anyone wants to work on getting this port back

Re: [PATCH] drivers/bluetooth/hci_ldisc.c: fix possible NULL dereferences

2007-07-29 Thread Eugene Teo
Hi Marcel, Marcel Holtmann wrote: >> Commit 22ad42033b7d2b3d7928fba9f89d1c7f8a3c9581 did not completely fix all >> the possible NULL dereferences. Besides hci_uart_close(), we also need to >> make sure that hdev is valid before calling hci_{unregister,free}_dev(). > > I don't see any issue.

Re: [PATCH] sh64: arch/sh64/kernel/signal.h - duplicate include removal

2007-07-29 Thread Paul Mundt
On Mon, Jul 30, 2007 at 12:44:00AM +0200, Jesper Juhl wrote: > This patch removes the duplicate inclusion of linux/personality.h > from arch/sh64/kernel/signal.c > > Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> Acked-by: Paul Mundt <[EMAIL PROTECTED]> - To unsubscribe from this list: send the

Re: [GIT PATCH] SCSI bug fixes for 2.6.23-rc1

2007-07-29 Thread Jeff Garzik
James Bottomley wrote: This is basically a set of bug fixes with a few minor cleanups thrown in. There are also a few bsg fixes we're taking through this tree because SCSI is the current sole consumer. The reason for the huge size is the lindent of the advansys driver along with a few cleanups.

Re: [Linux-usb-users] [REGRESSION] 2.6.23-rc1: uhci_hcd. irq 4: nobody cared

2007-07-29 Thread Alan Stern
On Sun, 29 Jul 2007, Mark Hindley wrote: > On Sun, Jul 29, 2007 at 11:19:47AM -0400, Alan Stern wrote: > > On Sun, 29 Jul 2007, Mark Hindley wrote: > > > > > Hi, > > > > > > I have just tried 2.6.23-rc1 on my Acer Aspire 1350. > > > > > > On boot I get the following error as the uhci_hcd

Re: Fwd: [PATCH] Reboot Dreamcast under software control

2007-07-29 Thread Paul Mundt
On Sun, Jul 29, 2007 at 07:25:21PM +0100, Adrian McMenamin wrote: > diff --git a/arch/sh/kernel/process.c b/arch/sh/kernel/process.c > index 6334a4c..6f5e9e4 100644 > --- a/arch/sh/kernel/process.c > +++ b/arch/sh/kernel/process.c > @@ -97,6 +97,11 @@ void cpu_idle(void) > > void

[PATCH] sh64: arch/sh64/kernel/signal.h - duplicate include removal

2007-07-29 Thread Jesper Juhl
Hi, This patch removes the duplicate inclusion of linux/personality.h from arch/sh64/kernel/signal.c Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- diff --git a/arch/sh64/kernel/signal.c b/arch/sh64/kernel/signal.c index 0bb4a8f..79fc48c 100644 --- a/arch/sh64/kernel/signal.c +++

[PATCH] Remove fs.h from mm.h

2007-07-29 Thread Alexey Dobriyan
0) Remove fs.h from mm.h. For this, 1) Uninline vma_wants_writenotify(). It's pretty huge anyway. 2) Add back fs.h or less bloated headers (err.h) to files that need it. As result, on x86_64 allyesconfig, fs.h dependencies cut down from 3929 files rebuilt down to 3444 (-12.3%). Cross-compile

[PATCH] ia64: Remove a few duplicate includes

2007-07-29 Thread Jesper Juhl
(sorry about the duplicate mail, forgot a recipient first time) Hi, This patch removes a few duplicate includes from arch/ia64/ Please consider merging :-) Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- arch/ia64/ia32/sys_ia32.c |1 - arch/ia64/kernel/setup.c|1 -

[PATCH] powerpc: clean out a bunch of duplicate includes

2007-07-29 Thread Jesper Juhl
Hi, Here's a patch to clean out a bunch of duplicate includes from arch/powerpc/ Please consider for inclusion. Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- arch/powerpc/kernel/btext.c|1 - arch/powerpc/kernel/crash.c|1 -

Re: Reading a bad sector does not report failure as 'read error' but hangs PC with 'Machine Check Exception'

2007-07-29 Thread Hendrik .
Ok, I did actually not copy the coreret code in the mcelog, leaving me some errors about the Northbridge. If I do it again it gives me something else. I made 2 digital photo's of 2 lockups when it happened and this is the result of the tool, the TSC is different in both errors, the rest is the

Re: [PATCH 2/2] Introduce CONFIG_SUSPEND

2007-07-29 Thread Rafael J. Wysocki
On Sunday, 29 July 2007 23:30, Richard Hughes wrote: > On Sun, 2007-07-29 at 23:36 +0200, Rafael J. Wysocki wrote: > > On Sunday, 29 July 2007 23:18, Adrian Bunk wrote: > > > On Sun, Jul 29, 2007 at 11:17:20PM +0200, Rafael J. Wysocki wrote: > > > > On Sunday, 29 July 2007 22:40, Adrian Bunk

Re: [PATCH 1/5] Use mutex instead of semaphore in the Host AP driver

2007-07-29 Thread Michael Buesch
On Sunday 29 July 2007 23:34, Matthias Kaehlcke wrote: > The Host AP driver uses a semaphore as mutex. Use the mutex API > instead of the (binary) semaphore. > > Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> > > -- > > - res = down_interruptible(>rid_bap_sem); > + res =

Re: Power Management framework proposal

2007-07-29 Thread david
On Fri, 27 Jul 2007, Pavel Machek wrote: Hi! example 1: a laptop screen mode capacity power description 000off 1 100 100full brightness 2 70 60half power to the backlight 3 50 35quarter power to the backlight 4 30

Re: Sparc32 not working:2.6.23-rc1 (git commit 1e4dcd22efa7d24f637ab2ea3a77dd65774eb005)

2007-07-29 Thread Mark Fortescue
On Sun, 29 Jul 2007, Adrian Bunk wrote: On Sun, Jul 29, 2007 at 07:26:29PM +0100, Mark Fortescue wrote: ... I am going to try to cherry pick a set of commits to see if I can't get a better idear of where the memory corruption on sun4c is coming from. Build problems sue to the DMA changes

[PATCH] pci_ids: additional NFORCE MCP61 devices - (resend)

2007-07-29 Thread Indrek Kruusa
This patch adds the following 7 Nforce devices: - LPC Bridge (MCP61_LPC_BRG) - Memory Controller (MCP61_MC1) - High Definition Audio (MCP61_HDA) - USB Controller (MCP61_OHCI) - USB Controller (MCP61_EHCI) - PCI bridge (MCP61_PCI_BRG) - Memory Controller (MCP61_MC2) to the pci_ids.h file.

[PATCH] mips: remove some duplicate includes

2007-07-29 Thread Jesper Juhl
Hi, This patch removes some duplicate includes from arch/mips/ Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- arch/mips/kernel/signal32.c |1 - arch/mips/lemote/lm2e/irq.c |1 - arch/mips/mipssim/sim_setup.c |1 - 3 files changed, 0 insertions(+), 3 deletions(-) diff

Re: [PATCH 2/3] core_pattern: allow passing of arguments to user mode helper when core_pattern is a pipe

2007-07-29 Thread Neil Horman
On Sun, Jul 29, 2007 at 09:03:29PM +0800, Eugene Teo wrote: > Neil Horman wrote: > [...] > > + /* core limit size */ > > + case 'c': > > + rc = snprintf(out_ptr, out_end - out_ptr, > > + "%lu", >

Re: [linux-pm] Power Management framework proposal

2007-07-29 Thread david
sorry for the delay in responding On Wed, 25 Jul 2007, Jerome Glisse wrote: [EMAIL PROTECTED] wrote: On Wed, 25 Jul 2007, Jerome Glisse wrote: > On 7/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > For instance on graphics card you could do the following (maybe > > more): > >

[PATCH] m68knommu: Get rid of duplicate include

2007-07-29 Thread Jesper Juhl
Hi, This patch removes the duplicate inclusion of asm/irq.h from arch/m68knommu/platform/5206e/config.c Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- arch/m68knommu/platform/5206e/config.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git

  1   2   3   4   5   6   7   8   >