Re: [patch] slub crashes with recent -git

2007-07-19 Thread Ingo Molnar
* Linus Torvalds [EMAIL PROTECTED] wrote: On Thu, 19 Jul 2007, Ingo Molnar wrote: i had to apply the patch below to make the kernel boot again. A better patch should be the appended. Does that work for you too? yeah, works fine! Acked-by: Ingo Molnar [EMAIL PROTECTED] Ingo -

Re: [patch] slub crashes with recent -git

2007-07-19 Thread Linus Torvalds
On Thu, 19 Jul 2007, Linus Torvalds wrote: A better patch should be the appended. Does that work for you too? Btw, I already committed this as obvious. I did the same for the SLAB __do_kmalloc() thing. Let's hope that that was the extent of the damage. Linus - To

Re: 2.6.22-git* regression: Kconfig prompts without help text

2007-07-19 Thread Geert Uytterhoeven
On Wed, 18 Jul 2007, Jan Engelhardt wrote: Add some help texts to recently-introduced kconfig items Index: linux-2.6.23/drivers/macintosh/Kconfig === --- linux-2.6.23.orig/drivers/macintosh/Kconfig +++

Re: new text patching for review

2007-07-19 Thread Jeremy Fitzhardinge
Andi Kleen wrote: Mathieu Desnoyers [EMAIL PROTECTED] writes: I see that IRQs are disabled in alternative_instructions(), but it does not protect against NMIs, which could come at a very inappropriate moment. MCE and SMIs would potentially cause the same kind of trouble. So unless you

Paravirt ops 64 bit git tree

2007-07-19 Thread Glauber de Oliveira Costa
Hello Folks, After a long while, I'm giving the pvops64 tree the attention it deserves again. It's been a long time, so it diverged a lot from the rest of the work being done, and it is quite unusable as it is nowadays. But at least now, it'll get it's own git tree, which you can clone at

[PATCH] MTD: potential leak in rfd_ftl_add_mtd

2007-07-19 Thread Florin Malita
This fixes a leak in the !mtd-erasesize error path (Coverity 1765). Signed-off-by: Florin Malita [EMAIL PROTECTED] --- drivers/mtd/rfd_ftl.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/rfd_ftl.c b/drivers/mtd/rfd_ftl.c index d4b1ba8..006c03a 100644 ---

[PATCH][RESEND] Typo fixes errror - error

2007-07-19 Thread Gabriel C
From: Gabriel Craciunescu [EMAIL PROTECTED] Typo fixes errror - error Signed-off-by: Gabriel Craciunescu [EMAIL PROTECTED] --- drivers/infiniband/hw/ehca/ehca_irq.c |2 +- drivers/net/skfp/pmf.c|2 +- drivers/net/via-velocity.c|2 +-

Re: [patches] new text patching for review

2007-07-19 Thread Andi Kleen
On Thursday 19 July 2007 22:30:12 Jeremy Fitzhardinge wrote: Andi Kleen wrote: Mathieu Desnoyers [EMAIL PROTECTED] writes: I see that IRQs are disabled in alternative_instructions(), but it does not protect against NMIs, which could come at a very inappropriate moment. MCE and SMIs

Re: [PATCH][RFC] Remove R/W semaphore content from generic semaphore.h headers.

2007-07-19 Thread Alexey Dobriyan
On Thu, Jul 19, 2007 at 05:37:58AM -0400, Robert P. J. Day wrote: apparently, for historical reasons, virtually every generic semaphore.h header file includes the more specific rwsem.h header file. this is probably a bad thing, since someone who wants only a generic semaphore shouldn't be

Re: 2.6.22-git* regression: Kconfig prompts without help text

2007-07-19 Thread Stefan Richter
Geert Uytterhoeven wrote: On Wed, 18 Jul 2007, Jan Engelhardt wrote: Add some help texts to recently-introduced kconfig items Index: linux-2.6.23/drivers/macintosh/Kconfig === --- linux-2.6.23.orig/drivers/macintosh/Kconfig +++

Re: [patches] new text patching for review

2007-07-19 Thread Jeremy Fitzhardinge
Andi Kleen wrote: Normally there are not that many NMIs or MCEs at boot, but it would be still good to avoid the very rare crash by auditing the code first [better than try to debug it on some production system later] Auditing it for what? If we want to make patching safe against NMI/MCE,

Re: cmpxchg is not available to generic code

2007-07-19 Thread David Miller
From: Andrew Morton [EMAIL PROTECTED] Date: Thu, 19 Jul 2007 01:21:41 -0700 On Thu, 19 Jul 2007 18:15:03 +1000 Dave Airlie [EMAIL PROTECTED] wrote: Maybe we could add CONFIG_HAVE_CMPXCHG and let DRM depend on it.. That would certainly be better than adding a sprinkle of architectures in

[PATCH] user namespace: fix copy_user_ns return value

2007-07-19 Thread Serge E. Hallyn
As found by [EMAIL PROTECTED], current -git, when compiled with CONFIG_USER_NS=n, can be crashed by doing #include sched.h #include sys/types.h #include unistd.h int main() { unshare(CLONE_NEWNS); setuid(1000); } as root. The dummy version of copy_user_ns was returning NULL

