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

2007-04-18 Thread Davide Libenzi
On Wed, 18 Apr 2007, Matt Mackall wrote: On Wed, Apr 18, 2007 at 07:48:21AM -0700, Linus Torvalds wrote: And fairness by euid is probably a hell of a lot easier to do than trying to figure out the wakeup matrix. For the record, you actually don't need to track a whole NxN matrix (or do

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-18 Thread Alan Stern
On Thu, 19 Apr 2007, Tejun Heo wrote: More afterthoughts. If a mutex is used to protect access against removal. There is no reason to hold reference to it. kernel_thread() { /* wanna dereference my_obj */ mutex_lock(); verify my_obj is there and use it if so.

Re: [PATCH] Provide better abstraction for the serial drivers to xmit buf and tty

2007-04-18 Thread Alan Cox
Currently the uart_info structure is allocated on an open, so it's not available until that point in time. The trouble is that console_init() is called before memory is set up, so you can't allocate the uart_info until it's too late for the console or a debugger that wants to work early,

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

2007-04-18 Thread Michael K. Edwards
On 4/18/07, Matt Mackall [EMAIL PROTECTED] wrote: For the record, you actually don't need to track a whole NxN matrix (or do the implied O(n**3) matrix inversion!) to get to the same result. You can converge on the same node weightings (ie dynamic priorities) by applying a damped function at

Re: [patch] CFS (Completely Fair Scheduler), v2

2007-04-18 Thread Peter Williams
Peter Williams wrote: William Lee Irwin III wrote: Ingo Molnar wrote: this is the second release of the CFS (Completely Fair Scheduler) patchset, against v2.6.21-rc7: http://redhat.com/~mingo/cfs-scheduler/sched-cfs-v2.patch i'd like to thank everyone for the tremendous amount of feedback

Re: [PATCH][BUG] Fix possible NULL pointer access in 8250 serial driver

2007-04-18 Thread Russell King
On Wed, Apr 18, 2007 at 05:21:53PM +0900, Kenji Kaneshige wrote: I'd imagine that other serial drivers might get upset having their -get_mcrtl() called prior to being opened. Perhaps we should be fixing this in uart_read_proc()? I looked at other serial drivers and I could not find

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

2007-04-18 Thread Linus Torvalds
On Wed, 18 Apr 2007, Ingo Molnar wrote: But note that most of the reported CFS interactivity wins, as surprising as it might be, were due to fairness between _the same user's tasks_. And *ALL* of the CFS interactivity *losses* and complaints have been because it did the wrong thing

Re: {Spam?} Re: [PATCH][RFC] Kill off legacy power management stuff.

2007-04-18 Thread Len Brown
On Saturday 14 April 2007 09:01, Robert P. J. Day wrote: On Fri, 13 Apr 2007, Stephen Rothwell wrote: On Fri, 13 Apr 2007 04:20:10 -0400 (EDT) Robert P. J. Day [EMAIL PROTECTED] wrote: On Fri, 13 Apr 2007, Stephen Rothwell wrote: One thing that comes to mind is that you will

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

2007-04-18 Thread Chris Friesen
Mark Glines wrote: One minor question: is it even possible to be completely fair on SMP? For instance, if you have a 2-way SMP box running 3 applications, one of which has 2 threads, will the threaded app have an advantage here? (The current system seems to try to keep each thread on a

Re: 2.6.20.6 vanilla does't boot

2007-04-18 Thread Len Brown
On Friday 13 April 2007 02:35, Marat Buharov wrote: [17179569.184000]ERROR: Invalid checksum Seems like you have buggie bios. As the workaround try to start your kernel with noacpi parameter. Solution: Upgrade the BIOS firmware with the latest version available from the manufacturer.

[PATCH pata-2.6 fix queue] hpt366: fix kernel oops with HPT302N

2007-04-18 Thread Sergei Shtylyov
The driver crashes the kernel on HPT302N chips due to the missing initializer for 'hpt302n.settings' having been unfortunately overlooked so far. :- Much thanks to Mike Mattie for pin-pointing the reason of crash. Signed-off-by: Sergei Shtylyov [EMAIL PROTECTED] --- Posting at last -- please

Re: 2.6.20.6 vanilla does't boot

2007-04-18 Thread Len Brown
On Sunday 15 April 2007 11:50, Michal Jaegermann wrote: On Fri, Apr 13, 2007 at 03:38:18PM +0400, Denis Kirjanov wrote: I updated the BIOS to the latest version, but the problem persists. Boots option pci = noacpi not solved the problem. Reporting bios bug disappears when setting pci =

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

2007-04-18 Thread Linus Torvalds
On Wed, 18 Apr 2007, Ingo Molnar wrote: perhaps a more fitting term would be 'precise group-scheduling'. Within the lowest level task group entity (be that thread group or uid group, etc.) 'precise scheduling' is equivalent to 'fairness'. Yes. Absolutely. Except I think that at least if

Re: AppArmor FAQ

2007-04-18 Thread Crispin Cowan
James Morris wrote: On Tue, 17 Apr 2007, Alan Cox wrote: I'm not sure if AppArmor can be made good security for the general case, but it is a model that works in the limited http environment (eg .htaccess) and is something people can play with and hack on and may be possible to configure

Re: [Devel] Re: [patch 05/10] add permit user mounts in new namespace clone flag

2007-04-18 Thread Ram Pai
On Wed, 2007-04-18 at 21:14 +0200, Miklos Szeredi wrote: As I said earlier, I see a case where two mounts that are peers of each other can become un-identical if we dont propagate the allowusermnt. As a practical example. /tmp and /mnt are peers of each other. /tmp has its

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

2007-04-18 Thread Ingo Molnar
* Linus Torvalds [EMAIL PROTECTED] wrote: For example, maybe we can approximate it by spreading out the statistics: right now you have things like - last_ran, wait_runtime, sum_wait_runtime.. be per-thread things. [...] yes, yes, yes! :) My thinking is struct sched_group embedded into

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

2007-04-18 Thread Davide Libenzi
On Wed, 18 Apr 2007, William Lee Irwin III wrote: Thinking of the scheduler as a CPU bandwidth allocator, this means handing out shares of CPU bandwidth to all users on the system, which in turn hand out shares of bandwidth to all sessions, which in turn hand out shares of bandwidth to all

[PATCH] fix OOM killing processes wrongly thought MPOL_BIND

2007-04-18 Thread Hugh Dickins
I only have CONFIG_NUMA=y for build testing: surprised when trying a memhog to see lots of other processes killed with No available memory (MPOL_BIND). memhog is killed correctly once we initialize nodemask in constrained_alloc(). Signed-off-by: Hugh Dickins [EMAIL PROTECTED] --- Perhaps

Re: [PATCH 2.6.21-rc5 1/3] msi: introduce ARCH_SUPPORTS_MSI Kconfig option (rev2)

2007-04-18 Thread Greg KH
On Wed, Apr 18, 2007 at 06:46:20PM +1000, Michael Ellerman wrote: On Fri, 2007-03-30 at 16:05 -0700, Dan Williams wrote: Allows architectures to advertise that they support MSI rather than listing each architecture as a PCI_MSI dependency. rev2: * update i386 and x86_64 as well

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

2007-04-18 Thread Davide Libenzi
On Wed, 18 Apr 2007, Linus Torvalds wrote: I'm not arguing against fairness. I'm arguing against YOUR notion of fairness, which is obviously bogus. It is *not* fair to try to give out CPU time evenly! Perhaps on the rare occasion pursuing the right course demands an act of unfairness,

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

2007-04-18 Thread johann deneux
Jiri, Which solution did you chose to implement? From what I remember, we last discussed Dmitry's idea of specifying an axis for an effect, then combine several effects to achieve complex effects. The implementation would specify the axis using the upper bits of the effect type. The patches you

Re: AppArmor FAQ

2007-04-18 Thread Shaya Potter
On Wed, 18 Apr 2007, Crispin Cowan wrote: Please explain why labels are necessary for effective confinement. Many systems besides AppArmor have used non-label schemes for effective confinement: TRON, Janus, LIDS, Systrace, BSD Jail, EROS, PSOS, KeyOS, AS400, to name just a few. This claim seems

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

2007-04-18 Thread Davide Libenzi
On Wed, 18 Apr 2007, Linus Torvalds wrote: For example, maybe we can approximate it by spreading out the statistics: right now you have things like - last_ran, wait_runtime, sum_wait_runtime.. be per-thread things. Maybe some of those can be spread out, so that you put a part of them

Stupid GIT question...

2007-04-18 Thread Valdis . Kletnieks
I have a GIT tree (iwlwifi, but the problem is my idiocy, not the tree ;). What's the command to get a diff of what I would merge if I said 'git pull'? (similar to what 'cvs diff' does - AFAICT, 'git diff HEAD .' diffs my *current* pull of the tree against itself and does nothing...

Re: Major qla2xxx regression on sparc64

2007-04-18 Thread David Miller
From: Christoph Hellwig [EMAIL PROTECTED] Date: Wed, 18 Apr 2007 18:13:46 +0100 Note that I expect Sun put in the invalid ROM intentionally, as we have similar cases with other cards that have totally messed up ROMs in Sun-branded versions. Personally I think that's an utterly bad decision

Re: [PATCH][RFC] Kill off legacy power management stuff.

2007-04-18 Thread Pavel Machek
Hi! One reason was that there are (were?) a number of machines which only powered down properly using apm. It was discussed as part of shutting down after power failure when your UPS is running out of power. um ... what does APM have to do with legacy PM? two different issues,

Re: Major qla2xxx regression on sparc64

2007-04-18 Thread David Miller
From: Christoph Hellwig [EMAIL PROTECTED] Date: Wed, 18 Apr 2007 18:16:32 +0100 On Tue, Apr 17, 2007 at 11:28:07AM -0700, Seokmann Ju wrote: Hello David, On Mon 4/16/2007 10:02 PM, David Miller wrote: I'm in transit for a redeye to NY so I won't be able to modify the patch, If you

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

2007-04-18 Thread Linus Torvalds
On Wed, 18 Apr 2007, Davide Libenzi wrote: Perhaps on the rare occasion pursuing the right course demands an act of unfairness, unfairness itself can be the right course? I don't think that's the right issue. It's just that fairness != equal. Do you think it fair to pay everybody the

Re: Major qla2xxx regression on sparc64

2007-04-18 Thread David Miller
From: Andrew Vasquez [EMAIL PROTECTED] Date: Wed, 18 Apr 2007 10:28:02 -0700 On Wed, 18 Apr 2007, Christoph Hellwig wrote: I don't think a module option is a good idea at this point. The problem is you broke some so far perfectly working setups, which is not okay. The only first step

[patch] cleanup cpufreq kconfig options

2007-04-18 Thread Mike Frysinger
Adds proper lines to help output of kconfig so people can find the module names. Also fixed some broken leading spaces versus tabs. Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- diff --git a/arch/x86_64/kernel/cpufreq/Kconfig b/arch/x86_64/kernel/cpufreq/Kconfig index 40acb67..c0749d2

Re: 2.6.21-rc5 from fc7-rc2 problems

2007-04-18 Thread Len Brown
Linux version 2.6.20-1.2933.fc6 ([EMAIL PROTECTED]) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)) #1 SMP Mon Mar 19 11:38:26 EDT 2007 --- Linux version 2.6.20-1.3023.fc7 ([EMAIL PROTECTED]) (gcc version 4.1.2 20070317 (Red Hat 4.1.2-5)) #1 SMP Sun Mar 25 22:12:02 EDT 2007 I agree that the

