Re: Status of CONFIG_FORCED_INLINING?

2007-05-24 Thread Adrian Bunk
On Wed, May 23, 2007 at 02:31:33PM -0700, Arjan van de Ven wrote: > Adrian Bunk wrote: >> What about performance reasons? >> We habe "inline" code in header files that heavily relies on being nearly >> completely optimized away after being inlined. > > fair > >> Especially with -Os it could even

Re: Status of CONFIG_FORCED_INLINING?

2007-05-24 Thread Adrian Bunk
On Wed, May 23, 2007 at 02:28:56PM -0700, Roland Dreier wrote: > > - every static function in a header file must be __always_inline > > Why? Why does it matter whether a function is defined in a .h file or > a .c file? Can't the compiler decide better than we can whether > something should be

Re: [BUG] long freezes on thinkpad t60

2007-05-24 Thread Miklos Szeredi
> could you just try v2.6.21 plus the -rt patch, which has the tracer > built-in? That's a combination that should work well. You can pick it up > from: > >http://people.redhat.com/mingo/realtime-preempt/ > > same config options as above. If you dont turn on PREEMPT_RT you'll get > an

Re: [2/3] 2.6.22-rc2: known regressions v2

2007-05-24 Thread Christoph Lameter
On Thu, 24 May 2007, Michal Piotrowski wrote: > Memory management > > Subject: kernel BUG at include/linux/slub_def.h:88 kmalloc_index() > References : http://bugzilla.kernel.org/show_bug.cgi?id=8476 > Submitter : Cherwin R. Nooitmeer <[EMAIL PROTECTED]> > Status : Unknown Looks like

Re: [PATCH 3/6] HCIUSB: Initialize the Broadcom USB Bluetooth device in Dell laptops.

2007-05-24 Thread Marcel Holtmann
Hi Ben, > CC: Marcel Holtmann <[EMAIL PROTECTED]> > CC: Maxim Krasnyansky <[EMAIL PROTECTED]> > Signed-off-by: Tim Gardner <[EMAIL PROTECTED]> > Signed-off-by: Phillip lougher <[EMAIL PROTECTED]> > Signed-off-by: Ben Collins <[EMAIL PROTECTED]> > --- > drivers/bluetooth/hci_usb.c |2 +- > 1

RE: [PATCH] [scsi] Remove __GFP_DMA

2007-05-24 Thread Christoph Lameter
On Thu, 24 May 2007, James Bottomley wrote: > > Going to ensure that we have a 31 bit (not 32 bit) physical address? > > No, unfortunately. Implementing kmalloc_mask() and kmalloc_dev() was > something I said I'd do ... about two years ago. Tell me more about these ideas. - To unsubscribe

Re: How to access correctly serial port inside module?

2007-05-24 Thread Tilman Schmidt
Am 24.05.2007 12:22 schrieb Lars K.W. Gohlke: > I will summarize the concrete scenario, which will lead to the > understanding and further solution of deadling with serial driver. > > [scenario] > > 1. in userspace I'm doing: > date > /dev/ttyS0 > 2. in kernelspace I want to print

RE: [PATCH] [scsi] Remove __GFP_DMA

2007-05-24 Thread Christoph Lameter
On Thu, 24 May 2007, Salyzyn, Mark wrote: > So, is the sequence: > > p = kmalloc(upsg->sg[i].count,GFP_KERNEL); > . . . > addr = pci_map_single(dev->pdev, p, upsg->sg[i].count, > data_dir); > > Going to ensure that we have a 31 bit (not 32 bit) physical address? Only if you

Re: [PROBLEM] 2.6.22-rc2 panics on x86-64 with slub

2007-05-24 Thread Christoph Lameter
On Thu, 24 May 2007, Srihari Vijayaraghavan wrote: > slabinfo -v produces this error message: > Cannot write to Acpi-Namespace/validate You need to be root to do this. Sorry. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED]

[PATCH] AFS: Implement file locking

2007-05-24 Thread David Howells
Implement file locking for AFS. Signed-off-by: David Howells <[EMAIL PROTECTED]> --- fs/afs/Makefile|1 fs/afs/afs.h |8 + fs/afs/afs_fs.h|3 fs/afs/callback.c |3 fs/afs/dir.c |1 fs/afs/file.c |2 fs/afs/flock.c | 558

Re: Status of CONFIG_FORCED_INLINING?

2007-05-24 Thread Rob Landley
On Thursday 24 May 2007 8:38 am, Robert P. J. Day wrote: > On Wed, 23 May 2007, Roland Dreier wrote: > > > > - every static function in a header file must be __always_inline > > > > Why? Why does it matter whether a function is defined in a .h file or > > a .c file? Can't the compiler decide

Re: 2.6.22-rc2: known regressions with patches

2007-05-24 Thread Andrew Morton
On Thu, 24 May 2007 16:11:16 +0100 Alan Cox <[EMAIL PROTECTED]> wrote: > > Subject: pata_via appears to incorrectly detects 40-pin cable > > References : http://lkml.org/lkml/2007/5/17/273 > > http://bugzilla.kernel.org/show_bug.cgi?id=8142 > > Submitter : Francis Russell

Re: [PROBLEM] 2.6.22-rc2 panics on x86-64 with slub

