Re: [PATCH -mm] workqueue: debug possible lockups in flush_workqueue

2007-04-19 Thread Ingo Molnar
* Jarek Poplawski [EMAIL PROTECTED] wrote: Here is my patch proposal for detecting possible lockups, when flush_workqueue caller holds a lock (e.g. rtnl_lock) also used in work functions. looks good in principle - did you test it and it caught a bug that wasnt caught before? +#ifdef

Re: CFS and suspend2: hang in atomic copy

2007-04-19 Thread Ingo Molnar
* Christian Hesse [EMAIL PROTECTED] wrote: I now got some error message from my system: http://www.eworm.de/tmp/cfs-suspend.jpg ah, this pinpoints a bug: for performance reasons pick_next_task() assumes that the runqueue is not empty - which is true for schedule(), but not in

Re: CFS and suspend2: hang in atomic copy

2007-04-19 Thread Ingo Molnar
* Bob Picco [EMAIL PROTECTED] wrote: I had hoped to collect more data with CFS V2. It crashes in scale_nice_down for s2ram when attempting to disable_nonboot_cpus. So part of traceback looks like (typed by hand with obvious omissions): scale_nice_down update_stats_wait_end - not shown

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

2007-04-19 Thread Ph. Marek
Pine.LNX.4.64.0704181515290.25880 () alien ! or ! mcafeemobile ! com Davide Libenzi wrote: On Wed, 18 Apr 2007, Ingo Molnar wrote: That's one reason why i dont think it's necessarily a good idea to group-schedule threads, we dont really want to do a per thread group percpu_alloc(). I

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

2007-04-19 Thread Borislav Petkov
snip I'm pretty sure the reason you cannot reproduce this warning is the line xsl:param name=refentry.version.suppress1/xsl:param which can be found in param.xsl, it being a part of the docbook-xsl distribution. The parameter's name is self-explanatory and a '1' suppresses the

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

2007-04-19 Thread Borislav Petkov
On Wed, Apr 18, 2007 at 10:16:54AM -0700, Randy Dunlap wrote: On Fri, 13 Apr 2007 11:29:43 +0200 Borislav Petkov wrote: Sorry for the improper whitespaces, here's a correct version. Signed-off-by: Borislav Petkov [EMAIL PROTECTED] Index: 21-rc6/scripts/kernel-doc

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

2007-04-19 Thread Ingo Molnar
* Andrew Morton [EMAIL PROTECTED] wrote: And yes, by fairly, I mean fairly among all threads as a base resource class, because that's what Linux has always done Yes, there are potential compatibility problems. Example: a machine with 100 busy httpd processes and suddenly a big gzip

Re: CFS and suspend2: hang in atomic copy

2007-04-19 Thread Ingo Molnar
* Ingo Molnar [EMAIL PROTECTED] wrote: i just tried the same and it suspended+resumed just fine: Restarting tasks ... done. Suspend2 debugging info: - Suspend core : 2.2.9.12 - Kernel Version : 2.6.21-rc7-CFS-v3 the key difference was that i should have attempted to sw-suspend to disk

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

2007-04-19 Thread Jarek Poplawski
Hi, IMHO cancel_rearming_delayed_work is dangerous place: - it assumes a work function always rearms (with no exception), which probably isn't explained enough now (but anyway should be checked in such loops); - probably possible (theoretical) scenario: a few work functions rearm themselves

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

2007-04-19 Thread Mike Galbraith
On Wed, 2007-04-18 at 23:48 +0200, Ingo Molnar wrote: so my current impression is that we want per UID accounting to solve the X problem, the kernel threads problem and the many-users problem, but i'd not want to do it for threads just yet because for them there's not really any apparent

Re: [PATCH v3] Bitbanging i2c bus driver using the GPIO API

2007-04-19 Thread Jean Delvare
Hi Len, On Wed, 18 Apr 2007 13:42:56 -0400, Lennart Sorensen wrote: On Sat, Apr 14, 2007 at 07:28:07PM +0200, Jean Delvare wrote: Otherwise it looks OK to me, I take the patch. If others have comments or objections, just speak up and submit incremental patches as needed. Now I would