Re: 2.6.21-rc5 from fc7-rc2 problems

2007-04-18 Thread Jeff Garzik
Len Brown wrote: Linux version 2.6.20-1.2933.fc6 ([EMAIL PROTECTED]) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)) #1 SMP Mon Mar 19 11:38:26 EDT 2007 --- Linux version 2.6.20-1.3023.fc7 ([EMAIL PROTECTED]) (gcc version 4.1.2 20070317 (Red Hat 4.1.2-5)) #1 SMP Sun Mar 25 22:12:02 EDT 2007

Re: {Spam?} Re: [PATCH][RFC] Kill off legacy power management stuff.

2007-04-18 Thread Robert P. J. Day
On Wed, 18 Apr 2007, Len Brown wrote: On Saturday 14 April 2007 09:01, Robert P. J. Day wrote: On Fri, 13 Apr 2007, Stephen Rothwell wrote: On Fri, 13 Apr 2007 04:20:10 -0400 (EDT) Robert P. J. Day [EMAIL PROTECTED] wrote: On Fri, 13 Apr 2007, Stephen Rothwell wrote:

Re: 2.6.21-rc5 from fc7-rc2 problems

2007-04-18 Thread Chuck Ebbert
Stephen Clark wrote: Hello, I have just tried booting the fc7-rc2 live cd on 2 of my laptops and it failed on both. FC7 test4 will be out any day now. Please test that -- test2 is ancient now. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: 2.6.21-rc5 from fc7-rc2 problems