Re: cmpxchg is not available to generic code

2007-07-19 Thread David Miller
From: Dave Airlie [EMAIL PROTECTED] Date: Thu, 19 Jul 2007 18:15:03 +1000 Maybe we could add CONFIG_HAVE_CMPXCHG and let DRM depend on it.. There is already a !EMULATED_CMPXCHG guarding DRM, perhaps ARM's Kconfig can set that if appropriate. - To unsubscribe from this list: send the line

Re: [PATCH] fix modpost warnings for xtensa

2007-07-19 Thread Andrew Morton
On Thu, 19 Jul 2007 11:37:56 -0700 Chris Zankel [EMAIL PROTECTED] wrote: [PATCH] fix modpost warnings for xtensa The Xtensa architecture places literal pools in sections separate from the instructions. The corresponsing text sections, therefore, reference the

Re: [PATCH] [7/58] x86_64: various cleanups in NUMA scan node

2007-07-19 Thread David Rientjes
On Thu, 19 Jul 2007, Yinghai Lu wrote: Index: linux/arch/x86_64/mm/srat.c === --- linux.orig/arch/x86_64/mm/srat.c +++ linux/arch/x86_64/mm/srat.c /* maps to convert between proximity domain and logical node ID */

Re: kmalloc zero size changes break i386

2007-07-19 Thread Andi Kleen
On Thursday 19 July 2007 21:19:29 Linus Torvalds wrote: On Thu, 19 Jul 2007, Linus Torvalds wrote: Does something like this fix it? Christoph, please go over this and see if there are other cases like that. Actually, here's a better version, I think. Andi, does this patch fix

Re: Powerpc - Include pagemap.h in asm/powerpc/tlb.h

2007-07-19 Thread Kumar Gala
Andrew, Are you sending this to linus directly or should this go via paul and me? I queued it up for Paul. I can send it over to Linus today if we have a reason for that. It's just that I dont understand the patch: does it fix -mm-only breakage? Does it fix something which already got

RE: which signal is sent to freeze process?

2007-07-19 Thread Agarwal, Lomesh
So basically I can not install a signal handler to catch freeze signal in the process. Right? Is there any other way to solve the problem I am facing? After resume some of the system calls are failing in some of my applications with errno set as EINTR. I wanted to explore a way to not check for

Re: [patches] new text patching for review

2007-07-19 Thread Andi Kleen
On Thursday 19 July 2007 22:51:51 Jeremy Fitzhardinge wrote: Andi Kleen wrote: Normally there are not that many NMIs or MCEs at boot, but it would be still good to avoid the very rare crash by auditing the code first [better than try to debug it on some production system later]

Re: [PATCH] virtual sched_clock() for s390

2007-07-19 Thread Jan Glauber
On Thu, 2007-07-19 at 21:38 +0200, Ingo Molnar wrote: * Jan Glauber [EMAIL PROTECTED] wrote: still, CFS needs time measurement across idle periods as well, for another purpose: to be able to do precise task statistics for /proc. (for top, ps, etc.) So it's still true that

Re: [PATCH] Update .gitignore for arch/i386/boot

2007-07-19 Thread H. Peter Anvin
Alexey Dobriyan wrote: On Thu, Jul 19, 2007 at 01:09:10PM -0600, Matthew Wilcox wrote: With the new setup code, we generate a couple more files --- a/arch/i386/boot/.gitignore +++ b/arch/i386/boot/.gitignore @@ -1,3 +1,5 @@ bootsect bzImage setup +setup.bin +setup.elf ACK same

Re: [patches] new text patching for review

2007-07-19 Thread Jeremy Fitzhardinge
Andi Kleen wrote: Either not use any pvops or make sure all the pvops patching is atomic on the local CPU. Erk, not really keen on that. Sounds complicated, unless there's a nice general algorithm. Ok you can avoid MCEs by not enabling them until after you patch (which I think is the

[PATCH] kill DECLARE_MUTEX_LOCKED

2007-07-19 Thread Christoph Hellwig
DECLARE_MUTEX_LOCKED was used for semaphores used as completions and we've got rid of them. Well, except for one in libusual that the maintainer explicitly wants to keep as semaphore. So convert that useage to an explicit sema_init and kill of DECLARE_MUTEX_LOCKED so that new code is reminded to

Re: net/ipv4/inetpeer.c stack warnings

2007-07-19 Thread David Miller
From: Gabriel C [EMAIL PROTECTED] Date: Thu, 19 Jul 2007 14:29:53 +0200 Hello , I noticed on current git this warning in net/ipv4/inetpeer.c ... CC net/ipv4/inetpeer.o net/ipv4/inetpeer.c: In function 'unlink_from_pool': net/ipv4/inetpeer.c:297: warning: the address of 'stack'

Re: [PATCH] AFS: Use patched rxrpc_kernel_send_data() correctly

