kbuild fixes for section mismatch warnings

2007-03-08 Thread Sam Ravnborg
The following series of patches gets rid of some false positives for the section mismatch warnings. It also enables proper check of section mismatch warnings when a module is built-in. So expect a few new warnings to pop up.. The most controversial ones are the patch that ignores the warning when

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

2007-03-08 Thread Davide Libenzi
On Thu, 8 Mar 2007, Linus Torvalds wrote: > > > 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

Re: the usage of DEBUG_DRIVER seems ambiguous

2007-03-08 Thread Randy Dunlap
On Wed, 7 Mar 2007 19:44:41 -0500 (EST) Robert P. J. Day wrote: > > the usage of the DEBUG_DRIVER preprocessor variable is a big > confusing: > > $ $ grep -rw DEBUG_DRIVER * > drivers/net/sunlance.c:#undef DEBUG_DRIVER > drivers/net/a2065.c:#ifdef DEBUG_DRIVER > drivers/net/a2065.c:#ifdef

Re: + stupid-hack-to-make-mainline-build.patch added to -mm tree

2007-03-08 Thread Chris Wright
* Daniel Arai ([EMAIL PROTECTED]) wrote: > Chris, would you like to work together on this? I don't know what Xen's > requirements are for the APIC interface. Do you think we could come up > with something that would fit both of our needs, and maybe also be usable > for some of the

Re: + stupid-hack-to-make-mainline-build.patch added to -mm tree

2007-03-08 Thread Ingo Molnar
* Chris Wright <[EMAIL PROTECTED]> wrote: > > Chris, would you like to work together on this? I don't know what > > Xen's requirements are for the APIC interface. Do you think we > > could come up with something that would fit both of our needs, and > > maybe also be usable for some of the

Re: [2/6] 2.6.21-rc2: known regressions

2007-03-08 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > Michael - does your 'date' output advance after resume? If not then > i'd say it's a NO_HZ related problem. [...] in that case please do this on such a 'frozen date' system: echo q > /proc/sysrq-trigger and then send us the hw-timers info.

Re: [PATCH] Loop device - Tracking page writes made to a loop devicethrough mmap

2007-03-08 Thread Jari Ruusu
Kandan Venkataraman wrote: > All comments have been taken care of. Your patch still does not do conversions of existing user space visible 'struct loop_info64' which is pretty much cast in stone. Blindly overwriting larger structure over smaller user space buffer of existing userspace binaries is

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

2007-03-08 Thread Tosoni
Krzysztof Halasa wrote: > OTOH I wonder what does the device in question require WRT the > serial port and WRT RTS line in particular. > I know there are some half-duplex converters which drive RTS only > while sending and which require CTS to send. As far as I know in the old times this was the

Re: [2/6] 2.6.21-rc2: known regressions

2007-03-08 Thread Ingo Molnar
* Linus Torvalds <[EMAIL PROTECTED]> wrote: > > 3. When I switch to X (CTRL-ALT-F7), X hangs after drawing a couple of > > windows > >after waiting for some 10 min, I rebooted. no new messages showed > >up in /var/log/messages > > I think this is likely just more of the disk being

Re: 2.6.21-rc3-mm1

2007-03-08 Thread John W. Linville
On Thu, Mar 08, 2007 at 12:56:58PM -0500, [EMAIL PROTECTED] wrote: > 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

Re: /dev/null implementation question

2007-03-08 Thread Randy Dunlap
On Thu, 8 Mar 2007 19:01:39 +0100 Michael Nitschinger wrote: > 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

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

2007-03-08 Thread Chris Wright
* Casey Schaufler ([EMAIL PROTECTED]) wrote: > > --- "Serge E. Hallyn" <[EMAIL PROTECTED]> wrote: > > > > It's unfortunate, agreed, but > > > > use of LSM as an integrity framework was also a > > no-go. > > You're going to have to justify this assertion. > I know of at least one

Re: passing function pointers through platform devices?