2007-04-18 Thread Stephen Clark
Chuck Ebbert wrote: Stephen Clark wrote: Hello, I have just tried booting the fc7-rc2 live cd on 2 of my laptops and it failed on both. FC7 test4 will be out any day now. Please test that -- test2 is ancient now. - To unsubscribe from this list: send the line unsubscribe

Re: CFS and suspend2: hang in atomic copy

2007-04-18 Thread Christian Hesse
On Wednesday 18 April 2007, Ingo Molnar wrote: * Christian Hesse [EMAIL PROTECTED] wrote: On Friday 13 April 2007, Ingo Molnar wrote: as usual, any sort of feedback, bugreports, fixes and suggestions are more than welcome, When trying to suspend a system patched with suspend2

Re: AppArmor FAQ

2007-04-18 Thread David Lang
On Wed, 18 Apr 2007, James Morris wrote: On Tue, 17 Apr 2007, Alan Cox wrote: I'm not sure if AppArmor can be made good security for the general case, but it is a model that works in the limited http environment (eg .htaccess) and is something people can play with and hack on and may be

Re: 2.6.21-rc5 from fc7-rc2 problems

2007-04-18 Thread Alan Cox
scsi0 : pata_ali PM: Adding info for No Bus:host0 ata1.00: ATA-5: HITACHI_DK23CA-20, 00H1A0A3, max UDMA/100 drive can do 100 ata1.00: 39070080 sectors, multi 16: LBA ata1.00: configured for UDMA/33=== configured as 33 How is this system actually set up -