2007-07-19 Thread Linus Torvalds
On Thu, 19 Jul 2007, David Howells wrote: @@ -806,8 +807,9 @@ void afs_send_simple_reply(struct afs_call *call, const void *buf, size_t len) msg.msg_flags = 0; call-state = AFS_CALL_AWAIT_ACK; - switch (rxrpc_kernel_send_data(call-rxcall, msg, len)) { -

Re: [PATCH] fix modpost warnings for xtensa

2007-07-19 Thread Chris Zankel
Andrew, Andrew Morton wrote: This generates unfixable-by-me rejects against Sam's git-kbuild tree. Sam already had a pull request into Linus for that tree. Could I ask that you wait for that piece of dust to settle and then regenerate the diff? Thanks Andrew. I will wait for his updates.

[PATCH 0/8] eCryptfs: Support multiple keys per inode

2007-07-19 Thread Michael Halcrow
This series of patches to eCryptfs introduces support for associating multiple keys with individual files. When mounting, eCryptfs will register one key for each key signature/identifier specified by an ecryptfs_sig= mount option. These keys will all be used to encrypt the FEK for each eCryptfs

[PATCH 2/8] eCryptfs: Use list_for_each_entry_safe() when wiping auth toks

2007-07-19 Thread Michael Halcrow
Use list_for_each_entry_safe() when wiping the authentication token list. Signed-off-by: Michael Halcrow [EMAIL PROTECTED] --- fs/ecryptfs/keystore.c | 15 --- 1 files changed, 4 insertions(+), 11 deletions(-) diff --git a/fs/ecryptfs/keystore.c b/fs/ecryptfs/keystore.c index

[PATCH 3/8] eCryptfs: kmem_cache objects for multiple keys; init/exit functions

2007-07-19 Thread Michael Halcrow
Introduce kmem_cache objects for handling multiple keys per inode. Add calls in the module init and exit code to call the key list initialization/destruction functions. Signed-off-by: Michael Halcrow [EMAIL PROTECTED] --- fs/ecryptfs/main.c | 39 +++ 1 files

[PATCH 4/8] eCryptfs: Fix Tag 1 parsing code

2007-07-19 Thread Michael Halcrow
Fix up the Tag 1 parsing code to handle size limits and boundaries more explicitly. Initialize the new auth_tok's flags. Signed-off-by: Michael Halcrow [EMAIL PROTECTED] --- fs/ecryptfs/keystore.c | 78 --- 1 files changed, 33 insertions(+), 45

Re: Powerpc - Include pagemap.h in asm/powerpc/tlb.h

2007-07-19 Thread Andrew Morton
On Thu, 19 Jul 2007 16:04:38 -0500 Kumar Gala [EMAIL PROTECTED] wrote: Andrew, Are you sending this to linus directly or should this go via paul and me? I queued it up for Paul. I can send it over to Linus today if we have a reason for that. It's just that I dont understand

[PATCH 5/8] eCryptfs: Fix Tag 3 parsing code

2007-07-19 Thread Michael Halcrow
Fix up the Tag 3 parsing code to handle size limits and boundaries more explicitly. Signed-off-by: Michael Halcrow [EMAIL PROTECTED] --- fs/ecryptfs/keystore.c | 89 +++- 1 files changed, 35 insertions(+), 54 deletions(-) diff --git

[PATCH 6/8] eCryptfs: Fix Tag 11 parsing code

2007-07-19 Thread Michael Halcrow
Fix up the Tag 11 parsing code to handle size limits and boundaries more explicitly. Pay attention to *8* bytes for the key identifier (literal data), no more, no less. Signed-off-by: Michael Halcrow [EMAIL PROTECTED] --- fs/ecryptfs/keystore.c | 76

[PATCH 7/8] eCryptfs: Fix Tag 11 writing code

2007-07-19 Thread Michael Halcrow
Fix up the Tag 11 writing code to handle size limits and boundaries more explicitly. It looks like the packet length was 1 shorter than it should have been, chopping off the last byte of the key identifier. This is largely inconsequential, since it is not much more likely that a key identifier

Re: - lguest-the-asm-offsets.patch removed from -mm tree

2007-07-19 Thread Oleg Verych
This is the structure offsets required by lg.ko's switcher.S. Unfortunately we don't have infrastructure for private asm-offsets creation. I did asm-offsets build rewrite RFC caled asm-values more than four week ago: http://mid.gmane.org/[EMAIL PROTECTED] Just FYI. - To unsubscribe from

[PATCH 8/8] eCryptfs: Update comment and debug statement

2007-07-19 Thread Michael Halcrow
Trivial updates to comment and debug statement. Signed-off-by: Michael Halcrow [EMAIL PROTECTED] --- fs/ecryptfs/crypto.c |2 -- fs/ecryptfs/debug.c |2 -- 2 files changed, 0 insertions(+), 4 deletions(-) diff --git a/fs/ecryptfs/crypto.c b/fs/ecryptfs/crypto.c index 4f7d895..129ed13

Re: Linux, tcpdump and vlan

2007-07-19 Thread andrei radulescu-banu
During debugging, I noticed that dev_queue_xmit() is called twice for tx vlan frames. This results in a frame being passed twice to a packet socket bound to 'any' interface. If the packet socket is bound to a specific interface, though, it will get only one copy of the tx frame, which is good.

Re: About get_page for compound page

2007-07-19 Thread Peter Zijlstra
On Thu, 2007-07-19 at 23:54 +0800, Fengwei Yin wrote: Hi, In get_page(), the parameter page is changed by page = compound_head(page); if the page is not the first page of compound pages. My question: is this behavior correct? Yes it is, in general the page state of a compound page

Re: [PATCH 4/8] eCryptfs: Fix Tag 1 parsing code

2007-07-19 Thread Josef Sipek
On Thu, Jul 19, 2007 at 04:28:01PM -0500, Michael Halcrow wrote: Fix up the Tag 1 parsing code to handle size limits and boundaries more explicitly. Initialize the new auth_tok's flags. ... - if (unlikely((*packet_size) + 3 max_packet_size)) { - ecryptfs_printk(KERN_ERR,

Re: [PATCH] Add kernel/notifier.c

2007-07-19 Thread Andrew Morton
On Thu, 19 Jul 2007 20:46:11 +0400 Alexey Dobriyan [EMAIL PROTECTED] wrote: There is separate notifier header, but no separate notifier .c file. Extract notifier code out of kernel/sys.c which will remain for misc syscalls I hope. Merge kernel/die_notifier.c into kernel/notifier.c. If you

Re: which signal is sent to freeze process?

2007-07-19 Thread Rafael J. Wysocki
On Thursday, 19 July 2007 23:06, Agarwal, Lomesh wrote: So basically I can not install a signal handler to catch freeze signal in the process. Right? Is there any other way to solve the problem I am facing? After resume some of the system calls are failing in some of my applications with

Re: which signal is sent to freeze process?

2007-07-19 Thread Rafael J. Wysocki
On Thursday, 19 July 2007 06:59, Nigel Cunningham wrote: Hi. On Thursday 19 July 2007 14:09:56 Agarwal, Lomesh wrote: Can you point me to code where kernel captures process in signal handling and code which runs after suspend to ram is finished? Sure. It's in kernel/signal.c

Re: [PATCH 4/8] eCryptfs: Fix Tag 1 parsing code

2007-07-19 Thread Michael Halcrow
On Thu, Jul 19, 2007 at 05:41:16PM -0400, Josef Sipek wrote: On Thu, Jul 19, 2007 at 04:28:01PM -0500, Michael Halcrow wrote: Fix up the Tag 1 parsing code to handle size limits and boundaries more explicitly. Initialize the new auth_tok's flags. ... - if (unlikely((*packet_size) + 3

Re: [PATCH] procfs fixes for inotify/dnotify

2007-07-19 Thread Andrew Morton
On Tue, 21 Feb 2006 22:16:23 +0100 Thomas Ogrisegg [EMAIL PROTECTED] wrote: Problem description: When a new process is created, the creation of the respective PID subdirectory of /proc is deferred until the /proc-directory is beeing read (by e.g. ps(1)). This causes file notification

Re: [PATCH] net/, drivers/net/ , missing EXPERIMENTAL in menus

2007-07-19 Thread Simon Arlott
On 19/07/07 17:19, Robert P. J. Day wrote: On Thu, 19 Jul 2007, Randy Dunlap wrote: I think that Stefan means a patch to the kconfig source code, not the the Kconfig files. Good luck. I'd still like to see it. yes, i understand what he wanted now. as a first step (that theoretically

Re: which signal is sent to freeze process?

2007-07-19 Thread Nigel Cunningham
Hi. On Friday 20 July 2007 07:06:01 Agarwal, Lomesh wrote: So basically I can not install a signal handler to catch freeze signal in the process. Right? Is there any other way to solve the problem I am facing? After resume some of the system calls are failing in some of my applications with

Re: [PATCH] Warn userspace about including an empty linux/tty.h.

2007-07-19 Thread Andrew Morton
On Thu, 19 Jul 2007 07:23:46 -0400 (EDT) Robert P. J. Day [EMAIL PROTECTED] wrote: Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] --- what subsystem would something like this belong to? diff --git a/include/linux/tty.h b/include/linux/tty.h index 691a174..fd67da8 100644 ---

