Re: If not readdir() then what?

2007-04-10 Thread Ulrich Drepper
On 4/10/07, H. Peter Anvin <[EMAIL PROTECTED]> wrote: It rather makes any user space accesses irrelevant. The main question seems to be if we can realistically increase the cookie size even to 64 bits. On 32-bit platforms, *not* using _FILE_OFFSET_BITS=64 is already today a stupid thing to

Re: [PATCH] Only send pdeath_signal when getppid changes.

2007-04-10 Thread Oleg Nesterov
On 04/10, Eric W. Biederman wrote: > > So this patch fixes the pdeath_signal behaviour only sending a signal > when the results of getppid would change. Don't get me wrong, I personally like this patch very much. However, A long ago, Albert Cahalan (cc-ed) wrote: > > I rely on thread-to-thread

Re: [patch 5/8] [Intel IOMMU] Graphics driver workarounds to provide unity map

2007-04-10 Thread Arjan van de Ven
David Miller wrote: From: Christoph Hellwig <[EMAIL PROTECTED]> Date: Tue, 10 Apr 2007 09:33:51 +0100 On Mon, Apr 09, 2007 at 02:55:57PM -0700, Ashok Raj wrote: Most GFX drivers don't call standard PCI DMA APIs to allocate DMA buffer, Such drivers will be broken with IOMMU enabled. To

Re: [patch 0/8] [Intel IOMMU] Support for Intel Virtualization Technology for Directed I/O

2007-04-10 Thread Ashok Raj
On Tue, Apr 10, 2007 at 09:49:55AM +0200, Andi Kleen wrote: > On Monday 09 April 2007 23:55:52 Ashok Raj wrote: > > > Please help review and provide feedback. > > High level question: how did you solve the "user X server needs IOMMU bypass" > problem? There is no special consideration for user

RE: [PATCH] NET: [UPDATED] Multiqueue network device support implementation.

2007-04-10 Thread Waskiewicz Jr, Peter P
> Peter P Waskiewicz Jr wrote: > > + /* To retrieve statistics per subqueue - FOR FUTURE USE */ > > + struct net_device_stats* (*get_subqueue_stats)(struct > net_device *dev, > > + int > queue_index); > > > Please no future use stuff, just

Re: [patch 1/8] [Intel IOMMU] ACPI support for Intel Virtualization Technology for Directed I/O

2007-04-10 Thread Ashok Raj
On Mon, Apr 09, 2007 at 11:39:19PM -0400, Len Brown wrote: > On Monday 09 April 2007 17:55, Ashok Raj wrote: > > This patch contains basic ACPI parsing and enumeration support. > > AFAICS, ACPI supplies the envelope which delivers the table, > and ACPI has some convenience structure definitions

Re: If not readdir() then what?

2007-04-10 Thread Valdis . Kletnieks
On Tue, 10 Apr 2007 17:54:54 +0200, Jan Engelhardt said: > NFS server sends the whole directory contents on NFS client opendir, > so that the whole readdir/telldir/seekdir magic can happen on the > client only... which would perhaps also enable a cheap telldir/seekdir, > and would also give a

Re: Wanted: irqpoll enhancement to show what is misrouted

2007-04-10 Thread Alan Cox
On Tue, 10 Apr 2007 11:36:27 -0400 Chuck Ebbert <[EMAIL PROTECTED]> wrote: > Can irqpoll be enhanced to show which interrupts are being misrouted? > It looks like it should be possible to show the actual interrupt, > the driver that is handling it, and what interrupt it's expecting > in a /proc

Re: 2.6.20-rt8 patch tweaked for 2.6.20.5

2007-04-10 Thread John
Ingo Molnar wrote: John wrote: Great! Can you tell me how you generate the original -rt patch, so I can provide an updated version when a new 2.6.20 kernel is released? they should be generated the way you did: apply the 2.6.20 baseline -rt kernel patch to the later patches and fix up

Re: I give up

2007-04-10 Thread Jan Engelhardt
On Apr 10 2007 03:51, Gene Heskett wrote: >On Tuesday 10 April 2007, Olaf Hering wrote: >>On Mon, Apr 09, Dave Dillow wrote: >>> It's not /dev he's backing up -- its /home, /usr, and others. GNU tar >>> saves the device and inode numbers from the {,l}stat() call on each >>> file and decides it is

Re: If not readdir() then what?

2007-04-10 Thread H. Peter Anvin
Jan Engelhardt wrote: I had a thought, but I think it's not quite ripe.. NFS server sends the whole directory contents on NFS client opendir, so that the whole readdir/telldir/seekdir magic can happen on the client only... which would perhaps also enable a cheap telldir/seekdir, and would also

Re: man-pages-2.44 is released

2007-04-10 Thread Andi Kleen
Michael Kerrisk <[EMAIL PROTECTED]> writes: > > time.7 > mtk > Since kernel 2.6.20, the software clock can also be 300 HZ. Well, since 2.6.21 it will be able to run at any HZ (hrtimers) -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: init's children list is long and slows reaping children.