Re: 2.6.21-rc5 from fc7-rc2 problems

2007-04-18 Thread Chuck Ebbert
Stephen Clark wrote: Chuck Ebbert wrote: Stephen Clark wrote: Hello, I have just tried booting the fc7-rc2 live cd on 2 of my laptops and it failed on both. FC7 test4 will be out any day now. Please test that -- test2 is ancient now. Ok I'll try that when it comes out -

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

2007-04-18 Thread Rik van Riel
अभिजित भोपटकर (Abhijit Bhopatkar) wrote: The mm structures of interactive tasks are marked and the pages belonging to them are never shifted to inactive list in lru algorithm. Thus keeping interactive tasks in memory as long as possible. The interactivity is already determined by schedular so we

Re: Performance degradation with FFSB between 2.6.20 and 2.6.21-rc7

2007-04-18 Thread Andrew Morton
On Wed, 18 Apr 2007 15:54:00 +0200 Valerie Clement [EMAIL PROTECTED] wrote: Running benchmark tests (FFSB) on an ext4 filesystem, I noticed a performance degradation (about 15-20 percent) in sequential write tests between 2.6.19-rc6 and 2.6.21-rc4 kernels. I ran the same tests on ext3

Re: Stupid GIT question...

2007-04-18 Thread Andreas Schwab
[EMAIL PROTECTED] writes: What's the command to get a diff of what I would merge if I said 'git pull'? $ git fetch $ git diff master origin Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA

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

2007-04-18 Thread Ingo Molnar
* Linus Torvalds [EMAIL PROTECTED] wrote: perhaps a more fitting term would be 'precise group-scheduling'. Within the lowest level task group entity (be that thread group or uid group, etc.) 'precise scheduling' is equivalent to 'fairness'. Yes. Absolutely. Except I think that at

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

2007-04-18 Thread Jiri Slaby
johann deneux napsal(a): Jiri, Which solution did you chose to implement? From what I remember, we last discussed Dmitry's idea of specifying an axis for an effect, then combine several effects to achieve complex effects. I think you mean motor instead of axis, because I don't push real

Re: Kaffeine problem with CFS

2007-04-18 Thread S.Çağlar Onur
18 Nis 2007 Çar tarihinde, Ingo Molnar şunları yazmıştı: * S.Çağlar Onur [EMAIL PROTECTED] wrote: - schedule(); + msleep(1); which Ingo sends me to try also has the same effect on me. I cannot reproduce hangs anymore with that patch applied top of CFS while one console

Re: [PATCH] fix OOM killing processes wrongly thought MPOL_BIND

2007-04-18 Thread Christoph Lameter
On Wed, 18 Apr 2007, Hugh Dickins wrote: I only have CONFIG_NUMA=y for build testing: surprised when trying a memhog to see lots of other processes killed with No available memory (MPOL_BIND). memhog is killed correctly once we initialize nodemask in constrained_alloc(). Signed-off-by: Hugh

Re: Loud pop coming from hard drive on reboot

2007-04-18 Thread Bartlomiej Zolnierkiewicz
On Wednesday 18 April 2007, Chuck Ebbert wrote: Mark Lord wrote: Mark Lord wrote: With the patch applied, I don't see *any* new activity in those S.M.A.R.T. attributes over multiple hibernates (Linux suspend-to-disk). Scratch that -- operator failure. ;) The patch makes no

Re: Kaffeine problem with CFS

2007-04-18 Thread Ingo Molnar
* S.Çağlar Onur [EMAIL PROTECTED] wrote: great! Could you please unapply the hack above and try the proper fix below, does this one solve the hangs too? Instead of that one, i tried CFSv3 and i cannot reproduce the hang anymore, Thanks!... cool, thanks for the quick turnaround!

Re: AppArmor FAQ

2007-04-18 Thread James Morris
On Wed, 18 Apr 2007, Crispin Cowan wrote: James Morris wrote: On Tue, 17 Apr 2007, Alan Cox wrote: I'm not sure if AppArmor can be made good security for the general case, but it is a model that works in the limited http environment (eg .htaccess) and is something people can play

Re: CFS and suspend2: hang in atomic copy

2007-04-18 Thread Ingo Molnar
* Christian Hesse [EMAIL PROTECTED] wrote: i took a quick look at suspend2 and it makes some use of yield(). There's a bug in CFS's yield code, i've attached a patch that should fix it, does it make any difference to the hang? This patch should apply cleanly against what? The second

Re: 2.6.21-rc5 from fc7-rc2 problems

2007-04-18 Thread Len Brown
On Wednesday 18 April 2007 16:23, Jeff Garzik wrote: Len Brown wrote: Linux version 2.6.20-1.2933.fc6 ([EMAIL PROTECTED]) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)) #1 SMP Mon Mar 19 11:38:26 EDT 2007 --- Linux version 2.6.20-1.3023.fc7 ([EMAIL PROTECTED]) (gcc version 4.1.2

