Re: [patch 14/22] pollfs: pollable futex

2007-05-01 Thread Eric Dumazet
Davi Arnaut a écrit : Asynchronously wait for FUTEX_WAKE operation on a futex if it still contains a given value. There can be only one futex wait per file descriptor. However, it can be rearmed (possibly at a different address) anytime. The pollable futex approach is far superior (send and

Re: Natsemi DP83815 driver spaming

2007-05-01 Thread Rafał Bilski
>> > > * 2) check for sudden death of the NIC: >> > > *It seems that a reference set for this chip went out with >> incorrect info, >> > > *and there exist boards that aren't quite right. An >> unexpected voltage >> > > *drop can cause the PHY to get itself in a weird state >>

Re: [patch 01/10] compiler: define __attribute_unused__

2007-05-01 Thread David Rientjes
On Wed, 2 May 2007, Alexey Dobriyan wrote: > On Tue, May 01, 2007 at 09:28:18PM -0700, David Rientjes wrote: > > +#define __attribute_unused__ __attribute__((unused)) > > Suggest __unused which is shorter and looks compiler-neutral. > So you would also suggest renaming

[patch 02/22] pollfs: file system operations

2007-05-01 Thread Davi Arnaut
The key feature of the pollfs file operations is to internally handle pollable (waitable) resources as files without exporting complex and bug-prone underlying (VFS) implementation details. All resource handlers are required to implement the read, write, poll, release operations and must not

[PATCH] x86_64: O_EXCL on /dev/mcelog

2007-05-01 Thread Tim Hockin
From: Tim Hockin <[EMAIL PROTECTED]> Background: /dev/mcelog is a clear-on-read interface. It is currently possible for multiple users to open and read() the device. Users are protected from each other during any one read, but not across reads. Description: This patch adds support for

[patch 06/22] pollfs: export the plsignal system call

2007-05-01 Thread Davi Arnaut
Export the new plsignal syscall prototype. While there, make it "conditional". Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- include/linux/syscalls.h |2 ++ kernel/sys_ni.c |1 + 2 files changed, 3 insertions(+) Index: linux-2.6/include/linux/syscalls.h

[patch 04/22] pollfs: pollable signal

2007-05-01 Thread Davi Arnaut
Retrieve multiple per-process signals through a file descriptor. The mask of signals can be changed at any time. Also, the compat code can be kept very simple. Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- fs/pollfs/Makefile |2 fs/pollfs/signal.c | 144

[patch 05/22] pollfs: pollable signal compat code

2007-05-01 Thread Davi Arnaut
Compat handlers for the pollable signal operations. Later the0 compat operations can operate on a per call basis. Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- fs/pollfs/signal.c | 85 + 1 file changed, 85 insertions(+) Index:

Re: [patch 01/10] compiler: define __attribute_unused__

2007-05-01 Thread Rusty Russell
On Tue, 2007-05-01 at 21:28 -0700, David Rientjes wrote: > For all supported versions of gcc (major version 3 and above), functions > and variables may be declared with __attribute__((unused)) to suppress > warnings if they are declared but unused. Adding this macro doesn't give us anything that

[patch 17/22] pollfs: x86_64, wire up the plfutex system call

2007-05-01 Thread Davi Arnaut
Make the plfutex syscall available to user-space on x86_64. Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- arch/x86_64/ia32/ia32entry.S |1 + include/asm-x86_64/unistd.h |4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) Index: linux-2.6/arch/x86_64/ia32/ia32entry.S

[patch 13/22] pollfs: asynchronous futex wait

2007-05-01 Thread Davi Arnaut
Break apart and export the futex_wait function in order to be able to associate (wait for) a futex with other resources. Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- include/linux/futex.h | 80 ++ kernel/futex.c| 130

[patch 09/22] pollfs: pollable hrtimers

2007-05-01 Thread Davi Arnaut
Per file descriptor high-resolution timers. A classic unix file interface for the POSIX timer_(create|settime|gettime|delete) family of functions. Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- fs/pollfs/Makefile |1 fs/pollfs/timer.c | 198

[patch 08/22] pollfs: x86_64, wire up the plsignal system call

2007-05-01 Thread Davi Arnaut
Make the plsignal syscall available to user-space on x86_64. Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- arch/x86_64/ia32/ia32entry.S |3 ++- include/asm-x86_64/unistd.h |4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) Index: linux-2.6/include/asm-x86_64/unistd.h

[patch 03/22] pollfs: asynchronously wait for a signal

2007-05-01 Thread Davi Arnaut
Add a wait queue to the task_struct in order to be able to associate (wait for) a signal with other resources. Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- include/linux/init_task.h |1 + include/linux/sched.h |1 + kernel/fork.c |1 + kernel/signal.c

[patch 21/22] pollfs: x86, wire up the plaio system call