Re: [GIT PULL] XFS update

2007-07-19 Thread Linus Torvalds
On Fri, 20 Jul 2007, Tim Shimmin wrote: Please pull from the for-linus branch: git pull git://oss.sgi.com:8090/xfs/xfs-2.6.git for-linus Ok, this got some conflicts with Nick's VM fault patches, but I fixed them up since they looked trivial, and pushed out the result. Please do verify

Re: [PATCH] net/, drivers/net/ , missing EXPERIMENTAL in menus

2007-07-19 Thread Robert P. J. Day
On Thu, 19 Jul 2007, Simon Arlott wrote: On 19/07/07 17:19, Robert P. J. Day wrote: On Thu, 19 Jul 2007, Randy Dunlap wrote: I think that Stefan means a patch to the kconfig source code, not the the Kconfig files. Good luck. I'd still like to see it. yes, i understand what he wanted

Re: Powerpc - Include pagemap.h in asm/powerpc/tlb.h

2007-07-19 Thread Mathieu Desnoyers
* Andrew Morton ([EMAIL PROTECTED]) wrote: On Thu, 19 Jul 2007 16:04:38 -0500 Kumar Gala [EMAIL PROTECTED] wrote: Andrew, Are you sending this to linus directly or should this go via paul and me? I queued it up for Paul. I can send it over to Linus today if we have a