2007-05-24 Thread Christoph Lameter
On Thu, 24 May 2007, Jens Axboe wrote: > On Wed, May 23 2007, Christoph Lameter wrote: > > On Wed, 23 May 2007, Jens Axboe wrote: > > > > > That works for me with the patch, .config attached. > > > > H... That means the .config sent initially here was bogus. > > ? > > Considering we're

[PATCH 2/2] Fix possible leakage of blocks in UDF

2007-05-24 Thread Jan Kara
Hello, attached is a patch that fixes possible leakage of free blocks / use of free blocks in UDF (which spilled nice assertion failures I've added in my first round of patches). More details in the changelog. Andrew, please apply. Both changes have survived some time of fsx and fsstress

Re: 2.6.21.2 and vfat

2007-05-24 Thread Dave Jones
On Thu, May 24, 2007 at 09:53:31AM +0200, Amaury De Ganseman wrote: > Hi, > > Since 2.6.21 I can't mount my usb key (vfat). > I don't know if it's related to the vfat patch in 2.6.21.2 > > Here is the dmesg error parts: > > FAT: invalid media value (0xb9) > VFS: Can't find a valid

Re: [patch] CFS scheduler, -v12

2007-05-24 Thread Siddha, Suresh B
On Thu, May 24, 2007 at 12:43:58AM -0700, Peter Williams wrote: >Peter Williams wrote: >> The relevant code, find_busiest_group() and find_busiest_queue(), has a >> lot of code that is ifdefed by CONFIG_SCHED_MC and CONFIG_SCHED_SMT and, >> as these macros were defined in the kernels I was

[PATCH 1/2] Fix possible UDF data corruption

2007-05-24 Thread Jan Kara
Hi Andrew, attached patch fixes possible data corruption in UDF - this bug was actually introduced by one of my fixes :-( and should (if possible) go to Linus before 2.6.22 is out (that's why I'm diffing against Linus's tree and not the latest changes in -mm tree)... Thanks.

Re: any value to "NORET_TYPE" macro?

2007-05-24 Thread Robert P. J. Day
On Wed, 23 May 2007, Satyam Sharma wrote: > Actually there's another thing :-) The __attribute__((xxx)) must go > with the function _declarations_ (and not the > implementations/definitions). that's not true, AFAICT. the pattern seems to be that, in the case of declarations, attributes go at

Re: 2.6.22-rc2-mm1

2007-05-24 Thread Christoph Lameter
On Thu, 24 May 2007, Ingo Molnar wrote: > > when constructing debug output it's a good idea to make it as > 'context-free' as possible. I.e. instead of saying 'Filler' and > explaining it somewhere in Documentation/*, just say: > > Expected memory values at 0xc90f6d50: 5a 5a 5a 5a 5a 5a 5a

Re: 2.6.22-rc2-mm1 SLUB oops

2007-05-24 Thread Christoph Lameter
On Thu, 24 May 2007, young dave wrote: > When I exec aumix from console, the kernel oops seems in modprobe > process, and after a while , system hanged. Reboot with slub_debug as a kernel parameter please. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH] add "notime" boot option

2007-05-24 Thread Jan Engelhardt
On May 24 2007 09:24, Randy Dunlap wrote: >> >> Wonderful, now we have _three_ options to control time... >> >> time= >> printk.time= >> notime= > > Currently the middle one is "printk.printk_time". > And the first and last are just "time" and "notime", without a bool value. > > And as I wrote

Re: [PATCH] Fix vmi.c compilation

2007-05-24 Thread Toralf Förster
That change solves the issue :-) Am Donnerstag, 24. Mai 2007 15:54 schrieb Alexey Dobriyan: > Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> > --- > > arch/i386/kernel/vmi.c |1 + > 1 file changed, 1 insertion(+) > > --- a/arch/i386/kernel/vmi.c > +++ b/arch/i386/kernel/vmi.c > @@

Re: Status of CONFIG_FORCED_INLINING?

2007-05-24 Thread Jan Engelhardt
On May 23 2007 23:22, Adrian Bunk wrote: > >And we need only two different inline levels (__always_inline and >"let the compiler decide"), not three (__always_inline, inline and >"let the compiler decide"). "inline" is "let the compiler decide". If it is not, then it is "let the compiler decide,

Re: [RFC 2/5] inode reservation v0.1 (ext4 kernel patch)

2007-05-24 Thread Jan Engelhardt
On May 24 2007 22:47, coly wrote: > >Dave, > >Yes, I found all TABs gone when I received the mail. When I post next >version of the patch, I will test to send to me first :-) > >Thanks for your information. Blame Gmail. Jan -- - To unsubscribe from this list: send the line

Re: [PATCH - 1/1] Documentation/HOWTO

2007-05-24 Thread debian developer
sept. 2006! its been there since quite a long time. now what happens to my patch submitted to Greg??? On 5/24/07, Linus Torvalds <[EMAIL PROTECTED]> wrote: On Thu, 24 May 2007, Diego Calleja wrote: > El Thu, 24 May 2007 17:45:04 +0800, "Qi Yong" <[EMAIL PROTECTED]> escribió: > > D'oh, it

Re: [PATCH 1/2] limit print_fatal_signal() rate (was: [RFC] log out-of-virtual-memory events)