2007-05-01 Thread Davi Arnaut
Make the plaio syscall available to user-space on x86. Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- arch/i386/kernel/syscall_table.S |1 + include/asm-i386/unistd.h|3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) Index: linux-2.6/include/asm-i386/unistd.h

[patch 19/22] pollfs: pollable aio

2007-05-01 Thread Davi Arnaut
Submit, retrieve, or poll aio requests for completion through a file descriptor. User supplies a aio_context_t that is used to fetch a reference to the kioctx. Once the file descriptor is closed, the reference is decremented. Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> ---

[patch 10/22] pollfs: export the pltimer system call

2007-05-01 Thread Davi Arnaut
Export the new pltimer syscall prototype. While there, make it "conditional". Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- include/linux/syscalls.h |2 ++ kernel/sys_ni.c |1 + 2 files changed, 3 insertions(+) Index: linux-2.6/include/linux/syscalls.h

Re: SOME STUFF ABOUT REISER4 To Mr Hopper

2007-05-01 Thread David Miller
From: [EMAIL PROTECTED] Date: Tue, 01 May 2007 21:55:59 -0700 > Hi Jeff, it seems that lkml has contacted both of my email accounts and > cripped them. Actually we aren't blocking your email address, rather we are blocking emails with lots of caps in them because that is what small children use

[patch 07/22] pollfs: x86, wire up the plsignal system call

2007-05-01 Thread Davi Arnaut
Make the plsignal syscall available to user-space on x86. Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- arch/i386/kernel/syscall_table.S |1 + include/asm-i386/unistd.h|3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) Index: linux-2.6/include/asm-i386/unistd.h

[patch 16/22] pollfs: x86, wire up the plfutex system call

2007-05-01 Thread Davi Arnaut
Make the plfutex syscall available to user-space on x86. Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- arch/i386/kernel/syscall_table.S |1 + include/asm-i386/unistd.h|3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) Index: linux-2.6/include/asm-i386/unistd.h

[patch 18/22] pollfs: check if a AIO event ring is empty

2007-05-01 Thread Davi Arnaut
The aio_ring_empty() function returns true if the AIO event ring has no elements, false otherwise. Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- fs/aio.c| 17 + include/linux/aio.h |1 + 2 files changed, 18 insertions(+) Index: linux-2.6/fs/aio.c

[patch 11/22] pollfs: x86, wire up the pltimer system call

2007-05-01 Thread Davi Arnaut
Make the pltimer syscall available to user-space on x86. Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- arch/i386/kernel/syscall_table.S |1 + include/asm-i386/unistd.h|3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) Index: linux-2.6/include/asm-i386/unistd.h

[patch 14/22] pollfs: pollable futex

2007-05-01 Thread Davi Arnaut
Asynchronously wait for FUTEX_WAKE operation on a futex if it still contains a given value. There can be only one futex wait per file descriptor. However, it can be rearmed (possibly at a different address) anytime. The pollable futex approach is far superior (send and receive events from

[patch 15/22] pollfs: export the plfutex system call

2007-05-01 Thread Davi Arnaut
Export the new plfutex syscall prototype. While there, make it "conditional". Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- include/linux/syscalls.h |2 ++ kernel/sys_ni.c |1 + 2 files changed, 3 insertions(+) Index: linux-2.6/include/linux/syscalls.h

[patch 22/22] pollfs: x86_64, wire up the plaio system call

2007-05-01 Thread Davi Arnaut
Make the plaio syscall available to user-space on x86_64. Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- arch/x86_64/ia32/ia32entry.S |1 + include/asm-x86_64/unistd.h |4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) Index: linux-2.6/arch/x86_64/ia32/ia32entry.S

[patch 20/22] pollfs: export the plaio system call

2007-05-01 Thread Davi Arnaut
Export the new plaio syscall prototype. While there, make it "conditional". Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- include/linux/syscalls.h |2 ++ kernel/sys_ni.c |1 + 2 files changed, 3 insertions(+) Index: linux-2.6/include/linux/syscalls.h

[patch 12/22] pollfs: x86_64, wire up the pltimer system call

2007-05-01 Thread Davi Arnaut
Make the pltimer syscall available to user-space on x86_64. Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- arch/x86_64/ia32/ia32entry.S |1 + include/asm-x86_64/unistd.h |4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) Index: linux-2.6/arch/x86_64/ia32/ia32entry.S

[patch 01/22] pollfs: kernel-side API header

2007-05-01 Thread Davi Arnaut
Add pollfs_fs.h header which contains the kernel-side declarations and auxiliary macros for type safety checks. Those macros can be simplified later. Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- include/linux/pollfs_fs.h | 57 ++ 1 file

[patch 00/22] pollfs: filesystem abstraction for pollable objects

2007-05-01 Thread Davi Arnaut
This patch set introduces a new file system for the delivery of pollable events through file descriptors. To the detriment of debugability, pollable objects are a nice adjunct to nonblocking/epoll/event-based servers. The pollfs filesystem abstraction provides better mechanisms needed for