Re: Loud pop coming from hard drive on reboot

2007-04-18 Thread Bartlomiej Zolnierkiewicz
On Wednesday 18 April 2007, Tejun Heo wrote: Mark Lord wrote: Chuck Ebbert wrote: Mark Lord wrote: I'll patch it locally on my own machines, but what about the tens of thousands of other Seagate notebook drive owners out there? This is a problem with Seagate specifically, spinning

Re: [PATCH] fix OOM killing processes wrongly thought MPOL_BIND

2007-04-18 Thread William Lee Irwin III
On Wed, Apr 18, 2007 at 08:35:22PM +0100, Hugh Dickins wrote: I only have CONFIG_NUMA=y for build testing: surprised when trying a memhog to see lots of other processes killed with No available memory (MPOL_BIND). memhog is killed correctly once we initialize nodemask in constrained_alloc().

Re: [PATCH][RFC] Kill off legacy power management stuff.

2007-04-18 Thread Len Brown
On Wednesday 18 April 2007 16:23, Robert P. J. Day wrote: On Wed, 18 Apr 2007, Len Brown wrote: Here is how it should work. CONFIG_ACPI and CONFIG_APM should both available in a kernel build. However, at boot time, of ACPI is active, then APM should be disabled. The pm_active flag used

Re: [patch] CFS scheduler, v3

2007-04-18 Thread William Lee Irwin III
On Wed, Apr 18, 2007 at 07:50:17PM +0200, Ingo Molnar wrote: this is the third release of the CFS patchset (against v2.6.21-rc7), and can be downloaded from: http://redhat.com/~mingo/cfs-scheduler/ this is a pure fix reported regressions release so there's much less churn: 5 files

Re: Loud pop coming from hard drive on reboot

2007-04-18 Thread Greg Freemyer
On 4/18/07, Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] wrote: On Wednesday 18 April 2007, Chuck Ebbert wrote: Mark Lord wrote: Mark Lord wrote: With the patch applied, I don't see *any* new activity in those S.M.A.R.T. attributes over multiple hibernates (Linux suspend-to-disk).

Re: Loud pop coming from hard drive on reboot

2007-04-18 Thread Chuck Ebbert
Bartlomiej Zolnierkiewicz wrote: On Wednesday 18 April 2007, Chuck Ebbert wrote: Mark Lord wrote: Mark Lord wrote: With the patch applied, I don't see *any* new activity in those S.M.A.R.T. attributes over multiple hibernates (Linux suspend-to-disk). Scratch that -- operator failure. ;)

Re: [patch] CFS scheduler, v3

2007-04-18 Thread Ingo Molnar
* William Lee Irwin III [EMAIL PROTECTED] wrote: It appears to me that the following can be taken in for mainline (or rejected for mainline) independently of the rest of the cfs patch. yeah - it's a patch written by Suresh, and this should already be in the for-v2.6.22 -mm queue. See:

Re: kernel BUG at net/core/skbuff.c in linux-2.6.21-rc6

2007-04-18 Thread Herbert Xu
Hi Paul: Paul Mackerras [EMAIL PROTECTED] wrote: So this doesn't change process_input_packet(), which treats the case where the first byte is 0xff (PPP_ALLSTATIONS) but the second byte is 0x03 (PPP_UI) as indicating a packet with a PPP protocol number of 0xff. Arguably that's wrong since

Re: [RFC] [PATCH] Allow overriding module parameters from kernel command_line

2007-04-18 Thread Andrew Morton
On Wed, 18 Apr 2007 11:55:52 -0400 Kyle McMartin [EMAIL PROTECTED] wrote: With the move to initramfs and heavily modular configs, which include loading storage drivers from early userspace, it's becoming harder to provide users with a way of overriding module parameters at boot. Currently,

[RFC][PATCH] fix for async scsi scan sysfs problem

2007-04-18 Thread Josef Bacik
Hello, I'm having a problem on the newest version of linus's git tree with my qla2xxx card. This is on a UP box, the problem doesn't happen on my similarly configured SMP box. When I unload and then try to load the qla2xxx driver again I get this message kobject_add failed for 3:0:0:0 with

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

2007-04-18 Thread Ingo Molnar
* Davide Libenzi [EMAIL PROTECTED] wrote: I think Ingo's idea of a new sched_group to contain the generic parameters needed for the key calculation, works better than adding more fields to existing strctures (that would, of course, host pointers to it). Otherwise I can already the the

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

2007-04-18 Thread Con Kolivas
On Wednesday 18 April 2007 22:33, Con Kolivas wrote: On Wednesday 18 April 2007 22:14, Nick Piggin wrote: On Wed, Apr 18, 2007 at 07:33:56PM +1000, Con Kolivas wrote: On Wednesday 18 April 2007 18:55, Nick Piggin wrote: Again, for comparison 2.6.21-rc7 mainline: 508.87user

