Re: libata: Fix host-simplex_claimed != ap typo

2007-03-08 Thread Jeff Garzik
Alan Cox wrote: On Thu, 08 Mar 2007 23:17:00 +0900 OGAWA Hirofumi [EMAIL PROTECTED] wrote: Hi, the following patch is needed to boot my laptop using pata_ali.ko, at least. Please apply. NAK - correct fix is to check != != NULL. The correct fix was posted to the list earlier by Vojtech.

Re: Linux v2.6.20-rc5

2007-03-08 Thread Jeff Chua
On 3/8/07, albcamus [EMAIL PROTECTED] wrote: I guess that it is because 'paravirt_ops' was exported as GPL symbol, whereas the vmware module doen't declare any license. I tried to add the following line: MODULE_LICENSE(GPL); into vmmon.tar and vmnet.tar under /usr/lib/vmare/modules/source/,

Re: libata: Fix host-simplex_claimed != ap typo

2007-03-08 Thread Alan Cox
On Thu, 08 Mar 2007 10:18:24 -0500 Jeff Garzik [EMAIL PROTECTED] wrote: Alan Cox wrote: On Thu, 08 Mar 2007 23:17:00 +0900 OGAWA Hirofumi [EMAIL PROTECTED] wrote: Hi, the following patch is needed to boot my laptop using pata_ali.ko, at least. Please apply. NAK - correct

Re: 2.6.21-rc3-mm1