build fix for x86_64...

2007-07-19 Thread Arthur Jones
hi vasily, commit b716395e2b8e450e294537de0c91476ded2f0395 breaks the build for x86_64 (and ia64 too, i guess) if CONFIG_COMPAT is not turned on. here is a patch, which i think is more complete than the previous one posted to LKML by Doug Chapman (which only fixes ia64, i think). it lets the

Re: Powerpc - Include pagemap.h in asm/powerpc/tlb.h

2007-07-19 Thread Kumar Gala
On Jul 19, 2007, at 4:30 PM, Andrew Morton wrote: On Thu, 19 Jul 2007 16:04:38 -0500 Kumar Gala [EMAIL PROTECTED] wrote: Andrew, Are you sending this to linus directly or should this go via paul and me? I queued it up for Paul. I can send it over to Linus today if we have a reason

[PATCH] Use wbinvd() macro instead of raw inline assembly in .c files

2007-07-19 Thread Glauber de Oliveira Costa
This patch uses the already-existant wbinvd() macro to replace raw assembly to perform this very same task in some .c files Signed-off-by: Glauber de Oliveira Costa [EMAIL PROTECTED] diff --git a/arch/x86_64/kernel/tce.c b/arch/x86_64/kernel/tce.c index f61fb8e..afbb951 100644 ---

Re: [PATCH] Warn userspace about including an empty linux/tty.h.

2007-07-19 Thread Robert P. J. Day
On Thu, 19 Jul 2007, Andrew Morton wrote: On Thu, 19 Jul 2007 07:23:46 -0400 (EDT) Robert P. J. Day [EMAIL PROTECTED] wrote: Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] --- what subsystem would something like this belong to? diff --git a/include/linux/tty.h

[PATCH] Fix Dreamcast DMA

2007-07-19 Thread Adrian McMenamin
Signed-off by: Adrian McMenamin [EMAIL PROTECTED] diff --git a/arch/sh/drivers/dma/dma-api.c b/arch/sh/drivers/dma/dma-api.c index cf8e119..0c9b3bc 100644 --- a/arch/sh/drivers/dma/dma-api.c +++ b/arch/sh/drivers/dma/dma-api.c @@ -31,8 +31,8 @@ struct dma_info *get_dma_info(unsigned int chan)

Re: [linux-pm] Re: Hibernation considerations

2007-07-19 Thread david
On Thu, 19 Jul 2007, Rafael J. Wysocki wrote: On Thursday, 19 July 2007 17:46, Milton Miller wrote: The currently identified problems under discussion include: (1) how to interact with acpi to enter into S4. (2) how to identify which memory needs to be saved (3) how to communicate where to

[PATCH] missed cong_avoid() instance

2007-07-19 Thread Al Viro
Removal of rtt argument in -cong_avoid() had missed tcp_htcp.c instance. Signed-off-by: Al Viro [EMAIL PROTECTED] --- diff --git a/net/ipv4/tcp_htcp.c b/net/ipv4/tcp_htcp.c index 632c05a..08a02e6 100644 --- a/net/ipv4/tcp_htcp.c +++ b/net/ipv4/tcp_htcp.c @@ -225,7 +225,7 @@ static u32

[PATCH] fallout from [SPARC64]: Simplify VDC device probing

2007-07-19 Thread Al Viro
... hopefully that's what you meant here... Signed-off-by: Al Viro [EMAIL PROTECTED] --- diff --git a/drivers/block/sunvdc.c b/drivers/block/sunvdc.c index 2288b55..4ee3920 100644 --- a/drivers/block/sunvdc.c +++ b/drivers/block/sunvdc.c @@ -849,7 +849,7 @@ static struct vio_device_id

Re: 2.6.22-git* regression: Kconfig prompts without help text

2007-07-19 Thread Geert Uytterhoeven
On Thu, 19 Jul 2007, Stefan Richter wrote: Geert Uytterhoeven wrote: On Wed, 18 Jul 2007, Jan Engelhardt wrote: Add some help texts to recently-introduced kconfig items Index: linux-2.6.23/drivers/macintosh/Kconfig ===

RE: which signal is sent to freeze process?

2007-07-19 Thread Agarwal, Lomesh
I am using Linux in an embedded platform with x86. Applications don't do anything special. The system call which is returning EINTR is poll. Also in one of the thread read is returning ENODATA after resume. If I just try the system calls again in case of EINTR or ENODATA everything works fine.

[PATCH] coda breakage

2007-07-19 Thread Al Viro
a) switch by loff_t == __cmpdi2 use. Replaced with a couple of obvious ifs; update of -f_pos in the first one makes sure that we do the right thing in all cases. b) block_signals() and unblock_signals() are globals on UML. Renamed coda ones; in principle UML probably ought to do