Re: CFS and suspend2: hang in atomic copy

2007-04-18 Thread Christian Hesse
On Wednesday 18 April 2007, Ingo Molnar wrote: * Christian Hesse [EMAIL PROTECTED] wrote: i took a quick look at suspend2 and it makes some use of yield(). There's a bug in CFS's yield code, i've attached a patch that should fix it, does it make any difference to the hang? This patch

Re: CFS and suspend2: hang in atomic copy

2007-04-18 Thread Ingo Molnar
* Christian Hesse [EMAIL PROTECTED] wrote: although probably your suspend2 problem is still not fixed, it's worth a try nevertheless. Which suspend2 patch did you apply, and was it against -rc6 or -rc7? You are right again. ;-) Linux 2.6.21-rc7 Suspend2 2.2.9.11 (applies cleanly

Re: CFS and suspend2: hang in atomic copy

2007-04-18 Thread Ingo Molnar
* Christian Hesse [EMAIL PROTECTED] wrote: Linux 2.6.21-rc7 Suspend2 2.2.9.11 (applies cleanly to -rc7) CFS v3 (without any additional patches) And it still hangs on suspend. i just tried the same and it suspended+resumed just fine: Restarting tasks ... done. Suspend2 debugging info: -

[PATCH 0/2] wistron_btns: small fix and led support

2007-04-18 Thread Éric Piel
Hello, The following two patches are against the input tree and improve the wistron_btns driver. The first patch is mostly trivial, it fixes a typo that I introduced in the previous batch. The second patch adds led support to the driver (and therefore also dependency on the led class). See

[PATCH 1/2] wistron_btns: add led support

2007-04-18 Thread Éric Piel
This fix a typo on the TM610 definition, inserted in my recent patch add-acerhk-database. Eric From: Eric Piel [EMAIL PROTECTED] wriston_btns: Fix typo for TM610 I did a typo in a previous patch for wistron_btns add acerhk database. This patch fixes this typo that prevented PROG2 key to work.

Re: CFS and suspend2: hang in atomic copy

2007-04-18 Thread Christian Hesse
On Thursday 19 April 2007, Ingo Molnar wrote: * Christian Hesse [EMAIL PROTECTED] wrote: although probably your suspend2 problem is still not fixed, it's worth a try nevertheless. Which suspend2 patch did you apply, and was it against -rc6 or -rc7? You are right again. ;-) Linux

[PATCH 2/2] wistron_btns: add led support

2007-04-18 Thread Éric Piel
This patch adds support for mail and wifi leds. It modifies the Kconfig file to automatically pull led_class with wistron_btns, hopefully everyone is fine with this. It doesn't add support for bluetooth led because, so far, it seems all the laptops with bluetooth have led and bluetooth system

[RFC 1/1] Char: tty, add io tty_insert_flip_string variants

2007-04-18 Thread Jiri Slaby
Hi, don't you consider this useful for some drivers. There are many cases, when tty_insert_flip_stringio might be used. -- tty, add io tty_insert_flip_string variants Signed-off-by: Jiri Slaby [EMAIL PROTECTED] --- commit a7dafceb31ff535b793227036f5b2b6a1e8cf233 tree

Re: [RFC 1/1] Char: tty, add io tty_insert_flip_string variants

2007-04-18 Thread Alan Cox
On Thu, 19 Apr 2007 00:35:20 +0200 (CEST) Jiri Slaby [EMAIL PROTECTED] wrote: Hi, don't you consider this useful for some drivers. There are many cases, when tty_insert_flip_stringio might be used. I couldn't see anyone who really benefitted when I first looked at this but if you've got a

Re: [RFC] [PATCH] Allow overriding module parameters from kernel command_line

2007-04-18 Thread Neil Brown
On Wednesday April 18, [EMAIL PROTECTED] wrote: On Wed, 18 Apr 2007 11:55:52 -0400 Kyle McMartin [EMAIL PROTECTED] wrote: With the move to initramfs and heavily modular configs, which include loading storage drivers from early userspace, it's becoming harder to provide users with a way of

Re: [RFC 1/1] Char: tty, add io tty_insert_flip_string variants

2007-04-18 Thread Jiri Slaby
Alan Cox napsal(a): On Thu, 19 Apr 2007 00:35:20 +0200 (CEST) Jiri Slaby [EMAIL PROTECTED] wrote: Hi, don't you consider this useful for some drivers. There are many cases, when tty_insert_flip_stringio might be used. I couldn't see anyone who really benefitted when I first looked at

mkinitrd. (was Re: [RFC] [PATCH] Allow overriding module parameters from kernel command_line)