Remaining straight forward kthread API conversions...

2007-04-19 Thread Eric W. Biederman
The following patches are against 2.6.21.rc6-mm1. Hopefully that is enough to catch most of the recent development activity. I am aiming to remove all kernel threads that handle signals from user space, to remove all calls to daemonize and kernel_thread from non-core kernel code. kernel

Re: [PATCH -mm] workqueue: debug possible lockups in flush_workqueue

2007-04-19 Thread Jarek Poplawski
On Thu, Apr 19, 2007 at 08:14:16AM +0200, Ingo Molnar wrote: * Jarek Poplawski [EMAIL PROTECTED] wrote: Here is my patch proposal for detecting possible lockups, when flush_workqueue caller holds a lock (e.g. rtnl_lock) also used in work functions. looks good in principle - did you

[PATCH] i386 balance_irq: Convert to the kthread api.

2007-04-19 Thread Eric W. Biederman
This patch just trivial converts from calling kernel_thread and daemonize to just calling kthread_run. Cc: Andi Kleen [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] --- arch/i386/kernel/io_apic.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git

[PATCH] mtd_blkdevs: Convert to use the kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted thread_run is used intead of kernel_thread, daemonize, and mucking around blocking signals directly. CC: David Woodhouse [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] --- drivers/mtd/mtd_blkdevs.c | 19

[PATCH] cpci_hotplug: Convert to use the kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted kthread_run replaces the kernel_thread and daemonize calls during thread startup. Calls to signal_pending were also removed as it is currently impossible for the cpci_hotplug thread to receive signals. CC: Scott Murray [EMAIL PROTECTED]

[PATCH] ibmphp: Convert to use the kthreads API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted kthread_run replaces kernel_thread and dameonize. allow_signal is unnecessary and has been removed. tid_poll was unused and has been removed. Cc: Jyoti Shah [EMAIL PROTECTED] Cc: Greg Kroah-Hartman [EMAIL PROTECTED] Signed-off-by: Eric W.

[PATCH] i386 voyager: Convert the monitor thread to use the kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted This patch just trivially replaces kernel_thread and daemonize with a single call to kthread_run. CC: James Bottomley [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] --- arch/i386/mach-voyager/voyager_thread.c |5

Re: [ck] Announce - Staircase Deadline cpu scheduler v0.41

2007-04-19 Thread Mike Galbraith
On Thu, 2007-04-19 at 10:41 +1000, Con Kolivas wrote: Mike you were the stick. (dirty job, somebody has to do it) - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

[PATCH] synchro_test: Convert to the kthread API.

2007-04-19 Thread Eric W. Biederman
- 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 Please read the FAQ at http://www.tux.org/lkml/

[PATCH] bluetooth hidp: Convert to kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted This patch starts up khidp using kthread_run instead of kernel_thread and daemonize, resulting is slightly simpler and more maintainable code. Cc: Marcel Holtmann [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] ---

[PATCH] saa7134-tvaudio: Convert to kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted It is my goal to replace all kernel code that handles signals from user space, calls kernel_thread or calls daemonize. All of which the kthread_api makes unncessary. Handling signals from user space is a maintenance problem becuase using a

[PATCH] ipv4/ipvs: Convert to kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted Modify startup of ipvs sync threads to use kthread_run instead of a weird combination of calling kernel_thread to start a fork_sync_thread whose hole purpose in life was to call kernel_thread again starting the actually sync thread which called

[PATCH] nfsv4 delegation: Convert to kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted To start the nfsv4-delegreturn thread this patch uses kthread_run instead of a combination of kernel_thread and daemonize. In addition allow_signal(SIGKILL) is removed from the expire delegations thread. Cc: Neil Brown [EMAIL PROTECTED] Cc:

[PATCH] nfsd/nfs4state: Remove unnecessary daemonize call.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted Cc: Neil Brown [EMAIL PROTECTED] Cc: Trond Myklebust [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] --- fs/nfsd/nfs4state.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/fs/nfsd/nfs4state.c

[PATCH] nfs lockd reclaimer: Convert to kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted Start the reclaimer thread using kthread_run instead of a combination of kernel_thread and daemonize. The small amount of signal handling code is also removed as it makes no sense and is a maintenance problem to handle signals in kernel