2007-05-24 Thread Andrew Morton
On Thu, 24 May 2007 11:55:03 +0200 Ingo Molnar <[EMAIL PROTECTED]> wrote: > > * Andrew Morton <[EMAIL PROTECTED]> wrote: > > > On Thu, 24 May 2007 09:58:35 +0200 Ingo Molnar <[EMAIL PROTECTED]> wrote: > > > > > > > > * Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > > > > Well OK. But

[PATCH 1/1] Documentation: Fix up docs still talking about i_sem

2007-05-24 Thread Josef 'Jeff' Sipek
Signed-off-by: Josef 'Jeff' Sipek <[EMAIL PROTECTED]> --- Documentation/filesystems/directory-locking |5 +++-- Documentation/filesystems/porting |8 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Documentation/filesystems/directory-locking

Re: [PATCH] add "notime" boot option

2007-05-24 Thread Randy Dunlap
Jan Engelhardt wrote: On May 22 2007 12:09, Randy Dunlap wrote: From: Randy Dunlap <[EMAIL PROTECTED]> Add "notime" boot option to prevent timing data from being printed on each printk message line. We've seen a few cases of 'time' data locking problems (possibly involving netconsole or net

Re: [patch 00/69] -stable review

2007-05-24 Thread Linus Torvalds
On Thu, 24 May 2007, Romano Giannetti wrote: > > I discovered that SysRq-t works during the pause. So I pressed it more > or less halfway the pause; the full result is here: > http://www.dea.icai.upcomillas.es/romano/linux/info/dmesg-resume.txt > > It seems that most of the tasks are in > > []

Re: [PATCH] add "notime" boot option

2007-05-24 Thread Jan Engelhardt
On May 22 2007 12:09, Randy Dunlap wrote: >From: Randy Dunlap <[EMAIL PROTECTED]> > >Add "notime" boot option to prevent timing data from being printed on >each printk message line. > >We've seen a few cases of 'time' data locking problems (possibly >involving netconsole or net drivers). If a

Re: [RFC][PATCH] Per container statistics

2007-05-24 Thread Paul Menage
On 5/24/07, Balbir Singh <[EMAIL PROTECTED]> wrote: I thought about this approach, but did not implement the code this way because a system could have thousands of containers and expecting a statistics application to open a file descriptor each time for each container will turn out to be an

Re: [PATCH] Chaining sg lists for big IO commands v5

