Re: [patch 13/26] Xen-paravirt_ops: Consistently wrap paravirt ops callsites to make them patchable

2007-03-17 Thread Jeremy Fitzhardinge
David Miller wrote: > The idea is _NOT_ that you go look for references to the paravirt_ops > members structure, that would be stupid and you wouldn't be able to > use the most efficient addressing mode on a given cpu, you'd be > patching up indirect calls and crap like that. Just say no... > > In

Re: [ck] Re: is RSDL an "unfair" scheduler too?

2007-03-17 Thread Willy Tarreau
On Sun, Mar 18, 2007 at 07:54:20AM +0100, Radoslaw Szkodzinski wrote: > On 3/18/07, Mike Galbraith <[EMAIL PROTECTED]> wrote: > >On Sun, 2007-03-18 at 06:24 +0100, Willy Tarreau wrote: > > > >> Maybe we're all discussing the problem because we have reached the point > >> where we need two types of

Re: [ck] Re: RSDL v0.31

2007-03-17 Thread Mike Galbraith
On Sun, 2007-03-18 at 08:22 +0100, Radoslaw Szkodzinski wrote: > I'd recon KDE regresses because of kioslaves waiting on a pipe > (communication with the app they're doing IO for) and then expiring. > That's why splitting IO from an app isn't exactly smart. It should at > least be ran in an anothe

Re: is RSDL an "unfair" scheduler too?

2007-03-17 Thread hui
On Sun, Mar 18, 2007 at 07:37:02AM +0100, Mike Galbraith wrote: > On Sat, 2007-03-17 at 23:09 -0700, Bill Huey wrote: > > > Like I've said in a previous email, SGI schedulers have an interactive > > term in addition to the normal "nice" values. If RSDL ends up being too > > rigid for desktop use,

Re: [patch 13/26] Xen-paravirt_ops: Consistently wrap paravirt ops callsites to make them patchable

2007-03-17 Thread David Miller
From: Rusty Russell <[EMAIL PROTECTED]> Date: Sat, 17 Mar 2007 21:33:58 +1100 > On Fri, 2007-03-16 at 13:38 -0700, Jeremy Fitzhardinge wrote: > > David Miller wrote: > > > Perhaps the problem can be dealt with using ELF relocations. > > > > > > There is another case, discussed yesterday on netdev,

Re: [ck] Re: RSDL v0.31