[PATCH] more isa/eisa/pci-only drivers marked as such

2007-07-19 Thread Al Viro
Signed-off-by: Al Viro [EMAIL PROTECTED] --- diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index 7685c8a..00bec9a 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig @@ -185,7 +185,7 @@ config ESPSERIAL config MOXA_INTELLIO tristate Moxa Intellio support -

Re: build fix for x86_64...

2007-07-19 Thread Andi Kleen
On Friday 20 July 2007 00:24:11 Arthur Jones wrote: hi vasily, commit b716395e2b8e450e294537de0c91476ded2f0395 breaks the build for x86_64 (and ia64 too, i guess) if CONFIG_COMPAT is not turned on. here is a patch, which i think is more complete than the previous one posted to LKML by

Re:molto interessante

2007-07-19 Thread i d
Perchè questo indirizzo ti sembra da meno? http://www.stilisti-italiani.it C'è tutta la moda made in Italy, provalo e fammi sapere. Ciao. -- ___ Get your free email from http://bsdmail.com - To unsubscribe from this list: send the line unsubscribe

Re: Linux, tcpdump and vlan

2007-07-19 Thread Ben Greear
andrei radulescu-banu wrote: During debugging, I noticed that dev_queue_xmit() is called twice for tx vlan frames. This results in a frame being passed twice to a packet socket bound to 'any' interface. If the packet socket is bound to a specific interface, though, it will get only one copy

Re: [PATCH] fallout from [SPARC64]: Simplify VDC device probing

2007-07-19 Thread David Miller
From: Al Viro [EMAIL PROTECTED] Date: Fri, 20 Jul 2007 00:19:31 +0100 ... hopefully that's what you meant here... Signed-off-by: Al Viro [EMAIL PROTECTED] Yes, this fix is already in my tree which I'll push to Linus later tonight. Thanks Al. - To unsubscribe from this list: send the

[PATCH 0/5] atl1: additional patches for 2.6.23

2007-07-19 Thread Jay Cliburn
Please accept the following patches for the atl1 driver. Thanks. atl1: use kernel provided ethernet length constants atl1: fix typo in dma_req_block atl1: change cmb write threshold atl1: fix typo in DMA engine setup atl1: change tpd_avail function name drivers/net/atl1/atl1_hw.h |9

[PATCH 1/5] atl1: change tpd_avail function name

2007-07-19 Thread Jay Cliburn
Change tpd_avail() to atl1_tpd_avail(). Signed-off-by: Jay Cliburn [EMAIL PROTECTED] --- drivers/net/atl1/atl1_main.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/atl1/atl1_main.c b/drivers/net/atl1/atl1_main.c index fd1e156..79d60e1 100644 ---

[PATCH 2/5] atl1: fix typo in DMA engine setup

2007-07-19 Thread Jay Cliburn
The DMA engine setup contains a typo that can result in an incorrect dmaw_block setting. Signed-off-by: Jay Cliburn [EMAIL PROTECTED] --- drivers/net/atl1/atl1_main.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/atl1/atl1_main.c

[PATCH 3/5] atl1: change cmb write threshold

2007-07-19 Thread Jay Cliburn
Change the threshold number of descriptors used to trigger CMB writes. The vendor reports that under certain conditions this will reduce the number of unnecessary tx interrupts and improve rx performance. This change is lifted directly from vendor version 1.2.40.2 of the L1 driver.

[PATCH 5/5] atl1: use kernel provided ethernet length constants

2007-07-19 Thread Jay Cliburn
Use constants already provided by the kernel for ethernet related lengths. Signed-off-by: Jay Cliburn [EMAIL PROTECTED] --- drivers/net/atl1/atl1_hw.h |5 - drivers/net/atl1/atl1_main.c | 13 +++-- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git

[PATCH 4/5] atl1: fix typo in dma_req_block

2007-07-19 Thread Jay Cliburn
s/dam/dma Signed-off-by: Jay Cliburn [EMAIL PROTECTED] --- drivers/net/atl1/atl1_hw.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/atl1/atl1_hw.h b/drivers/net/atl1/atl1_hw.h index 100c09c..f0d7e82 100644 --- a/drivers/net/atl1/atl1_hw.h +++

Re: new text patching for review

2007-07-19 Thread Mathieu Desnoyers
* Jeremy Fitzhardinge ([EMAIL PROTECTED]) wrote: Andi Kleen wrote: Mathieu Desnoyers [EMAIL PROTECTED] writes: I see that IRQs are disabled in alternative_instructions(), but it does not protect against NMIs, which could come at a very inappropriate moment. MCE and SMIs would

Re: [patches] new text patching for review

2007-07-19 Thread Mathieu Desnoyers
* Andi Kleen ([EMAIL PROTECTED]) wrote: On Thursday 19 July 2007 22:30:12 Jeremy Fitzhardinge wrote: Andi Kleen wrote: Mathieu Desnoyers [EMAIL PROTECTED] writes: I see that IRQs are disabled in alternative_instructions(), but it does not protect against NMIs, which could come at