2007-03-08 Thread John W. Linville
On Wed, Mar 07, 2007 at 08:18:39PM -0800, Andrew Morton wrote: - The wireless changes in here need a lot of testers, please. It is major rework. Of course the config files got all changed around so `make oldconfig' breaks everything. I was able to get ipw2200 working after some

Re: Problem with freezable workqueues

2007-03-08 Thread Johannes Berg
On Tue, 2007-03-06 at 21:31 +0100, Rafael J. Wysocki wrote: For now, we have decided to make the workqueues nonfreezable (the patch for that has already been merged, AFAICT). It isn't in 2.6.21-rc3. I wanted to adapt the BUG_ON(block IO not from suspend code) patch from suspend2 but

Re: [ANNOUNCE] RSDL completely fair starvation free interactive cpu scheduler

2007-03-08 Thread Tim Tassonis
Hi Con Just also wanted to throw in my less than two cents: I applied the patch and also have the very strong subjective impression that my system feels much more responsive than with stock 2.6.20. Thanks for the great work. Bye Tim - To unsubscribe from this list: send the line unsubscribe

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Michal Piotrowski
Takashi Iwai napisał(a): At Wed, 07 Mar 2007 23:22:36 +0100, Michal Piotrowski wrote: Hi Takashi, Takashi Iwai napisał(a): At Wed, 7 Mar 2007 11:50:24 -0800, Andrew Morton wrote: On Wed, 7 Mar 2007 20:41:30 +0100 Michal Piotrowski [EMAIL PROTECTED] wrote:

Re: [patch 2/5] signalfd v2 - signalfd core ...

2007-03-08 Thread Davide Libenzi
On Thu, 8 Mar 2007, David M. Lloyd wrote: On Wed, 2007-03-07 at 17:21 -0800, Davide Libenzi wrote: int signalfd_dequeue(int fd, siginfo_t *info, long timeo); The fd parameter must ba a signalfd file descriptor. The info parameter is a pointer to the siginfo that will receive the

[PATCH] tty: Revised diff for the i386/x86_64 arbitary speed support

2007-03-08 Thread Alan Cox
Adding some more test cases found a bug in the definition of IBSHIFT. At the moment we have no hardware support for split baud rates but this showed up once I did testing of that... Replaces the previous diff. Signed-off-by: Alan Cox [EMAIL PROTECTED] diff -u --new-file --recursive

Re: Problem with libata-pata, ATAPI DVD reader and a copy-protected audio cd

2007-03-08 Thread GhePeU
Il giorno gio, 08/03/2007 alle 14.35 +0100, GhePeU ha scritto: Well, it happened again, with a different cd, and this time I never started the player: hal/g-v-m tried to access the CD and now my driver is in PIO2 mode and pretty much unusable. Is there a way to fix this without rebooting?

[RFC][Patch 0/6] integrity service framework and provider

2007-03-08 Thread Mimi Zohar
This is a request for comments for updates to the integrity service framework, previously accepted into -mm, and EVM a new integrity service provider. A new LSM module called Integrity Based Access Control(IBAC), a consumer of the integrity framework API, will be posted separately to the LSM

[RFC][Patch 1/6] integrity: new hooks

2007-03-08 Thread Mimi Zohar
This patch adds integrity hooks used to implement an integrity service provider and updates the previously submitted dummy provider to support these new hooks. Index: linux-2.6.21-rc3-mm2/security/integrity_dummy.c === ---

[RFC][Patch 2/6] integrity: fs hook placement

2007-03-08 Thread Mimi Zohar
This patch places calls to the new integrity hooks in the appropriate places in the fs directory. It is not meant in any way to be viewed as a complete set, but used as a basis for an initial discussion. Index: linux-2.6.21-rc3-mm2/fs/ext3/xattr_security.c

[RFC][Patch 3/6] integrity: EVM as an integrity service provider

2007-03-08 Thread Mimi Zohar
This is a re-release of EVM as an integrity service provider. The initial EVM release was as an LSM module. It has been substantially rewritten to provide support for the new integrity service framework API, which permits applications, such as LSM modules, to verify the integrity of the metadata

[RFC][Patch 4/6] integrity: IMA integrity_measure() support

2007-03-08 Thread Mimi Zohar
This is a re-release of Integrity Measurement Architecture(IMA) as a method of providing support for the integrity service framework API integrity_measure() call. When integrity_measure() is called, IMA submits the measurement (hash) of the file to the TPM chip, for inclusion in one of the chip's

[RFC][Patch 6/6] integrity: TPM internal kernel interface

2007-03-08 Thread Mimi Zohar
Index: linux-2.6.21-rc3-mm2/drivers/char/tpm/tpm.c === --- linux-2.6.21-rc3-mm2.orig/drivers/char/tpm/tpm.c +++ linux-2.6.21-rc3-mm2/drivers/char/tpm/tpm.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004 IBM Corporation + * Copyright (C)

[RFC][Patch 5/6] integrity: mtime patch for mmap files

2007-03-08 Thread Mimi Zohar
This is a minimal subset of Peter Staubach's July patch, updated to apply to the latest kernel. The subset was chosen to demonstrate that mmaped files are hashed and hmac properly by EVM after being modified when a file's mtime is updated correctly. Index: linux-2.6.21-rc3-mm2/fs/inode.c

Re: [patch] epoll use a single inode ...

2007-03-08 Thread Linus Torvalds
On Thu, 8 Mar 2007, Eric Dumazet wrote: Signed-off-by: Eric Dumazet [EMAIL PROTECTED] CC: Christoph Hellwig [EMAIL PROTECTED] CC: Linus Torvalds [EMAIL PROTECTED] Acked-by: Linus Torvalds [EMAIL PROTECTED] Except you should fix the subject line when you send it out to Andrew ;)

Re: PAGE_SIZE Availability Inconsistency

2007-03-08 Thread Arjan van de Ven
On Thu, 2007-03-08 at 09:00 +, Christoph Hellwig wrote: On Thu, Mar 08, 2007 at 03:18:04AM +0100, Roman Zippel wrote: Hi, On Tuesday 06 March 2007 10:29, Christoph Hellwig wrote: PAGE_SIZE should not be available at all. Please use getpagesize() instead. While I agree,

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Takashi Iwai
At Thu, 08 Mar 2007 16:42:26 +0100, Michal Piotrowski wrote: Takashi Iwai napisał(a): At Wed, 07 Mar 2007 23:22:36 +0100, Michal Piotrowski wrote: Hi Takashi, Takashi Iwai napisał(a): At Wed, 7 Mar 2007 11:50:24 -0800, Andrew Morton wrote: On Wed, 7 Mar 2007 20:41:30 +0100

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Takashi Iwai
At Thu, 08 Mar 2007 16:42:26 +0100, Michal Piotrowski wrote: Also, it'd be helpful if you compare /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the patch. This reveals which register bits differ actually. a2.txt is form 2.6.21-rc3 witchout

Re: Radeon xpress 200m and radeonfb kinda work

2007-03-08 Thread Chuck Ebbert
johan henriksson wrote: As you can see in the patch I have disabled Dynamic Clock PM since it makes my card freak out (Don't know why :( ). Is there a reason why the default_dynclk parameter only is available when radeonfb is built as a module or should it be added to radeonfb_setup? I don't

Re: refcounting drivers' data structures used in sysfs buffers

2007-03-08 Thread Alan Stern
On Thu, 8 Mar 2007, Oliver Neukum wrote: Hi, after a lightning bolt from high above I've been looking into refcounting the data structures drivers use to provide the data used to refill sysfs buffers. I've come to the following conclusion. 1. struct sysfs_buffer must have a struct kref *

Re: Problem with libata-pata, ATAPI DVD reader and a copy-protected audio cd

2007-03-08 Thread Alan Cox
Well, it happened again, with a different cd, and this time I never started the player: hal/g-v-m tried to access the CD and now my driver is in PIO2 mode and pretty much unusable. Is there a way to fix this without rebooting? Hard to tell. If it happens again then a dmesg after it misbehaves

Re: PAGE_SIZE Availability Inconsistency

2007-03-08 Thread Christoph Hellwig
On Thu, Mar 08, 2007 at 07:53:49AM -0800, Arjan van de Ven wrote: PAGE_SIZE should not be available at all. Please use getpagesize() instead. While I agree, NBPG is a bit of a problem, although it's only needed for aout coredumps AFAICT, but still needed to compile e.g.

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Takashi Iwai
At Thu, 08 Mar 2007 16:42:26 +0100, Michal Piotrowski wrote: Also, it'd be helpful if you compare /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the patch. This reveals which register bits differ actually. a2.txt is form 2.6.21-rc3 witchout

[PATCH] PPC: Correct apparently misspelled XMON preprocessor directive.

2007-03-08 Thread Robert P. J. Day
Correct the apparent misspelling of XMON to CONFIG_XMON. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] --- i'm only *guessing* that this is a typo, given that the file arch/powerpc/Kconfig.debug defines the XMON config variable. diff --git a/arch/powerpc/platforms/chrp/setup.c

Re: [patch 2/5] signalfd v2 - signalfd core ...

2007-03-08 Thread Linus Torvalds
On Thu, 8 Mar 2007, Davide Libenzi wrote: This patch, if you get a POLLIN, you have a signal to read for sure (well, unless you another thread/task reads it before you - but that's just somthing you have to take care). There is not explicit check for O_NONBLOCK now, but a zero timeout

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Michal Piotrowski
On 08/03/07, Takashi Iwai [EMAIL PROTECTED] wrote: At Thu, 08 Mar 2007 16:42:26 +0100, Michal Piotrowski wrote: Also, it'd be helpful if you compare /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the patch. This reveals which register bits differ actually. a2.txt is

Re: Problem with libata-pata, ATAPI DVD reader and a copy-protected audio cd

2007-03-08 Thread GhePeU
Il giorno gio, 08/03/2007 alle 17.07 +, Alan Cox ha scritto: Well, it happened again, with a different cd, and this time I never started the player: hal/g-v-m tried to access the CD and now my driver is in PIO2 mode and pretty much unusable. Is there a way to fix this without

Re: Request change in behaviour of capability inheritance.

2007-03-08 Thread Casey Schaufler
--- [EMAIL PROTECTED] wrote: I think that the current behaviour of capability inheritance across exec() is not optimal. The current behaviour consists in all effective and permitted capabilities are cleared across a exec(). This is because it seems to be intended that in the future the

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Takashi Iwai
At Thu, 8 Mar 2007 17:26:48 +0100, Michal Piotrowski wrote: On 08/03/07, Takashi Iwai [EMAIL PROTECTED] wrote: At Thu, 08 Mar 2007 16:42:26 +0100, Michal Piotrowski wrote: Takashi Iwai napisał(a): Or, does it happen if you play a real 5.1 channel file? (for example, try

Re: [patch 2/5] signalfd v2 - signalfd core ...

2007-03-08 Thread Davide Libenzi
On Thu, 8 Mar 2007, Linus Torvalds wrote: You missed David's worry, I think. Not only is POLLIN potentially an edge event (depending on the interface you use to fetch it), but even as a level-triggered one you generally want to read as much as possible per POLLIN event, and go back to the

Networking Question [ot]

2007-03-08 Thread Marc Perkel
This may be a little off topic but I know there's people here that can give me a quick answer. I'm running Fedora Core 6 and I have two blocks of IP addresses on eth0. 69.50.231.0/28 69.50.231.128/26 Do I need to set some kind of static route so that IPs in one set can talk to the other? If so

Re: 2.6.21-rc3-mm1

2007-03-08 Thread Dave Jones
On Thu, Mar 08, 2007 at 09:50:43AM -0500, John W. Linville wrote: On Wed, Mar 07, 2007 at 08:18:39PM -0800, Andrew Morton wrote: By removing NET_RADIO, these changes pave the way to making wireless extensions optional when cfg80211 can fully take over for some drivers

Re: Kernel threads

2007-03-08 Thread Oleg Nesterov
Andrew Morton wrote: On Tue, 6 Mar 2007 11:03:48 -0500 linux-os \(Dick Johnson\) [EMAIL PROTECTED] wrote: In linux-2.6.16.24, there is a problem with kernel threads and the aic79xx.c driver. When nash is executing /initrd/linuxrc in the initial RAM disk during boot, it will be

[QUESTION] outl and writel endianity

2007-03-08 Thread Jiri Slaby
Hi. If I use outl everything seems to be OK. Is there any difference in endianity between outl and writel (or iowrite32, which calls writel, I guess). When I do outl(val, p-ibase + 4*off); everyhting is OK, but when I do writel(val, p-iaddr + off); bad value is written unless I use

Re: [RFC][Patch 1/6] integrity: new hooks

2007-03-08 Thread Chris Wright
* Mimi Zohar ([EMAIL PROTECTED]) wrote: +static int dummy_inode_setxattr(struct dentry *dentry, char *name, void *value, + size_t size, int flags) +{ + if (!strncmp(name, XATTR_SECURITY_PREFIX, + sizeof(XATTR_SECURITY_PREFIX) - 1) +

Re: [patch 2/5] signalfd v2 - signalfd core ...

2007-03-08 Thread Michael K. Edwards
On 3/8/07, Davide Libenzi davidel@xmailserver.org wrote: The reason for the special function, was not to provide a non-blocking behaviour with zero timeout (that just a side effect), but to read the siginfo. I was all about using read(2) (and v1 used it), but when you have to transfer complex

Re: [PATCH] chaostables

2007-03-08 Thread Jan Engelhardt
(I suspect a mailserver issue on my side, since I did not receive the replies from Alan or Patrick. But lkml.org has them, so I will be replying to both them there.) On Mar 8 2007 09:55, James Morris wrote: On Thu, 8 Mar 2007, Alan Cox wrote: Any chance of tweaking the name - it's just

Re: [RFC][Patch 2/6] integrity: fs hook placement

2007-03-08 Thread Chris Wright
* Mimi Zohar ([EMAIL PROTECTED]) wrote: + integrity_d_instantiate(entry, inode); security_d_instantiate(entry, inode); + integrity_d_instantiate(entry, inode); security_d_instantiate(entry, inode); spin_unlock(dcache_lock); +

swsusp: platform notifications not properly undone in case of error

2007-03-08 Thread Pavel Machek
Hi! Using IPI No-Shortcut mode swsusp: Resume From Partition /dev/sda1 PM: Checking swsusp image. swsusp: Signature found, resuming PM: Preparing processes for restore. Stopping tasks ... done. PM: Reading swsusp image. Loading image data pages (125285 pages) ... 3swsusp: Resume mismatch:

Re: [Patch 1/2] add for_each_substring() and match_substring()

2007-03-08 Thread Bastian Blank
On Tue, Mar 06, 2007 at 08:19:23PM +0100, Martin Peschke wrote: +char *match_to(const char *cs, const char *ct) +{ + char *delim = strpbrk(cs, ct); + if (delim) + return delim; + else if (*cs != '\0') + return (char *)(cs + strlen(cs)); This disallows

Re: PAGE_SIZE Availability Inconsistency

2007-03-08 Thread Daniel Jacobowitz
On Thu, Mar 08, 2007 at 04:08:52PM +, Christoph Hellwig wrote: No, no no. We should never export PAGE_SIZE. We might export NBPG as deprecated symbol for gdb if it really needs it, but that should happen only on a.out systems, and it it should be a true constant, not depending on

[PATCH] tty: Turn on arbitary baud rate ioctls for i386 platform

2007-03-08 Thread Alan Cox
Adds the needed TCGETS2/TCSETS2 ioctl calls, structures, defines and the like. Tested against the test suite and passes. Other platforms should need roughly the same change. Signed-off-by: Alan Cox [EMAIL PROTECTED] diff -u --new-file --recursive --exclude-from /usr/src/exclude

Re: should RTS init in serial core be tied to CRTSCTS

2007-03-08 Thread Robin Getz
On Wed 7 Mar 2007 16:30, Oleksiy Kebkal pondered: 2007/3/7, Robin Getz [EMAIL PROTECTED]: Right - so the question is where to manage the default state? I was thinking in the resource might be a good idea, but there isn't really a good place for it. (You could re-use some bits if flags, but

Re: should RTS init in serial core be tied to CRTSCTS

2007-03-08 Thread Russell King
On Thu, Mar 08, 2007 at 08:44:31AM -0500, Robin Getz wrote: On Wed 7 Mar 2007 16:30, Oleksiy Kebkal pondered: 2007/3/7, Robin Getz [EMAIL PROTECTED]: Right - so the question is where to manage the default state? I was thinking in the resource might be a good idea, but there isn't really a

Re: should RTS init in serial core be tied to CRTSCTS

2007-03-08 Thread Carl-Daniel Hailfinger
Hi, On 08.03.2007 14:48, Russell King wrote: As I've said already, having a console on the same port as your application program is just asking for trouble. All bets are off - the kernel _will_ corrupt your data stream in random places. Don't do it - it will _NEVER_ be reliable. Never,

Re: should RTS init in serial core be tied to CRTSCTS

2007-03-08 Thread Russell King
On Thu, Mar 08, 2007 at 03:16:08PM +0100, Carl-Daniel Hailfinger wrote: Hi, On 08.03.2007 14:48, Russell King wrote: As I've said already, having a console on the same port as your application program is just asking for trouble. All bets are off - the kernel _will_ corrupt your data

Re: should RTS init in serial core be tied to CRTSCTS

2007-03-08 Thread Oleksiy Kebkal
2007/3/8, Russell King [EMAIL PROTECTED]: On Thu, Mar 08, 2007 at 08:44:31AM -0500, Robin Getz wrote: On Wed 7 Mar 2007 16:30, Oleksiy Kebkal pondered: 2007/3/7, Robin Getz [EMAIL PROTECTED]: Right - so the question is where to manage the default state? I was thinking in the resource

Re: should RTS init in serial core be tied to CRTSCTS

2007-03-08 Thread Oleksiy Kebkal
2007/3/8, Russell King [EMAIL PROTECTED]: On Thu, Mar 08, 2007 at 08:44:31AM -0500, Robin Getz wrote: On Wed 7 Mar 2007 16:30, Oleksiy Kebkal pondered: 2007/3/7, Robin Getz [EMAIL PROTECTED]: Right - so the question is where to manage the default state? I was thinking in the resource

Re: should RTS init in serial core be tied to CRTSCTS

2007-03-08 Thread Russell King
On Thu, Mar 08, 2007 at 03:23:49PM +0100, Oleksiy Kebkal wrote: 2007/3/8, Russell King [EMAIL PROTECTED]: On Thu, Mar 08, 2007 at 08:44:31AM -0500, Robin Getz wrote: On Wed 7 Mar 2007 16:30, Oleksiy Kebkal pondered: 2007/3/7, Robin Getz [EMAIL PROTECTED]: Right - so the question is

Re: should RTS init in serial core be tied to CRTSCTS

2007-03-08 Thread Oleksiy Kebkal
2007/3/8, Russell King [EMAIL PROTECTED]: On Thu, Mar 08, 2007 at 03:23:49PM +0100, Oleksiy Kebkal wrote: Ok. I understand now one of the sources of misunderstanding. I don't want to mix console and application serial port. It's not a misunderstanding if you realise that email is threaded and

Re: [PATCH] tty: Turn on arbitary baud rate ioctls for i386 platform

2007-03-08 Thread Arjan van de Ven
On Thu, 2007-03-08 at 14:44 +, Alan Cox wrote: Adds the needed TCGETS2/TCSETS2 ioctl calls, structures, defines and the like. Tested against the test suite and passes. Other platforms should need roughly the same change. should this then really be in include/asm/* ? If everyone needs the

Re: [PATCH] tty: Turn on arbitary baud rate ioctls for i386 platform

2007-03-08 Thread Andreas Schwab
Arjan van de Ven [EMAIL PROTECTED] writes: should this then really be in include/asm/* ? If everyone needs the same change I'd think it should go into include/linux/* somewhere. How about asm-generic/ioctls.h? asm/ioctls.h is one of the few ABI headers for glibc. Andreas. -- Andreas

Re: [PATCH] tty: Turn on arbitary baud rate ioctls for i386 platform

2007-03-08 Thread Alan Cox
On Thu, 08 Mar 2007 06:39:47 -0800 Arjan van de Ven [EMAIL PROTECTED] wrote: On Thu, 2007-03-08 at 14:44 +, Alan Cox wrote: Adds the needed TCGETS2/TCSETS2 ioctl calls, structures, defines and the like. Tested against the test suite and passes. Other platforms should need roughly the

Re: [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-08 Thread Srivatsa Vaddagiri
On Thu, Mar 08, 2007 at 01:50:01PM +1300, Sam Vilain wrote: 7. resource namespaces It should be. Imagine giving 20% bandwidth to a user X. X wants to divide this bandwidth further between multi-media (10%), kernel compilation (5%) and rest (5%). So, Is the subservient namespace's resource

Re: [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-08 Thread Srivatsa Vaddagiri
On Wed, Mar 07, 2007 at 04:16:00PM -0700, Eric W. Biederman wrote: I think implementation wise this tends to make sense. However it should have nothing to do with semantics. If we have a lot of independent resource controllers. Placing the pointer to their data structures directly in

Re: [SLUB 0/3] SLUB: The unqueued slab allocator V4

2007-03-08 Thread Christoph Lameter
On Thu, 8 Mar 2007, Mel Gorman wrote: On x86_64, it completed successfully and looked reliable. There was a 5% performance loss on kernbench and aim9 figures were way down. However, with slub_debug enabled, I would expect that so it's not a fair comparison performance wise. I'll rerun the

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Michal Piotrowski
On 08/03/07, Takashi Iwai [EMAIL PROTECTED] wrote: At Thu, 08 Mar 2007 16:42:26 +0100, Michal Piotrowski wrote: Also, it'd be helpful if you compare /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the patch. This reveals which register bits differ actually. a2.txt is

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Takashi Iwai
At Thu, 8 Mar 2007 17:52:43 +0100, Michal Piotrowski wrote: On 08/03/07, Takashi Iwai [EMAIL PROTECTED] wrote: At Thu, 08 Mar 2007 16:42:26 +0100, Michal Piotrowski wrote: Also, it'd be helpful if you compare /proc/asound/card0/codec97#0/ac97#0-0+regs file before and after the

[PATCH] VFS : Delay the dentry name generation on sockets and pipes.

2007-03-08 Thread Eric Dumazet
Hi Andrew Could you please put this final version in mm for testing ? Thank's to all contributors. [PATCH] VFS : Delay the dentry name generation on sockets and pipes. 1) Introduces a new method in 'struct dentry_operations'. This method called d_dname() might be called from d_path() to build

Re: [patch] epoll use a single inode ...

2007-03-08 Thread Valdis . Kletnieks
On Thu, 08 Mar 2007 08:24:04 +0100, Eric Dumazet said: But what is the cost of the conditional branch you added in prefetch(x) ? if (!x) return; (correctly predicted or not, but do powerPC have a BTB ?) About the NULL 'potential problem', maybe we could use a dummy nil (but mapped)

Re: [RFC][Patch 1/6] integrity: new hooks

2007-03-08 Thread Serge E. Hallyn
Quoting Chris Wright ([EMAIL PROTECTED]): * Mimi Zohar ([EMAIL PROTECTED]) wrote: +static int dummy_inode_setxattr(struct dentry *dentry, char *name, void *value, + size_t size, int flags) +{ + if (!strncmp(name, XATTR_SECURITY_PREFIX, +

Re: Request change in behaviour of capability inheritance.

2007-03-08 Thread rgarcia
I was reading the capabilities(7) man page. I agree with you about the language. What I am requesting is that for any file without extra attributes, the inheritable and effective set should be full. Ramon - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Michal Piotrowski
On 08/03/07, Takashi Iwai [EMAIL PROTECTED] wrote: At Thu, 8 Mar 2007 17:52:43 +0100, Michal Piotrowski wrote: On 08/03/07, Takashi Iwai [EMAIL PROTECTED] wrote: At Thu, 08 Mar 2007 16:42:26 +0100, Michal Piotrowski wrote: Also, it'd be helpful if you compare

Re: mm snapshot broken-out-2007-03-05-02-22.tar.gz uploaded

2007-03-08 Thread Randy Cushman
Takashi Iwai wrote: At Thu, 8 Mar 2007 17:52:43 +0100, Michal Piotrowski wrote: On 08/03/07, Takashi Iwai [EMAIL PROTECTED] wrote: At Thu, 08 Mar 2007 16:42:26 +0100, Michal Piotrowski wrote: Also, it'd be helpful if you compare /proc/asound/card0/codec97#0/ac97#0-0+regs file

Re: PAGE_SIZE Availability Inconsistency

2007-03-08 Thread H. Peter Anvin
Christoph Hellwig wrote: No, no no. We should never export PAGE_SIZE. We might export NBPG as deprecated symbol for gdb if it really needs it, but that should happen only on a.out systems, and it it should be a true constant, not depending on PAGE_SIZE. I've Cc'ed the gdb list on whether they

Re: [PATCH] chaostables

2007-03-08 Thread Alan Cox
Also note that the word 'chaostables' does not even appear in the patch, though xt_CHAOS does. Since we know that {xt,ipt}_[A-Z]+ are targets, we can safely assume that CHAOS does what it says - make fun of nmap. entropy ? randomness - To unsubscribe from this list: send the line

Re: [RFC][Patch 2/6] integrity: fs hook placement

2007-03-08 Thread Serge E. Hallyn
Quoting Chris Wright ([EMAIL PROTECTED]): * Mimi Zohar ([EMAIL PROTECTED]) wrote: + integrity_d_instantiate(entry, inode); security_d_instantiate(entry, inode); + integrity_d_instantiate(entry, inode); security_d_instantiate(entry, inode);

Re: irq nobody cared issue on 2.6.2x

2007-03-08 Thread Mws
On Wednesday 07 March 2007, Linus Torvalds wrote: On Wed, 7 Mar 2007, Mws wrote: if you would be so kind to provide me some infos, how i would be able to track the problem down _and_ maybe how to fix it. The first step is to figure out as exactly as possible _when_ it started

Re: PAGE_SIZE Availability Inconsistency

2007-03-08 Thread Christoph Hellwig
On Thu, Mar 08, 2007 at 09:05:48AM -0800, H. Peter Anvin wrote: Christoph Hellwig wrote: No, no no. We should never export PAGE_SIZE. We might export NBPG as deprecated symbol for gdb if it really needs it, but that should happen only on a.out systems, and it it should be a true constant,

Re: [RFC][Patch 6/6] integrity: TPM internal kernel interface

2007-03-08 Thread Chris Wright
Other than the nits below, this looks like the right idea. * Mimi Zohar ([EMAIL PROTECTED]) wrote: Index: linux-2.6.21-rc3-mm2/drivers/char/tpm/tpm.c === --- linux-2.6.21-rc3-mm2.orig/drivers/char/tpm/tpm.c +++

Re: [PATCH] chaostables

2007-03-08 Thread Patrick McHardy
Jan Engelhardt wrote: Index: linux-2.6.21-rc3/net/netfilter/xt_CHAOS.c +/* Equivalent to: + * -A chaos -m statistic --mode random --probability \ + * $reject_percentage -j REJECT --reject-with host-unreach; + * -A chaos -m statistic --mode random --probability \ + *

Re: [patch 2/5] signalfd v2 - signalfd core ...

2007-03-08 Thread Linus Torvalds
On Thu, 8 Mar 2007, Davide Libenzi wrote: The reason for the special function, was not to provide a non-blocking behaviour with zero timeout (that just a side effect), but to read the siginfo. I was all about using read(2) (and v1 used it), but when you have to transfer complex

Re: [RFC][Patch 1/6] integrity: new hooks

2007-03-08 Thread Chris Wright
* Serge E. Hallyn ([EMAIL PROTECTED]) wrote: It's unfortunate, agreed, but use of LSM as an integrity framework was also a no-go. Options? There's too much dup because stuff like above is just access control not integrity measurement. Need to break off the parts that really are different.

Re: [PATCH] x86_64 RESTORE_CONTEXT missing '\n'

2007-03-08 Thread Andi Kleen
On Wednesday 07 March 2007 21:45, Dave Jiang wrote: The RESTORE_CONTEXT macro is missing the '\n' at the end. It was removed in the previous patch that touched system.h. It causes compile failure if any inline asm is added after the macro. Discovered this when playing with kgdb. We went

Possible struct pid leak from tty_io.c

2007-03-08 Thread Catalin Marinas
Hi Eric, I'm trying to track down a kmemleak report (on an ARM platform) which seems to have appeared with commit ab521dc0f8e117fd808d3e425216864d60390500. As I'm not familiar with the TTY layer at all, is it possible that the above commit missed a put_pid() call on some path? The /sbin/init

Re: [patch 2/5] signalfd v2 - signalfd core ...

2007-03-08 Thread Linus Torvalds
On Thu, 8 Mar 2007, Michael K. Edwards wrote: Make it a netlink socket and fetch your structures using recvmsg(). siginfo_t belongs in ancillary data. Gaah. That interface is horrible. The UNIX philosophy is everything's a file. The Berkeley philosophy is everything's a socket, except

Re: Linux v2.6.21-rc3

2007-03-08 Thread Alistair John Strachan
(Dropped LKML, whoops.) On Wednesday 07 March 2007 04:59, you wrote: We've finally hopefully started to put a dent in the regressions, especially the suspend/resume problems introduced since 2.6.20. So 2.6.21-rc3 is out there now, and there's some hope that it will work more widely than -rc1

Re: [rfc][patch] futex: restartable futex_wait?

2007-03-08 Thread Ingo Molnar
* Nick Piggin [EMAIL PROTECTED] wrote: Hi Ingo, I'm seeing an LTP test fail for ltp test sigaction_16_24. Basically, it tests whether the SA_RESTART flag works for the sem_wait operation. I see sem_wait is implemented with futex_wait, so I wonder whether we can make it restartable? Am

Re: SATA resume slowness, e1000 MSI warning

2007-03-08 Thread Eric W. Biederman
Jeff Garzik [EMAIL PROTECTED] writes: Eric W. Biederman wrote: Until I get the best scenario I can come up with is a tg3 hardware bug that doesn't renable the pci-X capability after a restore of power state. Speaking of tg3, make sure you are aware that the number of calls to save-state

Re: [RFC][Patch 5/6] integrity: mtime patch for mmap files

2007-03-08 Thread Chris Wright
* Mimi Zohar ([EMAIL PROTECTED]) wrote: This is a minimal subset of Peter Staubach's July patch, updated to apply to the latest kernel. The subset was chosen to demonstrate that mmaped files are hashed and hmac properly by EVM after being modified when a file's mtime is updated correctly.

brand new lists in: radiology, surgery, orthapedics, cardiology, anesthesiology, pediatrics

2007-03-08 Thread Audra A Carlson
7 new databases for the medical profession just released! -- All New American Nurses Database: Over 59,000 nurses complete with addresses, phone and fax numbers All data is in Excel format and sortable by 30 specialties. MSA and CMSA fields also included. **Special Price Until March 15 $299**

EXT3-fs warning (device sdd2): dx_probe: Unrecognised inode hash code 232

2007-03-08 Thread Jan De Luyck
Hello, Running 2.6.19.1 on AMD64. While copying some files on an ext3 partition, I got this in the logs: EXT3-fs warning (device sdd2): dx_probe: Unrecognised inode hash code 232 Assertion failure in dx_probe() at fs/ext3/namei.c:384: dx_get_limit(entries) == dx_root_limit(dir,

Re: [SLUB 0/3] SLUB: The unqueued slab allocator V4

2007-03-08 Thread Mel Gorman
On (08/03/07 08:48), Christoph Lameter didst pronounce: On Thu, 8 Mar 2007, Mel Gorman wrote: On x86_64, it completed successfully and looked reliable. There was a 5% performance loss on kernbench and aim9 figures were way down. However, with slub_debug enabled, I would expect that so

Re: [RFC][Patch 2/6] integrity: fs hook placement

2007-03-08 Thread Chris Wright
* Serge E. Hallyn ([EMAIL PROTECTED]) wrote: Are you objecting only to the duplication at the callsites, so that an fsnotify-type of consolidation of security and integrity hooks would be ok? Or are you complaining that the security_inode_setxattr and integrity_inode_setxattr hooks are too

Re: [PATCH] x86_64 RESTORE_CONTEXT missing '\n'

2007-03-08 Thread Dave Jiang
Andi Kleen wrote: On Wednesday 07 March 2007 21:45, Dave Jiang wrote: The RESTORE_CONTEXT macro is missing the '\n' at the end. It was removed in the previous patch that touched system.h. It causes compile failure if any inline asm is added after the macro. Discovered this when playing with

Re: [SLUB 0/3] SLUB: The unqueued slab allocator V4

2007-03-08 Thread Christoph Lameter
On Thu, 8 Mar 2007, Mel Gorman wrote: Brought up 4 CPUs Node 0 CPUs: 0-3 mm/memory.c:111: bad pud c50e4480. Lower bits must be clear right? Looks like the pud was released and then reused for a 64 byte cache or so. This is likely a freelist pointer that slub put there after

Re: 2.6.21-rc3-mm1

2007-03-08 Thread Valdis . Kletnieks
On Wed, 07 Mar 2007 20:18:39 PST, Andrew Morton said: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/2.6.21-rc3-mm1/ Mostly working for me. - The wireless changes in here need a lot of testers, please. It is major rework. Working on it - the new MAC80211

Re: PAGE_SIZE Availability Inconsistency

2007-03-08 Thread Anton Blanchard
By the way, it's a massive snafu that the swap area magic number is dependent on PAGE_SIZE. There is absolutely no good reason for that. Agreed, its been a big problem booting between 4kB and 64kB kernels on ppc64. Anton - To unsubscribe from this list: send the line unsubscribe

Re: [RFC][Patch 2/6] integrity: fs hook placement

2007-03-08 Thread Serge E. Hallyn
Quoting Chris Wright ([EMAIL PROTECTED]): * Serge E. Hallyn ([EMAIL PROTECTED]) wrote: Are you objecting only to the duplication at the callsites, so that an fsnotify-type of consolidation of security and integrity hooks would be ok? Or are you complaining that the security_inode_setxattr

Re: PAGE_SIZE Availability Inconsistency

2007-03-08 Thread H. Peter Anvin
Anton Blanchard wrote: By the way, it's a massive snafu that the swap area magic number is dependent on PAGE_SIZE. There is absolutely no good reason for that. Agreed, its been a big problem booting between 4kB and 64kB kernels on ppc64. The easiest way to fix this would be to always park

Re: Possible struct pid leak from tty_io.c

2007-03-08 Thread Eric W. Biederman
Catalin Marinas [EMAIL PROTECTED] writes: Hi Eric, I'm trying to track down a kmemleak report (on an ARM platform) which seems to have appeared with commit ab521dc0f8e117fd808d3e425216864d60390500. As I'm not familiar with the TTY layer at all, is it possible that the above commit missed a

Re: [RFC][Patch 2/6] integrity: fs hook placement

2007-03-08 Thread Dmitriy Monakhov
Mimi Zohar [EMAIL PROTECTED] writes: This patch places calls to the new integrity hooks in the appropriate places in the fs directory. It is not meant in any way to be viewed as a complete set, but used as a basis for an initial discussion. Index:

Re: [SLUB 0/3] SLUB: The unqueued slab allocator V4

2007-03-08 Thread Christoph Lameter
On Thu, 8 Mar 2007, Mel Gorman wrote: Note that the 16kb page size has a major impact on SLUB performance. On IA64 slub will use only 1/4th the locking overhead as on 4kb platforms. It'll be interesting to see the kernbench tests then with debugging disabled. You can get a similar

[GIT PATCH] repost I/OAT fixes

2007-03-08 Thread Christopher Leech
I/OAT fixes and missing documentation. Please pull from, git://lost.foo-projects.org/~cleech/linux-2.6#master -- Andrew Morton (1): I/OAT: warning fix Chris Leech (6): ioatdma: Push pending transactions to hardware more frequently ioatdma: Remove the wrappers around

Re: [RFC][Patch 2/6] integrity: fs hook placement

2007-03-08 Thread Mimi Zohar
On Thu, 2007-03-08 at 09:40 -0800, Chris Wright wrote: * Serge E. Hallyn ([EMAIL PROTECTED]) wrote: Are you objecting only to the duplication at the callsites, so that an fsnotify-type of consolidation of security and integrity hooks would be ok? Or are you complaining that the

/dev/null implementation question

2007-03-08 Thread Michael Nitschinger
Hello, I asked myself how /dev/null is implemented in C, but i didn't find anything in the documentation or generally on the internet. It would be great if someone could tell me where i can find the source for this device or how it is implemented, because it's really hard for me to crawl

[PATCH] VFS : Delay the dentry name generation on sockets and pipes.

2007-03-08 Thread Eric Dumazet
Hi Andrew I am sorry, my previous patch had a /proc/*/fd/ in a comment, so the */ closed the comment and fs/dcache.c could not compile. Could you please put this 'final-final' version in mm for testing ? Thank's to all contributors, sorry for the noise. [PATCH] VFS : Delay the dentry name

  1   2   3   4   5   6   7   8   9   10   >