2007-04-10 Thread Eric W. Biederman
Ingo Molnar <[EMAIL PROTECTED]> writes: > * Eric W. Biederman <[EMAIL PROTECTED]> wrote: > >> > so ... is anyone pursuing this? This would allow us to make >> > sys_wait4() faster and more scalable: no tasklist_lock bouncing for >> > example. >> >> which part? > > all of it :) Everything you

Re: [PATCH] cleanup compat ioctl handling

2007-04-10 Thread Christoph Hellwig
On Tue, Apr 10, 2007 at 07:10:02PM +0200, Andi Kleen wrote: > Christoph Hellwig <[EMAIL PROTECTED]> writes: > > > Merge all compat ioctl handling into compat_ioctl.c instead of splitting > > it over compat.c and compat_ioctl.c. This also allows to get rid of > > ioctl32.h > > Looks good. > >

Re: Help Understanding Linux memory management

2007-04-10 Thread Alan Cox
On Tue, 10 Apr 2007 10:31:34 -0400 "Mouawad, Tony" <[EMAIL PROTECTED]> wrote: > When vm.overcommit_memory = 2 and there appears to be about 2M of memory > readily available and about 12M of memory allocated to pagecache (this > is info gathered from /proc/meminfo) , a call to malloc(500)

Re: [PATCH] cleanup compat ioctl handling

2007-04-10 Thread Andi Kleen
Christoph Hellwig <[EMAIL PROTECTED]> writes: > Merge all compat ioctl handling into compat_ioctl.c instead of splitting > it over compat.c and compat_ioctl.c. This also allows to get rid of > ioctl32.h Looks good. If someone feels the need to do more cleanup here -- it would be also nice to

Re: [PATCH 2/2] NET: Multiqueue network device support implementation.

2007-04-10 Thread Evgeniy Polyakov
On Tue, Apr 10, 2007 at 08:41:49AM -0700, Waskiewicz Jr, Peter P ([EMAIL PROTECTED]) wrote: > > On Mon, Apr 09, 2007 at 02:28:41PM -0700, Peter P Waskiewicz > > Jr ([EMAIL PROTECTED]) wrote: > > > + alloc_size = (sizeof(struct net_device_subqueue) * queue_count); > > > + > > > +

Re: I give up

2007-04-10 Thread Olaf Hering
On Tue, Apr 10, Gene Heskett wrote: > On Tuesday 10 April 2007, Olaf Hering wrote: > >On Mon, Apr 09, Dave Dillow wrote: > >> It's not /dev he's backing up -- its /home, /usr, and others. GNU tar > >> saves the device and inode numbers from the {,l}stat() call on each > >> file and decides it is

Re: [PATCH] Add spaces on either side of case "..." operator.

2007-04-10 Thread Andrew Morton
On Tue, 10 Apr 2007 07:23:35 -0400 (EDT) "Robert P. J. Day" <[EMAIL PROTECTED]> wrote: > Following the programming advice laid down in the gcc manual, make > sure the case "..." operator has spaces on either side. > > Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> > > --- > > According

Re: If not readdir() then what?

2007-04-10 Thread Jan Engelhardt
On Apr 10 2007 10:37, Trond Myklebust wrote: > >NFS, OTOH, simply could not work without that requirement, since there >exists no file pointer to tell you where you are in a stream beyond >whatever the server manages to encode inside the opaque cookie+verifier. > >> But the fact of the matter is

[Patch] cleanup: use seq_release_private() where appropriate

2007-04-10 Thread Martin Peschke
We can save some lines of code by using seq_release_private(). Patch is against 2.6.21-rc6-mm1. Signed-off-by: Martin Peschke <[EMAIL PROTECTED]> --- drivers/md/md.c | 11 +-- fs/proc/proc_misc.c |9 + kernel/kallsyms.c |9 + net/sunrpc/cache.c | 10

Re: [RFC, PATCH 1/3] introduce SYS_CLONE_MASK

2007-04-10 Thread Jan Engelhardt
On Apr 8 2007 20:57, Oleg Nesterov wrote: > >Anyway, re-parenting to swapper breaks pstree, it doesn't show kernel >threads. And if ->parent == /sbin/init, we can't remove us from ->children >(unless we forbid sub-thread-of-init exec). So the only safe change is >set ->exit_state = -1. Then we

[Patch] statistics: fix cpu hot unplug related memory leak

2007-04-10 Thread Martin Peschke
In case of CPU hotunplug statistics might have leaked some memory (lists of struct statistic_entry_sparse, about 32 byte each, freed by statistic_sparse_reset()). Patch is against 2.6.21-rc6-mm1. Signed-off-by: Martin Peschke <[EMAIL PROTECTED]> --- statistic.c |1 + 1 file changed, 1

Re: init's children list is long and slows reaping children.

2007-04-10 Thread Ingo Molnar
* Eric W. Biederman <[EMAIL PROTECTED]> wrote: > > so ... is anyone pursuing this? This would allow us to make > > sys_wait4() faster and more scalable: no tasklist_lock bouncing for > > example. > > which part? all of it :) Everything you mentioned makes sense quite a bit. The thread

Re: Linux 2.6.21-rc6