2007-05-24 Thread James Bottomley
On Fri, 2007-05-25 at 01:01 +0900, FUJITA Tomonori wrote: > From: James Bottomley <[EMAIL PROTECTED]> > Subject: Re: [PATCH] Chaining sg lists for big IO commands v5 > Date: Thu, 24 May 2007 10:39:44 -0500 > > > On Thu, 2007-05-24 at 21:44 +0900, FUJITA Tomonori wrote: > > > (cc's added) > > > >

msi_free_irqs #2

2007-05-24 Thread Mike Miller (OS Dev)
So I guess I found the answer to my own question. msi_free_irqs was apparently added in 2.6.22-something. I don't find it in 2.6.21.2 or anywhere else. So somebody broke a couple of things. The most noticable is cciss hangs after turning on interrupts. The reason for that is the kernel now

Re: [PATCH] Chaining sg lists for big IO commands v5

2007-05-24 Thread FUJITA Tomonori
From: James Bottomley <[EMAIL PROTECTED]> Subject: Re: [PATCH] Chaining sg lists for big IO commands v5 Date: Thu, 24 May 2007 10:39:44 -0500 > On Thu, 2007-05-24 at 21:44 +0900, FUJITA Tomonori wrote: > > (cc's added) > > > > From: Jens Axboe <[EMAIL PROTECTED]> > > Subject: Re: [PATCH]

Re: [RFC][PATCH] Per container statistics

2007-05-24 Thread Balbir Singh
Paul Menage wrote: > Hi Balbir, > > On 5/14/07, Balbir Singh <[EMAIL PROTECTED]> wrote: >> >> This patch implements per container statistics infrastructure and re-uses >> code from the taskstats interface. A new set of container operations are >> registered with commands and attributes. It should

Re: [patch] use POSIX equality test in check-lxdialog.sh

2007-05-24 Thread Jan Engelhardt
On May 23 2007 21:37, Mike Frysinger wrote: >The "==" operator is not in POSIX, so use -eq instead. Apart from that, == is for strings, -eq is for numbers, so that wrong variable content can be caught ("$x" -eq 123 where x=123foo throws an error). So yes, the patch is good. Jan -- -

Re: Long delay in resume from RAM (Was Re: [patch 00/69] -stablereview)

2007-05-24 Thread Linus Torvalds
On Thu, 24 May 2007, Linus Torvalds wrote: > > Ok. That was probably true even before you added the suspend ordering > patch. Oh, no it apparently wasn't. I missed your other email that said "So, I tried to suspend without any card in the pcmcia slot. Guess what? I extracted the card

Re: [PATCH - 1/1] Documentation/HOWTO

2007-05-24 Thread Linus Torvalds
On Thu, 24 May 2007, Diego Calleja wrote: > El Thu, 24 May 2007 17:45:04 +0800, "Qi Yong" <[EMAIL PROTECTED]> escribió: > > D'oh, it seems the patch was picked from the mailing list and merged twice, > and I didn't notice it. > > > Torvalds, Care to revert one commit? > > Agreed, one of them

Re: [RFC PATCH] PCI MMCONFIG: add validation against ACPI motherboard resources

2007-05-24 Thread Linus Torvalds
On Thu, 24 May 2007, Jeff Garzik wrote: > > The latest Intel chipset I have (ICH9) is legacy free: no serial port and no > PS/2 ports. I had to disable the Linux PS2 input drivers completely, just to > get the thing to boot. Ahh, that would be a bug. Can you help trying to debug where it

[GIT pull] 3 more NFS client fixes for 2.6.22-rc2

2007-05-24 Thread Trond Myklebust
Hi Linus, Please pull from the "fixes" branch of the repository at git pull git://git.linux-nfs.org/pub/linux/nfs-2.6.git fixes This will update the following files through the appended changesets. Cheers, Trond fs/nfs/direct.c | 53

Re: [PATCH] Chaining sg lists for big IO commands v5

2007-05-24 Thread James Bottomley
On Thu, 2007-05-24 at 21:44 +0900, FUJITA Tomonori wrote: > (cc's added) > > From: Jens Axboe <[EMAIL PROTECTED]> > Subject: Re: [PATCH] Chaining sg lists for big IO commands v5 > Date: Thu, 24 May 2007 14:05:54 +0200 > > > On Thu, May 24 2007, Jens Axboe wrote: > > > >

Re: Long delay in resume from RAM (Was Re: [patch 00/69] -stablereview)

2007-05-24 Thread Linus Torvalds
On Thu, 24 May 2007, Romano Giannetti wrote: > > More data. I compiled 2.6.21.2 + the patch "Fix ACPI suspend / device > suspend ordering problem (52ade9b3b97fd3bea42842a056fe0786c28d0555) > > and I discovered that if I do not put the 3Com 3CXEM556B card into the > pcmcia slot, the

Re: [PATCH] Chaining sg lists for big IO commands v5

2007-05-24 Thread Badari Pulavarty
On Thu, 2007-05-24 at 14:05 +0200, Jens Axboe wrote: > On Thu, May 24 2007, Jens Axboe wrote: > > > Oops: Kernel access of bad area, sig: 11 [#1] > > > SMP NR_CPUS=32 NUMA pSeries > > > Modules linked in: qla2xxx scsi_transport_fc > > > NIP: c00414a0 LR: c004162c CTR:

Re: how to allow board writers to customize driver behavior (watchdog here)

2007-05-24 Thread Paul Mundt
On Thu, May 24, 2007 at 09:29:51AM -0400, Robin Getz wrote: > On Thu 24 May 2007 01:23, Paul Mundt pondered: > > On Thu, May 24, 2007 at 12:21:47AM -0400, Mike Frysinger wrote: > > > is this completely bad mojo ? is there some other mechanism that > > > provides what i want and i just dont know

RE: [patch] removes MAX_ARG_PAGES

2007-05-24 Thread Peter Zijlstra
On Tue, 2007-05-22 at 16:49 -0700, Luck, Tony wrote: > > In order to solve this, I added a STACK_TOP_MAX macro for each arch and > > use that. This made IA64 boot properly. > > Yes. Patches apply to 2.6.21 cleanly, build cleanly and boot for me too. > I can even run: > > $ ls -lrt `find

Re: [PATCH] $ARCH: Enable arbitary speed tty ioctls and split input/output speed

2007-05-24 Thread David Woodhouse
On Thu, 2007-05-24 at 16:05 +0100, Alan Cox wrote: > > > Likewise, I assume the lack of IBSHIFT on PowerPC is because of AIX? > > I assume nobody ever got around to it. CIBAUD is in the PowerPC System V > API supplement for example and is supported by other Power OS's. Hm... what we have in

Re: how to allow board writers to customize driver behavior (watchdog here)

2007-05-24 Thread Mike Frysinger
On 5/24/07, Paul Mundt <[EMAIL PROTECTED]> wrote: On Thu, May 24, 2007 at 12:21:47AM -0400, Mike Frysinger wrote: > is this completely bad mojo ? is there some other mechanism that > provides what i want and i just dont know about it ? or do i just > make people change the driver to fit their

Re: [PATCH 1/1] Char: n_hdlc, allow RESTARTSYS retval of tty write

2007-05-24 Thread Paul Fulghum
On Thu, 2007-05-24 at 14:28 +0200, Jiri Slaby wrote: > n_hdlc, allow RESTARTSYS retval of tty write > > Cc: Paul Fulghum <[EMAIL PROTECTED]> > Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]> > Acked-by: Paul Fulghum <[EMAIL PROTECTED]> -- Paul Fulghum Microgate Systems, Ltd - To unsubscribe

Re: 2.6.22-rc2: known regressions with patches

2007-05-24 Thread Alan Cox
> Subject: pata_via appears to incorrectly detects 40-pin cable > References : http://lkml.org/lkml/2007/5/17/273 > http://bugzilla.kernel.org/show_bug.cgi?id=8142 > Submitter : Francis Russell <[EMAIL PROTECTED]> > Status : Not really a regression. Alan seems to have a

Re: how to allow board writers to customize driver behavior (watchdog here)

2007-05-24 Thread Mike Frysinger
On 5/24/07, Daniel Newby <[EMAIL PROTECTED]> wrote: On 5/24/07, Paul Mundt <[EMAIL PROTECTED]> wrote: > It sounds like your constraining your driver based on terminology. > Watchdogs on most embedded platforms support either a 'reset' mode or > otherwise act as periodic timers, trying to push

Re: [PATCH 1/1] V4L: stk11xx, add a new webcam driver

2007-05-24 Thread Jiri Slaby
On 5/24/07, Markus Rechberger <[EMAIL PROTECTED]> wrote: Hi Jiri, On 5/24/07, Jiri Slaby <[EMAIL PROTECTED]> wrote: > Well, no objections on v4l list, try to merge it. Any further comments will > be > appreciated. > > -- > > stk11xx, add a new webcam driver > > Cc: Mauro Carvalho Chehab <[EMAIL

Long delay in resume from RAM (Was Re: [patch 00/69] -stablereview)

2007-05-24 Thread Romano Giannetti
(Changing subject to something more informative. You are lost, original thread is at http://lkml.org/lkml/2007/5/23/38 ) On Thu, 2007-05-24 at 14:06 +0200, Romano Giannetti wrote: > On Tue, 2007-05-22 at 15:07 -0700, Linus Torvalds wrote: > > > > On Tue, 22 May 2007, Romano Giannetti wrote: > >

[PATCH v2] kernel-doc: fix leading dot in man-mode output

2007-05-24 Thread Randy Dunlap
On Thu, 24 May 2007 08:59:28 +0100 Colin Watson wrote: > This is a very unusual way to escape leading "." in *roff, and I'm not > entirely sure the result is defined given that \{ is normally supposed > to be paired with \} and used to construct blocks. The more conventional > method would be: >

Re: [PATCH 1/1] eCryptfs: Move ecryptfs docs into Documentation/filesystems/

2007-05-24 Thread Michael Halcrow
On Wed, May 23, 2007 at 09:40:20PM -0400, Josef 'Jeff' Sipek wrote: > Signed-off-by: Josef 'Jeff' Sipek <[EMAIL PROTECTED]> Acked-by: Michael Halcrow <[EMAIL PROTECTED]> > --- > Documentation/ecryptfs.txt | 77 > >

Re: [PATCH] $ARCH: Enable arbitary speed tty ioctls and split input/output speed

2007-05-24 Thread Alan Cox
On Thu, 24 May 2007 09:45:37 -0400 David Woodhouse <[EMAIL PROTECTED]> wrote: > On Thu, 2007-05-24 at 14:41 +0100, Alan Cox wrote: > > Most people copied the x86 behaviour which makes it easy to transplant. > > Some are just smoking something (see ioctls.h for sh-64 and weep), others > > have

RE: [PATCH] [scsi] Remove __GFP_DMA

2007-05-24 Thread James Bottomley
On Thu, 2007-05-24 at 09:24 -0400, Salyzyn, Mark wrote: > So, is the sequence: > > p = kmalloc(upsg->sg[i].count,GFP_KERNEL); > . . . > addr = pci_map_single(dev->pdev, p, upsg->sg[i].count, > data_dir); > > Going to ensure that we have a 31 bit (not 32 bit) physical address?

msi_free_irqs

2007-05-24 Thread Mike Miller (OS Dev)
Hello, I'm hitting the following Oops on 2.6.22-rc2 when unloading the cciss driver. Completed flushing cache on controller 2 BUG: unable to handle kernel paging request at virtual address f889a00c printing eip: c01e744f *pdpt = 3001 *pde = 37e09067 *pte =

[PATCH] IB/ehca: fix wrong number of send WRs returned

2007-05-24 Thread Joachim Fenkes
From: Stefan Roscher <[EMAIL PROTECTED]> Due to a typo, the driver was reporting the wrong number of "actual send WRs" after ehca_create_qp(). Fixed. Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]> --- drivers/infiniband/hw/ehca/hcp_if.c |2 +- 1 files changed, 1 insertions(+), 1

[PATCH] IB/ehca: Refactor "maybe missed event" code

2007-05-24 Thread Joachim Fenkes
Refactored Roland's patch so the queue arithmetic is done in a little less lines. Also, moved the spinlock inside the block it's used in. Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]> --- drivers/infiniband/hw/ehca/ehca_reqs.c |2 +- drivers/infiniband/hw/ehca/ipz_pt_fn.h | 28

Re: [RFC 2/5] inode reservation v0.1 (ext4 kernel patch)

2007-05-24 Thread coly
Dave, Yes, I found all TABs gone when I received the mail. When I post next version of the patch, I will test to send to me first :-) Thanks for your information. Coly 在 2007-05-24四的 08:20 -0500,Dave Kleikamp写道: > On Thu, 2007-05-24 at 02:06 +0800, coly wrote: > > The patch is generated based

Re: rmmod e1000 hangs (Was Re: 2.6.22-rc2-mm1)

2007-05-24 Thread Kok, Auke
Herbert Xu wrote: On Thu, May 24, 2007 at 08:47:13PM +1000, Herbert Xu wrote: On Thu, May 24, 2007 at 11:36:22AM +0100, Jeremy Fitzhardinge wrote: I got a hang while rmmodding e1000. sysrq-t shows: rmmod D 003FFAFC 6616 15923 15911 (NOTLB) e9341e44 0092 82318c15 003ffafc

Re: [BUG] long freezes on thinkpad t60

2007-05-24 Thread Ingo Molnar
* Miklos Szeredi <[EMAIL PROTECTED]> wrote: > > CONFIG_EVENT_TRACE=y > > CONFIG_FUNCTION_TRACE=y > > # CONFIG_WAKEUP_TIMING is not set > > # CONFIG_CRITICAL_IRQSOFF_TIMING is not set > > CONFIG_MCOUNT=y > > > > does it boot with these? > > Nope. Same segfault. If I try to continue

Re: [BUG] long freezes on thinkpad t60

2007-05-24 Thread Ingo Molnar
* Miklos Szeredi <[EMAIL PROTECTED]> wrote: > > hm, you should only need these: > > > > CONFIG_EVENT_TRACE=y > > CONFIG_FUNCTION_TRACE=y > > # CONFIG_WAKEUP_TIMING is not set > > # CONFIG_CRITICAL_IRQSOFF_TIMING is not set > > CONFIG_MCOUNT=y > > > > does it boot with these? > > Nope.

Re: 2.6.22-rc1-mm1 Implementing fan/thermal control in userspace - Was: [cannot change thermal trip points]

2007-05-24 Thread Matthew Garrett
On Thu, May 24, 2007 at 04:16:53PM +0200, Thomas Renninger wrote: > I doubt it is impossible, would you mind sharing your knowledge why you > think it is impossible or point to some related discussion, pls. Because, as Len has pointed out, you end up with two different ideas about what the trip

Re: [PATCH]: UDF code style conversion to kernel style

2007-05-24 Thread Cyrill Gorcunov
[Jan Kara - Thu, May 24, 2007 at 10:37:14AM +0200] | On Wed 23-05-07 22:44:36, Cyrill Gorcunov wrote: | > This patch converts UDF system coding style to kernel coding style. | > There is no error fixing - just code cleanup. I attempted to make | > the minimum changes as possible but the patch was

Re: [BUG] long freezes on thinkpad t60

2007-05-24 Thread Miklos Szeredi
> > > how reproducable are these lockups - could you possibly trace it? If > > > yes then please apply: > > > > > > http://www.tglx.de/private/tglx/ht-debug/tracer.diff > > > > With this patch boot stops at segfaulting fsck. I enabled all the new > > config options, is that not a good idea?

Re: [RFC] LZO de/compression support - take 3

2007-05-24 Thread Nitin Gupta
On 5/24/07, Satyam Sharma <[EMAIL PROTECTED]> wrote: Hmm. The wrappers would clearly be inline, but if we want a common low-level decompress function, we'd also need to introduce the "if (safe &&)" kind of tests for those differently-defined macros which could impact performance (for the _unsafe

Mixing tagged and untagged vlans using via-velocity driver

2007-05-24 Thread Nicklas Bondesson
I am trying to setup two vlans (one tagged and one untagged) using the native via-velocity driver in kernel 2.6.21.1 on a single nic (VIA VT6122 Gigabit). I can set it up tagged or untagged without any problems, but not both at the same time. Is this even possible with this driver? To

Re: [RFC] LZO de/compression support - take 3

2007-05-24 Thread Nitin Gupta
On 5/24/07, Richard Purdie <[EMAIL PROTECTED]> wrote: On Thu, 2007-05-24 at 01:04 +0530, Satyam Sharma wrote: > On 5/23/07, Nitin Gupta <[EMAIL PROTECTED]> wrote: I remember this being mentioned. My answer was that this is the same behaviour as the zlib library and you do not want to

Re: [linux-pm] Re: [2/3] 2.6.22-rc2: known regressions v2

2007-05-24 Thread Alan Stern
On Thu, 24 May 2007, Michal Piotrowski wrote: > Suspend > > Subject: STD fails with pci_device_suspend(): > usb_hcd_pci_suspend+0x0/0x160 [usbcore]() returns -16 > References : http://lkml.org/lkml/2007/5/19/66 > Submitter : Andrey Borzenkov <[EMAIL PROTECTED]> > Status : Unknown This

Re: 2.6.22-rc1-mm1 Implementing fan/thermal control in userspace - Was: [cannot change thermal trip points]

2007-05-24 Thread Thomas Renninger
Stripping some CCs, acpi and kernel list should be enough this one goes to... On Tue, 2007-05-22 at 01:31 +0100, Matthew Garrett wrote: > On Tue, May 22, 2007 at 12:42:00AM +0200, Pavel Machek wrote: > > On Mon 2007-05-21 14:45:53, Matthew Garrett wrote: > > > So don't do it badly. The advantage

Re: [BUG] long freezes on thinkpad t60

2007-05-24 Thread Ingo Molnar
* Miklos Szeredi <[EMAIL PROTECTED]> wrote: > > how reproducable are these lockups - could you possibly trace it? If > > yes then please apply: > > > > http://www.tglx.de/private/tglx/ht-debug/tracer.diff > > With this patch boot stops at segfaulting fsck. I enabled all the new > config

Re: [RFC PATCH] /sys/block -> /sys/class/block (Fedora 3 & 4 testers wanted)

2007-05-24 Thread Kay Sievers
On Thu, 2007-05-24 at 00:35 +0400, Michael Tokarev wrote: > Greg KH wrote: > [] > > From: Kay Sievers <[EMAIL PROTECTED]> > > Subject: Driver core: convert block from raw kobjects to core devices > > > > This moves the block devices to /sys/class/block. It will create a > > flat list of all block

Re: [1/3] 2.6.22-rc2: known regressions v2

2007-05-24 Thread Ray Lee
On 5/24/07, Michal Piotrowski <[EMAIL PROTECTED]> wrote: Here is a list of some known regressions in 2.6.22-rc2. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions ACPI Subject: nx6125 has lost fan control References :

2.6.22-rc2: known regressions with patches

2007-05-24 Thread Michal Piotrowski
Hi all, Here is a list of some known regressions in 2.6.22-rc2 with patches available. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions Block devices Subject: loop devices limited to one single device References :

Re: [3/3] 2.6.22-rc2: known regressions v2

2007-05-24 Thread Michal Piotrowski
Hi all, Here is a list of some known regressions in 2.6.22-rc2. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions USB Subject: usb hotplug/udev cannot correctly register usb/scanners References : http://lkml.org/lkml/2007/5/15/205 Submitter :

Re: [2/3] 2.6.22-rc2: known regressions v2

2007-05-24 Thread Michal Piotrowski
Hi all, Here is a list of some known regressions in 2.6.22-rc2. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions Memory management Subject: kernel BUG at include/linux/slub_def.h:88 kmalloc_index() References :

[1/3] 2.6.22-rc2: known regressions v2

2007-05-24 Thread Michal Piotrowski
Hi all, Here is a list of some known regressions in 2.6.22-rc2. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions Unclassified Subject: lag problems while browsing sites with heavy JS and or flash usage References :

Re: 2.6.21.1 fails to suspend/resume to disk (sort of)

2007-05-24 Thread Ray Lee
On 5/24/07, Romano Giannetti <[EMAIL PROTECTED]> wrote: On Thu, 2007-05-24 at 10:01 +0200, Antonino Ingargiola wrote: > 2007/5/23, Romano Giannetti <[EMAIL PROTECTED]>: > [cut] > > Uf, I will try to find the time. I am on my way to try to compile > > 2.6.21.2 now. Problem is that a kernel

Re: [stable] Wanted: Allow adding new device IDs during the -stable cycle

2007-05-24 Thread David Hollis
On Tue, 2007-05-22 at 15:17 -0700, Greg KH wrote: > > > > Theres more to this than just PCI IDs though. > > ac97 ID updates, usb id updates, etc, etc. > > USB ids also can be added through sysfs :) > FWIW, With the asix.c driver, you can't just add the USB IDs and have it work. Each ID also

Re: [PATCH 4/7] SMP: Implement on_one_cpu()

2007-05-24 Thread Avi Kivity
Roland Dreier wrote: I don't see any documented restrictions about preemption being disabled when this function is called, but... > +int on_one_cpu(int cpu, void (*func) (void *info), void *info, > +int retry, int wait) > +{ > + int ret; > + int this_cpu; > + > + this_cpu =

Re: [RFC] LZO de/compression support - take 3

2007-05-24 Thread Nitin Gupta
On 5/23/07, Bret Towe <[EMAIL PROTECTED]> wrote: On 5/23/07, Nitin Gupta <[EMAIL PROTECTED]> wrote: > For now, tested on x86 only. If you have a program to test this I can run it on an amd64 and a g4 ppc Attached is the kernel module (compress-test) to test this LZO code. Just compile

[PATCH] Fix vmi.c compilation

2007-05-24 Thread Alexey Dobriyan
Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- arch/i386/kernel/vmi.c |1 + 1 file changed, 1 insertion(+) --- a/arch/i386/kernel/vmi.c +++ b/arch/i386/kernel/vmi.c @@ -27,6 +27,7 @@ #include #include #include #include +#include #include #include #include - To

Re: [PATCH] $ARCH: Enable arbitary speed tty ioctls and split input/output speed

2007-05-24 Thread David Woodhouse
On Thu, 2007-05-24 at 14:41 +0100, Alan Cox wrote: > Most people copied the x86 behaviour which makes it easy to transplant. > Some are just smoking something (see ioctls.h for sh-64 and weep), others > have slightly odd behaviour for historical compatibility reasons (Sparc) Likewise, I assume

Re: [PATCH 4/7] SMP: Implement on_one_cpu()

2007-05-24 Thread Roland Dreier
I don't see any documented restrictions about preemption being disabled when this function is called, but... > +int on_one_cpu(int cpu, void (*func) (void *info), void *info, > + int retry, int wait) > +{ > +int ret; > +int this_cpu; > + > +this_cpu = get_cpu(); what

Re: [kvm-devel] [PATCH 4/7] SMP: Implement on_one_cpu()

2007-05-24 Thread Avi Kivity
Heiko Carstens wrote: On Thu, May 24, 2007 at 03:10:12PM +0300, Avi Kivity wrote: This defines on_one_cpu() which is similar to smp_call_function_single() except that it works if cpu happens to be the current cpu. Can also be seen as a complement to on_each_cpu() (which also doesn't treat

Intel AHCI generating spurious completions during NCQ errors

2007-05-24 Thread Paul Erkkila
Hi, I'm going through the process of setting up a new mythtv box. I decided to let it record for a few days to see how it goes under a constant workload and am seeing an occasional error in the logs about NCQ problems. They are not happening with any regularity, maybe once every 3-4 hours.

Re: [PATCH] $ARCH: Enable arbitary speed tty ioctls and split input/output speed

2007-05-24 Thread Alan Cox
On Thu, 24 May 2007 09:08:55 -0400 David Woodhouse <[EMAIL PROTECTED]> wrote: > Is my mailbox (or brain) failing me, or did you just send out these > patches for every architecture _except_ PowerPC? :) PowerPC is one of the main ones I've not touched because it needs work itself to sort out the

Re: [kvm-devel] [PATCH 4/7] SMP: Implement on_one_cpu()

2007-05-24 Thread Heiko Carstens
On Thu, May 24, 2007 at 03:10:12PM +0300, Avi Kivity wrote: > This defines on_one_cpu() which is similar to smp_call_function_single() > except that it works if cpu happens to be the current cpu. Can also be > seen as a complement to on_each_cpu() (which also doesn't treat the > current cpu

Re: any value to "NORET_TYPE" macro?

2007-05-24 Thread Robert P. J. Day
On Thu, 24 May 2007, Krzysztof Halasa wrote: > "Satyam Sharma" <[EMAIL PROTECTED]> writes: > > > Actually there's another thing :-) The __attribute__((xxx)) must go with the > > function _declarations_ (and not the implementations/definitions). I noticed > > after my previous mail that most of

Re: how to allow board writers to customize driver behavior (watchdog here)

2007-05-24 Thread Robin Getz
On Thu 24 May 2007 01:23, Paul Mundt pondered: > On Thu, May 24, 2007 at 12:21:47AM -0400, Mike Frysinger wrote: > > is this completely bad mojo ? is there some other mechanism that > > provides what i want and i just dont know about it ? or do i just > > make people change the driver to fit

Re: joydev.c and saitek cyborg evo force

2007-05-24 Thread Renato Golin
On 21/05/07, Jiri Kosina <[EMAIL PROTECTED]> wrote: could you please turn on the HID debugging support ("Device Drivers -> HID devices -> HID debugging support" in menuconfig of any reasonably recent kernel) and show the output that appears when the joystick is plugged in, and also when you

RE: [PATCH] [scsi] Remove __GFP_DMA

2007-05-24 Thread Salyzyn, Mark
So, is the sequence: p = kmalloc(upsg->sg[i].count,GFP_KERNEL); . . . addr = pci_map_single(dev->pdev, p, upsg->sg[i].count, data_dir); Going to ensure that we have a 31 bit (not 32 bit) physical address? If not, then I reject this patch. We can not consider replacement

Re: [rfe] easier customization of kconfig for non-Linux projects

2007-05-24 Thread Mike Frysinger
On Thursday 24 May 2007, Sam Ravnborg wrote: > The intent with this is clear but the solution you suggest albeit simple > does not really match where we could end up with kconfig. > Recently Roman added support for options in the kconfig language > and I would assume we could deal with most of

Re: [RFC 2/5] inode reservation v0.1 (ext4 kernel patch)

2007-05-24 Thread Dave Kleikamp
On Thu, 2007-05-24 at 02:06 +0800, coly wrote: > The patch is generated based on 2.6.20-ext4-2 branch. you can find the > benchmark from other email. > > DO NOT waste time on reading the patch :-) I post this patch here is to > show that I really spent time on it and the patch can work (even not

Re: [AppArmor 01/41] Pass struct vfsmount to the inode_create LSM hook

2007-05-24 Thread James Morris
On Thu, 24 May 2007, Andreas Gruenbacher wrote: > > Would you mind providing some concrete examples of how such a model would > > be useful? > > The model is explained, with examples, in the technical documentation at > http://forgeftp.novell.com//apparmor/LKML_Submission-May_07/. I'm asking

Re: [PROBLEM] 2.6.22-rc2 panics on x86-64 with slub

2007-05-24 Thread Srihari Vijayaraghavan
--- Christoph Lameter <[EMAIL PROTECTED]> wrote: > On Thu, 24 May 2007, Srihari Vijayaraghavan wrote: [...] > Could you boot with slub_debug and then run Done. > slabinfo -v > > to validate all slabs? If there is anything wrong with an object then it > should show in the syslog. slabinfo

Re: any value to "NORET_TYPE" macro?

2007-05-24 Thread Krzysztof Halasa
"Satyam Sharma" <[EMAIL PROTECTED]> writes: > Actually there's another thing :-) The __attribute__((xxx)) must go with the > function _declarations_ (and not the implementations/definitions). I noticed > after my previous mail that most of the double annotations are actually in > the case of the

Re: [PATCH] $ARCH: Enable arbitary speed tty ioctls and split input/output speed

2007-05-24 Thread David Woodhouse
Is my mailbox (or brain) failing me, or did you just send out these patches for every architecture _except_ PowerPC? :) Presumably this is because of the mess in tty_termios_encode_baud_rate when we fix its bogus assumptions about IBSHIFT always being defined? There has to be a cleaner way to do

Re: [BUG] long freezes on thinkpad t60

2007-05-24 Thread Ingo Molnar
* Miklos Szeredi <[EMAIL PROTECTED]> wrote: > On some strange workload involving strace and fuse I get ocasional > long periods (10-100s) of total unresponsiveness, not even SysRq-* > working. Then the machine continues as normal. Nothing in dmesg, > absolutely no indication about what is

<    1   2   3   4   5   6   7   8   9   10   >