Re: [patch] CFS scheduler, -v8

2007-05-01 Thread William Lee Irwin III
On Tue, May 01, 2007 at 10:57:14PM -0400, Ting Yang wrote: > Authors of this paper proposed a scheduler: Earlist Eligible Virtual > Deadline First (EEVDF). EEVDF uses exactly the same method as CFS to > track the execution of each running task. The only difference between > EEVDF and CFS is

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

2007-05-01 Thread Jesse Barnes
On Tuesday, May 01, 2007, Jesse Barnes wrote: > > I'm testing it now on my 965... > > Bah... nevermind Robert, I see you're doing this already in > pci_mmcfg_reject_broken. I'm about to reboot & test now. Ok, I've tested a bit on my 965 (after re-adding my old patch to support it) and the new

[PATCH]: linux-2.6.21-uc0 (MMU-less updates)

2007-05-01 Thread Greg Ungerer
Hi All, An update of the uClinux (MMU-less) code against 2.6.21. A lot of cleanups, and a few bug fixes. Ahead is more changes to finalize platform device support for the new style ColdFire serial driver, and switching to the generic irq code.

Re: [PATCH 18/36] Use menuconfig objects II - MMC

2007-05-01 Thread Pierre Ossman
Jan Engelhardt wrote: > > If it works, no problem. just put your sign-off somewhere > and let Andrew (or the appropriate subsys maintainer) have it :) > Well, the appropriate subsys maintainer would be me. :) Has it been decided that this is the way to go? I have no strong feelings either way.

keyboard and mouse regresions as of dc87c398 plus cfs-v7

2007-05-01 Thread James Cloos
I just tried out git as of commit dc87c398 plus Ingo's cfs v6 patch. I'll try out w/o the patch to confirm later this morning. The kernel log shows no indication of a problem, but the (ps/2) mice do not work, and the keyboard repeat is *very* slow, and will not speed up if changed with xset(1x).

Re: [patch 01/10] compiler: define __attribute_unused__

2007-05-01 Thread Alexey Dobriyan
On Tue, May 01, 2007 at 09:28:18PM -0700, David Rientjes wrote: > +#define __attribute_unused__ __attribute__((unused)) Suggest __unused which is shorter and looks compiler-neutral. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [patch] CFS scheduler, -v8

2007-05-01 Thread Willy Tarreau
Hi Ting, On Tue, May 01, 2007 at 10:57:14PM -0400, Ting Yang wrote: > > Hi, Ingo > > My name is Ting Yang, a graduate student from UMASS. I am currently > studying the linux scheduler and virtual memory manager to solve some > page swapping problems. I am very excited with the new scheduler

Re: per-thread rusage

2007-05-01 Thread Balbir Singh
Alan Cox wrote: I just so happen to think we should implement a variety of CPU resource limits beyond what we now do, so this, too, interests me. Agreed - and make them all 64bit while doing the cleanup. One thing several Unixen have we don't for 32bi boxes is a proper set of 64bit resource

Crypto Update for 2.6.22

2007-05-01 Thread Herbert Xu
Hi: Here is the crypto update for 2.6.22: Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git or master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6.git Summary: * Added API for asynchronous block ciphers. * Small clean-up's. Herbert Xu (9):

Re: [PATCH 2/2] ehea: NAPI multi queue TX/RX path for SMP

2007-05-01 Thread Michael Ellerman
On Wed, 2007-02-28 at 18:34 +0100, Jan-Bernd Themann wrote: > This patch provides a functionality that allows parallel > RX processing on multiple RX queues by using dummy netdevices. > > > Signed-off-by: Jan-Bernd Themann <[EMAIL PROTECTED]> > --- > @@ -1789,6 +1798,22 @@ static void

Re: Question about Reiser4 (how to boot it?)

2007-05-01 Thread lkml777
Hi Jeff, it seems that lkml has contacted both of my email accounts and cripped them. I can no longer recieve email from lkml on this account. I can neither recieve or send email to lkml from my other account. They have also just deleted the 4 emails I sent to lkml from the page

Re: per-thread rusage

2007-05-01 Thread Ulrich Drepper
On 5/1/07, Theodore Tso <[EMAIL PROTECTED]> wrote: The question is should we use setrlimit() to set the per-thread CPU limit, given that we would need some separate interface to set signal that should be sent. Is there any reason why we should have the interface specify whether the signal

Re: SOME STUFF ABOUT REISER4 To Mr Hopper

2007-05-01 Thread lkml777
On Wed, 25 Apr 2007 09:29:19 -0400, "Jeff Garzik" <[EMAIL PROTECTED]> said: > Please fix your caps lock key. Thanks. > > Jeff Hi Jeff, it seems that lkml has contacted both of my email accounts and cripped them. I can no longer recieve email from lkml on this account. I can neither