2007-04-10 Thread Linus Torvalds
On Tue, 10 Apr 2007, Jeff Chua wrote: > On 4/6/07, Linus Torvalds <[EMAIL PROTECTED]> wrote: > > > We should be getting close to a 2.6.21 release, so please update any > > regression reports you've done, > > I couldn't get suspend-to-disk to work with 2.6.21-rc6. I've tried > set/unset

[Patch] statistics: small cleanup in debugfs write function

2007-04-10 Thread Martin Peschke
Code looks more sane with this little cleanup, although both memcpy() and kfree() are supposed to cope with NULL pointer or zero length respectively. (Patch cleans up statistics-infrastructure-simplify-statistics-debugfs-write-function.patch) Patch is against 2.6.21-rc6-mm1. Signed-off-by:

[Patch] statistics: fix string termination

2007-04-10 Thread Martin Peschke
Make sure strsep() in statistic_release_def() finds a terminanal '\0' and doesn't attempt to access bytes outside the given buffer. (Patch fixes statistics-infrastructure-simplify-statistics-debugfs-write-function.patch) Patch is against 2.6.21-rc6-mm1. Signed-off-by: Martin Peschke <[EMAIL

Re: If not readdir() then what?

2007-04-10 Thread H. Peter Anvin
Ulrich Drepper wrote: On 4/10/07, Theodore Tso <[EMAIL PROTECTED]> wrote: That might work. But if in the long term we want to separate out what we can send back via telldir/seekdir, and some future new Posix interface, [...] With all these discussions about fixes for telldir, do we want to

Re: [ckrm-tech] [PATCH 3/7] Containers (V8): Add generic multi-subsystem API to containers

2007-04-10 Thread Paul Menage
On 4/10/07, Srivatsa Vaddagiri <[EMAIL PROTECTED]> wrote: Is the first argument into all the callbacks, struct container_subsys *ss, necessary? I added it to support library-like abstractions - where one subsystem can have its container callbacks and file accesses all handled by a library

Re: [lm-sensors] Hardware monitoring subsystem maintainer position is open

2007-04-10 Thread Hans de Goede
Jean Delvare wrote: Hi all, I am resigning from my role as hardware monitoring subsystem (drivers/hwmon) maintainer. This is too much work for me, I do not have the necessary bandwidth to review all the incoming patches, in particular new drivers, in a timely manner. Patch authors have been

[PATCH] Improve heuristic detecting sequential reads

2007-04-10 Thread Jan Kara
Hello! In thread http://lkml.org/lkml/2007/3/9/403, we discussed a problem with the current heuristic for detecting sequential IO in do_generic_mapping_read() - for small files a page is marked as accessed only once which can cause a performance problems. Attached is a patch that improves

Re: [lm-sensors] Hardware monitoring subsystem maintainer position is open

2007-04-10 Thread David Hubbard
Hi Hans, On 4/10/07, Hans de Goede <[EMAIL PROTECTED]> wrote: Jean Delvare wrote: > Hi all, > > I am resigning from my role as hardware monitoring subsystem > (drivers/hwmon) maintainer. This is too much work for me, I do not have > the necessary bandwidth to review all the incoming patches, in

[Patch] statistics: simplify statistics' debugfs read functions

2007-04-10 Thread Martin Peschke
This patch replaces some ugly code implementing debugfs files. The cleaned up code uses seq_file. File contents remains unchanged. Patch is against 2.6.21-rc6-mm1. Signed-off-by: Martin Peschke <[EMAIL PROTECTED]> --- statistic.c | 588

Re: [PATCH] console UTF-8 fixes

2007-04-10 Thread H. Peter Anvin
Egmont Koblinger wrote: I know that correctly handling all Unicode scripts, including CJK, Hebrew, Arabic, Indic are a much more complicated story and it's way beyond the scope of kernel. I don't even know whether there's any graphical user-space application handling all these issues perfectly.

RE: [PATCH 2/2] NET: Multiqueue network device support implementation.

