Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-25 Thread Tomasz Kłoczko
On Mon, 25 Jun 2007, Takashi Iwai wrote: [..] ALSA still does not provides good soud devices virtualization for more then one application. Each day I'm using bludy words when I'm try to use skype which oppens /dev/mixer after run galeon with flash plugin which opens /dev/snd/pcm* or when I start

[PATCH v2] pcmcia: CompactFlash driver for PA Semi Electra boards

2007-06-25 Thread Olof Johansson
Driver for the CompactFlash slot on the PA Semi Electra eval board. It's a simple device sitting on localbus, with interrupts and detect/voltage control over GPIO. The driver is implemented as an of_platform driver, and adds localbus as a bus being probed by the of_platform framework.

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-25 Thread Steven Rostedt
On Mon, 2007-06-25 at 18:50 +0200, Tilman Schmidt wrote: The Siemens Gigaset ISDN base driver uses tasklets in its isochronous data paths. These will be scheduled for each completion of an isochronous URB, or every 8 msec for each of the four isochronous pipes if both B channels are

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-25 Thread Lennart Sorensen
On Mon, Jun 25, 2007 at 05:48:21PM +0200, Tomasz K?oczko wrote: On Mon, 25 Jun 2007, Lennart Sorensen wrote: [..] In my experience OSS is a pile of crap compared to ALSA. Could you say something more detailed about this compare ? Well the last time I bothered to look at OSS, it was still

Re: Oops in a driver while using SLUB as a SLAB allocator

2007-06-25 Thread Hugh Dickins
On Mon, 25 Jun 2007, Christoph Lameter wrote: On Mon, 25 Jun 2007, Hugh Dickins wrote: In many situations the page struct passed to flush_dcache_page is simply used to calculate the virtual address. So its mostly harmless. Trouble starts when page attributes like the mapping is used.

Re: Scaling Max IP address limitation

2007-06-25 Thread David Jones
Ok I have tried it on a Pentium-M ( 32 Bit ,) with 512 MB RAM and Core 2 Duo with 1Gig RAM ( running SMP kernel , 2 CPUS) with same results. Cant go more than ~4K addresses. I have tried them with vanilla and custom kernels all 2.6.19+ versions. Results are same on both systems , so thats

Re: vm/fs meetup in september?

2007-06-25 Thread Zach Brown
I'd just like to take the chance also to ask about a VM/FS meetup some time around kernel summit (maybe take a big of time during UKUUG or so). Yeah, I'd be interested. More issues: - chris mason's patches to normalize buffered and direct locking - z - To unsubscribe from this list: send

Re: [RFC] mm-controller

2007-06-25 Thread Balbir Singh
Peter Zijlstra wrote: On Fri, 2007-06-22 at 22:05 +0530, Vaidyanathan Srinivasan wrote: Merging both limits will eliminate the issue, however we would need individual limits for pagecache and RSS for better control. There are use cases for pagecache_limit alone without RSS_limit like the

Re: [RFC] mm-controller

2007-06-25 Thread Paul Menage
On 6/22/07, Vaidyanathan Srinivasan [EMAIL PROTECTED] wrote: Merging both limits will eliminate the issue, however we would need individual limits for pagecache and RSS for better control. There are use cases for pagecache_limit alone without RSS_limit like the case of database application

Re: [RFC] mm-controller

2007-06-25 Thread Paul Menage
On 6/25/07, Paul Menage [EMAIL PROTECTED] wrote: On 6/22/07, Vaidyanathan Srinivasan [EMAIL PROTECTED] wrote: Merging both limits will eliminate the issue, however we would need individual limits for pagecache and RSS for better control. There are use cases for pagecache_limit alone without

PATCH] gadget_serial.txt: Documentation clarifications and new windows driver!

2007-06-25 Thread Ioannis Barkas
Fixes errors and supports multiple architectures.Corrected errors and warnings are: Errors: (E22.1.1003) Section [SourceDisksNames] not defined. (E22.1.1017) Primary revision number must be greater than 0. (E22.1.1110) File usbser.sys is not listed in the [SourceDisksFiles]. Warnings:

[PATCH] VGA-softcursor.txt: Point at the correct directory of vgacon.c

2007-06-25 Thread Ioannis Barkas
Fixes wrong, outdated path of vgacon.c Hello we are Ioannis Barkas ([EMAIL PROTECTED]) and Nikos Barkas ([EMAIL PROTECTED]). VGA-softcursor.txt points to vgacon.c at a wrong directory so we fix it. There is the patch(we do not attach it as many people suggest not to do so) from diff -u: ---

Re: How innovative is Linux?

2007-06-25 Thread jimmy bahuleyan
Jan Engelhardt wrote: On Jun 25 2007 09:37, Randy Dunlap wrote: On Mon, 25 Jun 2007 17:15:50 +0200 (CEST) Jan Engelhardt wrote: On Jun 25 2007 11:12, Lennart Sorensen wrote: It is also quite likely the reply was written before reading the other comments. With the volume on lkml, reading all

[PATCH] eCryptfs: zero out last page for llseek/write

2007-06-25 Thread Michael Halcrow
When one llseek's past the end of the file and then writes, every page past the previous end of the file should be cleared. Trevor found that the code, as is, does not assure that the very last page is always cleared. This patch takes care of that. This patch, including the two that I sent on