2007-04-18 Thread Dave Jones
On Thu, Apr 19, 2007 at 08:47:13AM +1000, Neil Brown wrote: Fixed by changing /etc/fstab and rebuilding initrd, but IMO rootfstype= should have worked. I think these are both issues that should be solved by smarts in the initrd. This is getting away from the intent of Kyle's

Re: Loud pop coming from hard drive on reboot

2007-04-18 Thread Robert Hancock
Stephen Clark wrote: I tried this on 2.6.20.2 it applied to libata with some fuzz and I had to manually edit libata.h When I did a shutdown I still got the click/pop. I also noticed the last thing displayed on the lcd before it goes blank is Synchronizing SCSI Disks - then the click/pop. HTH,

Re: Loud pop coming from hard drive on reboot

2007-04-18 Thread Robert Hancock
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 drive head doing an

Re: CPU_IDLE prevents resuming from STR [was: Re: 2.6.21-rc6-mm1]

2007-04-18 Thread Joshua Wise
On Tue, 17 Apr 2007, Shaohua Li wrote: Looks there is init order issue of sysfs files. The new refreshed patch should fix your bug. Yes, that did fix the hang on resume from STR -- that now works fine. However: [EMAIL PROTECTED]:/sys/devices/system/cpu/cpuidle$ cat available_drivers

Re: Loud pop coming from hard drive on reboot

2007-04-18 Thread Robert Hancock
Tejun Heo wrote: This really isn't a regression. It's been always like that with libata. libata doesn't make devices go into standby mode and shutdown(8) does it for libata. The problem here is that libata does issue SYNCHRONIZE_CACHE on shutdown. So, the sequence of event is... 1.

Re: CFS and suspend2: hang in atomic copy

2007-04-18 Thread Christian Hesse
On Thursday 19 April 2007, Ingo Molnar wrote: * Christian Hesse [EMAIL PROTECTED] wrote: Linux 2.6.21-rc7 Suspend2 2.2.9.11 (applies cleanly to -rc7) CFS v3 (without any additional patches) And it still hangs on suspend. i just tried the same and it suspended+resumed just fine:

Upgraded to 2.6.20.7 - positives

2007-04-18 Thread Denis Vlasenko
Hi kernel people, Just upgraded by home box to 2.6.20.7. Wow. * Reiser3 mount times are drastically reduced, even when journal replay is needed (I have few 100Gb+ reiser3 partitions mounted at boot) * sit pseudo-interface is gone. In previous kernel, I tried to disable it in kernel config

Re: CFS and suspend2: hang in atomic copy

2007-04-18 Thread Bob Picco
Ingo Molnar wrote: [Wed Apr 18 2007, 06:02:28PM EDT] * Christian Hesse [EMAIL PROTECTED] wrote: although probably your suspend2 problem is still not fixed, it's worth a try nevertheless. Which suspend2 patch did you apply, and was it against -rc6 or -rc7? You are right

Re: Loud pop coming from hard drive on reboot

2007-04-18 Thread Chuck Ebbert
Robert Hancock wrote: Tejun Heo wrote: This really isn't a regression. It's been always like that with libata. libata doesn't make devices go into standby mode and shutdown(8) does it for libata. The problem here is that libata does issue SYNCHRONIZE_CACHE on shutdown. So, the sequence of

Re: Upgraded to 2.6.20.7 - positives

2007-04-18 Thread Chuck Ebbert
Denis Vlasenko wrote: * From make menuconfig questions it looks like SATA/PATA rewrite (in the form of libata) is almost finished. Hehe, untangling IDE mess was quite a feat, and Jeff did it. Kudos. ADMA mode on nvidia chipsets still seems broken despite massive amount of SATA fixes

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