2007-04-10 Thread Waskiewicz Jr, Peter P
> On Mon, Apr 09, 2007 at 02:28:41PM -0700, Peter P Waskiewicz > Jr ([EMAIL PROTECTED]) wrote: > > + alloc_size = (sizeof(struct net_device_subqueue) * queue_count); > > + > > + p = kzalloc(alloc_size, GFP_KERNEL); > > + if (!p) { > > + printk(KERN_ERR "alloc_netdev: Unable to >

Re: usb touchscreen breakage in 2.6.21-rc5-mm4 ?

2007-04-10 Thread Dmitry Torokhov
On 4/10/07, Helge Hafting <[EMAIL PROTECTED]> wrote: Dmitry Torokhov wrote: > Hmm, I am concerned because not only you don't have an input device created, > you don't even see the driver being registered with usbcore. Could you please > try booting with debug_initcall to see with what error code

Wanted: irqpoll enhancement to show what is misrouted

2007-04-10 Thread Chuck Ebbert
Can irqpoll be enhanced to show which interrupts are being misrouted? It looks like it should be possible to show the actual interrupt, the driver that is handling it, and what interrupt it's expecting in a /proc file -- just what happened last time irqpoll resolved the interrupt would be better

Re: usb touchscreen breakage in 2.6.21-rc5-mm4 ?

2007-04-10 Thread Helge Hafting
Andrew Morton wrote: Is 2.6.21-rc6 OK? If so, please keep a close eye on 2.6.22-rcX, let us know if/when we've moved this breakage into mainline :( 2.6.21-rc6 is ok. Here, I get messages from usbtouchscreen, something rc5-mm4 failed to produce. The egalax driver gets /class/input/input3,

Re: init's children list is long and slows reaping children.

2007-04-10 Thread Eric W. Biederman
Ingo Molnar <[EMAIL PROTECTED]> writes: > * Eric W. Biederman <[EMAIL PROTECTED]> wrote: > >> > on a second thought: the p->children list is needed for the whole >> > child/parent task tree, which is needed for sys_getppid(). >> >> Yes, something Oleg said made me realize that. >> >> As long

Re: init's children list is long and slows reaping children.

2007-04-10 Thread Bill Davidsen
Davide Libenzi wrote: On Mon, 9 Apr 2007, Linus Torvalds wrote: On Mon, 9 Apr 2007, Kyle Moffett wrote: Maybe "struct posix_process" is more descriptive? "struct process_posix"? "Ugly POSIX process semantics data" seems simple enough to stick in a struct name. "struct uglyposix_process"?

[PATCH] Only send pdeath_signal when getppid changes.

2007-04-10 Thread Eric W. Biederman
Currently each thread can requrest to be notified when it's parent terminates, and receive a thread specific signal when that occurs. That we set this on a per thread granularity and then send it to the whole thread group seems silly, but whatever. Currently we send a signal when the results of

Re: init's children list is long and slows reaping children.

2007-04-10 Thread Ingo Molnar
* Eric W. Biederman <[EMAIL PROTECTED]> wrote: > > on a second thought: the p->children list is needed for the whole > > child/parent task tree, which is needed for sys_getppid(). > > Yes, something Oleg said made me realize that. > > As long as the reparent isn't to complex it isn't required

Re: [PATCH 4/5] Char: cyclades, remove volatiles

2007-04-10 Thread John Stoffel
> "Jiri" == Jiri Slaby <[EMAIL PROTECTED]> writes: >> I've got an old Cyclom-Y card (ISA) that I use, should I bother trying >> out your changes? Jiri> No, don't bother with these. If you are willing to test, please Jiri> test next patchset -- I'll post it shortly. Or do you prefer Jiri>

Re: init's children list is long and slows reaping children.

2007-04-10 Thread Eric W. Biederman
Oleg Nesterov <[EMAIL PROTECTED]> writes: > No! That is why I suggest (a long ago, in fact) to move ->children into > ->signal_struct. When sub-thread forks, we set ->parent = group_leader. > We don't need forget_original_parent() until the last thead exists. This > also simplify do_wait(). > >

Re: init's children list is long and slows reaping children.

2007-04-10 Thread Eric W. Biederman
Ingo Molnar <[EMAIL PROTECTED]> writes: > * Eric W. Biederman <[EMAIL PROTECTED]> wrote: > >> Ingo Molnar <[EMAIL PROTECTED]> writes: >> >> > no. Two _completely separate_ lists. >> > >> > i.e. a to-be-reaped task will still be on the main list _too_. The >> > main list is for all the PID

Re: [PATCH 3/7] Containers (V8): Add generic multi-subsystem API to containers

2007-04-10 Thread Srivatsa Vaddagiri
On Fri, Apr 06, 2007 at 04:32:24PM -0700, [EMAIL PROTECTED] wrote: > +struct container_subsys { > + int (*create)(struct container_subsys *ss, > + struct container *cont); > + void (*destroy)(struct container_subsys *ss, struct container *cont); > + int

Re: [PATCHSET #master] sysfs: make sysfs disconnect immediately on deletion, take 2

2007-04-10 Thread Cornelia Huck
On Mon, 9 Apr 2007 13:18:46 +0900, Tejun Heo <[EMAIL PROTECTED]> wrote: > With all the patches applied, the same test used in the last take ran > 9+hrs without any problem. I get the following on startup: = [ BUG: bad unlock balance detected! ]

Re: If not readdir() then what?

2007-04-10 Thread Trond Myklebust
On Tue, 2007-04-10 at 09:56 -0400, Theodore Tso wrote: > That might work. But if in the long term we want to separate out what > we can send back via telldir/seekdir, and some future new Posix > interface, I wonder if we might be better off defining a formal > interface which can be used by

Re: [PATCH 3/10] I386 mcheck p4 grotesque and needless warning fix.patch

2007-04-10 Thread Jesper Juhl
On 10/04/07, Zachary Amsden <[EMAIL PROTECTED]> wrote: No, just no. You do not use goto to skip a code block. You do not return an obvious variable from a singly-inlined function and give the function a return value. You don't put unexplained comments about kmalloc in code which doesn't do

Re: Linux 2.6.21-rc6

2007-04-10 Thread Jeff Chua
On 4/6/07, Linus Torvalds <[EMAIL PROTECTED]> wrote: We should be getting close to a 2.6.21 release, so please update any regression reports you've done, I couldn't get suspend-to-disk to work with 2.6.21-rc6. I've tried set/unset CONFIG_NO_HZ/CONFIG_HPET_TIMER, but nothing worked. With rc5

Re: init's children list is long and slows reaping children.

2007-04-10 Thread Oleg Nesterov
On 04/10, Ingo Molnar wrote: > > * Eric W. Biederman <[EMAIL PROTECTED]> wrote: > > > Ingo Molnar <[EMAIL PROTECTED]> writes: > > > > > no. Two _completely separate_ lists. > > > > > > i.e. a to-be-reaped task will still be on the main list _too_. The > > > main list is for all the PID

Re: [PATCH 3/7] Containers (V8): Add generic multi-subsystem API to containers

2007-04-10 Thread Srivatsa Vaddagiri
On Fri, Apr 06, 2007 at 04:32:24PM -0700, [EMAIL PROTECTED] wrote: > -static int container_create_dir(struct container *cont, const char *name, > int mode) > +static int container_create_dir(struct container *cont, struct dentry > *dentry, > + int mode) > { > -

Re: [PATCH] Add spaces on either side of case "..." operator.

2007-04-10 Thread WANG Cong
On Tue, Apr 10, 2007 at 07:23:35AM -0400, Robert P. J. Day wrote: > >Following the programming advice laid down in the gcc manual, make >sure the case "..." operator has spaces on either side. > >Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> > Acked-by: WANG Cong <[EMAIL PROTECTED]> - To

Re: usb touchscreen breakage in 2.6.21-rc5-mm4 ?

2007-04-10 Thread Helge Hafting
Dmitry Torokhov wrote: Hmm, I am concerned because not only you don't have an input device created, you don't even see the driver being registered with usbcore. Could you please try booting with debug_initcall to see with what error code usbtouchscreen initialization fails? Here is the dmesg

RE: Help Understanding Linux memory management

2007-04-10 Thread Mouawad, Tony
When vm.overcommit_memory = 2 and there appears to be about 2M of memory readily available and about 12M of memory allocated to pagecache (this is info gathered from /proc/meminfo) , a call to malloc(500) returns NULL. I would have expected that somehow, the call to malloc(500) would

[patch] PCI: add debug information to resource collision message

2007-04-10 Thread Chuck Ebbert
Add more information to PCI resource collision message to help with debugging. Signed-off-by: Chuck Ebbert <[EMAIL PROTECTED]> --- arch/i386/pci/i386.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-2.6.20.noarch.orig/arch/i386/pci/i386.c +++

Re: [PATCH 14/14] sysfs: kill unnecessary attribute->owner

2007-04-10 Thread Cornelia Huck
On Tue, 10 Apr 2007 16:17:06 +0200, Cornelia Huck <[EMAIL PROTECTED]> wrote: > You missed some s390 attributes :) Oops, wrong tree, sorry. --- arch/s390/kernel/ipl.c |2 -- drivers/s390/cio/chsc.c |2 -- drivers/s390/net/qeth_sys.c |2 +- 3 files changed, 1 insertion(+), 5

Re: Help Understanding Linux memory management

2007-04-10 Thread Laurent Pinchart
Hi, > I've been a MS Windows based programmer for a very long time and was > recently tossed in an environment where I am developing embedded apps on > the m68k / Linux platform. That makes me a Linux newbie. I started > asking a few questions on various IRC channels and was directed to this >

Re: 2.6.20-rt8 patch tweaked for 2.6.20.5

2007-04-10 Thread Ingo Molnar
* John <[EMAIL PROTECTED]> wrote: > > sure, i can put it there. > > Great! Can you tell me how you generate the original -rt patch, so I > can provide an updated version when a new 2.6.20 kernel is released? they should be generated the way you did: apply the 2.6.20 baseline -rt kernel patch

Re: [PATCH 01/01] New FBDev driver for Intel Vermilion Range

2007-04-10 Thread Pavel Machek
Hi! > +struct cr_sys { > + struct vml_sys sys; > + struct pci_dev *mch_dev; > + struct pci_dev *lpc_dev; > + __u32 mch_bar; > + __u8 *mch_regs_base; > + __u32 gpio_bar; > + __u32 saved_panel_state; > + __u32 saved_clock; u32/u8 is right type to use here. >

[PATCH -mm] freezer: Fix racy usage of try_to_freeze in kswapd

2007-04-10 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Currently we can miss freeze_process()->signal_wake_up() in kswapd() if it happens between try_to_freeze() and prepare_to_wait(). To prevent this from happening we should check freezing(current) before calling schedule(). Signed-off-by: Rafael J.

Re: 2.6.20-rt8 patch tweaked for 2.6.20.5

2007-04-10 Thread John
Ingo Molnar wrote: John wrote: I'd be happy to generate a clean patch! (Would you agree to host it in your directory?) http://people.redhat.com/mingo/realtime-preempt/older/ sure, i can put it there. Great! Can you tell me how you generate the original -rt patch, so I can provide an

Re: [RFC][PATCH -mm] swsusp: Use rbtree for tracking allocated swap

2007-04-10 Thread Pavel Machek
Hi! > > > Some time ago we discussed the possibility of simplifying the swsusp's > > > approach > > > towards tracking the swap pages allocated by it for saving the image (so > > > that > > > they can be freed if there's an error). > > > > > > I think we can get back to it now, as it is a nice

Re: Performance Stats: Kernel patch

2007-04-10 Thread Pavel Machek
Hi! > Yes I have tested it on PPC, X86, X86_64, Mips targets. > It works. > >>+ cap_t(p->nvcsw), > >>+ cap_t(p->nivcsw), Nvcsw? W dn't s ncrptd dntfrs lk nvcsw n krnl. (:-) Pavel -- (english)

Re: [PATCH 14/14] sysfs: kill unnecessary attribute->owner

2007-04-10 Thread Cornelia Huck
On Mon, 9 Apr 2007 13:18:49 +0900, Tejun Heo <[EMAIL PROTECTED]> wrote: > sysfs is now completely out of driver/module lifetime game. After > deletion, a sysfs node doesn't access anything outside sysfs proper, > so there's no reason to hold onto the attribute owners. Note that > often the

Re: Help Understanding Linux memory management

2007-04-10 Thread Robert Hancock
Mouawad, Tony wrote: Hello, I've been a MS Windows based programmer for a very long time and was recently tossed in an environment where I am developing embedded apps on the m68k / Linux platform. That makes me a Linux newbie. I started asking a few questions on various IRC channels and was

TIF_SIGPENDING set, but signals not being serviced

2007-04-10 Thread Hawkes Steve-FSH016
I am running into an issue where processing of signals appears to be misbehaving at the kernel level. One or more multithreaded processes are ending up in a state where a signal is pending for the process, the signal is blocked at the application level in all threads in the process, and that one

[PATCH] FRV: Update the FRV arch MAINTAINER record to get a hit on "grep -i frv"

2007-04-10 Thread David Howells
From: David Howells <[EMAIL PROTECTED]> Update the FRV arch MAINTAINER record to get a hit on "grep -i frv". Whilst FR-V is technically correct, it's normally thought of as FRV. Signed-Off-By: David Howells <[EMAIL PROTECTED]> --- MAINTAINERS |2 +- 1 files changed, 1 insertions(+), 1

Re: [PATCH 3/10] I386 mcheck p4 grotesque and needless warning fix.patch

2007-04-10 Thread Chuck Ebbert
Zachary Amsden wrote: > No, just no. You do not use goto to skip a code block. You do not > return an obvious variable from a singly-inlined function and give > the function a return value. You don't put unexplained comments > about kmalloc in code which doesn't do dynamic allocation. And >

Re: [PATCH] HPA support: Revised patch

2007-04-10 Thread Kyle McMartin
On Tue, Apr 10, 2007 at 03:06:18PM +0100, Matthew Garrett wrote: > On Mon, Apr 09, 2007 at 10:22:41PM +0100, Alan Cox wrote: > > > Please apply Tejun's fix for LBA48 data and try again. Hopefully its just > > that which is causing the problem. > Yes, that works absolutely fine now. Thanks Alan,

Re: If not readdir() then what?

2007-04-10 Thread Ulrich Drepper
On 4/10/07, Theodore Tso <[EMAIL PROTECTED]> wrote: That might work. But if in the long term we want to separate out what we can send back via telldir/seekdir, and some future new Posix interface, [...] With all these discussions about fixes for telldir, do we want to persue an alternative

Re: [PATCH] HPA support: Revised patch

2007-04-10 Thread Matthew Garrett
On Mon, Apr 09, 2007 at 10:22:41PM +0100, Alan Cox wrote: > Please apply Tejun's fix for LBA48 data and try again. Hopefully its just > that which is causing the problem. Yes, that works absolutely fine now. -- Matthew Garrett | [EMAIL PROTECTED] - To unsubscribe from this list: send the line

Help Understanding Linux memory management

2007-04-10 Thread Mouawad, Tony
Hello, I've been a MS Windows based programmer for a very long time and was recently tossed in an environment where I am developing embedded apps on the m68k / Linux platform. That makes me a Linux newbie. I started asking a few questions on various IRC channels and was directed to this group.

Re: [-mm3 PATCH] (Retry) Check the return value of kobject_add and etc.

2007-04-10 Thread WANG Cong
On Tue, Apr 10, 2007 at 02:31:06PM +0200, Cornelia Huck wrote: >On Fri, 6 Apr 2007 10:53:43 +0800, >WANG Cong <[EMAIL PROTECTED]> wrote: > >> OK. Then I send it again. Hopefully it can be accepted this time. ;-p > >Looks sane. (Note that there is still a pathological case where >kobject_put() is

Re: If not readdir() then what?

2007-04-10 Thread Theodore Tso
On Mon, Apr 09, 2007 at 10:03:15AM -0400, Trond Myklebust wrote: > We could perhaps teach nfsd to open the file without the O_LARGEFILE > attribute in the case of NFSv2? That might work. But if in the long term we want to separate out what we can send back via telldir/seekdir, and some future

Re: [lm-sensors] Hardware monitoring subsystem maintainer position is open

2007-04-10 Thread David Hubbard
Jean, I for one will greatly miss your knowledge and helpful hints when I work on hardware monitoring drivers. I hope you find success in all the things you do! I understand the difficult position you're in, and if there's any way I could convince you to stay, I would. Maybe you would be

Re: init's children list is long and slows reaping children.

2007-04-10 Thread Ingo Molnar
* Eric W. Biederman <[EMAIL PROTECTED]> wrote: > Ingo Molnar <[EMAIL PROTECTED]> writes: > > > no. Two _completely separate_ lists. > > > > i.e. a to-be-reaped task will still be on the main list _too_. The > > main list is for all the PID semantics rules. The reap-list is just > > for

Re: [PATCH] epson1355fb.c, kernel 2.6.21-rc6-git3

2007-04-10 Thread Antonino A. Daplas
On Tue, 2007-04-10 at 14:45 +0200, Roland Stigge wrote: > Hi, > > I'm attaching a fix for the error handling code in epson1355fb.c. I already responded to your entry in Kernel Bugzilla. Thanks. Tony - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH] Build break on ppc64 for 2.6.21-rc6-mm1

2007-04-10 Thread Johannes Berg
On Tue, 2007-04-10 at 18:20 +0530, Srinivasa Ds wrote: > Below patch fixes this problem. please let me know comments on this. +#include Yeah, I heard about that change but didn't have a chance to check it out yet. Patch looks good to me, of course. johannes signature.asc Description: This

Re: CPU offline but power consumption increased?

2007-04-10 Thread Andi Kleen
> Speaking for all Intel hardware implemented from pre-history until now, > deep C-states is the best you can do, and there is no special offline > mode to save more power. We don't use deep c states currently; just HLT. Right now it doesn't make much difference because no multi socket servers

Does V4L driver support audio capture?

2007-04-10 Thread code GG
Hi all, Are there any V4L API supporting audio capture (supposing the TV card hardware has such ability), just like the APIs and structures for video capture? CodeGG - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

Re: 2.6.20-rt8 patch tweaked for 2.6.20.5

2007-04-10 Thread Ingo Molnar
* John <[EMAIL PROTECTED]> wrote: > I'd be happy to generate a clean patch! > (Would you agree to host it in your directory?) > http://people.redhat.com/mingo/realtime-preempt/older/ sure, i can put it there. > 3. linux/kernel/futex.c > [ I'm not sure I've made the appropriate changes here ] >

[PATCH] epson1355fb.c, kernel 2.6.21-rc6-git3

2007-04-10 Thread Roland Stigge
Hi, I'm attaching a fix for the error handling code in epson1355fb.c. Roland epson1355fb.c: Fixes error handling code --- drivers/video/epson1355fb.c.orig 2007-04-10 14:01:48.0 +0200 +++ drivers/video/epson1355fb.c 2007-04-10 14:02:17.0 +0200 @@ -650,9 +650,10 @@ } info =

Re: [PATCH (revised)] device_schedule_callback needs a module reference

2007-04-10 Thread Cornelia Huck
On Mon, 9 Apr 2007 11:07:22 -0400 (EDT), Alan Stern <[EMAIL PROTECTED]> wrote: > This revised patch (as896b) fixes an oversight in the design of > device_schedule_callback(). It is necessary to acquire a reference to > the module owning the callback routine, to prevent the module from > being

Re: [patch 2/8] [Intel IOMMU] Some generic search functions required to lookup device relationships.

2007-04-10 Thread Greg KH
On Tue, Apr 10, 2007 at 04:11:38PM +0800, Shaohua Li wrote: > On Mon, 2007-04-09 at 20:46 -0700, Greg KH wrote: > > On Mon, Apr 09, 2007 at 02:55:54PM -0700, Ashok Raj wrote: > > > +/* > > > + * find the upstream PCIE-to-PCI bridge of a PCI device > > > + * if the device is PCIE, return NULL > > >

Re: [PATCH 4/7] Containers (V8): Simple CPU accounting container subsystem

2007-04-10 Thread Srivatsa Vaddagiri
On Fri, Apr 06, 2007 at 04:32:25PM -0700, [EMAIL PROTECTED] wrote: > +struct container_subsys cpuacct_subsys = { > + .name = "cpuacct", > + .create = cpuacct_create, > + .destroy = cpuacct_destroy, > + .populate = cpuacct_populate, > + .subsys_id = cpuacct_subsys_id, > +};

Re: 2.6.21-rc6-mm1 ima "BUG: held lock freed!"

2007-04-10 Thread Reiner Sailer
We are looking into this. Thanks! Reiner --forwarded by Reiner Sailer: On Sun, Apr 08, 2007 at 02:35:59PM -0700, Andrew Morton wrote: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc6/2.6.21-rc6-mm1/ > I'm seeing this while booting: ima (ima_init): No TPM chip

Re: [PATCH] CONFIG_PACKET_MMAP should depend on MMU

2007-04-10 Thread David Howells
Robin Getz <[EMAIL PROTECTED]> wrote: > David - I know you have been reworking the noMMU vma handling - is there a > solution to vm_insert_page? The reason vm_insert_page() is being called, I imagine, is because packet_mmap() has to insert mappings to an already existing buffer. All it does is

Re: [PATCH] MIPS: Replace incorrect "__typeof" with "__typeof__".

2007-04-10 Thread Robert P. J. Day
On Tue, 10 Apr 2007, Ralf Baechle wrote: > On Tue, Apr 10, 2007 at 06:23:27AM -0400, Robert P. J. Day wrote: > > > Replace what appears to be an incorrect spelling of "__typeof" > > with the correct spelling of "__typeof__". > > Not a bug, just old fashioned. i suspected as much, but i was just

[PATCH] Build break on ppc64 for 2.6.21-rc6-mm1

2007-04-10 Thread Srinivasa Ds
When I tried to compile 2.6.21-rc6-mm1 on ppc64, I got the below error message. == arch/powerpc/sysdev/timer.c:51: error: variable ‘timer_sysclass’ has initializer but incomplete type arch/powerpc/sysdev/timer.c:52: error: unknown field ‘resume’ specified in initializer

Re: [PATCH] MIPS: Replace incorrect "__typeof" with "__typeof__".

2007-04-10 Thread Ralf Baechle
On Tue, Apr 10, 2007 at 06:23:27AM -0400, Robert P. J. Day wrote: > Replace what appears to be an incorrect spelling of "__typeof" with > the correct spelling of "__typeof__". Not a bug, just old fashioned. Ralf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: 2.6.21-rc6-mm1

2007-04-10 Thread Ananth N Mavinakayanahalli
On Tue, Apr 10, 2007 at 02:24:21PM +0200, Cornelia Huck wrote: > On Sun, 8 Apr 2007 14:35:59 -0700, > Andrew Morton <[EMAIL PROTECTED]> wrote: > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc6/2.6.21-rc6-mm1/ > > > +kprobes-the-on-off-knob-thru-debugfs-updated.patch

[Patch -mm] kobject: kobject_add() reference leak

2007-04-10 Thread Cornelia Huck
We leak a reference if we attempt to add a kobject with no name. Signed-off-by: Cornelia Huck <[EMAIL PROTECTED]> --- lib/kobject.c |1 + 1 files changed, 1 insertion(+) --- linux-2.6.21-rc6-mm1.orig/lib/kobject.c +++ linux-2.6.21-rc6-mm1/lib/kobject.c @@ -218,6 +218,7 @@ int

Re: [-mm3 PATCH] (Retry) Check the return value of kobject_add and etc.

2007-04-10 Thread Cornelia Huck
On Fri, 6 Apr 2007 10:53:43 +0800, WANG Cong <[EMAIL PROTECTED]> wrote: > OK. Then I send it again. Hopefully it can be accepted this time. ;-p Looks sane. (Note that there is still a pathological case where kobject_put() is not enough to trigger release after the failed kobject_add(). I'm

Re: I give up

2007-04-10 Thread John Anthony Kazos Jr.
> >So fix tar to not do silly things. > >Kernel major:minor numbers are not stable. > > YOU Tell the tar people, they are flabbergasted that linux is apparently > the only unstable OS that tar can be run on. Linux is not unstable. It's developmental! Linux is like one giant international

Re: w83l785ts: Couldn't read value from register

2007-04-10 Thread Jean Delvare
Hallo Christian, On Mon, 9 Apr 2007 20:21:57 +0100 (BST), Christian Kujau wrote: > I've got this Asus A7N8X-X board and when using lm-sensors, these > messages occasionally show up in my kernel logs: > > w83l785ts 1-002e: Couldn't read value from register 0x53. Please report. Is it always this

Re: 2.6.21-rc6-mm1

2007-04-10 Thread Cornelia Huck
On Sun, 8 Apr 2007 14:35:59 -0700, Andrew Morton <[EMAIL PROTECTED]> wrote: > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc6/2.6.21-rc6-mm1/ > +kprobes-the-on-off-knob-thru-debugfs-updated.patch > +kprobes-the-on-off-knob-thru-debugfs-updated-fix.patch > > kprobes

Re: Add a norecovery option to ext3/4?

2007-04-10 Thread Jörn Engel
On Tue, 10 April 2007 07:27:18 -0400, Theodore Tso wrote: > > I suppose what you could do is to read in the journal, and use it to > create an remapping table so that when you want to read block #5126, > and block number 5126 is in the journal, to read the journal version > of the block instead

Re: Ten percent test

2007-04-10 Thread Mike Galbraith
On Tue, 2007-04-10 at 07:23 -0400, Ed Tomlinson wrote: > On Monday 09 April 2007 22:39, Mike Galbraith wrote: > > On Mon, 2007-04-09 at 07:38 +0200, Mike Galbraith wrote: > > > > > I don't think you can have very much effect on latency using nice with > > > SD once the CPU is fully utilized. See

Re: [2.4] Watchdog w83977ef (Winbond W83977EF) driver

2007-04-10 Thread Tal Kelrich
On Mon, 2 Apr 2007 07:38:34 +0200 Willy Tarreau <[EMAIL PROTECTED]> wrote: > Hello, > > On Sun, Apr 01, 2007 at 05:14:07PM +0300, Tal Kelrich wrote: > > (resent due to mailer stupidity) > > Hello, > > > > This is my first submitted kernel patch, please be gentle. > > > > Tested and working on

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