Re: Question about Reiser4

2007-05-01 Thread lkml777
Hi Edward, it seems that lkml has contacted both of my email accounts and cripped them. I can no longer recieve email from lkml on this account. I can neither recieve or send email to lkml from my other account. They have also just deleted the 4 emails I sent to lkml from the page

Re: [PATCH (v2)] crypto: Remove pointless padlock module

2007-05-01 Thread Herbert Xu
On Sun, Apr 29, 2007 at 09:01:10AM +0100, Simon Arlott wrote: > > Well that's mostly the point - it shouldn't get compiled in - ever, > but it also has other modules depending on it in Kconfig that > shouldn't need to be modules. Patch applied. Thanks! -- Visit Openswan at

Re: Why ask Sun for ZFS while we have ReiserFS4 !?

2007-05-01 Thread lkml777
Hi andrew, it seems that lkml has contacted both of my email accounts and cripped them. I can no longer recieve email from lkml on this account. I can neither recieve or send email to lkml from my other account. They have also just deleted the 4 emails I sent to lkml from the page

Re: [PATCH] crypto: convert "crypto" subdirectory to UTF-8

2007-05-01 Thread Herbert Xu
On Tue, Apr 17, 2007 at 01:25:49PM -0400, John Anthony Kazos Jr. wrote: > From: John Anthony Kazos Jr. <[EMAIL PROTECTED]> > > Convert the subdirectory "crypto" to UTF-8. The files changed are > and . > > Signed-off-by: John Anthony Kazos Jr. <[EMAIL PROTECTED]> Thanks. Could you fix up

Re: [PATCH] Remove unnecessary irq disabling

2007-05-01 Thread Glauber de Oliveira Costa
On Tue, May 01, 2007 at 07:59:21PM -0400, Mark Lord wrote: > Glauber de Oliveira Costa wrote: > >RR asks us if it is really necessary to disable interrupts in > >setup_secondary_APIC_clock(). The answer is no, since setup_APIC_timer() > >starts by saving irq flags, which also disables them. > > >

Re: per-thread rusage

2007-05-01 Thread Theodore Tso
On Tue, May 01, 2007 at 05:17:28PM -0700, Ulrich Drepper wrote: > We have, in principal: setrlimit. We jump through hoops in the moment > to make RLIMIT_CPU a per-process facility. This is all nice. All you > need to do is to add resources RLIMIT_*_THREAD (e.g., > RLIMIT_CPU_THREAD) and

[patch 07/10] mips: excite: use __attribute_unused__

2007-05-01 Thread David Rientjes
Replace variable instances of __attribute__((unused)) with __attribute_unused__. Cc: Ralf Baechle <[EMAIL PROTECTED]> Cc: Thomas Koeller <[EMAIL PROTECTED]> Signed-off-by: David Rientjes <[EMAIL PROTECTED]> --- arch/mips/basler/excite/excite_device.c | 16 1 files changed, 8

[patch 03/10] sh: dma: use __attribute_unused__

2007-05-01 Thread David Rientjes
There is no such thing as labeling a variable as __attribute__((used)). Since ts_shift is not referenced in inline assembly, we assume that we're simply suppressing a warning here if the variable is declared but unreferenced. Cc: Paul Mundt <[EMAIL PROTECTED]> Signed-off-by: David Rientjes

[patch 05/10] frv: gdb: use __attribute_unused__

2007-05-01 Thread David Rientjes
Replace function instances of __attribute__((unused)) with __attribute_unused__ to suppress warnings. Cc: David Howells <[EMAIL PROTECTED]> Signed-off-by: David Rientjes <[EMAIL PROTECTED]> --- arch/frv/kernel/gdb-stub.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff

[patch 08/10] mips: tlbex: use __attribute_unused__

2007-05-01 Thread David Rientjes
Replace function instances of __attribute__((unused)) with __attribute_unused__. Cc: Ralf Baechle <[EMAIL PROTECTED]> Signed-off-by: David Rientjes <[EMAIL PROTECTED]> --- arch/mips/mm/tlbex.c | 36 ++-- 1 files changed, 18 insertions(+), 18 deletions(-) diff

[patch 04/10] scsi: fix ambiguous gdthtable definition

2007-05-01 Thread David Rientjes
Labeling a variable as __attribute_used__ is ambiguous: it means __attribute__((unused)) for gcc <3.4 and __attribute__((used)) for gcc >=3.4. There is no such thing as labeling a variable as __attribute__((used)). We assume that we're simply suppressing a warning here if gdthtable[] is declared

[patch 09/10] powerpc: ps3: use __attribute_unused__

2007-05-01 Thread David Rientjes
Replace function instances of __attribute__ ((unused)) with __attribute_unused__. Cc: Geoff Levand <[EMAIL PROTECTED]> Signed-off-by: David Rientjes <[EMAIL PROTECTED]> --- arch/powerpc/platforms/ps3/interrupt.c |4 ++-- arch/powerpc/platforms/ps3/time.c |2 +- 2 files changed, 3