Re: new text patching for review

2007-07-19 Thread Mathieu Desnoyers
* Andi Kleen ([EMAIL PROTECTED]) wrote: Mathieu Desnoyers [EMAIL PROTECTED] writes: * Andi Kleen ([EMAIL PROTECTED]) wrote: Ewww you plan to run this in SMP ? So you actually go byte by byte changing pieces of instructions non atomically and doing non-Intel's

RE: build fix for x86_64...

2007-07-19 Thread Luck, Tony
Looks good. Looks good to me too (I'm to blame for the version posted by Doug that only fixed ia64 ... I didn't take the time to check whether there was a CONFIG_COMPAT option for x86_64 ... oops). Tony, perhaps it would make sense to define some common CONFIG for COMPAT_FOR_U64_ALIGNMENT

Re: [PATCH 1/5][TAKE8] manpage for fallocate

2007-07-19 Thread Andreas Dilger
On Jul 18, 2007 20:41 -0700, Mark Fasheh wrote: On Sat, Jul 14, 2007 at 12:16:25AM +0530, Amit K. Arora wrote: After a successful call, subsequent writes are guaranteed not to fail because of lack of disk space. If a write to an unwritten region requires a node split, that could result

Re: About get_page for compound page

2007-07-19 Thread Fengwei Yin
On 7/20/07, Peter Zijlstra [EMAIL PROTECTED] wrote: On Thu, 2007-07-19 at 23:54 +0800, Fengwei Yin wrote: Hi, In get_page(), the parameter page is changed by page = compound_head(page); if the page is not the first page of compound pages. My question: is this behavior correct?

[patch] use __val in __get_unaligned

2007-07-19 Thread Mike Frysinger
This patch uses __val rather than val in the __get_unaligned macro in asm-generic/unaligned.h. This way gcc wont warn if you happen to also name something in the same scope val. Signed-off-by: Mike Frysinger [EMAIL PROTECTED] --- diff --git a/include/asm-generic/unaligned.h

Re: [1/2] 2.6.22-git: known regressions

2007-07-19 Thread Andi Kleen
Michal Piotrowski [EMAIL PROTECTED] writes: Hi all, Here is a list of some known regressions in 2.6.22-git. Here's a new one: appledisplay screen blanking driver seems to be broken It doesn't blank anymore. I haven't done much debugging yet, but the driver is loaded; just the screen stays

Re: [patch] slub crashes with recent -git

2007-07-19 Thread Andi Kleen
Linus Torvalds [EMAIL PROTECTED] writes: On Thu, 19 Jul 2007, Linus Torvalds wrote: A better patch should be the appended. Does that work for you too? Btw, I already committed this as obvious. I did the same for the SLAB __do_kmalloc() thing. Let's hope that that was the extent of

Re: [PATCH] Check for compound pages in set_page_dirty()

2007-07-19 Thread William Lee Irwin III
On Thu, Jul 19, 2007 at 06:35:17PM +0100, Hugh Dickins wrote: I started from your patch. But it now seems to me a bugfix to remove those PageCompound tests, because they're preventing a hugetlb page from being marked dirty, when Ken needs it to be marked dirty so /proc/sys/vm/drop_caches

Re: [PATCH] Remove unneded lock_kernel() in driver/block/loop.c

2007-07-19 Thread Andrew Morton
On Sun, 8 Jul 2007 22:57:01 -0300 Diego Woitasen [EMAIL PROTECTED] wrote: Signed-off-by: Diego Woitasen [EMAIL PROTECTED] --- drivers/block/loop.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/block/loop.c b/drivers/block/loop.c index

Re: [PATCH] Use the tsk argument in init_new_context()

2007-07-19 Thread Andrew Morton
On Sun, 8 Jul 2007 22:55:08 -0300 Diego Woitasen [EMAIL PROTECTED] wrote: Signed-off-by: Diego Woitasen [EMAIL PROTECTED] --- arch/i386/kernel/ldt.c |2 +- arch/x86_64/kernel/ldt.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/i386/kernel/ldt.c

Re: [PATCH for review] [7/48] i386: divorce CONFIG_X86_PAE from CONFIG_HIGHMEM64G

2007-07-19 Thread William Lee Irwin III
From: William Lee Irwin III [EMAIL PROTECTED] PAE is useful for more than supporting more than 4GB RAM. It supports expanded swapspace and NX executable protections. Some users may want NX or expanded swapspace support without the overhead or instability of highmem. For these reasons, the

[PATCH 0/7] I/OAT: Add support for DCA - Direct Cache Access

2007-07-19 Thread Shannon Nelson
The following series implements support for providers and clients of Direct Cache Access (DCA), a method for warming the cache in the correct CPU before needing data. This series applies on GIT commit 5bae7ac9feba925fd0099057f6b23d7be80b7b41 ioat-new-device-ids.patch - add devices id's

[PATCH 2/7] I/OAT: Rename the source file