[PATCH] bluetooth rfcomm: Convert to kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted This patch starts krfcommd using kthread_run instead of a combination of kernel_thread and daemonize making the code slightly simpler and more maintainable. Cc: Marcel Holtmann [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL

[PATCH] s390/net/lcs: Convert to the kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted Use kthread_run to start the lcs kernel threads not a combination of kernel_thread and daemonize. This makes the code slightly simpler and more maintainable. Cc: Frank Pavlic [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL

[PATCH] pnpbios: Conert to use the kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted This patches modifies the pnpbios kernel thread to start with ktrhead_run not kernel_thread and deamonize. Doing this makes the code a little simpler and easier to maintain. Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] ---

[PATCH] sparc64/power.c: Convert to use the kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted This starts the sparc64 powerd using kthread_run instead of kernel_thread and daemonize. Making the code slightly simpler and more maintainable. In addition the unnecessary flush_signals is removed. Cc: David S. Miller [EMAIL PROTECTED]

[PATCH] sas_scsi_host: Convert to use the kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted This patch modifies the sas scsi host thread startup to use kthread_run not kernel_thread and deamonize. kthread_run is slightly simpler and more maintainable. Cc: Darrick J. Wong [EMAIL PROTECTED] Cc: James Bottomley [EMAIL PROTECTED]

[PATCH] cpqphp: Convert to use the kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted This patch changes cpqphp to use kthread_run and not kernel_thread and daemonize to startup and setup the cpqphp thread. Cc: Greg Kroah-Hartman [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] ---

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

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted This patch modifies the startup of kafscmd, kafsasyncd, and kafstimod to use kthread_run instead of a combination of kernel_thread and daemonize making the code slightly simpler and more maintainable. In addition since by default all signals

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

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted This patch starts the xpc kernel threads using kthread_run not a combination of kernel_thread and daemonize. Resuling in slightly simpler and more maintainable code. Cc: Jes Sorensen [EMAIL PROTECTED] Cc: Tony Luck [EMAIL PROTECTED]

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

2007-04-19 Thread Ingo Molnar
* Nigel Cunningham [EMAIL PROTECTED] wrote: From subsequent emails, I think you already got your answer, but just in case... Yes, if you enabled Replace swsusp by default and you already had it set up for getting swsusp to resume. If not, and you're using an initrd/ramfs, you'll need

[PATCH] arm ecard: Conver to use the kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted This patch modifies the startup of kecardd to use kthread_run not a kernel_thread combination of kernel_thread and daemonize. Making the code slightly simpler and more maintainable. Cc: Russell King [EMAIL PROTECTED] Signed-off-by: Eric W.

[PATCH] powerpc pseries eeh: Convert to kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted This patch modifies the startup of eehd to use kthread_run not a combination of kernel_thread and daemonize. Making the code slightly simpler and more maintainable. Cc: Paul Mackerras [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL

[PATCH] s390 qeth: Convert to use the kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted This patch modifies the qeth_recover thread to be started with kthread_run not a combination of kernel_thread and daemonize. Resulting in slightly simpler and more maintainable code. Cc: Frank Pavlic [EMAIL PROTECTED] Signed-off-by: Eric W.

[PATCH] s390/scsi/zfcp_erp: Convert to use the kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted Modify zfcperp%s to be started with kthread_run not a combination of kernel_thread, daemonize and siginitsetinv making the code slightly simpler and more maintainable. Cc: Swen Schillig [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL

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

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted This patch modifies the startup of krxtimod, krxiod, and krxsecd to use kthread_run instead of a combination of kernel_thread and daemonize making the code slightly simpler and more maintainable. In addition since by default all signals are

[PATCH] bluetooth bnep: Convert to kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted This patch starts kbenpd using kthread_run replacing a combination of kernel_thread and daemonize. Making the code a little simpler and more maintainable. Cc: Marcel Holtmann [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL

[PATCH] bluetooth cmtp: Convert to use kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted This patch modifies the kcmptd_ctr_%d daemon using kthread_run instead of a combination of kernel_thread and daemonize making the code a little simpler and more maintainable. Cc: Marcel Holtmann [EMAIL PROTECTED] Signed-off-by: Eric W.

[PATCH] macintosh/mediabay: Convert to kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted This patch modifies the startup of the media_bay_task to use kthread_run and not a combination of kernel_thread, deamonize and sigfillset. In addition since we now always want to ignore signals the MB_IGNORE_SIGNALS define is removed along

[PATCH] md: Remove broken SIGKILL support

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted Currently md_thread calls allow_signal so it can receive a SIGKILL but then does nothing with it except flush the sigkill so that it not can use an interruptible sleep. This whole dance is silly so remove the unnecessary and broken signal

[PATCH] macintosh/therm_pm72.c: Convert to kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted This patch modifies startup of the kfand to use kthread_run not a combination of kernel_thread and daemonize, making the code a little simpler and more maintaintable. Cc: Benjamin Herrenschmidt [EMAIL PROTECTED] Signed-off-by: Eric W.

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

2007-04-19 Thread Ingo Molnar
* Mike Galbraith [EMAIL PROTECTED] wrote: With a heavily reniced X (perfectly fine), that should indeed solve my daily usage pattern nicely (always need godmode for shells, but not for mozilla and ilk. 50/50 split automatic without renice of entire gui) how about the first-approximation

[PATCH] dvb_en_50221: Convert to kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted This patch is a minimal transformation to use the kthread API doing it's best to preserve the existing logic. Instead of starting kdvb-ca by calling kernel_thread, daemonize and sigfillset we kthread_run is used. Instead of tracking the pid

[PATCH] macintosh/adb: Convert to the kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted This patch modifies the startup of kadbprobe to use kthread_run instead of scheduling a work event which later calls kernel_thread and in the thread calls daemonize and blocks signals. kthread_run is simpler and more maintainable. The

[PATCH] powerpc pseries rtasd: Convert to kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted This patch modifies the startup of rtasd to use kthread_run instaed of a combination of kernel_thread and daemonize. Making the code a little simpler and more maintainble. Cc: Paul Mackerras [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman

[PATCH] macintosh/therm_windtunnel.c: Convert to kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted Start the g4fand using kthread_run not a combination of kernel_thread and deamonize. This makes the code a little simpler and more maintainable. Cc: Benjamin Herrenschmidt [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL PROTECTED]

Re: [PATCH] [RFC] Throttle swappiness for interactive tasks

2007-04-19 Thread Rik van Riel
Abhijit Bhopatkar wrote: In my mind i find it fundamentally wrong to separate anon pages from page cache. It should rather be lot more dependent on which task accessed them last. Although it seems due to some twisted relationships bet anon pages and interactive tasks separating them improves

[PATCH] nfs4state reclaimer: Remove unnecessary allow_signal

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted Cc: Neil Brown [EMAIL PROTECTED] Cc: Trond Myklebust [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] --- fs/nfs/nfs4state.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/fs/nfs/nfs4state.c

[PATCH] synchro_test: Convert to the kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted Cc: David Howells [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] --- kernel/synchro-test.c | 16 ++-- 1 files changed, 6 insertions(+), 10 deletions(-) diff --git a/kernel/synchro-test.c

[PATCH] smbfs: Remove unnecessary allow_signal

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] --- fs/smbfs/smbiod.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/fs/smbfs/smbiod.c b/fs/smbfs/smbiod.c index 3e61b44..67176af 100644 --- a/fs/smbfs/smbiod.c +++

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

2007-04-19 Thread Mike Galbraith
On Thu, 2007-04-19 at 08:52 +0200, Mike Galbraith wrote: On Wed, 2007-04-18 at 23:48 +0200, Ingo Molnar wrote: so my current impression is that we want per UID accounting to solve the X problem, the kernel threads problem and the many-users problem, but i'd not want to do it for threads

[PATCHv2] [KERNEL-DOC] kill warnings when building mandocs

2007-04-19 Thread Borislav Petkov
A fixed version of the patch shutting up missing version warnings when building mandocs. Signed-off-by: Borislav Petkov [EMAIL PROTECTED] Index: 21-rc7/scripts/kernel-doc === --- 21-rc7.orig/scripts/kernel-doc +++

Re: Loud pop coming from hard drive on reboot

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

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

2007-04-19 Thread Mike Galbraith
On Thu, 2007-04-19 at 09:09 +0200, Ingo Molnar wrote: * Mike Galbraith [EMAIL PROTECTED] wrote: With a heavily reniced X (perfectly fine), that should indeed solve my daily usage pattern nicely (always need godmode for shells, but not for mozilla and ilk. 50/50 split automatic without

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

2007-04-19 Thread Ingo Molnar
* Jarek Poplawski [EMAIL PROTECTED] wrote: + int i = 1000; - while (!cancel_delayed_work(dwork)) + while (!cancel_delayed_work(dwork)) { flush_workqueue(wq); + BUG_ON(!i--); + } if then make it a

Re: built 2.6.20.7 on suse 10.0, boots fine, no mouse, network or keyboard

2007-04-19 Thread Jan Engelhardt
On Apr 18 2007 10:45, david rankin wrote: Mates, First post and I am having heck building the vanilla 2.6.20.7 kernel on Suse 10.0. Basically I put 2.6.20.7 in /usr/src, then I did [...] All current minimal requierments are met *except* udev which is version 068. Everything compiled

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

2007-04-19 Thread Jean Delvare
On Thu, 19 Apr 2007 09:35:58 +0530, Milind Arun Choudhary wrote: SPIN_LOCK_UNLOCKED cleanup,use __SPIN_LOCK_UNLOCKED instead Signed-off-by: Milind Arun Choudhary [EMAIL PROTECTED] --- i2c-pxa.c |2 +- i2c-s3c2410.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-)

dio_get_page() lockdep complaints

2007-04-19 Thread Jens Axboe
Hi, Doing some testing on CFQ, I ran into this 100% reproducible report: === [ INFO: possible circular locking dependency detected ] 2.6.21-rc7 #5 --- fio/9741 is trying to acquire lock:

How to structure an SPI UART driver?

2007-04-19 Thread Zik Saleeba
I'm looking for a little advice on writing a driver for the Phillips sc16is752 SPI UART chip. I've written drivers before but I'm having a problem with this one. Since this driver is both an SPI driver and a UART driver I'm unclear on whether it should register with spi_register_driver() or

Re: [RFC 0/8] Cpuset aware writeback

2007-04-19 Thread Ethan Solomita
Christoph Lameter wrote: On Wed, 18 Apr 2007, Ethan Solomita wrote: Any new ETA? I'm trying to decide whether to go back to your original patches or wait for the new set. Adding new knobs isn't as important to me as having something that fixes the core problem, so hopefully this isn't

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

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

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

2007-04-19 Thread Ingo Molnar
* Davide Libenzi [EMAIL PROTECTED] wrote: That's one reason why i dont think it's necessarily a good idea to group-schedule threads, we dont really want to do a per thread group percpu_alloc(). I still do not have clear how much overhead this will bring into the table, but I think

Re: dio_get_page() lockdep complaints

2007-04-19 Thread Andrew Morton
On Thu, 19 Apr 2007 09:38:30 +0200 Jens Axboe [EMAIL PROTECTED] wrote: Hi, Doing some testing on CFQ, I ran into this 100% reproducible report: === [ INFO: possible circular locking dependency detected ] 2.6.21-rc7 #5

[PATCH] i386 voyager: Convert the monitor thread to use the kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] This patch just trivially replaces kernel_thread and daemonize with a single call to kthread_run. CC: James Bottomley [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] --- arch/i386/mach-voyager/voyager_thread.c |5 ++--- 1 files

[PATCH] ibmphp: Convert to use the kthreads API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] kthread_run replaces kernel_thread and dameonize. allow_signal is unnecessary and has been removed. tid_poll was unused and has been removed. Cc: Jyoti Shah [EMAIL PROTECTED] Cc: Greg Kroah-Hartman [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman

[PATCH] pnpbios: Conert to use the kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] This patches modifies the pnpbios kernel thread to start with ktrhead_run not kernel_thread and deamonize. Doing this makes the code a little simpler and easier to maintain. Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] ---

[PATCH] i386 balance_irq: Convert to the kthread api.

2007-04-19 Thread Eric W. Biederman
This patch just trivial converts from calling kernel_thread and daemonize to just calling kthread_run. Cc: Andi Kleen [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] --- arch/i386/kernel/io_apic.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git

[PATCH] nfsd/nfs4state: Remove unnecessary daemonize call.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] Cc: Neil Brown [EMAIL PROTECTED] Cc: Trond Myklebust [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] --- fs/nfsd/nfs4state.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/fs/nfsd/nfs4state.c

