Recall: [PATCH] aio: fix kernel bug when page is temporally busy

2007-02-12 Thread Ananiev, Leonid I
Ananiev, Leonid I would like to recall the message, [PATCH] aio: fix kernel bug when page is temporally busy. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Recall: [PATCH] aio: fix kernel bug when page is temporally busy

2007-02-12 Thread Ananiev, Leonid I
Ananiev, Leonid I would like to recall the message, [PATCH] aio: fix kernel bug when page is temporally busy. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

RE: [PATCH] aio: fix kernel bug when page is temporally busy

2007-02-12 Thread Ananiev, Leonid I
Andrew, You wrote on Friday, February 09, 2007 8:53 AM invalidate_inode_pages2() has other callers. I suspect with this change we'll end up leaking EIOCBRETRY back to userspace. The path is modified so that invalidate_inode_pages2() returns EIO as earlier. could you consider modified patch The

[RFC][PATCH] PM: Document requirements for basic PM support in drivers

2007-02-12 Thread Rafael J. Wysocki
Hi, Here's my attempt to document the requirements with respect to the basic PM support in drivers and the testing of that. Comments welcome. Greetings, Rafael --- Documentation/SubmittingDrivers | 10 ++ Documentation/power/drivers-testing.txt | 119

Re: SATA-performance: Linux vs. FreeBSD

2007-02-12 Thread Matthias Schniedermeyer
Martin A. Fink wrote: I have to store big amounts of data coming from 2 digital cameras to disk. Thus I have to write blocks of around 1 MB at 30 to 50 frames per second for a long period of time. So it is important for me that the harddisk drive is reliable in the sense of if it is capable

[PATCH] Make VMSPLIT options less ambiguous