[patch 10/10] i386 mmzone: use __attribute_unused__

2007-05-01 Thread David Rientjes
Replace automatic variable instances of __attribute__ ((unused)) with __attribute_unused__. Cc: Andy Whitcroft <[EMAIL PROTECTED]> Signed-off-by: David Rientjes <[EMAIL PROTECTED]> --- include/asm-i386/mmzone.h |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git

[patch 06/10] i386: voyager: use __attribute_unused__

2007-05-01 Thread David Rientjes
Replace automatic variable instances of __attribute__((unused)) with __attribute_unused__ in mca_nmi_hook(). Cc: James Bottomley <[EMAIL PROTECTED]> Signed-off-by: David Rientjes <[EMAIL PROTECTED]> --- arch/i386/mach-voyager/voyager_basic.c |4 ++-- 1 files changed, 2 insertions(+), 2

[patch 01/10] compiler: define __attribute_unused__

2007-05-01 Thread David Rientjes
For all supported versions of gcc (major version 3 and above), functions and variables may be declared with __attribute__((unused)) to suppress warnings if they are declared but unused. This shouldn't be confused with functions being declared with __attribute__((used)). This specifies that the

[patch 02/10] i386 pci: type may be unused

2007-05-01 Thread David Rientjes
In the case of !CONFIG_PCI_DIRECT && !CONFIG_PCI_MMCONFIG, type is unreferened. Cc: Andi Kleen <[EMAIL PROTECTED]> Signed-off-by: David Rientjes <[EMAIL PROTECTED]> --- arch/i386/pci/init.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/i386/pci/init.c

Re: netfront for review