2007-03-08 Thread NZG
>http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=4c20386c8d0719b42503efe65abe47ad3fb3d711 > Your mail seems to be about a gpio userspace interface, which is > something entirely different from an in-kernel API, Sort of, IMHO sysfs classes seems the logical final

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

2007-03-08 Thread Takashi Iwai
At Thu, 08 Mar 2007 12:05:49 -0500, Randy Cushman wrote: > > 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:

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

2007-03-08 Thread Serge E. Hallyn
Quoting Casey Schaufler ([EMAIL PROTECTED]): > > --- "Serge E. Hallyn" <[EMAIL PROTECTED]> wrote: > > > > It's unfortunate, agreed, but > > > > use of LSM as an integrity framework was also a > > no-go. > > You're going to have to justify this assertion. You misunderstand. I wasn't saying

Re: + stupid-hack-to-make-mainline-build.patch added to -mm tree

2007-03-08 Thread Daniel Arai
Chris Wright wrote: * Daniel Arai ([EMAIL PROTECTED]) wrote: There's no good way to override __send_IPI_shortcut. I suppose we could add paravirt ops for __send_IPI_shortcut and every other op that touches the APIC. While that's basically what we did in Xen, it would make more sense to

Re: passing function pointers through platform devices?

2007-03-08 Thread Haavard Skinnemoen
On 3/7/07, NZG <[EMAIL PROTECTED]> wrote: > Once the generic GPIO framework migrates upstream from -mm It already has: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=4c20386c8d0719b42503efe65abe47ad3fb3d711 I googled extensively and requested information on

[PATCH 3/3] aio: fix oops because of extra IO control block freeing.

2007-03-08 Thread Leonid Ananiev
From Leonid Ananiev Clean up unused return values in aio_complete() and aio_run_iocb(). Signed-off-by: Leonid Ananiev [EMAIL PROTECTED] diff -uprN -X dontdiff linux-2.6.20-aio22/fs/aio.c linux-2.6.20-aio23/fs/aio.c --- linux-2.6.20-aio22/fs/aio.c2007-03-04 22:55:39.0 +0300 +++

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

2007-03-08 Thread Andi Kleen
On Thursday 08 March 2007 18:44, Dave Jiang wrote: > In spite of kgdb, shouldn't it have that \n anyways in case some other code > gets added in the future after the macro? Or are you saying that there should > never be any code ever after that macro? Sure if there is mainline code added after

[PATCH 2/3] aio: fix oops because of extra IO control block freeing.

2007-03-08 Thread Leonid Ananiev
From Leonid Ananiev This patch finishes moving from using errno EIOCBRETRY to using flag in IO control block for aio retrying. After this change the process will be kicked for direct aio as it was for sync aio. Signed-off-by: Leonid Ananiev <[EMAIL PROTECTED]> The patch is applied to 2.6.20

Re: + stupid-hack-to-make-mainline-build.patch added to -mm tree

2007-03-08 Thread Chris Wright
* Zachary Amsden ([EMAIL PROTECTED]) wrote: > s/do/will (smpboot.c) Well the current Xen mechanism rather dodges all of that (for bits like IPI apicid). thanks, -chris - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

Re: hardwired VMI crap

2007-03-08 Thread Chris Wright
* Zachary Amsden ([EMAIL PROTECTED]) wrote: > Our code is in the tree now, and any attempts to break it using such > justifications as easing maintenance for kernel developers in future > releases are flat out false and improper. That's not quite accurate. This is what Ingo was complaining

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

2007-03-08 Thread Mimi Zohar
On Thu, 2007-03-08 at 21:16 +0300, Dmitriy Monakhov wrote: > 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