2007-07-19 Thread Shannon Nelson
Rename the ioatdma.c file in preparation for splitting into multiple files, which will allow for easier adding new functionality. Signed-off-by: Shannon Nelson [EMAIL PROTECTED] --- drivers/dma/Makefile |1 drivers/dma/ioat_dma.c | 829

[PATCH 1/7] I/OAT: New device ids

2007-07-19 Thread Shannon Nelson
Add device ids for new revs of the Intel I/OAT DMA engine Signed-off-by: Shannon Nelson [EMAIL PROTECTED] --- drivers/dma/ioatdma.c |5 +++-- include/linux/pci_ids.h |2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/dma/ioatdma.c b/drivers/dma/ioatdma.c

[PATCH 3/7] I/OAT: code cleanup from checkpatch output

2007-07-19 Thread Shannon Nelson
Take care of a bunch of little code nits in ioatdma files Signed-off-by: Shannon Nelson [EMAIL PROTECTED] --- drivers/dma/ioat_dma.c | 200 +++- 1 files changed, 111 insertions(+), 89 deletions(-) diff --git a/drivers/dma/ioat_dma.c

[PATCH 4/7] I/OAT: Split PCI startup from DMA handling code

2007-07-19 Thread Shannon Nelson
Split the general PCI startup from the DMA handling code in order to prepare for adding support for DCA services and future versions of the ioatdma device. Signed-off-by: Shannon Nelson [EMAIL PROTECTED] --- drivers/dma/Makefile |2 drivers/dma/ioat.c | 186

[PATCH 5/7] I/OAT: Add support for MSI and MSI-X

2007-07-19 Thread Shannon Nelson
Add support for MSI and MSI-X interrupt handling, including the ability to choose the desired interrupt method. Signed-off-by: Shannon Nelson [EMAIL PROTECTED] --- drivers/dma/ioat_dma.c | 353 --- drivers/dma/ioatdma.h | 12 +

[PATCH 6/7] DCA: Add Direct Cache Access driver

2007-07-19 Thread Shannon Nelson
Direct Cache Access (DCA) is a method for warming the CPU cache before data is used, with the intent of lessening the impact of cache misses. This patch adds a manager and interface for matching up client requests for DCA services with devices that offer DCA services. In order to use DCA, a

[PATCH 7/7] I/OAT: Add DCA services

2007-07-19 Thread Shannon Nelson
Add code to connect to the DCA driver and provide cpu tags for use by drivers that would like to use Direct Cache Access hints. Signed-off-by: Shannon Nelson [EMAIL PROTECTED] --- drivers/dma/Makefile |2 drivers/dma/ioat.c | 12 ++ drivers/dma/ioat_dca.c | 259

Re: i386: pata_cs5520 does not work

2007-07-19 Thread TAKADA Yoshihito
Hi. That's good. It seems to works fine. On Thu, 19 Jul 2007 16:18:21 +0100 Alan Cox [EMAIL PROTECTED] wrote: O rc = devm_request_irq(pdev-dev, irq[ap-port_no], ata_interrupt, 0, DRV_NAME, host); devm_request_irq() is called twice from loop. In 1st time, ap-port_no is 0.

[PATCH][resend] Remove spec doc links in hpet header files

2007-07-19 Thread Dave Young
Hi, The links are broken, and already exist in Documentation/hpet.txt, so remove them for header files. Signed-off-by: Dave Young [EMAIL PROTECTED] Acked-by: Randy Dunlap [EMAIL PROTECTED] --- include/asm-i386/hpet.h |6 -- include/asm-x86_64/hpet.h |6 -- 2 files changed, 12

Re: new text patching for review

2007-07-19 Thread Zachary Amsden
Andi Kleen wrote: + *addr = opcode; + /* Not strictly needed, but can speed CPU recovery up */ + if (cpu_has_clflush) + asm(clflush (%0) :: r (addr) : memory); + if (addr != oaddr) + vunmap(addr); clflush should take oaddr. If you had to

Re: [PATCH 1/7] I/OAT: New device ids

2007-07-19 Thread David Miller
From: Shannon Nelson [EMAIL PROTECTED] Date: Thu, 19 Jul 2007 17:44:52 -0700 Add device ids for new revs of the Intel I/OAT DMA engine Signed-off-by: Shannon Nelson [EMAIL PROTECTED] Acked-by: David S. Miller [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 2/7] I/OAT: Rename the source file

2007-07-19 Thread David Miller
From: Shannon Nelson [EMAIL PROTECTED] Date: Thu, 19 Jul 2007 17:44:57 -0700 Rename the ioatdma.c file in preparation for splitting into multiple files, which will allow for easier adding new functionality. Signed-off-by: Shannon Nelson [EMAIL PROTECTED] Acked-by: David S. Miller [EMAIL

Re: [PATCH 3/7] I/OAT: code cleanup from checkpatch output

2007-07-19 Thread David Miller
From: Shannon Nelson [EMAIL PROTECTED] Date: Thu, 19 Jul 2007 17:45:02 -0700 Take care of a bunch of little code nits in ioatdma files Signed-off-by: Shannon Nelson [EMAIL PROTECTED] Acked-by: David S. Miller [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe

<    9   10   11   12   13   14   15   >