[PATCH] bluetooth hidp: Convert to kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] This patch starts up khidp using kthread_run instead of kernel_thread and daemonize, resulting is slightly simpler and more maintainable code. Cc: Marcel Holtmann [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] ---

[PATCH] bluetooth rfcomm: Convert to kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] This patch starts krfcommd using kthread_run instead of a combination of kernel_thread and daemonize making the code slightly simpler and more maintainable. Cc: Marcel Holtmann [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] ---

[PATCH] s390 qeth: Convert to use the kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] This patch modifies the qeth_recover thread to be started with kthread_run not a combination of kernel_thread and daemonize. Resulting in slightly simpler and more maintainable code. Cc: Frank Pavlic [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman

[PATCH] synchro_test: Convert to the kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] Cc: David Howells [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] --- kernel/synchro-test.c | 16 ++-- 1 files changed, 6 insertions(+), 10 deletions(-) diff --git a/kernel/synchro-test.c b/kernel/synchro-test.c index

Re: question on generic gpio interface

2007-04-19 Thread Francis Moreau
On 4/17/07, David Brownell [EMAIL PROTECTED] wrote: In this case I'm not entirely sure how it'd work. I've seen a few drivers which let userspace peek and poke at GPIO signals -- like one for Gumstix boards -- but generalizing the model isn't simple. Sub-problems include: - Configuring the