2007-04-18 Thread Davide Libenzi
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 still do not have clear how much overhead this will bring into the table, but I think (like

Re: Loud pop coming from hard drive on reboot

2007-04-18 Thread Mark Lord
Tejun Heo wrote: 1. shutdown(8) issues SYNCHRONIZE_CACHE followed by STANDBY_NOW 2. kernel shutdown starts 3. libata shutdown issues SYNCHRONIZE_CACHE 4. power goes off Okay, after some experimentatino, it's the STANDBY_NOW that is causing the Power-Off_Retract_Count to increment on my

Re: [PATCH][RFC] Kill off legacy power management stuff.

2007-04-18 Thread Robert P. J. Day
On Wed, 18 Apr 2007, Len Brown wrote: On Wednesday 18 April 2007 16:23, Robert P. J. Day wrote: ok, i get it now and -- correct me if i'm wrong -- all my legacy PM removal patch was doing was exposing a design boo-boo in which APM/ACPI contention was being handled by a macro in a

[PATCH] sched: implement staircase deadline scheduler further improvements

2007-04-18 Thread Con Kolivas
While the Staircase Deadline scheduler has not been completely killed off and is still in -mm I would like to fix some outstanding issues that I've found since it still serves for comparison with all the upcoming schedulers. While still in -mm can we queue this on top please? A set of

Re: Loud pop coming from hard drive on reboot

2007-04-18 Thread Mark Lord
Mark Lord wrote: Tejun Heo wrote: 1. shutdown(8) issues SYNCHRONIZE_CACHE followed by STANDBY_NOW 2. kernel shutdown starts 3. libata shutdown issues SYNCHRONIZE_CACHE 4. power goes off Okay, after some experimentatino, it's the STANDBY_NOW that is causing the Power-Off_Retract_Count to

Announce - Staircase Deadline cpu scheduler v0.41

2007-04-18 Thread Con Kolivas
Since there is so much work currently ongoing with alternative cpu schedulers, as a standard for comparison with the alternative virtual deadline fair designs I've addressed a few issues in the Staircase Deadline cpu scheduler which improve behaviour likely in a noticeable fashion and released

NETDEV WATCHDOG, tulip, 2.6.18

2007-04-18 Thread Lou Poppler
Package: linux-kernel Version: 2.6.18-4-686 (Debian 2.6.18.dfsg.1-12) (Submitted to linux-kernel@vger.kernel.org [EMAIL PROTECTED]) I also have recurrent problems with NETDEV WATCHDOG: eth0: transmit timed out I am running on a Pentium 3 with a Linksys LNE100TX V5.1 PCI ethernet card, which

Re: [PATCH][RFC] Kill off legacy power management stuff.

2007-04-18 Thread Dave Jones
On Wed, Apr 18, 2007 at 05:23:15PM -0400, Len Brown wrote: p.p.s. patch improvements that will let me avoid doing any of that myself always welcome. :-) well, I'm sorry that I've known about the APM issue for a long time and done nothing about it. I did ping davej when he broke it,

Re: [PATCH] utrace: remove exports

2007-04-18 Thread Jim Keniston
Christoph Hellwig wrote: All the exports in utrace are totally unused, and not really something I'd want modules to use anyway :) Please leave the exports in place. Very early in Documentation/utrace.txt, it says: The UTRACE is infrastructure code for tracing and controlling user threads.

Re: 2.6.20.6 vanilla does't boot

2007-04-18 Thread Michal Jaegermann
On Wed, Apr 18, 2007 at 03:39:25PM -0400, Len Brown wrote: On Sunday 15 April 2007 11:50, Michal Jaegermann wrote: A kernel derived from 2.6.21-rc6-git1 (2.6.20-1.3053.fc7.x86_64 from Fedora rawhide to be more precise) did boot on the hardware in question, though; but only when I gave it

Re: [NETLINK] Don't attach callback to a going-away netlink socket

2007-04-18 Thread David Miller
From: Pavel Emelianov [EMAIL PROTECTED] Date: Wed, 18 Apr 2007 12:16:18 +0400 The proposal it to make sock_orphan before detaching the callback in netlink_release() and to check for the sock to be SOCK_DEAD in netlink_dump_start() before setting a new callback. As discussed in this thread

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

2007-04-18 Thread Davide Libenzi
On Wed, 18 Apr 2007, Linus Torvalds wrote: On Wed, 18 Apr 2007, Davide Libenzi wrote: Perhaps on the rare occasion pursuing the right course demands an act of unfairness, unfairness itself can be the right course? I don't think that's the right issue. It's just that fairness !=

Re: [PATCH] fix OOM killing processes wrongly thought MPOL_BIND

2007-04-18 Thread KAMEZAWA Hiroyuki
On Wed, 18 Apr 2007 20:35:22 +0100 (BST) Hugh Dickins [EMAIL PROTECTED] wrote: I only have CONFIG_NUMA=y for build testing: surprised when trying a memhog to see lots of other processes killed with No available memory (MPOL_BIND). memhog is killed correctly once we initialize nodemask in

Re: [PATCH][RFC] Kill off legacy power management stuff.

2007-04-18 Thread Robert P. J. Day
On Wed, 18 Apr 2007, Dave Jones wrote: On Wed, Apr 18, 2007 at 05:23:15PM -0400, Len Brown wrote: p.p.s. patch improvements that will let me avoid doing any of that myself always welcome. :-) well, I'm sorry that I've known about the APM issue for a long time and done nothing

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

2007-04-18 Thread Peter Williams
Linus Torvalds wrote: On Wed, 18 Apr 2007, Matt Mackall wrote: On Wed, Apr 18, 2007 at 07:48:21AM -0700, Linus Torvalds wrote: And fairness by euid is probably a hell of a lot easier to do than trying to figure out the wakeup matrix. For the record, you actually don't need to track a whole

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

2007-04-18 Thread Con Kolivas
On Thursday 19 April 2007 09:59, Con Kolivas wrote: Since there is so much work currently ongoing with alternative cpu schedulers, as a standard for comparison with the alternative virtual deadline fair designs I've addressed a few issues in the Staircase Deadline cpu scheduler which improve

<    2   3   4   5   6   7   8   >