2007-02-12 Thread Simon Arlott
This changes VMSPLIT_2G to really mean 2G, adding VMSPLIT_2G_OPT for the 1920/2176 split. It also prevents either _OPT setting being used when PAE is enabled (http://lkml.org/lkml/2006/12/1/44 - there doesn't appear to be any patches/commits which allow non-1GB boundary VMSPLIT with PAE yet).

[PATCH 000 of 9] knfsd: NFSv4 ACL improvements and a couple of bug fixes.

2007-02-12 Thread NeilBrown
following are 9 patches from Bruce Fields for the NFSv4 server, mostly ACL related. Suitable for 2.6.21. Thanks, NeilBrown [PATCH 001 of 9] knfsd: nfsd4: fix non-terminated string [PATCH 002 of 9] knfsd: nfsd4: relax checking of ACL inheritance bits [PATCH 003 of 9] knfsd: nfsd4: simplify

[PATCH 001 of 9] knfsd: nfsd4: fix non-terminated string

2007-02-12 Thread NeilBrown
From: J. Bruce Fields [EMAIL PROTECTED] The server name is expected to be a null-terminated string, so we can't pass in the raw client identifier. What's more, the client identifier is just a binary, not necessarily printable, blob. Let's just use the ip address instead. The server name

[PATCH 002 of 9] knfsd: nfsd4: relax checking of ACL inheritance bits

2007-02-12 Thread NeilBrown
From: J. Bruce Fields [EMAIL PROTECTED] The rfc allows us to be more permissive about the ACL inheritance bits we accept: If the server supports a single inherit ACE flag that applies to both files and directories, the server may reject the request (i.e., requiring the

[PATCH 005 of 9] knfsd: nfsd4: fix memory leak on kmalloc failure in savemem

2007-02-12 Thread NeilBrown
From: J. Bruce Fields [EMAIL PROTECTED] The wrong pointer is being kfree'd in savemem() when defer_free returns with an error. Signed-off-by: Benny Halevy [EMAIL PROTECTED] Signed-off-by: J. Bruce Fields [EMAIL PROTECTED] Signed-off-by: Neil Brown [EMAIL PROTECTED] ### Diffstat output

[PATCH 004 of 9] knfsd: nfsd4: represent nfsv4 acl with array instead of linked list

2007-02-12 Thread NeilBrown
From: J. Bruce Fields [EMAIL PROTECTED] Simplify the memory management and code a bit by representing acls with an array instead of a linked list. Signed-off-by: J. Bruce Fields [EMAIL PROTECTED] Signed-off-by: Neil Brown [EMAIL PROTECTED] ### Diffstat output ./fs/nfsd/nfs4acl.c| 153

[PATCH 006 of 9] knfsd: nfsd4: fix error return on unsupported acl

2007-02-12 Thread NeilBrown
From: J. Bruce Fields [EMAIL PROTECTED] We should be returning ATTRNOTSUPP, not NOTSUPP, when acls are unsupported. Also fix a comment. Signed-off-by: J. Bruce Fields [EMAIL PROTECTED] Signed-off-by: Neil Brown [EMAIL PROTECTED] ### Diffstat output ./fs/nfsd/nfs4xdr.c |2 +-

[PATCH 003 of 9] knfsd: nfsd4: simplify nfsv4-posix translation

2007-02-12 Thread NeilBrown
From: J. Bruce Fields [EMAIL PROTECTED] The code that splits an incoming nfsv4 ACL into inheritable and effective parts can be combined with the the code that translates each to a posix acl, resulting in simpler code that requires one less pass through the ACL. Signed-off-by: J. Bruce Fields

[PATCH 009 of 9] knfsd: nfsd4: fix handling of directories without default ACLs

2007-02-12 Thread NeilBrown
From: J. Bruce Fields [EMAIL PROTECTED] When setting an ACL that lacks inheritable ACEs on a directory, we should set a default ACL of zero length, not a default ACL with all bits denied. Signed-off-by: J. Bruce Fields [EMAIL PROTECTED] Signed-off-by: Neil Brown [EMAIL PROTECTED] ### Diffstat

[PATCH 007 of 9] knfsd: nfsd4: acls: don't return explicit mask

2007-02-12 Thread NeilBrown
From: J. Bruce Fields [EMAIL PROTECTED] Return just the effective permissions, and forget about the mask. It isn't worth the complexity. WARNING: This breaks backwards compatibility with overly-picky nfsv4-posix acl translation, as may has been included in some patched versions of libacl. To

[PATCH 008 of 9] knfsd: nfsd4: acls: avoid unnecessary denies

2007-02-12 Thread NeilBrown
From: J. Bruce Fields [EMAIL PROTECTED] We're inserting deny's between some ACEs in order to enforce posix draft acl semantics which prevent permissions from accumulating across entries in an acl. That's fine, but we're doing that by inserting a deny after *every* allow, which is overkill. We

Re: Which CPU for VIA C7/Esther?

2007-02-12 Thread Simon Arlott
On 12/02/07 20:16, Dave Jones wrote: On Mon, Feb 12, 2007 at 02:14:41PM -0500, Kyle McMartin wrote: On Mon, Feb 12, 2007 at 06:37:38PM +0100, Mark de Vries wrote: I've been googeling for about an hour now and can't find an answer to: What type of CPU should I select when compiling a

Coding style RFC: convert for (i=0;iARRAY_SIZE(array);i++) to array_for_each(index, array)

2007-02-12 Thread Joe Perches
Now that most of the sizeof(array)/sizeof(array[0]) conversions have been done (there are about 800 done and about another 130 left), perhaps it could be useful to change the code to use a define similar to the list_for_each #define list_for_each(pos, head) \ for (pos = (head)-next;

Re: [RFC][PATCH] PM: Document requirements for basic PM support in drivers

2007-02-12 Thread Nigel Cunningham
Hi. On Tue, 2007-02-13 at 00:23 +0100, Rafael J. Wysocki wrote: Hi, Here's my attempt to document the requirements with respect to the basic PM support in drivers and the testing of that. Comments welcome. Greetings, Rafael --- Documentation/SubmittingDrivers | 10 ++

Re: Which CPU for VIA C7/Esther?

2007-02-12 Thread Dave Jones
On Mon, Feb 12, 2007 at 11:46:46PM +, Simon Arlott wrote: MVIAC3_2 doesn't enable X86_GOOD_APIC which is pretty irrelevant unless you have a dual C7. , try M686 (Pentium-Pro) - but that won't enable MMX and SSE (via -march=c3-2). If gcc generated SSE/MMX instructions that would be a

Re: 2.6.19.1: kernel BUG at mm/slab.c:2911!

2007-02-12 Thread Christoph Lameter
On Tue, 30 Jan 2007, Martin MOKREJ wrote: Hi, is this a known issue? Should I bother to upgrade to 2.6.19.2 if it contains the fix? Thank you any help. It might be related to NFS. The machine in question is NFSv3 client, udp. And used for computations. The process which died is from

[PATCH] Add an option for the VIA C7 which sets appropriate L1 cache

2007-02-12 Thread Simon Arlott
The VIA C7 is a 686 (with TSC) that supports MMX, SSE and SSE2, it also has a cache line length of 64 according to http://www.digit-life.com/articles2/cpu/rmma-via-c7.html. This patch sets gcc to -march=686 and selects the correct cache shift. Signed-off-by: Simon Arlott [EMAIL PROTECTED] ---

Re: [PATCH 2.6.21 review I] [11/25] x86: default to physical mode on hotplug CPU kernels

2007-02-12 Thread Siddha, Suresh B
On Mon, Feb 12, 2007 at 11:36:23PM +0100, Andi Kleen wrote: True, that seems to be missing. I agree that the patch seems to consist mostly of renaming doesn't make it any easier to read. And it's worrying that it doesn't handle the hotplug case at all. This patch is mostly a cleanup patch

Re: Coding style RFC: convert for (i=0;iARRAY_SIZE(array);i++) to array_for_each(index, array)

2007-02-12 Thread Ben Nizette
Joe Perches wrote: Now that most of the sizeof(array)/sizeof(array[0]) conversions have been done (there are about 800 done and about another 130 left), perhaps it could be useful to change the code to use a define similar to the list_for_each #define list_for_each(pos, head) \ for (pos

Re: [patch 3/3, resend] kbuild: correctly skip tilded backups in localversion files

2007-02-12 Thread Oleg Verych
On Mon, Feb 12, 2007 at 02:53:29PM -0800, Linus Torvalds wrote: Hallo. On Mon, 12 Feb 2007, Tony Luck wrote: Git bisect fingers this patch (which is in Linus' tree as commit 76c329563c5b8663ef27eb1bd195885ab826cbd0) as the culprit for double adding the contents of the localversion

Re: [PATCH 2.6.21 review I] [11/25] x86: default to physical mode on hotplug CPU kernels

2007-02-12 Thread Siddha, Suresh B
On Mon, Feb 12, 2007 at 04:10:44PM -0700, Eric W. Biederman wrote: Basically as I commented in genapic_flat, that at least on hyperthreading cpus the destination mask is not always honored, and so if you only allow one hyperthread I have seen the irq show up on the other hyperthread. Which

Re: build error: allnoconfig fails on mincore/swapper_space

2007-02-12 Thread Tony Luck
oops. CONFIG_SWAP=n, I assume? Yes, sorry. Full config attached. metooSame breakage on make allnoconfig for ia64/metoo - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

SATA Drive No Longer Recognized In New 2.6.20 Kernel

2007-02-12 Thread Joseph Cosby
Hi, Until recently I was using the 2.6.18 kernel. I have a SATA hard drive that was detected by the kernel, using the PIIX driver. But after updating to 2.6.20, the hard drive is no longer detected by the kernel. I used make oldconfig to create the 2.6.20 config file, and I noticed a new option

Re: [PATCH] Add an option for the VIA C7 which sets appropriate L1 cache

2007-02-12 Thread Simon Arlott
The VIA C7 is a 686 (with TSC) that supports MMX, SSE and SSE2, it also has a cache line length of 64 according to http://www.digit-life.com/articles2/cpu/rmma-via-c7.html. This patch sets gcc to -march=686 and selects the correct cache shift. This version adds it to include/asm-i386/module.h

Re: [patch 4/9] Remove the TSC synchronization on SMP machines

2007-02-12 Thread Christoph Lameter
On Fri, 2 Feb 2007, Andi Kleen wrote: I've threatened to just disable RDTSC for ring 3 before, but it'll likely never happen because too many programs use it. Those programs are aware that they are fiddling around with low level material but with this patchset we are going to have a non

Re: SATA Drive No Longer Recognized In New 2.6.20 Kernel

2007-02-12 Thread Randy Dunlap
On Mon, 12 Feb 2007 17:30:38 -0700 Joseph Cosby wrote: Hi, Until recently I was using the 2.6.18 kernel. I have a SATA hard drive that was detected by the kernel, using the PIIX driver. But after updating to 2.6.20, the hard drive is no longer detected by the kernel. I used make oldconfig to

Re: SATA Drive No Longer Recognized In New 2.6.20 Kernel

2007-02-12 Thread Robert Hancock
Joseph Cosby wrote: Hi, Until recently I was using the 2.6.18 kernel. I have a SATA hard drive that was detected by the kernel, using the PIIX driver. But after updating to 2.6.20, the hard drive is no longer detected by the kernel. I used make oldconfig to create the 2.6.20 config file, and I

Re: Recent and not-so problems with tifm_sd driver

2007-02-12 Thread Alex Dubov
--- Pierre Ossman [EMAIL PROTECTED] wrote: Alex Dubov wrote: I removed that line altogether (it does not really needed as mmc host will not be accessed anymore). The problem is more elaborate. Here, the card fails, mmc_host_remove is called without sleep beforehand, and after

Re: Coding style RFC: convert for (i=0;iARRAY_SIZE(array);i++) to array_for_each(index, array)

2007-02-12 Thread Joe Perches
On Tue, 2007-02-13 at 11:20 +1100, Ben Nizette wrote: #define array_for_each(element, array) \ for (int __idx = 0; __idx ARRAY_SIZE((array)); \ __idx++, (element) = (array[__idx])) This requires all interior loop code be changed. - To unsubscribe from this list: send

BusLogic check_region patch

2007-02-12 Thread Michael Clay
This patch is meant to remove the calls to check_region, a now deprecated function in order to get rid of compilation warning. This was done by finding all calls to check_region and replacing them with calls to request_region. check_region essentially was a wrapper around request_region, and was

Re: BusLogic check_region patch

2007-02-12 Thread Jeff Garzik
On Mon, Feb 12, 2007 at 04:27:04PM -0800, Michael Clay wrote: This patch is meant to remove the calls to check_region, a now deprecated function in order to get rid of compilation warning. This was done by finding all calls to check_region and replacing them with calls to request_region.

2.6.20-git8 fails compile -- net/built-in.o __ipv6_addr_type

2007-02-12 Thread Pete Clements
2.6.20-git8 fails compile: CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 net/built-in.o: In function `svc_udp_recvfrom': svcsock.c:(.text+0x61be4): undefined reference to `__ipv6_addr_type' make: ***

Re: [PATCH 1/3] Introducing cpuidle: core cpuidle infrastructure

2007-02-12 Thread Dave Jones
On Mon, Feb 12, 2007 at 10:39:25AM -0800, Venkatesh Pallipadi wrote: Introducing 'cpuidle', a new CPU power management infrastructure to manage idle CPUs in a clean and efficient manner. cpuidle separates out the drivers that can provide support for multiple types of idle states and

Re: SATA Drive No Longer Recognized In New 2.6.20 Kernel

2007-02-12 Thread Randy Dunlap
Joseph Cosby wrote: Thanks. Now having enabled the new ATA config options, the vendor-id shows up in my modules pci list. But the hard drive still isn't detected by the kernel. Is there more that needs to be enabled for this to work? Please be more explicit about which options you enabled.

Re: Why can't I build a running Kernel?

2007-02-12 Thread albcamus
2007/2/12, Jiri Slaby [EMAIL PROTECTED]: Config seems to be fine. Please post lspci -vvvxx Attached. and lines from your boot loader. title Fedora Core (2.6.20) root (hd0,1) kernel /vmlinuz-2.6.20 ro root=LABEL=/ vga=0x31B initrd /initrd-2.6.20.img And I have the

Re: Regress for 8139too in 2.6.20

2007-02-12 Thread Larry Finger
Andrew Morton wrote: That's a bit surprising - the initcall levels don't affect modules. Presumably something went wrong in core kernel which later caused yenta and/or 8139too to fail. Have you tried diffing the before- and after-dmesgs to see if that particular commit has caused any

Re: build error: allnoconfig fails on mincore/swapper_space

2007-02-12 Thread Nick Piggin
Andrew Morton wrote: On Mon, 12 Feb 2007 14:50:40 -0800 Randy Dunlap [EMAIL PROTECTED] wrote: 2.6.20-git8 on x86_64: LD init/built-in.o LD .tmp_vmlinux1 mm/built-in.o: In function `sys_mincore': (.text+0xe584): undefined reference to `swapper_space' make: *** [.tmp_vmlinux1] Error

Re: [RFC PATCH] QRCU fastpath optimization

2007-02-12 Thread Paul E. McKenney
On Mon, Feb 12, 2007 at 07:22:09AM +0100, Jens Axboe wrote: On Sun, Feb 11 2007, Paul E. McKenney wrote: This patch optimizes the quick RCU update-side fastpath, so that in the absence of readers, synchronize_qrcu() does four non-atomic comparisons and three memory barriers, eliminating the

Re: Why can't I build a running Kernel?

2007-02-12 Thread Tony.Ho
I have the same problem with 2.6.20. My host is dell PE850: pemtiumD 2.8G X1, MEM 1G X4, SATA 73G X1. albcamus wrote: 2007/2/9, Jiri Slaby [EMAIL PROTECTED]: Reg Clemens napsal(a): Why can't I build a running Kernel? I have in the past, but since some time in the 2.6.19 series, I have

Re: [PATCH] drivers/isdn/gigaset: new M101 driver

2007-02-12 Thread Tilman Schmidt
Am 12.02.2007 19:47 schrieb Greg KH: +static void gigaset_device_release(struct device *dev) +{ + //FIXME anything to do? cf. platform_device_release() +} The memory of the platform device itself needs to be freed here, otherwise, to do it earlier would cause race conditions and oopses. I

Re: [PATCH] drivers/scsi/aic7xxx_old: Convert to generic boolean-values

2007-02-12 Thread Andrew Morton
On Sat, 10 Feb 2007 12:27:42 -0600 James Bottomley [EMAIL PROTECTED] wrote: When discussion about TRUE and FALSE came up a long time a go in the context of the mid layer we agreed to strip the defined constants out of that code and just go with 1 and 0 inline ... because the code was pretty

[PATCH] video4linux: Fix audio input for AverTv Go 007

2007-02-12 Thread Damian Minkov
from Damian Minkov Fix audio input source for capturing(playing) audio on AverTv Go 007 cards. Signed-off-by: Damian Minkov [EMAIL PROTECTED] --- diff -upr a/linux/drivers/media/video/saa7134/saa7134-cards.c b/linux/drivers/media/video/saa7134/saa7134-cards.c ---

Re: [PATCH 1/2] Re: [autofs] Bad race condition in the new autofs protocol somewhere

2007-02-12 Thread Ian Kent
On Mon, 2007-02-12 at 14:57 +0100, Olivier Galibert wrote: On Mon, Feb 12, 2007 at 03:43:14PM +0900, Ian Kent wrote: On Thu, 2007-02-08 at 11:33 +0900, Ian Kent wrote: On Wed, 2007-02-07 at 19:18 +0100, Olivier Galibert wrote: On Thu, Feb 08, 2007 at 03:07:41AM +0900, Ian Kent wrote:

Re: [BUG] 2.6.20 Oopses in xfrm_audit_log

2007-02-12 Thread James Morris
On Mon, 12 Feb 2007, David Miller wrote: Thus, below is the patch I will use to fix this bug: 1) Calling xfrm_audit_log() with a NULL object is a BUG() 2) Setting result based upon NULL'ness of the object makes no sense, either set it to 1 in these cases or use an appropriate error

Re: [take35 0/10] kevent: Generic event handling mechanism.

2007-02-12 Thread Evgeniy Polyakov
On Mon, Feb 05, 2007 at 05:23:36PM +0300, Evgeniy Polyakov ([EMAIL PROTECTED]) wrote: On Thu, Feb 01, 2007 at 01:12:30PM +0300, Evgeniy Polyakov ([EMAIL PROTECTED]) wrote: Generic event handling mechanism. Kevent is a generic subsytem which allows to handle event notifications. It

[take36 6/10] kevent: Pipe notifications.

2007-02-12 Thread Evgeniy Polyakov
Pipe notifications. diff --git a/fs/pipe.c b/fs/pipe.c index 68090e8..0c75bf1 100644 --- a/fs/pipe.c +++ b/fs/pipe.c @@ -16,6 +16,7 @@ #include linux/uio.h #include linux/highmem.h #include linux/pagemap.h +#include linux/kevent.h #include asm/uaccess.h #include asm/ioctls.h @@ -313,6

[take36 1/10] kevent: Description.

2007-02-12 Thread Evgeniy Polyakov
Description. diff --git a/Documentation/kevent.txt b/Documentation/kevent.txt new file mode 100644 index 000..d6e126f --- /dev/null +++ b/Documentation/kevent.txt @@ -0,0 +1,271 @@ +Description. + +int kevent_init(struct kevent_ring *ring, unsigned int ring_size, + unsigned int

[take36 3/10] kevent: poll/select() notifications.

2007-02-12 Thread Evgeniy Polyakov
poll/select() notifications. This patch includes generic poll/select notifications. kevent_poll works simialr to epoll and has the same issues (callback is invoked not from internal state machine of the caller, but through process awake, a lot of allocations and so on). Signed-off-by: Evgeniy

[take36 7/10] kevent: Signal notifications.

2007-02-12 Thread Evgeniy Polyakov
Signal notifications. This type of notifications allows to deliver signals through kevent queue. One can find example application signal.c on project homepage. If KEVENT_SIGNAL_NOMASK bit is set in raw_u64 id then signal will be delivered only through queue, otherwise both delivery types are

[take36 10/10] kevent: Kevent based generic AIO.

2007-02-12 Thread Evgeniy Polyakov
Kevent based generic AIO. This patch only implements network AIO, which is _COMPLETELY_ impossible and broken in _ANY_ micro-thread design. For details and test consider following link: http://tservice.net.ru/~s0mbre/blog/2007/02/10#2007_02_10 Designing AIO without network in mind can only be

[take36 9/10] kevent: Private userspace notifications.

2007-02-12 Thread Evgeniy Polyakov
Private userspace notifications. Allows to register notifications of any private userspace events over kevent. Events can be marked as ready using kevent_ctl(KEVENT_READY) command. Signed-off-by: Evgeniy Polyakov [EMAIL PROTECTED] diff --git a/kernel/kevent/kevent_unotify.c

[take36 8/10] kevent: Kevent posix timer notifications.

2007-02-12 Thread Evgeniy Polyakov
Kevent posix timer notifications. Simple extension to POSIX timers which allows to deliver notification of the timer expiration through kevent queue. Example application posix_timer.c can be found in archive on project homepage. Signed-off-by: Evgeniy Polyakov [EMAIL PROTECTED] diff --git

[take36 4/10] kevent: Socket notifications.

2007-02-12 Thread Evgeniy Polyakov
Socket notifications. This patch includes socket send/recv/accept notifications. Signed-off-by: Evgeniy Polyakov [EMAIL PROTECTED] diff --git a/fs/inode.c b/fs/inode.c index bf21dc6..82817b1 100644 --- a/fs/inode.c +++ b/fs/inode.c @@ -21,6 +21,7 @@ #include linux/cdev.h #include

[take36 5/10] kevent: Timer notifications.

2007-02-12 Thread Evgeniy Polyakov
Timer notifications. Timer notifications can be used for fine grained per-process time management, since interval timers are very inconvenient to use, and they are limited. This subsystem uses high-resolution timers. id.raw[0] is used as number of seconds id.raw[1] is used as number of

Re: [take36 10/10] kevent: Kevent based generic AIO.

2007-02-12 Thread Andi Kleen
Evgeniy Polyakov [EMAIL PROTECTED] writes: aio_sendfile_path() is essentially aio_sendfile(), except that it takes source filename as parameter, has a pointer to private header and its size (which allows to send header and file's content in one syscall instead of three (open, send, sendfile)

Re: [take36 10/10] kevent: Kevent based generic AIO.

2007-02-12 Thread Evgeniy Polyakov
On Mon, Feb 12, 2007 at 02:08:10PM +0100, Andi Kleen ([EMAIL PROTECTED]) wrote: Evgeniy Polyakov [EMAIL PROTECTED] writes: aio_sendfile_path() is essentially aio_sendfile(), except that it takes source filename as parameter, has a pointer to private header and its size (which allows to

Re: [take36 10/10] kevent: Kevent based generic AIO.

2007-02-12 Thread Alan
I'm sure others would want them then for their favourite system call combo too. If they were really useful it might make more sense to have a batch() system call that works for arbitary calls, but I'm not convinced yet it's even needed. It would be certainly ugly. batch() would possibly make

Re: [take36 10/10] kevent: Kevent based generic AIO.

2007-02-12 Thread Evgeniy Polyakov
On Mon, Feb 12, 2007 at 01:12:57PM +, Alan ([EMAIL PROTECTED]) wrote: I'm sure others would want them then for their favourite system call combo too. If they were really useful it might make more sense to have a batch() system call that works for arbitary calls, but I'm not convinced

Re: [take35 0/10] kevent: Generic event handling mechanism.

2007-02-12 Thread Ulrich Drepper
Evgeniy Polyakov wrote: I think that mean that everybody is happy with APi, design and set of features. No comment means that I still have not been able to test anything since regardless of what version I tried, it failed to build. -- ➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧

Re: [ipw3945-devel] [ANNOUNCE] d80211 based driver for Intel PRO/Wireless 3945ABG

2007-02-12 Thread dragoran
Hesse, Christian wrote: On Saturday 10 February 2007 14:23, Hesse, Christian wrote: On Friday 09 February 2007 22:12, James Ketrenos wrote: We are pleased to announce the availability of a new driver for the Intel PRO/Wireless 3945ABG Network Connection adapter. Wow, great news

Re: [take35 0/10] kevent: Generic event handling mechanism.

2007-02-12 Thread Andrew Morton
On Mon, 12 Feb 2007 13:35:10 +0300 Evgeniy Polyakov [EMAIL PROTECTED] wrote: Andrew, do you consider kevent for inclusion or declining? I haven't had time to think about it in the past month or two, sorry. However we might as well get it back in there for review-and-test - please send a new

Re: [ANNOUNCE] d80211 based driver for Intel PRO/Wireless 3945ABG

2007-02-12 Thread James Ketrenos
Hesse, Christian wrote: On Saturday 10 February 2007 14:23, Hesse, Christian wrote: On Friday 09 February 2007 22:12, James Ketrenos wrote: We are pleased to announce the availability of a new driver for the Intel PRO/Wireless 3945ABG Network Connection adapter. ... Oh, I forgot one note:

[ANNOUNCE] sk-drivers mailing list

2007-02-12 Thread Stephen Hemminger
I have created a list for discussing issues and announcing test versions of the skge and sky2 drivers. There are many people with problems and several vendors are using the hardware as well, therefore I want to be able to make sure everyone can see the information without having to be distracted

Re: 2.6.20-git8 fails compile -- net/built-in.o __ipv6_addr_type

2007-02-12 Thread Andrew Morton
On Mon, 12 Feb 2007 20:10:13 -0500 (EST) Pete Clements [EMAIL PROTECTED] wrote: 2.6.20-git8 fails compile: CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 net/built-in.o: In function

Re: 2.6.20-git8 fails compile -- net/built-in.o __ipv6_addr_type

2007-02-12 Thread YOSHIFUJI Hideaki / 吉藤英明
In article [EMAIL PROTECTED] (at Mon, 12 Feb 2007 18:12:16 -0800), Andrew Morton [EMAIL PROTECTED] says: On Mon, 12 Feb 2007 20:10:13 -0500 (EST) Pete Clements [EMAIL PROTECTED] wrote: 2.6.20-git8 fails compile: CHK include/linux/compile.h UPD include/linux/compile.h

Re: 2.6.20-git8 fails compile -- net/built-in.o __ipv6_addr_type

2007-02-12 Thread Pete Clements
Quoting YOSHIFUJIHideaki/=?iso-2022-jp?B?GyRCNUhGIzFRTEAbKEI=?= In article [EMAIL PROTECTED] (at Mon, 12 Feb 2007 18:12:16 -0800), Andrew Morton [EMAIL PROTECTED] says: On Mon, 12 Feb 2007 20:10:13 -0500 (EST) Pete Clements [EMAIL PROTECTED] wrote: 2.6.20-git8 fails compile:

Re: 2.6.20-git8 fails compile -- net/built-in.o __ipv6_addr_type

2007-02-12 Thread Neil Brown
On Monday February 12, [EMAIL PROTECTED] wrote: Quoting YOSHIFUJIHideaki/=?iso-2022-jp?B?GyRCNUhGIzFRTEAbKEI=?= In article [EMAIL PROTECTED] (at Mon, 12 Feb 2007 18:12:16 -0800), Andrew Morton [EMAIL PROTECTED] says: On Mon, 12 Feb 2007 20:10:13 -0500 (EST) Pete Clements [EMAIL

Re: 2.6.20-git8 fails compile -- net/built-in.o __ipv6_addr_type

2007-02-12 Thread YOSHIFUJI Hideaki / 吉藤英明
In article [EMAIL PROTECTED] (at Mon, 12 Feb 2007 21:35:59 -0500 (EST)), Pete Clements [EMAIL PROTECTED] says: Quoting YOSHIFUJIHideaki/=?iso-2022-jp?B?GyRCNUhGIzFRTEAbKEI=?= In article [EMAIL PROTECTED] (at Mon, 12 Feb 2007 18:12:16 -0800), Andrew Morton [EMAIL PROTECTED] says:

Re: utrace regressions (was: -mm merge plans for 2.6.21)

2007-02-12 Thread Roland McGrath
We're aware of two regressions compared to mainline if ptrace is utrace: Thanks very much for bringing these to my attention. 1) zero holes for PTRACE_PEEKUSR vanished. I've fixed this in the current patches. 2. The following proggie renders box unusable in ~10 seconds (but not mainline

Re: 2.6.20-git8 fails compile -- net/built-in.o __ipv6_addr_type

2007-02-12 Thread Pete Clements
Patched, compiles. -- Pete Clements Quoting YOSHIFUJI Hideaki / =?iso-2022-jp?B?GyRCNUhGIzFRTEAbKEI=?= Ah, this is because of new ipv6 support in sunrpc code. Enable it if it is statically compiled. Alternatively, we could - export __ipv6_addr_type in new

Re: [PATCH 0/7] containers (V7): Generic Process Containers

2007-02-12 Thread Paul Menage
On 2/12/07, Sam Vilain [EMAIL PROTECTED] wrote: I know I'm a bit out of touch, but AIUI the NSProxy *is* the container. We decided a long time ago that a container was basically just a set of namespaces, which includes all of the subsystems you mention. You may have done that, but the

Re: [PATCH 0/7] containers (V7): Generic Process Containers

2007-02-12 Thread Paul Menage
On 2/12/07, Serge E. Hallyn [EMAIL PROTECTED] wrote: Well it's an unfortunate conflict, but I don't see where we have any standing to make Paul change his terminology :) I have no huge problem with changing my terminology in the interest of wider adoption. Container seems like an appropriate

Re: [PATCH 0/7] containers (V7): Generic Process Containers

2007-02-12 Thread Sam Vilain
Paul Menage wrote: I know I'm a bit out of touch, but AIUI the NSProxy *is* the container. We decided a long time ago that a container was basically just a set of namespaces, which includes all of the subsystems you mention. You may have done that, but the CKRM/ResGroups independently

Re: [ckrm-tech] [PATCH 0/7] containers (V7): Generic Process Containers

2007-02-12 Thread Paul Menage
On 2/12/07, Sam Vilain [EMAIL PROTECTED] wrote: Ask yourself this - what do you need the container structure for so badly, that virtualising the individual resources does not provide for? Primarily, that otherwise every module that wants to affect/monitor behaviour of a group of associated

Re: [ckrm-tech] [PATCH 0/7] containers (V7): Generic Process Containers

2007-02-12 Thread Sam Vilain
Paul Menage wrote: Ask yourself this - what do you need the container structure for so badly, that virtualising the individual resources does not provide for? Primarily, that otherwise every module that wants to affect/monitor behaviour of a group of associated processes has to implement

Re: [ckrm-tech] [PATCH 0/7] containers (V7): Generic Process Containers

2007-02-12 Thread Paul Menage
On 2/12/07, Sam Vilain [EMAIL PROTECTED] wrote: Not every module, you just make them on sensible, planned groupings. The danger is that the container group becomes a fallback grouping for things when people can't be bothered thinking about it properly, and everything including the kitchen sink

Re: [PATCH 1/7] containers (V7): Generic container system abstracted from cpusets code

2007-02-12 Thread Srivatsa Vaddagiri
On Mon, Feb 12, 2007 at 12:15:22AM -0800, [EMAIL PROTECTED] wrote: +void container_fork(struct task_struct *child) +{ + task_lock(current); Can't this be just rcu_read_lock()? + child-container = current-container; + atomic_inc(child-container-count); +

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

2007-02-12 Thread Srivatsa Vaddagiri
On Mon, Feb 12, 2007 at 12:15:24AM -0800, [EMAIL PROTECTED] wrote: +/* + * Call css_get() to hold a reference on the container; following a + * return of 0, this container subsystem state object is guaranteed + * not to be destroyed until css_put() is called on it. A non-zero + * return code

Re: [PATCH 6/7] containers (V7): BeanCounters over generic process containers

2007-02-12 Thread Srivatsa Vaddagiri
On Mon, Feb 12, 2007 at 12:15:27AM -0800, [EMAIL PROTECTED] wrote: This patch implements the BeanCounter resource control abstraction over generic process containers. Forgive my confusion, but do we really need two-levels of resource control abstraction here? Why can't resource controllers

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

2007-02-12 Thread Paul Menage
On 2/12/07, Srivatsa Vaddagiri [EMAIL PROTECTED] wrote: On Mon, Feb 12, 2007 at 12:15:24AM -0800, [EMAIL PROTECTED] wrote: +/* + * Call css_get() to hold a reference on the container; following a + * return of 0, this container subsystem state object is guaranteed + * not to be destroyed

Re: [PATCH 6/7] containers (V7): BeanCounters over generic process containers

2007-02-12 Thread Paul Menage
On 2/12/07, Srivatsa Vaddagiri [EMAIL PROTECTED] wrote: On Mon, Feb 12, 2007 at 12:15:27AM -0800, [EMAIL PROTECTED] wrote: This patch implements the BeanCounter resource control abstraction over generic process containers. Forgive my confusion, but do we really need two-levels of resource

Re: [PATCH 1/7] containers (V7): Generic container system abstracted from cpusets code

2007-02-12 Thread Paul Menage
On 2/12/07, Srivatsa Vaddagiri [EMAIL PROTECTED] wrote: On Mon, Feb 12, 2007 at 12:15:22AM -0800, [EMAIL PROTECTED] wrote: +void container_fork(struct task_struct *child) +{ + task_lock(current); Can't this be just rcu_read_lock()? In this particular patch (which is an almost verbatim

Re: [PATCH 1/7] containers (V7): Generic container system abstracted from cpusets code

2007-02-12 Thread Paul Menage
On 2/12/07, Paul Menage [EMAIL PROTECTED] wrote: reaches zero. RCU is still fine for reading the container_group pointers, but it's no good for updating them, since by the time you update it it may no longer be your container_group structure, and may instead be about to be deleted as soon as the

Re: Coding style RFC: convert for (i=0;iARRAY_SIZE(array);i++) to array_for_each(index, array)

2007-02-12 Thread Nick Piggin
Joe Perches wrote: On Tue, 2007-02-13 at 11:20 +1100, Ben Nizette wrote: #define array_for_each(element, array) \ for (int __idx = 0; __idx ARRAY_SIZE((array)); \ __idx++, (element) = (array[__idx])) This requires all interior loop code be changed. Ben is right

Re: Why can't I build a running Kernel?

2007-02-12 Thread Tony.Ho
In addition This problem is not appear on another PC host with the same hardware(CPU,HD) except MEM is 2G. OS is origin RHEL4 without updates. Tony.Ho wrote: I have the same problem with 2.6.20. My host is dell PE850: pemtiumD 2.8G X1, MEM 1G X4, SATA 73G X1. albcamus wrote:

Re: 2.6.20-git8 fails compile -- net/built-in.o __ipv6_addr_type

2007-02-12 Thread David Miller
From: Pete Clements [EMAIL PROTECTED] Date: Mon, 12 Feb 2007 20:10:13 -0500 (EST) 2.6.20-git8 fails compile: CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 net/built-in.o: In function

Re: [patch 3/3, resend] kbuild: correctly skip tilded backups in localversion files

2007-02-12 Thread Oleg Verych
[] The old code did the same thing, but with the make $(sort ..) function, which apparently removes duplicates. We should use sort -u here. Heh. Why one ever going to bloat $(srctree) to add more dontdiff and such, where build is supporting dirty output? I mean, all by-hand modifications

Re: [PATCH 12/22] elevate write count files are open()ed

2007-02-12 Thread Andrew Morton
On Fri, 09 Feb 2007 14:53:37 -0800 Dave Hansen [EMAIL PROTECTED] wrote: diff -puN fs/file_table.c~14-24-tricky-elevate-write-count-files-are-open-ed fs/file_table.c --- lxc/fs/file_table.c~14-24-tricky-elevate-write-count-files-are-open-ed 2007-02-09 14:26:54.0 -0800 +++

Re: [PATCH mm] cfag12864b: fix crash when built-in and no parport present

2007-02-12 Thread Andrew Morton
On Sat, 10 Feb 2007 20:51:23 +0100 Miguel Ojeda [EMAIL PROTECTED] wrote: Andrew, Daniel who reported the crash has tested this patch and says that it works fine avoiding it, so you can merge. drivers-add-lcd-support-fix-crash-when-built-in-and-no-parport-present.patch Signed-off-by: Miguel

Re: Experimental driver for Ricoh Bay1Controller SD Card readers

2007-02-12 Thread Pierre Ossman
Sascha Sommer wrote: I still consider this driver experimental, but without documentation this is probably not going to change anytime soon. The question is now what I should do with the driver? Is it worth to be included in the kernel? If yes where and against what kernelversion should I

Re: [PATCH 2.6.20-rc5 1/1] MM: enhance Linux swap subsystem

2007-02-12 Thread yunfeng zhang
You can apply my previous patch on 2.6.20 by changing -#define VM_PURE_PRIVATE0x0400 /* Is the vma is only belonging to a mm, to +#define VM_PURE_PRIVATE0x0800 /* Is the vma is only belonging to a mm, New revision is based on 2.6.20 with my previous patch,

Re: [patch 0/3] 2.6.20 fix for PageUptodate memorder problem (try 3)

2007-02-12 Thread Nick Piggin
On Sat, Feb 10, 2007 at 11:44:55PM +0100, Martin Schwidefsky wrote: On Sat, 2007-02-10 at 03:31 +0100, Nick Piggin wrote: SetNewPageUptodate does not do the S390 page_test_and_clear_dirty, so I'd like to make sure that's OK. An I/O operation on s390 will set the dirty bit for a page. That

RE: /proc/acpi/ac_adapter/AC is missing after latest ACPI merge

2007-02-12 Thread Lebedev, Vladimir P
On Monday 12 February 2007 13:45, Ismail Dönmez wrote: Hi all, After latest ACPI merge /proc/acpi/ac_adapter/AC has gone fishing : [~] ls -al /proc/acpi/ac_adapter/ dr-xr-xr-x 2 root root 0 Şub 12 20:44 ADP1 [~] ls -al /proc/acpi/ac_adapter/ADP1 -r--r--r-- 1 root root 0 Şub 12 20:44

[PATCH] knfsd: Stop NFSD writes from being broken into lots of little writes to filesystem.

2007-02-12 Thread NeilBrown
Another nfsd patch for 2.6.21... ### Comments for Changeset When NFSD receives a write request, the data is typically in a number of 1448 byte segments and writev is used to collect them together. Unfortunately, generic_file_buffered_write passes these to the filesystem one at a time, so an

[patch] mm: NUMA replicated pagecache

2007-02-12 Thread Nick Piggin
Hi, Just tinkering around with this and got something working, so I'll see if anyone else wants to try it. Not proposing for inclusion, but I'd be interested in comments or results. Thanks, Nick -- Page-based NUMA pagecache replication. This is a scheme for page replication replicates

<    3   4   5   6   7   8   9   >