[PATCH] sparc64/power.c: Convert to use the kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] This starts the sparc64 powerd using kthread_run instead of kernel_thread and daemonize. Making the code slightly simpler and more maintainable. In addition the unnecessary flush_signals is removed. Cc: David S. Miller [EMAIL PROTECTED] Signed-off-by:

[PATCH] s390/scsi/zfcp_erp: Convert to use the kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] Modify zfcperp%s to be started with kthread_run not a combination of kernel_thread, daemonize and siginitsetinv making the code slightly simpler and more maintainable. Cc: Swen Schillig [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL PROTECTED]

[PATCH] cpqphp: Convert to use the kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] This patch changes cpqphp to use kthread_run and not kernel_thread and daemonize to startup and setup the cpqphp thread. Cc: Greg Kroah-Hartman [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] --- drivers/pci/hotplug/cpqphp_ctrl.c |

[PATCH] mtd_blkdevs: Convert to use the kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] thread_run is used intead of kernel_thread, daemonize, and mucking around blocking signals directly. CC: David Woodhouse [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] --- drivers/mtd/mtd_blkdevs.c | 19 +-- 1

Re: [CRYPTO] is it really optimized ?

2007-04-19 Thread Francis Moreau
On 4/17/07, Roland Dreier [EMAIL PROTECTED] wrote: It seems trivial to keep the last key you were given and do a quick memcmp in your setkey method to see if it's different from the last key you pushed to hardware, and set a flag if it is. Then only do your set_key() if you have a