2007-03-17 Thread Radoslaw Szkodzinski
On 3/18/07, Mike Galbraith <[EMAIL PROTECTED]> wrote: On Sun, 2007-03-18 at 07:47 +0100, Kasper Sandberg wrote: > > So neither does a good job with this load. > that sorely depends on what you mean by good job. > > It seems like what you call a good job is preserving the speed of the > gui(X + a

Re: RSDL v0.31

2007-03-17 Thread Mike Galbraith
On Sun, 2007-03-18 at 07:47 +0100, Kasper Sandberg wrote: > > So neither does a good job with this load. > that sorely depends on what you mean by good job. > > It seems like what you call a good job is preserving the speed of the > gui(X + apps which uses it) at _ALL_ costs to other stuff. Wron

Re: [Xen-devel] Re: [patch 20/26] Xen-paravirt_ops: Core Xen implementation

2007-03-17 Thread Jeremy Fitzhardinge
Rusty Russell wrote: > On Fri, 2007-03-16 at 10:14 +0100, Ingo Molnar wrote: > >>> +unsigned long xen_pmd_val(pmd_t pmd) >>> +{ >>> + BUG(); >>> + return 0; >>> +} >>> >> make it noret. >> > > OK, I missed this one. How? > > Wondering if I've missed a trick here... No, I don't

Re: Loading both the pata_atiixp and the ahci driver causes problems

2007-03-17 Thread Jon Masters
Tejun Heo wrote: Please take a look at the JMB quirk in drivers/pci/quirks.c in the latest libata-dev#upstream tree for details. For interest, I will, thanks for the info. Jon. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTEC

Re: [ck] Re: is RSDL an "unfair" scheduler too?

2007-03-17 Thread Radoslaw Szkodzinski
On 3/18/07, Mike Galbraith <[EMAIL PROTECTED]> wrote: On Sun, 2007-03-18 at 06:24 +0100, Willy Tarreau wrote: > Maybe we're all discussing the problem because we have reached the point > where we need two types of schedulers : one for the desktop and one for > the servers. After all, this is alr

Re: + remove-the-likelypid-check-in-copy_process.patch added to -mm tree

2007-03-17 Thread sukadev
Eric W. Biederman [EMAIL PROTECTED] wrote: | Oleg Nesterov <[EMAIL PROTECTED]> writes: | | > Yes! I meant we should change INIT_SIGNALS(), currently it does | > | > #define INIT_SIGNALS(sig) { | > ... | > .pgrp = 1, | > { .__session = 1}, | >

Re: RSDL v0.31

2007-03-17 Thread Kasper Sandberg
On Sun, 2007-03-18 at 07:17 +0100, Mike Galbraith wrote: > On Sat, 2007-03-17 at 23:55 +0300, Al Boldi wrote: > > > Mike, I'm not saying RSDL is perfect, but v0.31 is by far better than > > mainline. Try this easy test: > > > > startx with the vesa driver > > run reflect from the mesa5.0-demos

Re: Loading both the pata_atiixp and the ahci driver causes problems

2007-03-17 Thread Tejun Heo
Hello, Jon. Jon Masters wrote: >> Dunno much about sb600 but ahci and pata_atiixp are probably using >> separate IO regions && separate PCI functions. > > Yeah. I actually thought about this whole issue a bit more recently - > things like SATA/PATA interference when you've got a part that emulate

Re: is RSDL an "unfair" scheduler too?

2007-03-17 Thread Mike Galbraith
On Sat, 2007-03-17 at 23:09 -0700, Bill Huey wrote: > Like I've said in a previous email, SGI schedulers have an interactive > term in addition to the normal "nice" values. If RSDL ends up being too > rigid for desktop use, then this might be a good idea to explore in > addition to priority manipu

Re: [PATCH 0/5] [RFC] AF_RXRPC socket family implementation [try #2]

2007-03-17 Thread Kyle Moffett
On Mar 16, 2007, at 10:11:41, Alan Cox wrote: I know what they are; and I don't think that what's available covers it. and use a proper standard socket type. Assuming that that list is exhaustive... SOCK_RDM seems to match perfectly well here. The point isn't to enumerate everything in

Re: Loading both the pata_atiixp and the ahci driver causes problems

2007-03-17 Thread Jon Masters
Tejun Heo wrote: Jon Masters wrote: Chuck Ebbert wrote: If you try to load both the pata_atiixp and the ahci driver (for the same ATI SB600 adapter), very strange things happen. The AHCI driver churns for three minutes or so, spewing messages like this, then nothing works: <6>ata3: SATA link

Re: is RSDL an "unfair" scheduler too?

2007-03-17 Thread Mike Galbraith
On Sun, 2007-03-18 at 06:24 +0100, Willy Tarreau wrote: > Maybe we're all discussing the problem because we have reached the point > where we need two types of schedulers : one for the desktop and one for > the servers. After all, this is already what is proposed with preempt, > it would make sens

Re: RSDL v0.31

2007-03-17 Thread Mike Galbraith
On Sat, 2007-03-17 at 23:55 +0300, Al Boldi wrote: > Mike, I'm not saying RSDL is perfect, but v0.31 is by far better than > mainline. Try this easy test: > > startx with the vesa driver > run reflect from the mesa5.0-demos > load 5 cpu-hogs > start moving the mouse > > On my desktop, mainline

Re: is RSDL an "unfair" scheduler too?

2007-03-17 Thread hui
On Sun, Mar 18, 2007 at 06:24:40AM +0100, Willy Tarreau wrote: > > Dunno. I guess a lot of people would like to then manage the classes, > > which would be painful as hell. > > Sure ! I wouldn't like people to point the finger on Linux saying "hey > look, they can't write a good scheduler so you

Re: is RSDL an "unfair" scheduler too?

2007-03-17 Thread Avi Kivity
Willy Tarreau wrote: On Sat, Mar 17, 2007 at 06:32:29PM -0700, Linus Torvalds wrote: On Sat, 17 Mar 2007, William Lee Irwin III wrote: One issue this raises is prioritizing users on a system, threads within processes, jobs within users, etc. Doing some "classing" even by just eui

Re: libata reports bogus addresses for everything (was PATA_PCMCIA cmd port)

2007-03-17 Thread Tejun Heo
Alan Cox wrote: > On Sat, 17 Mar 2007 22:00:50 +0900 > Komuro <[EMAIL PROTECTED]> wrote: > >> Hi, >> >> The pata_pcmcia driver reports the cmd port is 0x00010100, >> but actually the cmd port is 0x0100. >> >> Is this corect? > > When the pci_iomap patches were applied the ports reported for eve

Re: [BUG 2.6.21-rc3-git9] SATA NCQ failure with Samsum HD401LJ

2007-03-17 Thread Tejun Heo
Christian wrote: >> This does indeed look like a drive side issue to me (the controller is >> reporting CPBs with response flags 2 which as far as I can tell >> indicates it's still waiting for the drive to complete the request). > > I have been using this hw-config (SATA II, NCQ) since the nvidia

Re: Loading both the pata_atiixp and the ahci driver causes problems

2007-03-17 Thread Tejun Heo
Jon Masters wrote: > Chuck Ebbert wrote: > >> If you try to load both the pata_atiixp and the ahci driver >> (for the same ATI SB600 adapter), very strange things happen. >> The AHCI driver churns for three minutes or so, spewing >> messages like this, then nothing works: >> >> <6>ata3: SATA link

Re: is RSDL an "unfair" scheduler too?

2007-03-17 Thread Mike Galbraith
On Sat, 2007-03-17 at 21:13 -0500, Bill Davidsen wrote: > Now for something constructive... by any chance is Mike running KDE > instead of GNOME? Yes. -Mike - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majo

Re: is RSDL an "unfair" scheduler too?

2007-03-17 Thread Willy Tarreau
On Sat, Mar 17, 2007 at 06:32:29PM -0700, Linus Torvalds wrote: > > > On Sat, 17 Mar 2007, William Lee Irwin III wrote: > > > > One issue this raises is prioritizing users on a system, threads within > > processes, jobs within users, etc. > > Doing some "classing" even by just euid might be a g

Re: [kvm-devel] [PATCH 0/15] KVM userspace interface updates

2007-03-17 Thread Avi Kivity
Heiko Carstens wrote: On Sun, Mar 11, 2007 at 03:53:12PM +0200, Avi Kivity wrote: This patchset updates the kvm userspace interface to what I hope will be the long-term stable interface. Provisions are included for extending the interface later. The patches address performance and cleanline

Re: [PATCH 21-rc4] misc doc and kconfig typos

2007-03-17 Thread Randy Dunlap
On Sat, 17 Mar 2007 14:44:51 -0400 Matt LaPlante wrote: > Fix various typos in kernel docs and Kconfigs, 2.6.21-rc4. > > Signed-off-by: Matt LaPlante <[EMAIL PROTECTED]> Acked-by: Randy Dunlap <[EMAIL PROTECTED]> Thanks, Matt. BTW, I would prefer to see doc and kconfig patches in separate file

Re: is RSDL an "unfair" scheduler too?

2007-03-17 Thread Avi Kivity
William Lee Irwin III wrote: On Sat, Mar 17, 2007 at 10:41:01PM +0200, Avi Kivity wrote: Well, the heuristic here is that process == job. I'm not sure heuristic is the right name for it, but it does point out a deficieny. A cpu-bound process with many threads will overwhelm a cpu-bound singl

Re: more precise CPU time accounting for x86

2007-03-17 Thread Stephen Rothwell
Hi Tomasz, On Sat, 17 Mar 2007 16:47:22 +0100 Tomasz Noiński <[EMAIL PROTECTED]> wrote: > > I've written a small patch for more precise process CPU time accounting > for processors with TSC. You should have a look at the CONFIG_VIRT_CPU_ACCOUNTING on s390 and powerpc. -- Cheers, Stephen Rothwell

Re: [patch 2/13] signal/timer/event fds v6 - signalfd core ...

2007-03-17 Thread Stephen Rothwell
On Sat, 17 Mar 2007 22:35:08 +0100 Arnd Bergmann <[EMAIL PROTECTED]> wrote: > > sizeof(sigset_t) may be different for native and 32-bit compat code. > It would be good if you could handle sizemask==4 && sizeof(sigset_t)==8 > in this code, so that there is no need for an extra compat_sys_signalfd >

Re: [git patches] libata fixes

2007-03-17 Thread Tejun Heo
Paul Rolland wrote: > Hello, > >> The kernel says that NCQ is turned off due to excessive >> errors. If your >> HSM violation is intermittent, it might not trigger tho. > > I've just grep'ed thru all my messages, and I can't find anything > stating that NCQ is being turned off... Can you put

Re: CONFIG_REORDER Kconfig help strange sentence.

2007-03-17 Thread Randy Dunlap
On Sat, 17 Mar 2007 19:54:30 +1100 Rusty Russell wrote: > On Thu, 2007-03-15 at 18:34 -0700, Randy Dunlap wrote: > > On Tue, 13 Mar 2007 17:37:35 +1100 Rusty Russell wrote: > > > diff -r de5618b5e562 arch/x86_64/Kconfig > > > --- a/arch/x86_64/Kconfig Tue Mar 13 11:41:55 2007 +1100 > > > +++ b/arc

Re: Pluggable Schedulers (was: [ANNOUNCE] RSDL completely fair starvation free interactive cpu scheduler)

2007-03-17 Thread Bill Davidsen
David Lang wrote: On Fri, 9 Mar 2007, Al Boldi wrote: My preferred sphere of operation is the Manichean domain of faster vs. slower, functionality vs. non-functionality, and the like. For me, such design concerns are like the need for a kernel to format pagetables so the x86 MMU decodes what

Re: is RSDL an "unfair" scheduler too?

2007-03-17 Thread Kasper Sandberg
On Sat, 2007-03-17 at 21:13 -0500, Bill Davidsen wrote: > Con Kolivas wrote: > > Now for something constructive... by any chance is Mike running KDE > instead of GNOME? I only had a short time to play because I had to look > at another problem in 2.6.21-rc3 (nbd not working), so the test machin

Re: is RSDL an "unfair" scheduler too?

2007-03-17 Thread Bill Davidsen
Ingo Molnar wrote: * Con Kolivas <[EMAIL PROTECTED]> wrote: Ok but please look at how it appears from my end (illness aside). ( i really think we should continue this debate after you get better. Everything looks much darker when you are ill! ) You initially said you were pleased with

Re: [patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear)

2007-03-17 Thread Nick Piggin
On Sat, Mar 17, 2007 at 01:17:00PM +0100, Blaisorblade wrote: > On Tuesday 13 March 2007 02:19, Nick Piggin wrote: > > On Tue, Mar 13, 2007 at 12:01:13AM +0100, Blaisorblade wrote: > > > On Wednesday 07 March 2007 11:02, Nick Piggin wrote: > > > > > Yeah, tmpfs/shm segs are what I was thinking abou

Re: Keyboard stops working after *lock [Was: 2.6.21-rc2-mm1]

2007-03-17 Thread Alan Stern
On Sat, 17 Mar 2007, Jiri Slaby wrote: > Alan Stern napsal(a): > > On Tue, 13 Mar 2007, Jiri Slaby wrote: > > > >> So, do you mean rmmod uhci_hcd, unplug the keyboard, modprobe > >> uhci_hcd, start usbmon, plug the keyboard, press numlock, stop usbmon, > >> post it? > > Here you are: ... > (Re

Re: is RSDL an "unfair" scheduler too?

2007-03-17 Thread Bill Davidsen
Con Kolivas wrote: On Saturday 17 March 2007 23:28, Ingo Molnar wrote: * Con Kolivas <[EMAIL PROTECTED]> wrote: We're obviously disagreeing on what heuristics are [...] that could very well be so - it would be helpful if you could provide your own rough definition for the term, so that we can

Re: [PATCH] drivers/char/agp: Convert to generic boolean

2007-03-17 Thread Richard Knutsson
Please use "Reply All" Joe Perches wrote: On Sun, 2007-03-18 at 00:45 +0100, Richard Knutsson wrote: diff --git a/drivers/char/agp/amd-k7-agp.c b/drivers/char/agp/amd-k7-agp.c index e6c534e..3d57e9f 100644 --- a/drivers/char/agp/amd-k7-agp.c +++ b/drivers/char/agp/amd-k7-agp.c @@ -308,9 +308

Re: is RSDL an "unfair" scheduler too?

2007-03-17 Thread Linus Torvalds
On Sat, 17 Mar 2007, William Lee Irwin III wrote: > > One issue this raises is prioritizing users on a system, threads within > processes, jobs within users, etc. Doing some "classing" even by just euid might be a good idea. It would actually catch X automatically most of the time, because the

Re: [ANNOUNCE] RSDL completely fair starvation free interactive cpu scheduler

2007-03-17 Thread Bill Davidsen
Con Kolivas wrote: On Monday 12 March 2007 22:26, Al Boldi wrote: Con Kolivas wrote: On Monday 12 March 2007 15:42, Al Boldi wrote: Con Kolivas wrote: On Monday 12 March 2007 08:52, Con Kolivas wrote: And thank you! I think I know what's going on now. I think each rotation is followed by ano

Re: is RSDL an "unfair" scheduler too?

2007-03-17 Thread William Lee Irwin III
On Sat, Mar 17, 2007 at 10:41:01PM +0200, Avi Kivity wrote: > Well, the heuristic here is that process == job. I'm not sure heuristic > is the right name for it, but it does point out a deficieny. > A cpu-bound process with many threads will overwhelm a cpu-bound single > threaded threaded proce

[BUG] no boot with 2.6.21-rc3 and later

2007-03-17 Thread Bob Tracy
Platform is a Dell CPxJ 650GT notebook. Attempts to boot 2.6.21-rc3 and -rc4 produce the following console output: (apparently normal boot) ... Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx PIIX4: IDE controlle

Re: [PATCH RESEND 2/2] Fix some kallsyms_lookup() vs rmmod races

2007-03-17 Thread Rusty Russell
On Fri, 2007-03-16 at 12:51 +0100, Ingo Molnar wrote: > * Alexey Dobriyan <[EMAIL PROTECTED]> wrote: > > > [cc'ing folks whose proc files are affected] > > > > kallsyms_lookup() can call module_address_lookup() which iterates over > > modules list without module_mutex taken. Comment at the top o

Re: [patch 05/26] Xen-paravirt_ops: paravirt_ops: hooks to set up initial pagetable

2007-03-17 Thread Rusty Russell
On Fri, 2007-03-16 at 11:39 -0700, Jeremy Fitzhardinge wrote: > Ingo Molnar wrote: > >> + /* Make sure kernel address space is empty so that a pagetable > >> + will be allocated for it. */ > >> > > > > comment style. > > > > As you've noticed its a comment style I use quite often. Me

Re: [PATCH RESEND 2/2] Fix some kallsyms_lookup() vs rmmod races

2007-03-17 Thread Rusty Russell
On Fri, 2007-03-16 at 12:49 -0800, Andrew Morton wrote: > > Ok, I've just done a few tests with the attached patch. It basically > > creates a freeze_machine_run function that is equivalent in interface to > > stop_machine_run, but uses freeze_processes / thaw_processes to stop the > > machine.

Re: [patch 13/26] Xen-paravirt_ops: Consistently wrap paravirt ops callsites to make them patchable

2007-03-17 Thread Rusty Russell
On Fri, 2007-03-16 at 13:38 -0700, Jeremy Fitzhardinge wrote: > David Miller wrote: > > Perhaps the problem can be dealt with using ELF relocations. > > > > There is another case, discussed yesterday on netdev, where run-time > > resolution of ELF relocations would be useful (for > > very-very-very

Re: [Xen-devel] Re: [patch 13/26] Xen-paravirt_ops: Consistently wrap paravirt ops callsites to make them patchable

2007-03-17 Thread Rusty Russell
On Fri, 2007-03-16 at 10:24 +0100, Ingo Molnar wrote: > * Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > > > Wrap a set of interesting paravirt_ops calls in a wrapper which makes > > the callsites available for patching. Unfortunately this is pretty > > ugly because there's no way to get gcc

Re: [PATCH RESEND 2/2] Fix some kallsyms_lookup() vs rmmod races

2007-03-17 Thread Rusty Russell
On Fri, 2007-03-16 at 14:44 +0300, Alexey Dobriyan wrote: > [cc'ing folks whose proc files are affected] > > kallsyms_lookup() can call module_address_lookup() which iterates over > modules list without module_mutex taken. Comment at the top of > module_address_lookup() says it's for oops resoluti

Re: [Xen-devel] Re: [patch 20/26] Xen-paravirt_ops: Core Xen implementation

2007-03-17 Thread Rusty Russell
On Fri, 2007-03-16 at 10:14 +0100, Ingo Molnar wrote: > > +unsigned long xen_pmd_val(pmd_t pmd) > > +{ > > + BUG(); > > + return 0; > > +} > > make it noret. OK, I missed this one. How? Wondering if I've missed a trick here... Rusty. - To unsubscribe from this list: send the line "unsubsc

Re: [patch 14/26] Xen-paravirt_ops: add common patching machinery

2007-03-17 Thread Rusty Russell
On Fri, 2007-03-16 at 10:20 +0100, Ingo Molnar wrote: > * Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > > > Implement the actual patching machinery. paravirt_patch_default() > > contains the logic to automatically patch a callsite based on a few > > simple rules: > > > > - if the paravirt_

appletouch quirk doesn't run at resume

2007-03-17 Thread Adrian Bunk
On Sat, Mar 17, 2007 at 11:07:38AM +0100, Thomas Meyer wrote: > Thomas Gleixner schrieb: > > I finally found a dual core box, which survives suspend/resume without > > crashing in the middle of nowhere. Sigh, I never figured out from the > > code and the bug reports what's going on. > > > > The obs

Re: [git patches] IDE fixes

2007-03-17 Thread Bartlomiej Zolnierkiewicz
On Sunday 18 March 2007, Linus Torvalds wrote: > > On Sat, 17 Mar 2007, Bartlomiej Zolnierkiewicz wrote: > > > > to receive the following updates: > > > > b/drivers/ide/Kconfig | 48 - > > b/drivers/ide/Makefile |1 > > b/drivers/ide/arm/icside

Re: [PATCH UPDATED][2] cosmetic adaption of drivers/ide/Kconfig concerning SATA

2007-03-17 Thread Patrick Ringl
Bartlomiej Zolnierkiewicz wrote: Hello, On Sunday 18 March 2007, Patrick Ringl wrote: Hello, Hi, since especially Serial ATA has it's own menu point now, I guess we can change the description of the deprecated SATA driver as well, since the new libATA subsystem is not configured through a

Re: [git patches] IDE fixes

2007-03-17 Thread Linus Torvalds
On Sat, 17 Mar 2007, Bartlomiej Zolnierkiewicz wrote: > > to receive the following updates: > > b/drivers/ide/Kconfig | 48 - > b/drivers/ide/Makefile |1 > b/drivers/ide/arm/icside.c | 13 > b/drivers/ide/ide-dma.c

Re: [PATCH UPDATED] cosmetic adaption of drivers/ide/Kconfig concerning SATA

2007-03-17 Thread Bartlomiej Zolnierkiewicz
On Sunday 18 March 2007, Patrick Ringl wrote: > Hello, Hi, > since especially Serial ATA has it's own menu point now, I guess we can > change the description of the deprecated SATA driver as well, since the > new libATA subsystem is not configured through a SCSI low-level driver > anymore, bu

[PATCH] drivers/scsi/eata_generic.h: Remove FALSE/TRUE defines

2007-03-17 Thread Richard Knutsson
Signed-off-by: Richard Knutsson <[EMAIL PROTECTED]> --- Only included by drivers/scsi/eata_pio.c and it only uses FALSE/TRUE in comments. diff --git a/drivers/scsi/eata_generic.h b/drivers/scsi/eata_generic.h index 635c148..5016af5 100644 --- a/drivers/scsi/eata_generic.h +++ b/drivers/scsi/eata_

[PATCH] ieee1394: unroll a weird macro

2007-03-17 Thread Stefan Richter
This is a coding style touch-up for ieee1394's handle_incoming_packet(). A preprocessor macro contained hardwired variable names and, even worse, the 'break' keyword. This macro is now unrolled and removed. Also, all 'break's which had the effect of a return are replaced by return. And a FIXME

[PATCH] ieee1394: remove usage of skb_queue as packet queue

2007-03-17 Thread Stefan Richter
This considerably reduces the memory requirements for a packet and eliminates ieee1394's dependency on CONFIG_NET. TODO: - Double-check if there are any drivers whose packet complete routine really needs process context. If there are none, get rid of khpsbpkt and execute the complete rou

[PATCH] drivers/char/agp: Convert to generic boolean

2007-03-17 Thread Richard Knutsson
drivers/char/agp/ Convert to generic booleans include/linux/agpgart.h Removed defines of FALSE/TRUE was only used under drivers/char/agp/ struct agp_front_data { Removed used_by_controller only assigned 'false' once and never used Convert backend_acquired from 'u8' to 'bool

Re: Linux 2.6.21-rc4

2007-03-17 Thread Adrian Bunk
On Fri, Mar 16, 2007 at 08:03:29PM +0100, Michal Piotrowski wrote: > On 16/03/07, Takashi Iwai <[EMAIL PROTECTED]> wrote: > >At Fri, 16 Mar 2007 18:44:26 +0100, > >Michal Piotrowski wrote: > >> > >> Takashi, unfortunately this bug isn't fixed > >> http://www.ussg.iu.edu/hypermail/linux/kernel/0703.

Re: fake config option w/kbuild?

2007-03-17 Thread Adrian Bunk
On Thu, Mar 15, 2007 at 03:08:47PM -0500, Kumar Gala wrote: > > On Mar 15, 2007, at 2:12 PM, Adrian Bunk wrote: > > >On Thu, Mar 15, 2007 at 10:19:03AM -0500, Kumar Gala wrote: > >>... > >>My initial question is that I don't want anyone using CONFIG_QE_83xx > >>or CONFIG_QE_85xx in code, the seco

Re: [BUG] 2.6.21-rc1,2,3 regressions on my system that I found so far

2007-03-17 Thread Thomas Gleixner
Maxim, On Sun, 2007-03-18 at 01:00 +0200, Maxim wrote: > >Mar 14 00:22:23 MAIN kernel: [2.072931] checking TSC synchronization > >[CPU#0 -> CPU#1]: > >Mar 14 00:22:23 MAIN kernel: [2.092922] Measured 72051818872 cycles TSC > >warp between CPUs, turning off > > ^ This one I don't think i

[PATCH UPDATED] cosmetic adaption of drivers/ide/Kconfig concerning SATA

2007-03-17 Thread Patrick Ringl
Hello, since especially Serial ATA has it's own menu point now, I guess we can change the description of the deprecated SATA driver as well, since the new libATA subsystem is not configured through a SCSI low-level driver anymore, but has it's own menu point. The following patch is against 2.

I can't compile with success because ueagle-atm.ko undefined

2007-03-17 Thread Thibaud Hulin
Hi, I can't compile with success my kernel, i've got this error message : Building modules, stage 2. MODPOST 1750 modules WARNING: Can't handle masks in drivers/ide/pci/atiixp:05 WARNING: "try_to_freeze" [drivers/usb/atm/ueagle-atm.ko] undefined! make[2]: *** [__modpost] Erreur 1 make[1]:

Re: [BUG] 2.6.21-rc1,2,3 regressions on my system that I found so far

2007-03-17 Thread Maxim
On Saturday 17 March 2007 01:39:01 Thomas Gleixner wrote: > On Fri, 2007-03-16 at 12:30 +0200, Maxim Levitsky wrote: > > Mar 14 00:22:23 MAIN kernel: [2.072875] caller is > > check_tsc_sync_source+0x1d/0x100 > > Mar 14 00:22:23 MAIN kernel: [2.072878] [show_trace_log_lvl+26/48] > > show_

Re: [BUG] 2.6.21-rc1,2,3 regressions on my system that I found so far

2007-03-17 Thread Maxim
On Saturday 17 March 2007 01:19:44 Len Brown wrote: > On Friday 16 March 2007 06:30, Maxim Levitsky wrote: > > > > Good day, > > > > I want to report regressions I have with 2.6.21-rc3 kernel. > > I use CONFIG_NO_HZ. > > Do any of these issues go away with CONFIG_NO_HZ=n (or boot with nohz=n) >

Re: Keyboard stops working after *lock [Was: 2.6.21-rc2-mm1]

2007-03-17 Thread Jiri Slaby
Alan Stern napsal(a): On Tue, 13 Mar 2007, Jiri Slaby wrote: So, do you mean rmmod uhci_hcd, unplug the keyboard, modprobe uhci_hcd, start usbmon, plug the keyboard, press numlock, stop usbmon, post it? Here you are: f78666c0 1992239699 C Ii:001:01 -2 0 f74d7b40 1996231756 S Ci:001:00 s 80 00

Re: [BUG] 2.6.21-rc1,2,3 regressions on my system that I found so far

2007-03-17 Thread Maxim
On Saturday 17 March 2007 03:32:53 Len Brown wrote: > On Friday 16 March 2007 19:44, Thomas Gleixner wrote: > > Maxim, > > > > On Fri, 2007-03-16 at 12:30 +0200, Maxim Levitsky wrote: > > > 3) Sometimes I get this (once in three boots or so) > > > > > > [ 36.217405] ENABLING IO-APIC IRQs > > >

[PATCH -mm 2/2] swsusp: Use GFP_KERNEL for creating basic data structures

2007-03-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Make swsusp call create_basic_memory_bitmaps() before processes are frozen, so that GFP_KERNEL allocations can be made in it. Additionally, ensure that the swsusp's userland interface won't be used while either pm_suspend_disk() or software_resume() is

Re: [2/6] 2.6.21-rc2: known regressions

2007-03-17 Thread Thomas Gleixner
On Sat, 2007-03-17 at 23:41 +0200, Michael S. Tsirkin wrote: > > > a quick ping: on your box that doesnt resume - if you can log in over > > > the network after resume (or somehow run shell commands), does 'date' > > > advance properly or not? (or do you not get that far to be able to > > > tell

[PATCH -mm 0/2] swsusp: Use GFP_KERNEL for creating basic data structures

2007-03-17 Thread Rafael J. Wysocki
Hi, The first of the following two patches fixes a bug in the swsusp's userland interface and the second one makes swsusp use GFP_KERNEL allocations for creating its basic memory bitmaps. Greetings, Rafael - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

[PATCH -mm 1/2] swsusp: Fix error paths in snapshot_open

2007-03-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> We forget to increase device_available if there's an error in snapshot_open(), so the snapshot device cannot be open at all after snapshot_open() has returned an error. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> --- kernel/power/user.c | 10

[PATCH] PCMCIA: Delete obsolete PCMCIA_IOCTL feature.

2007-03-17 Thread Robert P. J. Day
Delete all code and configuration info related to the obsolete PCMCIA_IOCTL config setting. Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- according to the feature removal Doc file, this feature was scheduled for removal back in 2005. compile-tested with "make allyesconfig" on x86

Re: [2/6] 2.6.21-rc2: known regressions

2007-03-17 Thread Michael S. Tsirkin
> Quoting Michael S. Tsirkin <[EMAIL PROTECTED]>: > Subject: Re: [2/6] 2.6.21-rc2: known regressions > > > Quoting Ingo Molnar <[EMAIL PROTECTED]>: > > Subject: Re: [2/6] 2.6.21-rc2: known regressions > > > > > > Michael, > > > > * Michael S. Tsirkin <[EMAIL PROTECTED]> wrote: > > > > > > > 2.

Re: [patch 2/13] signal/timer/event fds v6 - signalfd core ...

2007-03-17 Thread Arnd Bergmann
On Saturday 17 March 2007 22:35:08 Arnd Bergmann wrote: > Also, what's the reasoning behind defining a new structure > instead of just returning siginfo_t? Sure siginfo_t is ugly > but it is a well-defined structure and users already deal > with the problems it causes. Ok, found the answer myself,

Re: [PATCH] clockevents: Fix suspend/resume to disk hangs

2007-03-17 Thread Rafael J. Wysocki
On Saturday, 17 March 2007 11:07, Thomas Meyer wrote: > Thomas Gleixner schrieb: > > I finally found a dual core box, which survives suspend/resume without > > crashing in the middle of nowhere. Sigh, I never figured out from the > > code and the bug reports what's going on. > > > > The observed ha

Re: SATA problems in 2.6.20.3

2007-03-17 Thread Robert Hancock
Christian wrote: I'm seeing the same here since a few days. Before it worked great (even with NCQ). I've been getting those messages since 2.6.21-rc3-mm1 and with the latest Ubuntu feisty kernel (2.6.20-11-generic #2 SMP Thu Mar 15 03:43:56 UTC 2007 x86_64 GNU/Linux) System is Athlon64 X2, Nf

Re: [patch 6/13] signal/timer/event fds v6 - timerfd core ...

2007-03-17 Thread Arnd Bergmann
On Friday 16 March 2007 01:22:15 Davide Libenzi wrote: > This patch introduces a new system call for timers events delivered > though file descriptors. This allows timer event to be used with > standard POSIX poll(2), select(2) and read(2). As a consequence of > supporting the Linux f_op->poll subs

Re: [patch 2/13] signal/timer/event fds v6 - signalfd core ...

2007-03-17 Thread Arnd Bergmann
On Friday 16 March 2007 01:22:15 Davide Libenzi wrote: > + > +static struct sighand_struct *signalfd_get_sighand(struct signalfd_ctx > *ctx, + unsigned long > *flags); > +static void signalfd_put_sighand(struct signalfd_ctx *ctx, > +

Re: [PATCH 1/2] scc_pata: dependency fix

2007-03-17 Thread Bartlomiej Zolnierkiewicz
On Friday 16 March 2007, Akira Iguchi wrote: > This patch fixes: > * the dependency of scc_pata on BLK_DEV_IDEDMA_PCI > * incorrect link to ide-core > * move scc_pata from ide/ppc to ide/pci > > Signed-off-by: Kou Ishizaki <[EMAIL PROTECTED]> > Signed-off-by: Akira Iguchi <[EMAIL PROTECTED]> I a

Re: is RSDL an "unfair" scheduler too?

2007-03-17 Thread Avi Kivity
Ingo Molnar wrote: * Con Kolivas <[EMAIL PROTECTED]> wrote: Despite the claims to the contrary, RSDL does not have _less_ heuristics, it does not have _any_. It's purely entitlement based. RSDL still has heuristics very much, but this time it's hardcoded into the design! Let me demon

Re: [patch 1/13] signal/timer/event fds v6 - anonymous inode source ...

2007-03-17 Thread Arnd Bergmann
On Friday 16 March 2007 01:22:15 Davide Libenzi wrote: > + > +static int ainofs_delete_dentry(struct dentry *dentry); > +static struct inode *aino_getinode(void); > +static struct inode *aino_mkinode(void); > +static int ainofs_get_sb(struct file_system_type *fs_type, int flags, > +

Re: RSDL v0.31

2007-03-17 Thread Al Boldi
Mike Galbraith wrote: > On Sat, 2007-03-17 at 20:48 +1100, Con Kolivas wrote: > > The most frustrating part of a discussion of this nature on lkml is that > > earlier information in a thread seems to be long forgotten after a few > > days and all that is left is the one reporter having a problem. >

MPT Fusion LSI22320 , Domain validation loops .

2007-03-17 Thread Mr. James W. Laferriere
Hello All , I am have been having this problem since I purchased the controller and after changing out the disks I thought were the problem . I am still getting the continous : mptscsih: ioc1: attempting task abort! (sc=f7a64500) scsi 3:0:4:0: command: Inquiry: 12 00 00 00 60 0

whatever happened with "CONFIG_FORCED_INLINING"?

2007-03-17 Thread Robert P. J. Day
a while back, i submitted a patch to remove the config option of FORCED_INLINING, since it was allegedly scheduled for removal in june of last year. (it's still listed in Documentation/feature-removal-schedule.txt as being ready for removal in june, 2006.) but, IIRC, that inspired some discu

[PATCH] CRIS: check for memory allocation

2007-03-17 Thread Cyrill Gorcunov
This patch adds checking for allocated memory. Indents and spaces are added to be familiar with the kernel coding style. Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]> --- arch/cris/kernel/profile.c | 81 ++-- 1 files changed, 48 insertions(+), 33 d

RE: [git patches] libata fixes

2007-03-17 Thread Paul Rolland
Hello, > The kernel says that NCQ is turned off due to excessive > errors. If your > HSM violation is intermittent, it might not trigger tho. I've just grep'ed thru all my messages, and I can't find anything stating that NCQ is being turned off... Paul - To unsubscribe from this list: send

Re: Porting V4L2 drivers to 2.6.20

2007-03-17 Thread Mauro Carvalho Chehab
Em Ter, 2007-03-13 às 11:08 +0100, Laurent Pinchart escreveu: > > Hey, > > am porting V4L2 drivers from 2.6.13 to 2.6.20. > > > > The driver is using a structure 'video_device' which exists in > > include/linux/videodev.h. > > > > However, The linux kernel in 2.6.20 doesnot have

Re: [git patches] libata fixes

2007-03-17 Thread Tejun Heo
Paul Rolland wrote: >> If you leave it alone, does libata turn off NCQ and boot continues? > > boot continues, but I can't tell anything about libata turning of NCQ... > I've had a bunch of them at some while while compiling some kernel, so it > was quite some time after booting. > > Is there a m

Re: [git patches] libata fixes

2007-03-17 Thread Alan Cox
> > > > > > > > > Signed-off-by: Paul Rolland <[EMAIL PROTECTED]> > > > > NAK - but add the firmware to the match and you can have an Ack 8) > > Second try, compiled _and_ boot tested, of course. > > dmesg says : > ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) > ata1.00: ATA-7: Maxto

RE: [git patches] libata fixes

2007-03-17 Thread Paul Rolland
> If you leave it alone, does libata turn off NCQ and boot continues? boot continues, but I can't tell anything about libata turning of NCQ... I've had a bunch of them at some while while compiling some kernel, so it was quite some time after booting. Is there a message I can check for that would

Re: [git patches] libata fixes

2007-03-17 Thread Tejun Heo
Paul Rolland wrote: > Hello, > > I'm preparing to attach a disk. > In the meantime, I've rebuild a 2.6.21-rc4, and got that while booting : > ... > ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) > ata1.00: ATA-7: Maxtor 6L250S0, BANC1G10, max UDMA/133 > ata1.00: 490234752 sectors, multi 0

RE: [git patches] libata fixes

2007-03-17 Thread Paul Rolland
Hello, > Please match the firmware version as well for the Maxtor drives Ok. > > --- linux-2.6.21-rc4/drivers/ata/libata-core.c 2007-03-17 > 19:29:45.0 > > +0100 > > +++ linux-2.6.21-rc4-Maxtor/drivers/ata/libata-core.c 2007-03-17 > > 19:37:28.0 +0100 > > @@ -3359,6 +3359,8 @

Re: [PATCH] kthread_should_stop_check_freeze (was: Re: [PATCH -mm 3/7] Freezer: Remove PF_NOFREEZE from rcutorture thread)

2007-03-17 Thread Paul E. McKenney
On Mon, Mar 12, 2007 at 11:39:06PM +0100, Pavel Machek wrote: > Hi! > > > > > Looks good to me! The other kthread_should_stop() calls in > > > > rcutorture.c should also become > > > > kthread_should_top_check_freeze(). > > > > Why is it useful? > > > > Because we want to avoid repeating > > >

Re: [git patches] libata fixes

2007-03-17 Thread Alan Cox
On Sat, Mar 17, 2007 at 07:47:01PM +0100, Paul Rolland wrote: > Hello, > > Here is a patch to avoid these pesky messages for the Maxtor disk : > Please match the firmware version as well for the Maxtor drives > --- linux-2.6.21-rc4/drivers/ata/libata-core.c 2007-03-17 19:29:45.0 > +010

[PATCH 21-rc4] misc doc and kconfig typos

2007-03-17 Thread Matt LaPlante
Fix various typos in kernel docs and Kconfigs, 2.6.21-rc4. Signed-off-by: Matt LaPlante <[EMAIL PROTECTED]> -- diff -ru a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig --- a/arch/arm/mach-at91/Kconfig2007-03-17 13:20:34.0 -0400 +++ b/arch/arm/mach-at91/Kconfig200

Re: + remove-the-likelypid-check-in-copy_process.patch added to -mm tree

2007-03-17 Thread Eric W. Biederman
Oleg Nesterov <[EMAIL PROTECTED]> writes: > Yes! I meant we should change INIT_SIGNALS(), currently it does > > #define INIT_SIGNALS(sig) { > ... > .pgrp = 1, > { .__session = 1}, > > and this confuses (I think) set_special_pids(1,1) a

RE: [git patches] libata fixes

2007-03-17 Thread Paul Rolland
Hello, Here is a patch to avoid these pesky messages for the Maxtor disk : --- linux-2.6.21-rc4/drivers/ata/libata-core.c 2007-03-17 19:29:45.0 +0100 +++ linux-2.6.21-rc4-Maxtor/drivers/ata/libata-core.c 2007-03-17 19:37:28.0 +0100 @@ -3359,6 +3359,8 @@ { "WDC WD740ADF

Re: [ck] Re: RSDL v0.31

2007-03-17 Thread Mike Galbraith
On Sat, 2007-03-17 at 19:23 +0100, Kacper Wysocki wrote: > And for Mark and others who are as confused as I was, this is the > thread that Mike meant to reference: > http://thread.gmane.org/gmane.linux.kernel/503455/focus=6614 Nope, with all the back and forth (and noise), I lost track of which t

  1   2   >