Re: [PATCH] VGA-softcursor.txt: Point at the correct directory of vgacon.c

2007-06-25 Thread Randy Dunlap
On Mon, 25 Jun 2007 10:47:21 -0700 (PDT) Ioannis Barkas wrote: Fixes wrong, outdated path of vgacon.c Hello we are Ioannis Barkas ([EMAIL PROTECTED]) and Nikos Barkas ([EMAIL PROTECTED]). VGA-softcursor.txt points to vgacon.c at a wrong directory so we fix it. There is the patch(we do

Re: [RFC] mm-controller

2007-06-25 Thread Vaidyanathan Srinivasan
Peter Zijlstra wrote: On Fri, 2007-06-22 at 22:05 +0530, Vaidyanathan Srinivasan wrote: Merging both limits will eliminate the issue, however we would need individual limits for pagecache and RSS for better control. There are use cases for pagecache_limit alone without RSS_limit like the

Re: Documentation of kernel messages (Summary)

2007-06-25 Thread Sam Ravnborg
I find document messages to be a horrible idea conceptually, because I think the messages should _be_ documentation. If the message is unclear it should be clarified. There's too much garbage on the floor, we should laminate it so we can't smell it anymore. Er, no... Document message

Re: Rules on how to use sysfs in userspace programs

2007-06-25 Thread Rob Landley
On Monday 25 June 2007 10:57:35 Kay Sievers wrote: Sure, all devices have a subsystem link, you have to readlink() that, and if it ends in block, you have a blockdev. But as mentioned in an earlier mail, you should stop scanning /sys/devices/ and always come from the subsystem

Re: [PATCH] hwmon/coretemp: Fix a broken error path - microcode update fix

2007-06-25 Thread Rudolf Marek
Hi Rudolf, just one more update: When I put my machine into s2ram and make it resume, one of the coretemp sensors gets lost. Ahh and I am already rmmod coretemp / loading microcode after resume / insmod coretemp... Hello, If I understand correctly you unload the driver before suspend. Resume,

Re: Linux Kernel include files

2007-06-25 Thread Harald Arnesen
David Woodhouse [EMAIL PROTECTED] writes: Can you be more specific about why this is a problem? Don't we mostly define those crappy types using arch-specific knowledge, as 'int', 'long', etc? I recommend you to install Sun Studio and to try to compile star or cdrtools using Sun Studio

Re: [RFC] mm-controller

2007-06-25 Thread Vaidyanathan Srinivasan
Paul Menage wrote: On 6/25/07, Paul Menage [EMAIL PROTECTED] wrote: On 6/22/07, Vaidyanathan Srinivasan [EMAIL PROTECTED] wrote: Merging both limits will eliminate the issue, however we would need individual limits for pagecache and RSS for better control. There are use cases for

Re: Oops in a driver while using SLUB as a SLAB allocator

2007-06-25 Thread Christoph Lameter
On Mon, 25 Jun 2007, Hugh Dickins wrote: PageSlab to avoid oopsing on page-mapping. It is definitely intended to work. Otherwise we would not have code like this: [EMAIL PROTECTED]:~/linux-2.6$ find . -name *.c | xargs grep flush_dcache_page|grep virt

Re: [2/2] 2.6.22-rc6: known regressions with patches

2007-06-25 Thread Linus Torvalds
On Mon, 25 Jun 2007, Michal Piotrowski wrote: Memory management Subject: bug in i386 MTRR initialization References : http://lkml.org/lkml/2007/5/19/93 Submitter : Andrea Righi [EMAIL PROTECTED] Status : patch available This one wasn't a bug in the first place, it was just the

Re: Oops in a driver while using SLUB as a SLAB allocator

2007-06-25 Thread Hugh Dickins
On Mon, 25 Jun 2007, Christoph Lameter wrote: On Mon, 25 Jun 2007, Hugh Dickins wrote: I didn't claim that flush_dcache_page(virt_to_page(virt)) is not expected to work. I claim that flush_dcache_page is expected to be a noop rather than an oops on a kmalloced page. There are no

Re: NUMA BOF @OLS

2007-06-25 Thread Takayoshi Kochi
Hi all, I'll host another mm-related BOF at OLS: Discussion for the Future of Linux Memory Management Saturday Jun 30th, 2007 14:45-15:30 I'll share some experiences with the MM-related real world issues there. Anyone who have something to pitch in is welcome. Please contact me or grab me at

Re: [PATCH 1/2] [RESEND] PCI: read revision ID by default

2007-06-25 Thread Kok, Auke
Alan Cox wrote: On Sun, 24 Jun 2007 20:19:18 -0700 Auke Kok [EMAIL PROTECTED] wrote: Currently there are 97 occurrences where drivers need the pci revision ID. We can do this once for all devices. Even the pci subsystem needs the revision several times for quirks. The extra u8 member pads out

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-25 Thread Kristian Høgsberg
On Fri, 2007-06-22 at 23:59 +0200, Ingo Molnar wrote: so how about the following, different approach: anyone who has a tasklet in any performance-sensitive codepath, please yell now. We'll also do a proactive search for such places. We can convert those places to softirqs, or move them back

[patch, 2.6.22-rc6] fix nmi_watchdog=2 bootup hang, take #2

2007-06-25 Thread Ingo Molnar
* Björn Steinbrink [EMAIL PROTECTED] wrote: and of course i'm happy to test any patch that is simpler than the brutal revert i sent. wrmsrl() looks broken, dropping the upper 32bits of the value to be written. Does this help? this did the trick, rc6 plus your fix and the NMI watchdog

Re: Oops in a driver while using SLUB as a SLAB allocator

2007-06-25 Thread Christoph Lameter
On Mon, 25 Jun 2007, Hugh Dickins wrote: The sometimes we have kmalloced buffers locations need to be fixed. I've said enough, I'd better leave it to others to deter you or not from fiddling around pointlessly here. Are there any locations left after the two fixes to pa-risc and arm? If

Re: Oops in a driver while using SLUB as a SLAB allocator

2007-06-25 Thread Hugh Dickins
On Mon, 25 Jun 2007, Christoph Lameter wrote: On Mon, 25 Jun 2007, Hugh Dickins wrote: The sometimes we have kmalloced buffers locations need to be fixed. I've said enough, I'd better leave it to others to deter you or not from fiddling around pointlessly here. Are there any

Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching

2007-06-25 Thread Pavel Machek
Hi! We've been over the AA is different discussion in threads about a billion times, and at the last kernel summit. I think Lars and others have done a pretty good job of describing the problems they are trying to solve, can we please move on to discussing technical issues around that?

Re: [PATCH 1/2] Always probe the NMI watchdog

2007-06-25 Thread Andrew Morton
On Wed, 20 Jun 2007 20:34:48 +0200 Bj__rn Steinbrink [EMAIL PROTECTED] wrote: The performance counter allocator relies on the nmi watchdog being probed, so we have to do that even if the watchdog is not enabled. So... what's the status of this lot? I've just merged this patch and the

[Fwd: Re: libata and legacy ide pcmcia failure]

2007-06-25 Thread Robert de Rooy
Oops had done a reply instead of a reply to all... ---BeginMessage--- Albert Lee wrote: The patch just workarounds the lost irq problem by polling; not real fix. We still need to find out why irq is lost per Mark's comment: This proves that the device does work correctly in most respects

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-25 Thread Steven Rostedt
On Mon, 2007-06-25 at 14:48 -0400, Kristian Høgsberg wrote: OK, here's a yell. I'm using tasklets in the new firewire stack for all Thanks for speaking up! interrupt handling. All my interrupt handler does is read out the event mask and schedule the appropriate tasklets. Most of these

[PATCH] update description in Documentation/filesystems/vfs.txt (typo fixed)

2007-06-25 Thread Borislav Petkov
On Mon, Jun 25, 2007 at 12:34:36PM +0300, Pekka Enberg wrote: Hi Borislav, On 6/24/2007, Borislav Petkov [EMAIL PROTECTED] wrote: @@ -3,7 +3,7 @@ Original author: Richard Gooch [EMAIL PROTECTED] - Last updated on October 28, 2005 + Last updated on

[PATCH] x86-64: disable the GART in shutdown v2

2007-06-25 Thread Yinghai Lu
[PATCH] x86-64: disable the GART in shutdown For K8 system: 4G RAM with memory hole remapping enabled, or more than 4G RAM installed. when using kexec to load second kernel. In the second kernel, when mem is allocated for GART, it will do the memset for clear, it will cause restart, because some

[POSSIBLE BUG] use of tasklet_unlock in ipath_no_bufs_available

2007-06-25 Thread Steven Rostedt
As some of you know, lately I've been trying to get rid of tasklets. In doing so, I've come across this usage of tasklet_unlock. The only user of tasklet_unlock in the kernel outside of softirq.c is ipath_no_bufs_available in drivers/inifiniband/hw/ipath/ipath_ruc.c Here's the offending code:

Re: [PATCH] hwmon/coretemp: Fix a broken error path - microcode update fix

2007-06-25 Thread Soeren Sonnenburg
On Mon, 2007-06-25 at 20:20 +0200, Rudolf Marek wrote: Hi Rudolf, just one more update: When I put my machine into s2ram and make it resume, one of the coretemp sensors gets lost. Ahh and I am already rmmod coretemp / loading microcode after resume / insmod coretemp... Hello, If

Re: [PATCH 1/2] Always probe the NMI watchdog

2007-06-25 Thread Andi Kleen
On Monday 25 June 2007 21:09, Andrew Morton wrote: On Wed, 20 Jun 2007 20:34:48 +0200 Bj__rn Steinbrink [EMAIL PROTECTED] wrote: The performance counter allocator relies on the nmi watchdog being probed, so we have to do that even if the watchdog is not enabled. So... what's the status

Re: [PATCH v2] pcmcia: CompactFlash driver for PA Semi Electra boards

2007-06-25 Thread Christoph Hellwig
On Mon, Jun 25, 2007 at 12:12:21PM -0500, Olof Johansson wrote: Driver for the CompactFlash slot on the PA Semi Electra eval board. It's a simple device sitting on localbus, with interrupts and detect/voltage control over GPIO. The driver is implemented as an of_platform driver, and adds

Re: [PATCH] RFC: have tcp_recvmsg() check kthread_should_stop() and treat it as if it were signalled

2007-06-25 Thread Satyam Sharma
Hi, On 6/9/07, Jeff Layton [EMAIL PROTECTED] wrote: On Sat, 09 Jun 2007 11:30:04 +1000 Herbert Xu [EMAIL PROTECTED] wrote: Please cc networking patches to [EMAIL PROTECTED] Jeff Layton [EMAIL PROTECTED] wrote: The following patch is a first stab at removing this need. It makes it so

Re: [PATCH] x86-64: disable the GART in shutdown v2

2007-06-25 Thread Muli Ben-Yehuda
On Mon, Jun 25, 2007 at 12:34:03PM -0700, Yinghai Lu wrote: [PATCH] x86-64: disable the GART in shutdown For K8 system: 4G RAM with memory hole remapping enabled, or more than 4G RAM installed. when using kexec to load second kernel. In the second kernel, when mem is allocated for GART, it

Re: [PATCH 1/2] [RESEND] PCI: read revision ID by default

2007-06-25 Thread Arjan van de Ven
On Mon, 2007-06-25 at 11:49 -0700, Kok, Auke wrote: Alan Cox wrote: On Sun, 24 Jun 2007 20:19:18 -0700 Auke Kok [EMAIL PROTECTED] wrote: Currently there are 97 occurrences where drivers need the pci revision ID. We can do this once for all devices. Even the pci subsystem needs the

Re: [PATCH] x86-64: disable the GART in shutdown v2

2007-06-25 Thread Yinghai Lu
Muli Ben-Yehuda wrote: diff --git a/arch/x86_64/kernel/pci-gart.c b/arch/x86_64/kernel/pci-gart.c index ae091cd..6c4fe16 100644 --- a/arch/x86_64/kernel/pci-gart.c +++ b/arch/x86_64/kernel/pci-gart.c @@ -571,6 +571,27 @@ static const struct dma_mapping_ops gart_dma_ops = { .unmap_sg =

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-25 Thread Stephen Hemminger
On Mon, 25 Jun 2007 18:50:03 +0200 Tilman Schmidt [EMAIL PROTECTED] wrote: Ingo Molnar [EMAIL PROTECTED] wrote: so how about the following, different approach: anyone who has a tasklet in any performance-sensitive codepath, please yell now. Getting rid of tasklet's may seem like a good

Re: [PATCH] RFC: have tcp_recvmsg() check kthread_should_stop() and treat it as if it were signalled

2007-06-25 Thread Jeff Layton
On Tue, 26 Jun 2007 01:11:20 +0530 Satyam Sharma [EMAIL PROTECTED] wrote: Hi, On 6/9/07, Jeff Layton [EMAIL PROTECTED] wrote: On Sat, 09 Jun 2007 11:30:04 +1000 Herbert Xu [EMAIL PROTECTED] wrote: Please cc networking patches to [EMAIL PROTECTED] Jeff Layton [EMAIL PROTECTED]

Re: [PATCH 16/16] fix handling of integer constant expressions

2007-06-25 Thread Al Viro
On Sun, Jun 24, 2007 at 10:31:06PM -0700, Josh Triplett wrote: Al Viro wrote: Joy. OK, folks, disregard 16/16 in the current form; everything prior to it stands on its own. Acknowledged. The rest of the patches look good to me, so I'll merge 1-15 soon, and ignore 16. Do you have

Re: [PATCH] x86-64: disable the GART in shutdown v2

2007-06-25 Thread Muli Ben-Yehuda
On Mon, Jun 25, 2007 at 12:52:48PM -0700, Yinghai Lu wrote: I suggest include/asm-x86_64/iommu.h for this. proto.h doesn't have anything to do with it. move iommu releated to iommu.h and add iommu_ops struct? That's how I would do it, to complement dma_mapping.h. Cheers, Muli - To

Re: [PATCH 1/2] Always probe the NMI watchdog

2007-06-25 Thread Stephane Eranian
Hi, On Mon, Jun 25, 2007 at 09:36:17PM +0200, Andi Kleen wrote: On Monday 25 June 2007 21:09, Andrew Morton wrote: On Wed, 20 Jun 2007 20:34:48 +0200 Bj__rn Steinbrink [EMAIL PROTECTED] wrote: The performance counter allocator relies on the nmi watchdog being probed, so we have to do

[patch, v2.6.22-rc6] sys_time() speedup

2007-06-25 Thread Ingo Molnar
Subject: [patch] sys_time() speedup From: Ingo Molnar [EMAIL PROTECTED] improve performance of sys_time(). sys_time() returns time in seconds, but it does so by calling do_gettimeofday() and then returning the tv_sec portion of the GTOD time. But the data structure xtime, which is updated by

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-25 Thread Kristian Høgsberg
On Mon, 2007-06-25 at 15:11 -0400, Steven Rostedt wrote: On Mon, 2007-06-25 at 14:48 -0400, Kristian Høgsberg wrote: ... However, I don't really understand how you can discuss a wholesale replacing of tasklets with workqueues, given the very different execution sematics of the two

Re: Linux Kernel include files

2007-06-25 Thread Sam Ravnborg
On Mon, Jun 25, 2007 at 04:53:55PM +0200, Joerg Schilling wrote: star needs ext2_fs.h. This file is not usable at all on many Linux distributions, even with GCC. I was curious so I did: $ mkdir ~/foo $ cd ~/kernel/linux-2.6 $ make INSTALL_HDR_PATH=~/foo $ cd ~/foo $ cat j.c #include stdio.h

[PATCH] eventfd: clean compile when CONFIG_EVENTFD=n

2007-06-25 Thread Randy Dunlap
From: Randy Dunlap [EMAIL PROTECTED] Fix gcc warning and add parameter checking when CONFIG_EVENTFD=n: fs/aio.c: In function 'aio_complete': fs/aio.c:955: warning: statement with no effect Signed-off-by: Randy Dunlap [EMAIL PROTECTED] --- include/linux/eventfd.h |3 ++- 1 file changed, 2

[RFC patch] firewire: add Kconfig help on building both stacks

2007-06-25 Thread Stefan Richter
Alas that won't work so good, because nobody reads help texts. I thought about adding some crude multiple choice selection (build the old stack, build the new stack, build both stacks). It's possible, but it would introduce awkward dummy config variables. Signed-off-by: Stefan Richter [EMAIL

Handling xruns in OSS (was re:whatever)

2007-06-25 Thread Hannu Savolainen
Takashi Iwai kirjoitti: At Mon, 25 Jun 2007 10:06:18 +0100, Alan Cox wrote: If it is native ALSA driver then it will restart after each underrun and overrun. It is the applications job to do this, alsa-lib provides all support for this. I have no idea of OSS and OSS emulation in ALSA.

Re: [RFC 1/7] cpuset write dirty map

2007-06-25 Thread Ethan Solomita
Christoph Lameter wrote: What testing was done? Would you include the results of tests in your next post? Sorry for the delay in responding -- I was chasing phantom failures. I created a stress test which involved using cpusets and mems_allowed to split memory so that all

Re: how about mutual compatibility between Linux's GPLv2 and GPLv3?

2007-06-25 Thread Alexandre Oliva
On Jun 25, 2007, [EMAIL PROTECTED] (Lennart Sorensen) wrote: On Fri, Jun 22, 2007 at 03:00:30AM -0300, Alexandre Oliva wrote: I was here to dispell the lies that were being spread about GPLv3, the spirit and the goals of the GPL, as far as I understood them. Just because someone has a

Re: Linux Kernel include files

2007-06-25 Thread Joerg Schilling
Harald Arnesen [EMAIL PROTECTED] wrote: David Woodhouse [EMAIL PROTECTED] writes: Can you be more specific about why this is a problem? Don't we mostly define those crappy types using arch-specific knowledge, as 'int', 'long', etc? I recommend you to install Sun Studio and to try

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-25 Thread Hannu Savolainen
Tomasz Kłoczko kirjoitti: On Sun, 24 Jun 2007, Jan Engelhardt wrote: On Jun 24 2007 21:24, Tomasz Kłoczko wrote: Try to answer on question ALSA or OSS ? using *only* technical arguments. Ok: The OSS cs46xx driver did not support the rear 2 channels. The cs46xx OSS driver in the kernel is

Re: Linux Kernel include files

2007-06-25 Thread David Woodhouse
On Mon, 2007-06-25 at 22:26 +0200, Joerg Schilling wrote: Well, I was in hope that a small typo (in special as the correct spelling is in the file README.compile) should not be a problem. You need to use CCOM=suncc No, I need someone else to use CCOM=suncc for me. Unless suncc works on

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-25 Thread Steven Rostedt
On Mon, 2007-06-25 at 16:07 -0400, Kristian Høgsberg wrote: Maybe we should be looking at something like GENERIC_SOFTIRQ to run functions that a driver could add. But they would run only on the CPU that scheduled them, and do not guarantee non-reentrant as tasklets do today. Sounds

Re: [PATCH v2] pcmcia: CompactFlash driver for PA Semi Electra boards

2007-06-25 Thread Olof Johansson
On Mon, Jun 25, 2007 at 08:39:09PM +0100, Christoph Hellwig wrote: On Mon, Jun 25, 2007 at 12:12:21PM -0500, Olof Johansson wrote: Driver for the CompactFlash slot on the PA Semi Electra eval board. It's a simple device sitting on localbus, with interrupts and detect/voltage control over

Re: [PATCH 1/2] Always probe the NMI watchdog

2007-06-25 Thread Andi Kleen
I looked at the code I have in my tree coming from Bjon's patches and I am a bit confused by the flow for probing as well. Yes, it's a little risky. Perhaps it's better to readd the separate CPU switch from .21 there again for 2.6.22. Ugly, but should be safe -Andi - To unsubscribe from this

Re: [ofa-general] [POSSIBLE BUG] use of tasklet_unlock in ipath_no_bufs_available

2007-06-25 Thread Ralph Campbell
This was fixed by a patch that Arthur Jones sent out to [EMAIL PROTECTED] Tue Jun 19 16:42:09 PDT 2007 [PATCH 17/28] IB/ipath - wait for PIO available interrupt I imagine that it is working its way into Roland's git tree for Linus. On Mon, 2007-06-25 at 15:33 -0400, Steven Rostedt wrote: As

Re: [PATCH try #2] security: Convert LSM into a static interface

2007-06-25 Thread Andreas Gruenbacher
On Monday 25 June 2007 06:33, James Morris wrote: Convert LSM into a static interface, as the ability to unload a security module is not required by in-tree users and potentially complicates the overall security architecture. It's useful for some LSMs to be modular, and LSMs which are y/n

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-25 Thread Tilman Schmidt
Am 25.06.2007 19:06 schrieb Steven Rostedt: On Mon, 2007-06-25 at 18:50 +0200, Tilman Schmidt wrote: The Siemens Gigaset ISDN base driver uses tasklets in its isochronous data paths. [...] Does that qualify as performance sensitive for the purpose of this discussion? Actually, no. 16ms,

[PATCH] mtrr/cyrix: fix sections

2007-06-25 Thread Randy Dunlap
From: Randy Dunlap [EMAIL PROTECTED] Are there peculiarities about Cyrix that mean this isn't needed? main.c::mtrr_add() or mtrr_del() [exported] calls main.c::mtrr_add_page() or mtrr_del_page() or mtrr_restore() [resume] calls main.c::set_mtrr() calls main.c::ipi_handler() calls

Re: [GIT PULL] AVR32 fixes

2007-06-25 Thread Frank Bennett
Haavard Skinnemoen wrote: Hi Linus, Please pull the 'for-linus' branch of git://www.atmel.no/~hskinnemoen/linux/kernel/avr32.git for-linus to receive the following updates. The status of the various SL*B allocators on AVR32 is now as follows: * SLAB works, but debugging is effectively

Re: [POSSIBLE BUG] use of tasklet_unlock in ipath_no_bufs_available

2007-06-25 Thread Steven Rostedt
On Mon, 2007-06-25 at 13:37 -0700, Ralph Campbell wrote: This was fixed by a patch that Arthur Jones sent out to [EMAIL PROTECTED] Great! Tue Jun 19 16:42:09 PDT 2007 [PATCH 17/28] IB/ipath - wait for PIO available interrupt I imagine that it is working its way into Roland's git tree

Re: [patch] Reporting the lid status using INPUT

2007-06-25 Thread Bartók Albert
GMail On 16/06/07, Dmitry Torokhov [EMAIL PROTECTED] wrote: On Saturday 16 June 2007 13:11, Richard Hughes wrote: On Fri, 2007-06-15 at 15:53 +0100, Richard Hughes wrote: On Fri, 2007-06-15 at 10:29 -0400, Dmitry Torokhov wrote: On 6/15/07, Richard Hughes [EMAIL PROTECTED] wrote:

Re: [PATCH] serial: Clear proper MPSC interrupt cause bits

2007-06-25 Thread Mark A. Greer
On Sat, Jun 23, 2007 at 09:51:44AM -0700, Andrew Morton wrote: On Thu, 21 Jun 2007 19:32:08 -0700 Mark A. Greer [EMAIL PROTECTED] wrote: From: Jay Lubomirski [EMAIL PROTECTED] Don't clobber the interrupt cause bits for both MPSC controllers when clearing the interrupt for one of

Re: [BUG] Lockdep warning with XFS on 2.6.22-rc6

2007-06-25 Thread Ingo Molnar
* Satyam Sharma [EMAIL PROTECTED] wrote: [ Ok, so we know that XFS wants to lock inodes in ascending inode number order and not strictly the parent-first-child-second order that rest of the fs/ code does, so that makes it difficult to teach lockdep about this kind of lock ordering ... ]

Re: [PATCH 1/2] Always probe the NMI watchdog

2007-06-25 Thread Björn Steinbrink
On 2007.06.25 13:01:58 -0700, Stephane Eranian wrote: Hi, On Mon, Jun 25, 2007 at 09:36:17PM +0200, Andi Kleen wrote: On Monday 25 June 2007 21:09, Andrew Morton wrote: On Wed, 20 Jun 2007 20:34:48 +0200 Bj__rn Steinbrink [EMAIL PROTECTED] wrote: The performance counter allocator

Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching

2007-06-25 Thread david
On Mon, 25 Jun 2007, Pavel Machek wrote: Hi! We've been over the AA is different discussion in threads about a billion times, and at the last kernel summit. I think Lars and others have done a pretty good job of describing the problems they are trying to solve, can we please move on to

[PATCH] serial: Clear proper MPSC interrupt cause bits

2007-06-25 Thread Mark A. Greer
From: Jay Lubomirski [EMAIL PROTECTED] The interrupt clearing code in mpsc_sdma_intr_ack() mistakenly clears the interrupt for both controllers instead of just the one its supposed to. This can result in the other controller appearing to hang because its interrupt was effectively lost. So, don't

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-25 Thread Steven Rostedt
On Mon, 2007-06-25 at 22:50 +0200, Tilman Schmidt wrote: Ok, I'm reassured. I'll look into converting these to a work queue then, although I can't promise when I'll get around to it. In fact, if these timing requirements are so easy to meet, perhaps it doesn't even need its own work queue,

Re: [PATCH 1/2] Always probe the NMI watchdog

2007-06-25 Thread Björn Steinbrink
On 2007.06.25 21:36:17 +0200, Andi Kleen wrote: On Monday 25 June 2007 21:09, Andrew Morton wrote: On Wed, 20 Jun 2007 20:34:48 +0200 Bj__rn Steinbrink [EMAIL PROTECTED] wrote: The performance counter allocator relies on the nmi watchdog being probed, so we have to do that even if the

[PATCH] ALSA: fix ensoniq section mismatch

2007-06-25 Thread Randy Dunlap
From: Randy Dunlap [EMAIL PROTECTED] Fix ensoniq driver sections when HOTPLUG=n, but code is used during resume, so it cannot be discarded: WARNING: sound/pci/snd-ens1371.o(.text+0x5c0): Section mismatch: reference to .init.text: (between 'snd_ensoniq_chip_init' and 'snd_ensoniq_free')

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-25 Thread Kristian Høgsberg
On Mon, 2007-06-25 at 16:31 -0400, Steven Rostedt wrote: On Mon, 2007-06-25 at 16:07 -0400, Kristian Høgsberg wrote: Maybe we should be looking at something like GENERIC_SOFTIRQ to run functions that a driver could add. But they would run only on the CPU that scheduled them, and do not

Re: [patch, v2.6.22-rc6] sys_time() speedup

2007-06-25 Thread Roman Zippel
Hi, On Monday 25 June 2007, Ingo Molnar wrote: the patch improves the sysbench OLTP macrobenchmark significantly: Has that any real practical relevance? @@ -373,6 +376,20 @@ void do_gettimeofday (struct timeval *tv tv-tv_sec = sec; tv-tv_usec = usec; + + /* + *

Re: 2.6.22-rc5-yesterdaygit with VM debug: BUG in mm/rmap.c:66: anon_vma_link ?

2007-06-25 Thread Andrea Arcangeli
On Mon, Jun 25, 2007 at 10:05:09PM +0100, Hugh Dickins wrote: size of memory?); but I rather think validate_anon_vma has outlived its usefulness, and is better just removed - which gives a magnificent Probably yes. But the most fundamental issue is that this code probably was never meant to be

Re: [PATCH try #2] security: Convert LSM into a static interface

2007-06-25 Thread James Morris
On Mon, 25 Jun 2007, Andreas Gruenbacher wrote: It's useful for some LSMs to be modular, and LSMs which are y/n options won't have any security architecture issues with unloading at all. Which LSMs? Upstream, there are SELinux and capabilty, and they're not safe as loadable modules. The

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-25 Thread Ingo Molnar
* Kristian H?gsberg [EMAIL PROTECTED] wrote: OK, here's a yell. I'm using tasklets in the new firewire stack for all interrupt handling. All my interrupt handler does is read out the event mask and schedule the appropriate tasklets. Most of these tasklets typically just end up

Re: [patch, v2.6.22-rc6] sys_time() speedup

2007-06-25 Thread Jesper Juhl
On 25/06/07, Roman Zippel [EMAIL PROTECTED] wrote: Hi, On Monday 25 June 2007, Ingo Molnar wrote: the patch improves the sysbench OLTP macrobenchmark significantly: Has that any real practical relevance? It seems to me that Ingo's patch offers slightly improved performance for any program

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-25 Thread Hannu Savolainen
Takashi Iwai kirjoitti: At Sun, 24 Jun 2007 19:51:38 +0200 (CEST), Tomasz Kłoczko wrote: Few dayas ago OSS source code was oppened uder CDDL for Solaris and GLPv2 for Linux: http://www.opensound.com/press/2007/oss-gpl-cddl.txt So this source without problems code can be integragrated in

[PATCH] atl1: disable 64bit DMA

2007-06-25 Thread Luca Tettamanti
Il Mon, Jun 25, 2007 at 07:42:44AM -0500, Jay Cliburn ha scritto: Jay L. T. Cornwall wrote: Jay Cliburn wrote: For reasons not yet clear to me, it appears the L1 driver has a bug or the device itself has trouble with DMA in high memory. This patch, drafted by Luca Tettamanti, is being

Re: [patch] Reporting the lid status using INPUT

2007-06-25 Thread Richard Hughes
On Mon, 2007-06-25 at 22:49 +0200, Bartók Albert wrote: GMail On 16/06/07, Dmitry Torokhov [EMAIL PROTECTED] wrote: On Saturday 16 June 2007 13:11, Richard Hughes wrote: On Fri, 2007-06-15 at 15:53 +0100, Richard Hughes wrote: On Fri, 2007-06-15 at 10:29 -0400, Dmitry Torokhov wrote:

Re: 2.6.22-rc5-yesterdaygit with VM debug: BUG in mm/rmap.c:66: anon_vma_link ?

2007-06-25 Thread Hugh Dickins
On Mon, 25 Jun 2007, Petr Vandrovec wrote: Hello, to catch some memory corruption bug in our code I've modified malloc to do mmap + mprotect - which has unfortunate effect that it creates thousands and thousands of VMAs. Everything works (though rather slowly on kernel with

[PATCH] trim memory not covered by WB MTRRs

2007-06-25 Thread Jesse Barnes
On some machines, buggy BIOSes don't properly setup WB MTRRs to cover all available RAM, meaning the last few megs (or even gigs) of memory will be marked uncached. Since Linux tends to allocate from high memory addresses first, this causes the machine to be unusably slow as soon as the kernel

Re: [PATCH] atl1: disable 64bit DMA

2007-06-25 Thread Chris Snook
Luca Tettamanti wrote: Il Mon, Jun 25, 2007 at 07:42:44AM -0500, Jay Cliburn ha scritto: Jay L. T. Cornwall wrote: Jay Cliburn wrote: For reasons not yet clear to me, it appears the L1 driver has a bug or the device itself has trouble with DMA in high memory. This patch, drafted by Luca

Re: [PATCH] mtrr/cyrix: fix sections

2007-06-25 Thread Andrew Morton
On Mon, 25 Jun 2007 13:48:51 -0700 Randy Dunlap [EMAIL PROTECTED] wrote: From: Randy Dunlap [EMAIL PROTECTED] Are there peculiarities about Cyrix that mean this isn't needed? main.c::mtrr_add() or mtrr_del() [exported] calls main.c::mtrr_add_page() or mtrr_del_page() or mtrr_restore()

Re: synchronize_qrcu_timeout()

2007-06-25 Thread Pavel Machek
On Mon 2007-06-25 19:49:57, Oleg Nesterov wrote: On 06/25, Oleg Nesterov wrote: On 06/25, Paul E. McKenney wrote: On Mon, Jun 25, 2007 at 02:43:32PM +0400, Oleg Nesterov wrote: Sadly, you can't use srcu/qrcu because it doesn't handle timeouts. Interesting... So

Re: Linux Kernel include files

2007-06-25 Thread Harald Arnesen
[EMAIL PROTECTED] (Joerg Schilling) writes: If I actually install smake, as J�rg recommends, the message becomes: smake: Can't find any source for 'CCOM_suncc'. smake: Couldn't make 'CCOM_suncc'. Well, I was in hope that a small typo (in special as the correct spelling is in the file

[PATCH -mm] PM: Prevent frozen user mode helpers from failing the freezing of tasks (rev. 2)

2007-06-25 Thread Rafael J. Wysocki
[I hope the ACKs still apply.] --- From: Rafael J. Wysocki [EMAIL PROTECTED] At present, if a user mode helper is running while usermodehelper_pm_callback() is executed, the helper may be frozen and the completion in call_usermodehelper_exec() won't be completed until user space processes are

Re: [PATCH] trim memory not covered by WB MTRRs

2007-06-25 Thread Justin Piszcz
Will try this patch shortly w/ 2.6.22-rc6. p34:/usr/src/linux-2.6.22-rc6# patch -p1 ../mtrr-v3.patch patching file Documentation/kernel-parameters.txt patching file arch/i386/kernel/cpu/mtrr/generic.c patching file arch/i386/kernel/cpu/mtrr/if.c patching file arch/i386/kernel/cpu/mtrr/main.c

Re: [PATCH 4/7][TAKE5] support new modes in fallocate

2007-06-25 Thread Andreas Dilger
On Jun 25, 2007 20:33 +0530, Amit K. Arora wrote: I have not implemented FA_FL_FREE_ENOSPC and FA_ZERO_SPACE flags yet, as *suggested* by Andreas in http://lkml.org/lkml/2007/6/14/323 post. If it is decided that these flags are also needed, I will update this patch. Thanks! Can you clarify

[PATCH 1/2] x86-64: disable the GART in shutdown

2007-06-25 Thread Yinghai Lu
[PATCH 1/2] x86-64: disable the GART in shutdown For K8 system: 4G RAM with memory hole remapping enabled, or more than 4G RAM installed. when using kexec to load second kernel. In the second kernel, when mem is allocated for GART, it will do the memset for clear, it will cause restart, because

[PATCH 2/2] x86_84: move iommu declaration from proto to iommu.h

2007-06-25 Thread Yinghai Lu
[PATCH 2/2] x86_84: move iommu declaration from proto to iommu.h Signed-off-by: Yinghai Lu [EMAIL PROTECTED] arch/x86_64/kernel/aperture.c |2 +- arch/x86_64/kernel/early-quirks.c |1 + arch/x86_64/kernel/pci-dma.c |2 +- arch/x86_64/kernel/pci-gart.c |1 +

Re: Linux Kernel include files

2007-06-25 Thread Harald Arnesen
Harald Arnesen [EMAIL PROTECTED] writes: [EMAIL PROTECTED] (Joerg Schilling) writes: If I actually install smake, as J�rg recommends, the message becomes: smake: Can't find any source for 'CCOM_suncc'. smake: Couldn't make 'CCOM_suncc'. Well, I was in hope that a small typo (in special as

Re: [PATCH -mm] PM: Prevent frozen user mode helpers from failing the freezing of tasks (rev. 2)

2007-06-25 Thread Nigel Cunningham
On Tuesday 26 June 2007 07:52:23 Rafael J. Wysocki wrote: [I hope the ACKs still apply.] Mine does : Nigel pgp9gRcYEcqWK.pgp Description: PGP signature

<    2   3   4   5   6   7   8   9   >