[PATCH] saa7134-tvaudio: Convert to kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] It is my goal to replace all kernel code that handles signals from user space, calls kernel_thread or calls daemonize. All of which the kthread_api makes unncessary. Handling signals from user space is a maintenance problem becuase using a kernel thread

[PATCH] dvb_en_50221: Convert to kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] This patch is a minimal transformation to use the kthread API doing it's best to preserve the existing logic. Instead of starting kdvb-ca by calling kernel_thread, daemonize and sigfillset we kthread_run is used. Instead of tracking the pid of the

[PATCH] s390/net/lcs: Convert to the kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] Use kthread_run to start the lcs kernel threads not a combination of kernel_thread and daemonize. This makes the code slightly simpler and more maintainable. Cc: Frank Pavlic [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] ---

[PATCH] powerpc pseries eeh: Convert to kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] This patch modifies the startup of eehd to use kthread_run not a combination of kernel_thread and daemonize. Making the code slightly simpler and more maintainable. Cc: Paul Mackerras [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL PROTECTED]

[PATCH] macintosh/adb: Convert to the kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] This patch modifies the startup of kadbprobe to use kthread_run instead of scheduling a work event which later calls kernel_thread and in the thread calls daemonize and blocks signals. kthread_run is simpler and more maintainable. The variable pid_t