2007-05-01 Thread Rusty Russell
On Wed, 2007-05-02 at 13:51 +1000, Herbert Xu wrote: > On Wed, May 02, 2007 at 01:37:13PM +1000, Rusty Russell wrote: > > > > > +static int xennet_change_mtu(struct net_device *dev, int mtu) > > > +{ > > > + int max = xennet_can_sg(dev) ? 65535 - ETH_HLEN : ETH_DATA_LEN; > > > > This seems odd to

Re: [RFC] [PATCH] DRM TTM Memory Manager patch

2007-05-01 Thread Greg KH
On Wed, May 02, 2007 at 12:36:36AM +0200, Ingo Oeser wrote: > On Tuesday 01 May 2007, Dave Airlie wrote: > > > - what's with the /proc interface? Don't add new proc code for > > > non-process related things. This should all go into sysfs > > > somewhere. And yes, I know /proc/dri/ is

Re: pci hotplug patches

2007-05-01 Thread Greg KH
On Tue, May 01, 2007 at 09:48:41AM +0100, Christoph Hellwig wrote: > > fix-gregkh-pci-pci-remove-the-broken-pci_multithread_probe-option.patch > > remove-pci_dac_dma_-apis.patch > > round_up-macro-cleanup-in-drivers-pci.patch > > pcie-remove-spin_lock_unlocked.patch > >

Re: netfront for review

2007-05-01 Thread Jeremy Fitzhardinge
Rusty Russell wrote: > On Tue, 2007-05-01 at 17:08 -0700, Jeremy Fitzhardinge wrote: > >> Add the Xen virtual network device driver. >> > > (Herbert: there's a question for you: grep for Herbert) > > OK, this is a remarkably non-trivial driver. If the v0.1 of the driver > had been in the

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

2007-05-01 Thread Herbert Xu
On Sat, Apr 28, 2007 at 11:18:49PM -0700, David Miller wrote: > > Herbert, could you refresh this refinement to the current > tree? Dave, thanks for reminding me. Here it is. [NETLINK]: Kill CB only when socket is unused Since we can still receive packets until all references to the socket

Re: [PATCH] zero_user_page uses in fs/buffer.c and fs/libfs.c

2007-05-01 Thread Andrew Morton
On Tue, 1 May 2007 20:58:02 -0700 (PDT) Christoph Lameter <[EMAIL PROTECTED]> wrote: > On Tue, 1 May 2007, Nate Diller wrote: > > > well, leave it to me to reply too quickly, sorry. i think we should > > leave simple_prepare_write() the way it is, since it's a library > > function itself. the

Re: [PATCH] zero_user_page uses in fs/buffer.c and fs/libfs.c

2007-05-01 Thread Christoph Lameter
On Tue, 1 May 2007, Nate Diller wrote: > well, leave it to me to reply too quickly, sorry. i think we should > leave simple_prepare_write() the way it is, since it's a library > function itself. the other two callsites in your patch are buffers, > which may themselves be smaller than a page so

Re: [ckrm-tech] [PATCH 3/9] Containers (V9): Add tasks file interface

2007-05-01 Thread Balbir Singh
Paul Menage wrote: On 5/1/07, Balbir Singh <[EMAIL PROTECTED]> wrote: > + if (container_is_removed(cont)) { > + retval = -ENODEV; > + goto out2; > + } Can't we make this check prior to kmalloc() and copy_from_user()? We could but I'm not sure what it would buy

Re: Ext3 vs NTFS performance

2007-05-01 Thread Gerhard Mack
On Tue, 1 May 2007, Cabot, Mason B wrote: > Hello all, > > I've been testing the NAS performance of ext3/Openfiler 2.2 against > NTFS/WinXP and have found that NTFS significantly outperforms ext3 for > video workloads. The Windows CIFS client will attempt a poor-man's > pre-allocation of the

Re: netfront for review

2007-05-01 Thread Herbert Xu
On Wed, May 02, 2007 at 01:37:13PM +1000, Rusty Russell wrote: > > > +static int xennet_change_mtu(struct net_device *dev, int mtu) > > +{ > > + int max = xennet_can_sg(dev) ? 65535 - ETH_HLEN : ETH_DATA_LEN; > > + > > + if (mtu > max) > > + return -EINVAL; > > + dev->mtu = mtu; >

Re: [ckrm-tech] [PATCH 1/9] Containers (V9): Basic container framework

2007-05-01 Thread Balbir Singh
Paul Jackson wrote: [[ I have bcc'd one or more batch scheduler experts on this post. They will know who they are, and should be aware that they are not listed in the public cc list of this message. - pj ]] Balbir Singh, responding to Paul Menage's Container patch set on lkml,

Re: netfront for review

2007-05-01 Thread Rusty Russell
On Tue, 2007-05-01 at 17:08 -0700, Jeremy Fitzhardinge wrote: > Add the Xen virtual network device driver. (Herbert: there's a question for you: grep for Herbert) OK, this is a remarkably non-trivial driver. If the v0.1 of the driver had been in the kernel, I'm sure it would have been about 1/4

Re: [ckrm-tech] [PATCH 3/9] Containers (V9): Add tasks file interface

2007-05-01 Thread Srivatsa Vaddagiri
On Tue, May 01, 2007 at 08:25:35PM -0700, Paul Menage wrote: > >- Walk the task table and find relevant members > > That doesn't seem like a terrible solution to me, unless you expect > the class limit to be changing incredibly frequently. yeah i agree. Group limit(s) should not be

Re: [patch] cpusets: allow empty {cpus,mems}_allowed to be set for unpopulated cpuset

2007-05-01 Thread Paul Menage
On 5/1/07, Paul Jackson <[EMAIL PROTECTED]> wrote: Why do you need this? It adds a little more code, and changes semantics a little bit, so I'd think it should have at least a little bit of justfication. We have cases where we'd like to be able to clear the memory nodes away from a

Re: SCSI discover order strangeness [Bug 8412] New: CONFIG_MOUSE_PS2 makes RAID detection fail

2007-05-01 Thread Greg KH
On Tue, May 01, 2007 at 07:46:36PM +1000, Neil Brown wrote: > > My first thought was that the new threaded device discovery was > allowing md init to happen before scsi discovery was complete. Maybe > the presence of CONFIG_MOUSE_PS2 makes some bit go faster... > > However > #

Re: [ckrm-tech] [PATCH 3/9] Containers (V9): Add tasks file interface

2007-05-01 Thread Paul Menage
On 5/1/07, Srivatsa Vaddagiri <[EMAIL PROTECTED]> wrote: For the CPU controller I was working on, (a fast access to) such a list would have been valuable. Basically each task has a weight associated with it (p->load_weight) which is made to depend upon its class limit. Whenever the class limit

[RFC BUG?] dereference PAGE_OFFSET address (rc7-mm2)

2007-05-01 Thread Dan Kruchinin
Hi. I don't know why, but when I'm dereferencing PAGE_OFFSET(0xC000 on x86) address from user space on rc7-mm2 I don't receive SIGSEGV signal and there is no any core dump. btw: on poor rc-7 all is ok. test_code: --- #include #include #include #include #include #include #include

Re: [patch] cpusets: allow empty {cpus,mems}_allowed to be set for unpopulated cpuset

2007-05-01 Thread Paul Jackson
David wrote: > You currently cannot remove all cpus or mems from cpus_allowed or > mems_allowed of a cpuset. We now allow both if there are no attached > tasks. Why do you need this? It adds a little more code, and changes semantics a little bit, so I'd think it should have at least a little

Re: 2.6.21-rc7-mm2 crash: Eeek! page_mapcount(page) went negative! (-1)

2007-05-01 Thread Greg KH
On Tue, May 01, 2007 at 01:26:44PM +0200, Tilman Schmidt wrote: > Am 30.04.2007 21:46 schrieb Andrew Morton: > > Sure, but what about 2.6.21-git3 (or, better, current -git)? > > 2.6.21-git3 crashed with panic blink at "scanning usb: .." > (Nothing in the log this time.) Eeek, that's not good.

Re: [patch 29/33] SONIC interrupt handling, v4

2007-05-01 Thread Finn Thain
Install the built-in macsonic interrupt handler on both IRQs when using via_alt_mapping. Otherwise the rare interrupt that still comes from the nubus slot will wedge the nubus. $ cat /proc/interrupts auto 2: 89176 via2 auto 3: 744367 sonic auto 4: 0 scc auto

Re: [ckrm-tech] [PATCH 3/9] Containers (V9): Add tasks file interface

2007-05-01 Thread Srivatsa Vaddagiri
On Tue, May 01, 2007 at 01:37:24PM -0700, Paul Menage wrote: > > Any chance we could get a per-container task list? It will > > help subsystem writers as well. > > It would be possible, yes - but we probably wouldn't want the overhead > (additional ref counts and list manipulations on every

Re: 2.6.22 -mm merge plans -- vm bugfixes

2007-05-01 Thread Nick Piggin
Hugh Dickins wrote: On Tue, 1 May 2007, Nick Piggin wrote: There were concerns that we could do this more cheaply, but I think it is important to start with a base that is simple and more likely to be correct and build on that. My testing didn't show any obvious problems with performance.

Re: [patch] CFS scheduler, -v8

2007-05-01 Thread Ting Yang
Hi, Ingo My name is Ting Yang, a graduate student from UMASS. I am currently studying the linux scheduler and virtual memory manager to solve some page swapping problems. I am very excited with the new scheduler CFS. After I read through your code, I think that you might be interested in

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

2007-05-01 Thread Jesse Barnes
On Tuesday, May 01, 2007, Jesse Barnes wrote: > On Monday, April 30, 2007, Olivier Galibert wrote: > > On Sun, Apr 29, 2007 at 08:14:37PM -0600, Robert Hancock wrote: > > > -Validate that the area is reserved even if we read it from the > > > chipset directly and not from the MCFG table. This

Re: [PATCH 4/6] UML - free() wrapper should call libc free

2007-05-01 Thread Nick Piggin
Jeff Dike wrote: The libc free wrapper wasn't correctly detecting buffers obtained with malloc(). This is now done by seeing if the page was reserved. This is the case for memory which is left aside for libc and isn't given to the page allocator. If we free a pointer in a reserved page, it is

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

2007-05-01 Thread Jesse Barnes
On Monday, April 30, 2007, Olivier Galibert wrote: > On Sun, Apr 29, 2007 at 08:14:37PM -0600, Robert Hancock wrote: > > -Validate that the area is reserved even if we read it from the > > chipset directly and not from the MCFG table. This catches the case > > where the BIOS didn't set the

Re: Question about Reiser4 (how to boot it?)

2007-05-01 Thread lkml777
On Sat, 28 Apr 2007 20:29:28 +0200, "Andi Kleen" <[EMAIL PROTECTED]> said: > > By any chance did you do that? > > It will likely work with lilo -- it is file system independent as > long as the file system implements the IOC_UNPACK ioctl, which > r4 seems to. > > -Andi I used a kernel and

Re: Why ask Sun for ZFS while we have ReiserFS4 !?

2007-05-01 Thread lkml777
On Mon, 30 Apr 2007 02:18:19 +0800 (CST), "Andrew Wang" <[EMAIL PROTECTED]> said: > ZFS has some nice features, but ReiserFS4 also is a > good file system. Yes, a very GOOD question, considering: REISER4 - THE BEST FILESYSTEM EVER. You can read more here:

Re: sparse -Wptr-subtraction-blows: still needed?

2007-05-01 Thread Dave Jones
On Tue, May 01, 2007 at 02:43:30PM -0700, Linus Torvalds wrote: > > > On Tue, 1 May 2007, Josh Triplett wrote: > > > > Does this still apply? Do current versions of GCC still have this problem? > > If not, can the option and warning go away? > > Even if current versions of gcc don't

Re: Question about Reiser4

2007-05-01 Thread lkml777
OOn Wed, 25 Apr 2007 19:03:12 +0400, "Edward Shishkin" <[EMAIL PROTECTED]> said: > [EMAIL PROTECTED] wrote: > > > > >As I understand it, the default Reiser4 DOES NOT USE any compression at > >all, not even tail compression, > > > > ^tail compression^tail conversion > Reiser4 does use tail

Sparse 0.3 version number

2007-05-01 Thread Josh Triplett
So, the 0.3 release went out...with VERSION=0.2 in the Makefile. Oops. Fortunately, $(VERSION) currently only affects the version number in the pkg-config file sparse.pc. If you have written some software that depends on Sparse, uses pkg-config to check for it with a sufficient version number,

Re: [PATCH] zero_user_page uses in fs/buffer.c and fs/libfs.c

2007-05-01 Thread Nate Diller
On 5/1/07, Nate Diller <[EMAIL PROTECTED]> wrote: On 5/1/07, Christoph Lameter <[EMAIL PROTECTED]> wrote: > On Tue, 1 May 2007, Andrew Morton wrote: > > > As Satyam said, this will sometimes cause us to map and unmap the page > > twice, and to run flush_dcache_page() twice. In

Re: condingstyle, was Re: utrace comments

2007-05-01 Thread Eric W. Biederman
David Howells <[EMAIL PROTECTED]> writes: > John Anthony Kazos Jr. <[EMAIL PROTECTED]> wrote: > >> if (veryverylengthycondition1 >> && smallcond2 >> && (conditionnumber3a >> || condition3b)) { >> ... >> } >> >> Clear, crisp,

Re: [PATCH] zero_user_page uses in fs/buffer.c and fs/libfs.c

2007-05-01 Thread Nate Diller
On 5/1/07, Christoph Lameter <[EMAIL PROTECTED]> wrote: On Tue, 1 May 2007, Andrew Morton wrote: > As Satyam said, this will sometimes cause us to map and unmap the page > twice, and to run flush_dcache_page() twice. In not-terribly-uncommon > circumstances in very frequently called functions.

Re: Fw: [PATCH] ia64: race flushing icache in do_no_page path

2007-05-01 Thread Nick Piggin
Rohit Seth wrote: On Tue, 2007-05-01 at 21:52 +1000, Nick Piggin wrote: Rohit Seth wrote: and it's only interested when it's executable i.e. "lazy_mmu_prot_update" is a name concealing some overdesign. You are right that ia64 is only interested in whne the execute permissions kick in

Re: [linux-dvb] Re: DST/BT878 module customization (.. was: Critical points about ...)

2007-05-01 Thread Mauro Carvalho Chehab
Em Ter, 2007-05-01 às 16:16 -0700, Trent Piepho escreveu: > On Tue, 1 May 2007, Mauro Carvalho Chehab wrote: > > With this configuration, dvb-bt8xx hangs during initialization, > > generating an OOPS, if you have a board with DST (modprobe dvb-bt8xx > > never returns). > > Stupid typo in the

Re: Fw: [PATCH] ia64: race flushing icache in do_no_page path

2007-05-01 Thread Nick Piggin
Rohit Seth wrote: On Tue, 2007-05-01 at 21:39 +1000, Nick Piggin wrote: Rohit Seth wrote: If a user is requesting kernel to do (for example) write on a page that is already mapped with execute and write permissions then it should be treated as if the user space is doing modifications to

Re: 2.6.22 -mm merge plans: mm-more-rmap-checking

2007-05-01 Thread Nick Piggin
Hugh Dickins wrote: On Mon, 30 Apr 2007, Andrew Morton wrote: ... mm-more-rmap-checking.patch ... Misc MM things. Will merge. Would Nick mind very much if I ask you to drop this one? You did CC me ages ago, but I've only just run across it. It's a small matter, but I'd prefer it dropped

Re: arch/i386/boot rewrite, and all the hard-coded video cards

2007-05-01 Thread Vlad
--- Rene Herman <[EMAIL PROTECTED]> wrote: > On 05/02/2007 12:41 AM, Vlad wrote: > > > H. Peter Anvin wrote: > > >> I'm rewriting the i386 setup code in C, instead of assembly, > >> and before I spend a very large amount of time translating > >> all the various card-specific probes, I want to

Re: [PATCH] zero_user_page uses in fs/buffer.c and fs/libfs.c

2007-05-01 Thread Christoph Lameter
On Tue, 1 May 2007, Andrew Morton wrote: > As Satyam said, this will sometimes cause us to map and unmap the page > twice, and to run flush_dcache_page() twice. In not-terribly-uncommon > circumstances in very frequently called functions. > > Doesn't seem worth it to me. Ok but we have that

Re: [stable] to something appropriate (was Re: 2.6.22 -mm merge plans)

2007-05-01 Thread Chris Wright
* Greg KH ([EMAIL PROTECTED]) wrote: > And is this really a problem? The whole goal of the -stable tree was to > accomidate the users who relied on kernel.org kernels, and wanted > bugfixes and security updates. It was not for new features or new > hardware support. > > If people feel we should

[PATCH] mmconfig: Some additional chipset register values validation.

2007-05-01 Thread Olivier Galibert
On i945, a mmconfig range hitting the f000- zone conflicts with the APIC registers and others. Consider it invalid. On E7520, values and f000 for the window register are defined invalid in the documentation. --- I haven't seen a bios use these values, but who trusts biosen

  1   2   3   4   5   6   7   8   9   10   >