[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

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

2007-03-08 Thread Casey Schaufler
--- "Serge E. Hallyn" <[EMAIL PROTECTED]> wrote: > It's unfortunate, agreed, but > > use of LSM as an integrity framework was also a > no-go. You're going to have to justify this assertion. I know of at least one work-in-progress for which LSM works just fine. Not to mention the Integrity

/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

Re: + stupid-hack-to-make-mainline-build.patch added to -mm tree

2007-03-08 Thread Chris Wright
* Daniel Arai ([EMAIL PROTECTED]) wrote: > There's no good way to override __send_IPI_shortcut. I suppose we could add > paravirt ops for __send_IPI_shortcut and every other op that touches the > APIC. While that's basically what we did in Xen, it would make more sense to build it into

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

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

[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: 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

Re: [2/6] 2.6.21-rc2: known regressions

2007-03-08 Thread Linus Torvalds
[ Eric, Ingo, can you double-check the timer initialization after resume? We appear to have several reports of date not advancing, and while this could be some SATA issue, it could easily be a timer tick issue too ] On Thu, 8 Mar 2007, Michael S. Tsirkin wrote: > > Here's the status with

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: [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

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: 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: [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: [PATCH 3/7] containers (V7): Add generic multi-subsystem API to containers

2007-03-08 Thread Srivatsa Vaddagiri
On Mon, Feb 12, 2007 at 12:15:24AM -0800, [EMAIL PROTECTED] wrote: > +static struct container_group *find_container_group( > + struct container_group *oldcg, struct container *cont) > +{ > + struct container_group *res; > + struct container_subsys *ss; > + int h = cont->hierarchy;

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

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

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

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,

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

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

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

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 >

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.

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,

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] 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

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

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

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

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

Re: [PATCH] Add xfrm policy change auditing to pfkey_spdget

2007-03-08 Thread James Morris
On Thu, 8 Mar 2007, Eric Paris wrote: > which didn't have my fix up because i didn't commit it to my local > branch. Is there a better way to get a diff between my miller tree and > 'everything in the branch I have checked out even if it is not > committed'? I'd suggest you commit all your

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: 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: [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: 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: 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: [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: [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 >

[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: 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

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. > >

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

2007-03-08 Thread Krzysztof Halasa
Carl-Daniel Hailfinger <[EMAIL PROTECTED]> writes: > Unless you want two machines to monitor each other via serial console and > each of them has only one serial port. It's not perfect, but it works well > enough despite all claims to the contrary. Sure, if you don't need "input" (only "console

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: 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

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) ... <3>swsusp: 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

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(_lock); > +

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: 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 > >

[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 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 structures over it, it

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 >

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: [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

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? > > > >

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

[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

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

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. > >

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: [PATCH] Add xfrm policy change auditing to pfkey_spdget

2007-03-08 Thread Eric Paris
On Wed, 2007-03-07 at 16:07 -0800, David Miller wrote: > From: David Miller <[EMAIL PROTECTED]> > Date: Wed, 07 Mar 2007 15:43:16 -0800 (PST) > > > From: Eric Paris <[EMAIL PROTECTED]> > > Date: Fri, 02 Mar 2007 13:51:24 -0500 > > > > > pfkey_spdget neither had an LSM security hook nor auditing

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: 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

Re: [Fastboot] [PATCH 11/20] x86_64: wakeup.S misc cleanups

2007-03-08 Thread Lombard, David N
On Thu, Mar 08, 2007 at 12:43:35PM +0100, Pavel Machek wrote: > > > > + movw$0x0e00 + 'i', %ds:(0xb8012) > > > > + movb$0xa8, %al ; outb %al, $0x80; > > > > + > > > > > > > - movw$0x0e00 + 'i', %ds:(0xb8012) > > > > - movb$0xa8, %al ; outb %al,

Re: [PATCH] [scsi]: Add offline state checking while dispatch a scsi cmd

2007-03-08 Thread James Bottomley
On Thu, 2007-03-08 at 17:22 +0800, Joe Jin wrote: > While a scsi device hw error occured, device's status maybe setting > to SDEV_OFFLINE, So at scsi_dispatch_cmd function, we should checking > if device have offline, if yes, do nothing and just return error to > user directly. What's the error

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

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

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?

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. > > >

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

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

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