[PATCH] sas_scsi_host: Convert to use the kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] This patch modifies the sas scsi host thread startup to use kthread_run not kernel_thread and deamonize. kthread_run is slightly simpler and more maintainable. Cc: Darrick J. Wong [EMAIL PROTECTED] Cc: James Bottomley [EMAIL PROTECTED] Signed-off-by:

[PATCH] cpci_hotplug: Convert to use the kthread API

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] kthread_run replaces the kernel_thread and daemonize calls during thread startup. Calls to signal_pending were also removed as it is currently impossible for the cpci_hotplug thread to receive signals. CC: Scott Murray [EMAIL PROTECTED] Signed-off-by:

[PATCH] macintosh/therm_pm72.c: Convert to kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] This patch modifies startup of the kfand to use kthread_run not a combination of kernel_thread and daemonize, making the code a little simpler and more maintaintable. Cc: Benjamin Herrenschmidt [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL

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

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] This patch starts the xpc kernel threads using kthread_run not a combination of kernel_thread and daemonize. Resuling in slightly simpler and more maintainable code. Cc: Jes Sorensen [EMAIL PROTECTED] Cc: Tony Luck [EMAIL PROTECTED] Signed-off-by: Eric

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

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] This patch modifies the startup of krxtimod, krxiod, and krxsecd to use kthread_run instead of a combination of kernel_thread and daemonize making the code slightly simpler and more maintainable. In addition since by default all signals are ignored when

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

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] This patch modifies the startup of kafscmd, kafsasyncd, and kafstimod to use kthread_run instead of a combination of kernel_thread and daemonize making the code slightly simpler and more maintainable. In addition since by default all signals are ignored

[PATCH] bluetooth cmtp: Convert to use kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] This patch modifies the kcmptd_ctr_%d daemon using kthread_run instead of a combination of kernel_thread and daemonize making the code a little simpler and more maintainable. Cc: Marcel Holtmann [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL

[PATCH] macintosh/mediabay: Convert to kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] This patch modifies the startup of the media_bay_task to use kthread_run and not a combination of kernel_thread, deamonize and sigfillset. In addition since we now always want to ignore signals the MB_IGNORE_SIGNALS define is removed along with the test

[PATCH] powerpc pseries rtasd: Convert to kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] This patch modifies the startup of rtasd to use kthread_run instaed of a combination of kernel_thread and daemonize. Making the code a little simpler and more maintainble. Cc: Paul Mackerras [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL

[PATCH] bluetooth bnep: Convert to kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] This patch starts kbenpd using kthread_run replacing a combination of kernel_thread and daemonize. Making the code a little simpler and more maintainable. Cc: Marcel Holtmann [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] ---

[PATCH] arm ecard: Conver to use the kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] This patch modifies the startup of kecardd to use kthread_run not a kernel_thread combination of kernel_thread and daemonize. Making the code slightly simpler and more maintainable. Cc: Russell King [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman

[PATCH] macintosh/therm_windtunnel.c: Convert to kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] Start the g4fand using kthread_run not a combination of kernel_thread and deamonize. This makes the code a little simpler and more maintainable. Cc: Benjamin Herrenschmidt [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] ---

[PATCH] smbfs: Remove unnecessary allow_signal

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] --- fs/smbfs/smbiod.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/fs/smbfs/smbiod.c b/fs/smbfs/smbiod.c index 3e61b44..67176af 100644 --- a/fs/smbfs/smbiod.c +++

  1   2   3   4   5   6   7   8   9   10   >