Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-17 Thread Jarek Poplawski
On Tue, Jul 17, 2007 at 07:46:39AM +0200, Jarek Poplawski wrote: ... static void net_rx_action(struct softirq_action *h) { struct softnet_data *queue = __get_cpu_var(softnet_data); unsigned long start_time = jiffies; int budget = netdev_budget; void

Re: sata_nv: 2.6.22 is not fixed, but certainly improved

2007-07-17 Thread Robert Hancock
Robert Hancock wrote: Can you post the output you got from the reset on 2.6.22? It's one of these: ata4: EH in ADMA mode, notifier 0x0 notifier_error 0x0 gen_ctl 0x1501000 status 0x400 next cpb count 0x0 next cpb idx 0x0 ata4: CPB 0: ctl_flags 0x9, resp_flags 0x0 ata4: timeout waiting for

Re: Full buffer cache not working properly

2007-07-17 Thread Andrew Morton
On Thu, 12 Jul 2007 17:03:34 +0300 Thanos Makatos [EMAIL PROTECTED] wrote: I run several times the following test and what I've seen is that when the buffer cache becomes full, unneeded dirty buffer heads are not evicted and no other memory allocation can happen (including reading a block

Re: Linux 2.4.35 tree abandoned/delayed?

2007-07-17 Thread Tony Borras
On Tue, 17 Jul 2007 07:20:06 +0200 Willy Tarreau [EMAIL PROTECTED] wrote: Hi Tony, On Mon, Jul 16, 2007 at 04:30:47PM -0800, Tony Borras wrote: I did get the current 'pre' set of 2.4.35 (circa early June) patches and applied to 2.4.34.5. After fixing a goto mislable in one of the

Re: [BUG] AS io-scheduler.

2007-07-17 Thread Jens Axboe
On Mon, Jul 16 2007, Ian Kumlien wrote: On mån, 2007-07-16 at 21:56 +0200, Jens Axboe wrote: On Mon, Jul 16 2007, Ian Kumlien wrote: On mån, 2007-07-16 at 19:29 +0200, Jens Axboe wrote: On Mon, Jul 16 2007, Chuck Ebbert wrote: On 07/15/2007 11:20 AM, Ian Kumlien wrote: I had

Re: [BUG] AS io-scheduler.

2007-07-17 Thread Jens Axboe
On Tue, Jul 17 2007, Rene Herman wrote: On 07/16/2007 06:31 PM, Chuck Ebbert wrote: BUG: unable to handle kernel paging request at virtual address ea86ac54 printing eip: c022dfec *pde = Oops: [#1] Modules linked in: eeprom i2c_viapro vt8231 i2c_isa skge CPU:0 EIP:

Re: Hibernating To Swap Considered Harmful

2007-07-17 Thread Joseph Fannin
On Tue, Jul 17, 2007 at 07:44:07AM +0200, Oliver Neukum wrote: If yoi want to go the kexec route to hibernation, the dumping kernel would need to mount the filesystem to write to a file. Therefore the suspending kernel would need to sync to disk and lock that file. If the file is

Re: [PATCH 10/10] IB/ehca: Support large page MRs

2007-07-17 Thread Joachim Fenkes
Roland Dreier [EMAIL PROTECTED] wrote on 17.07.2007 05:50:13: Why the module parameter? Is there any reason a user would want to turn this off? Or conversely, why is it off by default? We're pretty confident this new feature works, but as with all new and possibly

[PATCH try#6] Blackfin ethernet driver: on chip ethernet MAC controller driver

2007-07-17 Thread Bryan Wu
This patch implements the driver necessary use the Analog Devices Blackfin processor's on-chip ethernet MAC controller. [try#2] - add timeout control - kill dma_config_reg bitfields - some trivial cleanup [try#3] - add endianess check - add DRV_NAME, DRV_VERSION... driver information

Re: block/bsg.c

2007-07-17 Thread Jens Axboe
On Mon, Jul 16 2007, Andrew Morton wrote: A belated review (I've never seen this before and there it is in mainline) static char bsg_version[] = block layer sg (bsg) 0.4; `const' would be better. That moves it into a write-protected memory section. Agree #define list_entry_bc(entry)

Re: [PATCH try#6] Blackfin ethernet driver: on chip ethernet MAC controller driver

2007-07-17 Thread Bryan Wu
Hi Jeff: Can this driver be merged for 2.6.23-rcN? Thanks - Bryan Wu On Tue, 2007-07-17 at 14:43 +0800, Bryan Wu wrote: This patch implements the driver necessary use the Analog Devices Blackfin processor's on-chip ethernet MAC controller. [try#2] - add timeout control - kill

Re: [PATCH 30/33] USB storage: sg chaining support

2007-07-17 Thread Greg KH
On Mon, Jul 16, 2007 at 11:47:44AM +0200, Jens Axboe wrote: [PATCH] USB storage: sg chaining support Modify usb_stor_access_xfer_buf() to take a pointer to an sg entry pointer, so we can keep track of that instead of passing around an integer index (which we can't use when dealing with

Re: block/bsg.c

2007-07-17 Thread FUJITA Tomonori
From: Jens Axboe [EMAIL PROTECTED] Subject: Re: block/bsg.c Date: Tue, 17 Jul 2007 08:38:11 +0200 On Mon, Jul 16 2007, Andrew Morton wrote: A belated review (I've never seen this before and there it is in mainline) static char bsg_version[] = block layer sg (bsg) 0.4; `const'

[PATCH TRIVIAL] acpiphp_ibm: add missing \n

2007-07-17 Thread Jeremy Fitzhardinge
Add missing \n to error in ibm_find_acpi_device. Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] Cc: Kristen Carlson Accardi [EMAIL PROTECTED] Cc: Greg Kroah-Hartman [EMAIL PROTECTED] Cc: Adrian Bunk [EMAIL PROTECTED] --- drivers/pci/hotplug/acpiphp_ibm.c |2 +- 1 file changed, 1

Re: Hibernating To Swap Considered Harmful

2007-07-17 Thread david
On Tue, 17 Jul 2007, Joseph Fannin wrote: On Tue, Jul 17, 2007 at 07:44:07AM +0200, Oliver Neukum wrote: If yoi want to go the kexec route to hibernation, the dumping kernel would need to mount the filesystem to write to a file. Therefore the suspending kernel would need to sync to disk and

Re: [BUG] AS io-scheduler.

2007-07-17 Thread Neil Brown
On Saturday July 14, [EMAIL PROTECTED] wrote: Hi, I had emerge --sync failing several times... So i checked dmesg and found some info, attached further down. This is a old VIA C3 machine with one disk, it's been running most kernels in the 2.6.x series with no problems until now. PS.

Re: [PATCH] change SysRq keycode for systems without SysRq key

2007-07-17 Thread Andrew Morton
On Fri, 13 Jul 2007 23:20:33 +0200 federico ferri [EMAIL PROTECTED] wrote: #ifdef CONFIG_MAGIC_SYSRQ /* Handle the SysRq Hack */ - if (keycode == KEY_SYSRQ (sysrq_down || (down == 1 sysrq_alt))) { + if (keycode == CONFIG_MAGIC_SYSRQ_KEYCODE (sysrq_down || (down == 1

Re: block/bsg.c

2007-07-17 Thread Jens Axboe
On Tue, Jul 17 2007, FUJITA Tomonori wrote: From: Jens Axboe [EMAIL PROTECTED] Subject: Re: block/bsg.c Date: Tue, 17 Jul 2007 08:38:11 +0200 On Mon, Jul 16 2007, Andrew Morton wrote: A belated review (I've never seen this before and there it is in mainline) static char

Re: Containers: css_put() dilemma

2007-07-17 Thread Balbir Singh
On Mon, Jul 16, 2007 at 07:35:01PM -0700, Paul (宝瑠) Menage wrote: On 7/16/07, Balbir Singh [EMAIL PROTECTED] wrote: - if (notify_on_release(cont)) { + if (atomic_dec_and_test(css-refcnt) notify_on_release(cont)) { This seems like a good idea, as long as atomic_dec_and_test()

Re: [PATCH 30/33] USB storage: sg chaining support

2007-07-17 Thread Jens Axboe
On Mon, Jul 16 2007, Greg KH wrote: On Mon, Jul 16, 2007 at 11:47:44AM +0200, Jens Axboe wrote: [PATCH] USB storage: sg chaining support Modify usb_stor_access_xfer_buf() to take a pointer to an sg entry pointer, so we can keep track of that instead of passing around an integer index

Re: mutex_unlock() in interrupt context

2007-07-17 Thread Andrew Morton
On Fri, 13 Jul 2007 19:14:56 -0500 Jerry Cooperstein [EMAIL PROTECTED] wrote: kernel/mutex.c says about mutex_unlock(): * This function must not be used in interrupt context. However I have done some simple test cases that show it works without complaint. Now I understand that one

Re: [PATCH 09/33] x86-64: update iommu/dma mapping functions to sg helpers

2007-07-17 Thread Jens Axboe
On Mon, Jul 16 2007, Andrew Morton wrote: On Mon, 16 Jul 2007 22:10:03 +0200 Jens Axboe [EMAIL PROTECTED] wrote: On Mon, Jul 16 2007, Andrew Morton wrote: On Mon, 16 Jul 2007 11:47:23 +0200 Jens Axboe [EMAIL PROTECTED] wrote: This prepares x86-64 for sg chaining support.

Re: [PATCH 1/10] sysfs: fix kmem_cache_free(NULL)

2007-07-17 Thread Pekka J Enberg
2007/7/17, Greg KH [EMAIL PROTECTED]: Why not just allow kmem_cache_free() to allow NULL like other functions in the kernel? On Tue, 17 Jul 2007, Akinobu Mita wrote: It seems there was discussion about this and no conclusion yet? IIRC the patch was rejected by relevant maintainers because

Re: [PATCH] isofs: mounting to regular file may succeed

2007-07-17 Thread Andrew Morton
On Sat, 14 Jul 2007 03:47:21 +0400 Kirill Kuvaldin [EMAIL PROTECTED] wrote: It turned out that mounting a corrupted ISO image to a regular file may succeed, e.g. if an image was prepared as follows: $ dd if=correct.iso of=bad.iso bs=4k count=8 We then can mount it to a regular file: #

Re: [PATCH 30/33] USB storage: sg chaining support

2007-07-17 Thread Greg KH
On Tue, Jul 17, 2007 at 09:01:02AM +0200, Jens Axboe wrote: On Mon, Jul 16 2007, Greg KH wrote: On Mon, Jul 16, 2007 at 11:47:44AM +0200, Jens Axboe wrote: [PATCH] USB storage: sg chaining support Modify usb_stor_access_xfer_buf() to take a pointer to an sg entry pointer, so we can

Re: [PATCH] isofs: mounting to regular file may succeed

2007-07-17 Thread Christoph Hellwig
On Tue, Jul 17, 2007 at 12:04:07AM -0700, Andrew Morton wrote: I don't think any (all?) other filesystems perform checks like this. Is this something which can/should be performed at the VFS level? As far as the VFS is concerned non-directory mounts are perfectly fine. There's a lot of use

Re: [PATCH 30/33] USB storage: sg chaining support

2007-07-17 Thread Jens Axboe
On Tue, Jul 17 2007, Greg KH wrote: On Tue, Jul 17, 2007 at 09:01:02AM +0200, Jens Axboe wrote: On Mon, Jul 16 2007, Greg KH wrote: On Mon, Jul 16, 2007 at 11:47:44AM +0200, Jens Axboe wrote: [PATCH] USB storage: sg chaining support Modify usb_stor_access_xfer_buf() to take a

Re: block/bsg.c

2007-07-17 Thread FUJITA Tomonori
From: Jens Axboe [EMAIL PROTECTED] Subject: Re: block/bsg.c Date: Tue, 17 Jul 2007 08:59:40 +0200 On Tue, Jul 17 2007, FUJITA Tomonori wrote: From: Jens Axboe [EMAIL PROTECTED] Subject: Re: block/bsg.c Date: Tue, 17 Jul 2007 08:38:11 +0200 On Mon, Jul 16 2007, Andrew Morton wrote:

Re: Hibernating To Swap Considered Harmful

2007-07-17 Thread Oliver Neukum
Am Dienstag 17 Juli 2007 schrieb Joseph Fannin: On Tue, Jul 17, 2007 at 07:44:07AM +0200, Oliver Neukum wrote: If yoi want to go the kexec route to hibernation, the dumping kernel would need to mount the filesystem to write to a file. Therefore the suspending kernel would need to sync to

[PATCH] appletouch powersaving - please apply for 2.6.23-rc1

2007-07-17 Thread Soeren Sonnenburg
Hi, the attached minimally intrusive patch is based on Matthew Garret's patch 'Make appletouch shut up when it has nothing to say' patches (e.g. http://lkml.org/lkml/2007/5/13/117): Matthews description follows / second paragraph lists my additional changes. The appletouch geyser3 devices found

Re: block/bsg.c

2007-07-17 Thread Jens Axboe
On Tue, Jul 17 2007, FUJITA Tomonori wrote: From: Jens Axboe [EMAIL PROTECTED] Subject: Re: block/bsg.c Date: Tue, 17 Jul 2007 08:59:40 +0200 On Tue, Jul 17 2007, FUJITA Tomonori wrote: From: Jens Axboe [EMAIL PROTECTED] Subject: Re: block/bsg.c Date: Tue, 17 Jul 2007 08:38:11

Re: block/bsg.c

2007-07-17 Thread FUJITA Tomonori
From: Jens Axboe [EMAIL PROTECTED] Subject: Re: block/bsg.c Date: Tue, 17 Jul 2007 09:10:45 +0200 On Tue, Jul 17 2007, FUJITA Tomonori wrote: From: Jens Axboe [EMAIL PROTECTED] Subject: Re: block/bsg.c Date: Tue, 17 Jul 2007 08:59:40 +0200 On Tue, Jul 17 2007, FUJITA Tomonori wrote:

Re: Containers: css_put() dilemma

2007-07-17 Thread Paul (宝瑠) Menage
On 7/17/07, Balbir Singh [EMAIL PROTECTED] wrote: mutex_lock(container_mutex); set_bit(CONT_RELEASABLE, cont-flags); - if (atomic_dec_and_test(css-refcnt)) { - check_for_release(cont); - } +

Re: block/bsg.c

2007-07-17 Thread Jens Axboe
On Tue, Jul 17 2007, FUJITA Tomonori wrote: From: Jens Axboe [EMAIL PROTECTED] Subject: Re: block/bsg.c Date: Tue, 17 Jul 2007 09:10:45 +0200 On Tue, Jul 17 2007, FUJITA Tomonori wrote: From: Jens Axboe [EMAIL PROTECTED] Subject: Re: block/bsg.c Date: Tue, 17 Jul 2007 08:59:40

Re: Linux 2.4.35 tree abandoned/delayed?

2007-07-17 Thread Tony Borras
On Tue, 17 Jul 2007 07:20:06 +0200 Willy Tarreau [EMAIL PROTECTED] wrote: could you please report what the problem was, in case it's not fixed yet ? Ok, reproduced error at ./net/ipv4/fib_semantics.c line 436 changed label: errout - err_inval then it builds fine! started

Re: Hibernating To Swap Considered Harmful

2007-07-17 Thread Joseph Fannin
On Mon, Jul 16, 2007 at 11:42:08PM -0700, [EMAIL PROTECTED] wrote: On Tue, 17 Jul 2007, Joseph Fannin wrote: root is free to dd if=/dev/random of=/dev/mem. Root owned daemons which do bad things are bugs. in this case it would be more like dd if=/block0 of=/dev/sda1 count=1 bs=4096

Re: block/bsg.c

2007-07-17 Thread FUJITA Tomonori
From: Jens Axboe [EMAIL PROTECTED] Subject: Re: block/bsg.c Date: Tue, 17 Jul 2007 08:38:11 +0200 As a reader of this code I'm wondering hm, why is BSG_SUB_PROTOCOL_SCSI_CMD unprivileged, while other modes require CAP_SYS_RAWIO?. This design/policy decision maybe was discussed on a

Re: [PATCH] Chinese Language Maintainer

2007-07-17 Thread Ganesan Rajagopal
Alan Cox [EMAIL PROTECTED] writes: preferred. Moreover, technical education is completely in English. I don't see much value in translating developer documentation into Indian languages. User documentation is another story. I am not convinced that users do not become developers, nor that

Re: [patch] CFS scheduler, -v19

2007-07-17 Thread Ingo Molnar
* Markus [EMAIL PROTECTED] wrote: The dmesg output is not differing in any interesting point (just some numbers, like raid-benchmark, some irqs or usb-numbers...) could you please send me the cfs-debug-info output nevertheless? Nothing is printed for a disapeared app for me. Is there

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-17 Thread Olaf Kirch
On Tuesday 17 July 2007 00:08, David Miller wrote: Sure, but I thought it would be nice to give Olaf a day or two to figure out what's going on rather than have the knee-jerk reaction to just revert. Oh, reverting is fine with me. I'll just resubmit the patch. Olaf -- Olaf Kirch | --- o

Re: [PATCH 09/33] x86-64: update iommu/dma mapping functions to sg helpers

2007-07-17 Thread Jens Axboe
On Tue, Jul 17 2007, Muli Ben-Yehuda wrote: On Mon, Jul 16, 2007 at 01:34:27PM -0700, Andrew Morton wrote: I'll keep rebasing sglist and the other branches I pull into for-akpm, so you can just re-enable the for-akpm pull when the a) is true. Andi's tree is very out of date and is

Re: Hibernating To Swap Considered Harmful

2007-07-17 Thread david
On Tue, 17 Jul 2007, Joseph Fannin wrote: On Mon, Jul 16, 2007 at 11:42:08PM -0700, [EMAIL PROTECTED] wrote: On Tue, 17 Jul 2007, Joseph Fannin wrote: root is free to dd if=/dev/random of=/dev/mem. Root owned daemons which do bad things are bugs. in this case it would be more like dd

Re: [PATCH] isofs: mounting to regular file may succeed

2007-07-17 Thread Al Viro
On Tue, Jul 17, 2007 at 12:04:07AM -0700, Andrew Morton wrote: I don't think any (all?) other filesystems perform checks like this. Is this something which can/should be performed at the VFS level? I don't see why we _should_ check that; VFS checks that we don't turn directory into

Re: [patch] CFS scheduler, -v19

2007-07-17 Thread Ingo Molnar
* Ian Kent [EMAIL PROTECTED] wrote: Yes it does and I have two reported bugs so far. In several places I have code similar to: wait.tv_sec = time(NULL) + 1; wait.tv_nsec = 0; signaled = 0; while (!signaled) { status = pthread_cond_timedwait(cond, mutex, wait); if

Re: block/bsg.c

2007-07-17 Thread Jan Engelhardt
On Jul 16 2007 16:57, Andrew Morton wrote: A belated review (I've never seen this before and there it is in mainline) static char bsg_version[] = block layer sg (bsg) 0.4; `const' would be better. That moves it into a write-protected memory section. Or perhaps MODULE_DESCRIPTION() and

[PATCH] mark a bunch of ISA|EISA|PCI drivers as such

2007-07-17 Thread Al Viro
Signed-off-by: Al Viro [EMAIL PROTECTED] --- drivers/char/Kconfig |8 drivers/telephony/Kconfig |1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index ec9dc3d..ab690a6 100644 --- a/drivers/char/Kconfig +++

[PATCH] alpha termios.h hadn't been updated

2007-07-17 Thread Al Viro
... fortunately, termios and ktermios there are identical, so no run-time breakage happened. Signed-off-by: Al Viro [EMAIL PROTECTED] --- include/asm-alpha/termios.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/asm-alpha/termios.h

[PATCH] no USB on M32R

2007-07-17 Thread Al Viro
Won't build due to lack of dma-mapping. Shouldn't that dependency (having PCMCIA = HCD possible) be on CARDBUS, anyway? Signed-off-by: Al Viro [EMAIL PROTECTED] --- drivers/usb/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/Kconfig

[PATCH] saner typechecking in generic unaligned.h

2007-07-17 Thread Al Viro
Verify that types would match for assignment (under sizeof, so we are safe from side effects or any code actually getting generated), then explicitly cast everywhere to the fixed-sized types. Kills a bunch of bogus warnings about constants being truncated (gcc, sparse), finds a pile of

[PATCH] missing exports of csum_...

2007-07-17 Thread Al Viro
Signed-off-by: Al Viro [EMAIL PROTECTED] --- arch/alpha/lib/checksum.c |1 + arch/ia64/lib/checksum.c |1 + arch/m68k/lib/checksum.c |1 + arch/sh64/lib/c-checksum.c |1 + 4 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/alpha/lib/checksum.c

[PATCH] alpha __init fixes

2007-07-17 Thread Al Viro
__init and __initdata stuff used from __devinit one Signed-off-by: Al Viro [EMAIL PROTECTED] --- arch/alpha/kernel/smp.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/alpha/kernel/smp.c b/arch/alpha/kernel/smp.c index 80cfb75..b287314 100644 ---

[PATCH] um_kmalloc() remnants

2007-07-17 Thread Al Viro
Signed-off-by: Al Viro [EMAIL PROTECTED] --- arch/um/drivers/pcap_user.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/um/drivers/pcap_user.c b/arch/um/drivers/pcap_user.c index 483aa15..1316456 100644 --- a/arch/um/drivers/pcap_user.c +++

[PATCH] sparc32 has working dma-mapping only with CONFIG_PCI

2007-07-17 Thread Al Viro
Signed-off-by: Al Viro [EMAIL PROTECTED] --- arch/sparc/Kconfig |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index 8567cc9..73df711 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig @@ -217,6 +217,9 @@ source

[PATCH] atl1: missing include

2007-07-17 Thread Al Viro
Signed-off-by: Al Viro [EMAIL PROTECTED] --- drivers/net/atl1/atl1_main.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/atl1/atl1_main.c b/drivers/net/atl1/atl1_main.c index 4a18b88..fd1e156 100644 --- a/drivers/net/atl1/atl1_main.c +++

Re: [PATCH] CFS: Fix missing digit off in wmult table

2007-07-17 Thread Ingo Molnar
* Roman Zippel [EMAIL PROTECTED] wrote: It's nice that these artifacts are gone, but that still doesn't explain why this ratio had to be increase that much from around 1:10 to 1:69. More dynamic range is better? If you actually want a task to get 20x the CPU time of another,

Re: how about bringing Documentation/feature-removal-schedule.txt up to date?

2007-07-17 Thread Stefan Richter
Jean Delvare wrote: This one took more time than expected, These words sound strangely familiar, as if I often said them myself. Can't be. -- Stefan Richter -=-=-=== -=== =---= http://arcgraph.de/sr/ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH 09/33] x86-64: update iommu/dma mapping functions to sg helpers

2007-07-17 Thread Jens Axboe
On Tue, Jul 17 2007, Jens Axboe wrote: On Mon, Jul 16 2007, Andrew Morton wrote: On Mon, 16 Jul 2007 22:10:03 +0200 Jens Axboe [EMAIL PROTECTED] wrote: On Mon, Jul 16 2007, Andrew Morton wrote: On Mon, 16 Jul 2007 11:47:23 +0200 Jens Axboe [EMAIL PROTECTED] wrote: This

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-17 Thread Olaf Kirch
On Tuesday 17 July 2007 08:14, Jarek Poplawski wrote: If after poll_napi dev-quota = 0 dev-poll is not run and __LINK_STATE_RX_SCHED bit (plus dev-poll_list) stays uncleared. Or, more precisely dev-poll_list will be cleared just after this, and net_rx_action returns with

[PATCH][Doc] Typo: fro - from

2007-07-17 Thread Rolf Eike Beer
Signed-off-by: Rolf Eike Beer [EMAIL PROTECTED] --- commit 11a9dc32fadc7fe6722dc62ce84f0e483eb85368 tree bc08486dd569753148b5e09d000866cec4d971d7 parent a3036bca04b4e27427e01ed74fb93b8600595bce author Rolf Eike Beer [EMAIL PROTECTED] Tue, 17 Jul 2007 09:54:47 +0200 committer Rolf Eike Beer [EMAIL

Re: [PATCH] CFS: Fix missing digit off in wmult table

2007-07-17 Thread Ingo Molnar
* Roman Zippel [EMAIL PROTECTED] wrote: Nice level 19 shows the largest artifacts, as that level only gets a single tick, so the ratio is often 1:HZ/10 (except for 1000HZ where it's 5:100). [...] Roman, please do me a favor, and ask me the following question: Ingo, you've been

Re: [PATCH] no USB on M32R

2007-07-17 Thread Greg KH
On Tue, Jul 17, 2007 at 08:49:35AM +0100, Al Viro wrote: Won't build due to lack of dma-mapping. Shouldn't that dependency (having PCMCIA = HCD possible) be on CARDBUS, anyway? No, I think there are some older PCMCIA USB host controllers out there, unfortunatly :( thanks, greg k-h - To

Re: [PATCH] um_kmalloc() remnants

2007-07-17 Thread Pekka Enberg
On 7/17/07, Al Viro [EMAIL PROTECTED] wrote: - pri-compiled = um_kmalloc(sizeof(struct bpf_program)); + pri-compiled = kmalloc(sizeof(struct bpf_program), UM_GFP_KERNEL); GFP_KERNEL? - To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH] missing exports of csum_...

2007-07-17 Thread David Miller
From: Al Viro [EMAIL PROTECTED] Date: Tue, 17 Jul 2007 08:49:35 +0100 Signed-off-by: Al Viro [EMAIL PROTECTED] Acked-by: David S. Miller [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: [PATCH] sparc32 has working dma-mapping only with CONFIG_PCI

2007-07-17 Thread David Miller
From: Al Viro [EMAIL PROTECTED] Date: Tue, 17 Jul 2007 08:49:35 +0100 Signed-off-by: Al Viro [EMAIL PROTECTED] Acked-by: David S. Miller [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: [PATCH 2/3] KVM - Fix hypercall arguments

2007-07-17 Thread Avi Kivity
Jeff Dike wrote: It looks like kvm_hypercall is trying to match the system call convention and mixed up the call number and first argument in the 32-bit case. Signed-off-by: Jeff Dike [EMAIL PROTECTED] -- drivers/kvm/kvm_main.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [patch] sched: fix newly idle load balance in case of SMT

2007-07-17 Thread Ingo Molnar
* Siddha, Suresh B [EMAIL PROTECTED] wrote: In the presence of SMT, newly idle balance was never happening for multi-core and SMP domains(even when both the logical siblings are idle). If thread 0 is already idle and when thread 1 is about to go to idle, newly idle load balance always

Re: [PATCH 1/3] KVM - Add missing kvm_run initializations

2007-07-17 Thread Avi Kivity
Jeff Dike wrote: There are a bunch of missing initializations of run-exit_reason and associated data. kvm_hypercall wasn't setting exit_reason at all. When exit_reason is KVM_EXIT_MMIO, the mmio data isn't initialized. I don't know what it should be, so I just stuck a FIXME in there. There

Re: Determine version of kernel that produced vmcore

2007-07-17 Thread Bernhard Walle
* Vivek Goyal [EMAIL PROTECTED] [2007-07-17 05:50]: Thinking more about it. These config variables are accessible in user space in first kernel through sysconf() interface. In that case kexec can pack required config variables into an ELF note and kernel does not have to intervene. That's a

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-17 Thread Olaf Kirch
On Monday 16 July 2007 23:40, Linus Torvalds wrote: - The change seems to always set the LIST_FROZEN bit when calling -poll(), and at least on e1000, the NAPI poll() routine ends up doing that netif_rx_complete(), so we're *guaranteed* to always take the early exit and not do

[PATCH] introduce __init_exit function annotation

2007-07-17 Thread Domen Puncer
Introduce __init_exit, which is useful ie. for drivers that call cleanup functions when they fail in __init functions. Signed-off-by: Domen Puncer [EMAIL PROTECTED] --- include/linux/init.h |2 ++ 1 file changed, 2 insertions(+) Index: work-powerpc.git/include/linux/init.h

Re: [PATCH 0/2] Kexec jump: The first step to kexec base hibernation

2007-07-17 Thread david
Ying, as the kexec guru in this thread I have a question for you about how kexec works (and possibly where you are going with this) for the power-off hibernate with ACPI disabled the hibernation seems fairly straightforward (although there are still some missing pieces) however, since the

Re: [patch] sched: fix the all pinned logic in load_balance_newidle()

2007-07-17 Thread Ingo Molnar
* Siddha, Suresh B [EMAIL PROTECTED] wrote: nr_moved is not the correct check for triggering all pinned logic. Fix the all pinned logic in the case of load_balance_newidle(). indeeed. i've applied your patch to my queue. (I've done a trivial style change to it, see below.) Ingo

[PATCH 1/4] [NET] move dev_mc_discard from dev_mcast.c to dev.c

2007-07-17 Thread Denis Cheng
because this function is only called by unregister_netdevice, this moving could make this non-global function static, and also remove a function declaration in netdevice.h another way, the sequential call to dev_unicast_discard and then dev_mc_discard in unregister_netdevice have a similar

Re: [PATCH 3/3] KVM - add hypercall nr to kvm_run

2007-07-17 Thread Avi Kivity
Jeff Dike wrote: Add the hypercall number to kvm_run and initialize it. This might be considered API-changing, so I kept it separate. Signed-off-by: Jeff Dike [EMAIL PROTECTED] -- drivers/kvm/kvm_main.c |1 + include/linux/kvm.h|1 + 2 files changed, 2 insertions(+) Index:

[PATCH 2/4] [NET] make non-global function __dev_addr_discard static

2007-07-17 Thread Denis Cheng
and remove its declaration in header file include/linux/netdevice.h Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- include/linux/netdevice.h |1 - net/core/dev.c|2 +- 2 files changed, 1 insertions(+), 2 deletions(-) diff --git a/include/linux/netdevice.h

Re: [PATCH 4/10] cpu: deliver CPU_UP_CANCELED only to NOTIFY_OKed callbacks with CPU_UP_PREPARE

2007-07-17 Thread Gautham R Shenoy
Hi Akinobu, On Mon, Jul 16, 2007 at 10:53:47PM +0900, Akinobu Mita wrote: The functions in a CPU notifier chain is called with CPU_UP_PREPARE event before making the CPU online. If one of the callback returns NOTIFY_BAD, it stops to deliver CPU_UP_PREPARE event, and CPU online operation is

timerfd read only gets single byte?

2007-07-17 Thread Michael Kerrisk
Hi Davide, While writing a test program to incorporate into the timerfd.2 man page, I think I've found a bug. It looks like only the least significant byte of ticks is being returned from read(2), even though I am providing a 4 byte buffer. The test program takes 3 command line arguments: 1)

Re: [PATCH] um_kmalloc() remnants

2007-07-17 Thread Pekka Enberg
On 7/17/07, Al Viro [EMAIL PROTECTED] wrote: - pri-compiled = um_kmalloc(sizeof(struct bpf_program)); + pri-compiled = kmalloc(sizeof(struct bpf_program), UM_GFP_KERNEL); On 7/17/07, Pekka Enberg [EMAIL PROTECTED] wrote: GFP_KERNEL? Uhm, missed this:

timerfd(2) draft man page plus questions

2007-07-17 Thread Michael Kerrisk
Hi Davide, Below is my current draft of the timerfd.2 man page. There are a number of points that I'm not sure of, and a few questions, all marked FIXME Davide -- could you take a look at those please. Aside from that there are a couple of questions I have on details of the call (one of which

[PATCH 3/4] [NET] merge dev_unicast_discard and dev_mc_discard into one

2007-07-17 Thread Denis Cheng
this two functions can share the dev-_xmit_lock acquired context. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- net/core/dev.c | 16 1 files changed, 4 insertions(+), 12 deletions(-) diff --git a/net/core/dev.c b/net/core/dev.c index 3ba63aa..17c9cbd 100644 ---

[PATCH 4/4] [NET] move __dev_addr_discard adjacent to dev_addr_discard for readability

2007-07-17 Thread Denis Cheng
Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- net/core/dev.c | 28 ++-- 1 files changed, 14 insertions(+), 14 deletions(-) diff --git a/net/core/dev.c b/net/core/dev.c index 17c9cbd..6357f54 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -2715,20 +2715,6 @@ int

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-17 Thread Olaf Kirch
On Tuesday 17 July 2007 09:55, Olaf Kirch wrote: What I find more problematic about this portion of code though is that once a net_device is over quota, net_rx_action will loop for up to one jiffy, even if there's just this one device on the poll_list. Duh, wrong. For every loop, it'll add

Re: [PATCH] introduce __init_exit function annotation

2007-07-17 Thread Adrian Bunk
On Tue, Jul 17, 2007 at 10:02:48AM +0200, Domen Puncer wrote: Introduce __init_exit, which is useful ie. for drivers that call cleanup functions when they fail in __init functions. Signed-off-by: Domen Puncer [EMAIL PROTECTED] --- include/linux/init.h |2 ++ 1 file changed, 2

Re: [PATCH] fs: Add romfs version 2

2007-07-17 Thread Andrew Morton
On Fri, 13 Jul 2007 16:01:48 +1000 Lindsay Roberts [EMAIL PROTECTED] wrote: * Increases romfs partition size limit from 2GB to 4GB. * Adds new derivative of romfs filesystem (rom2fs) with block aligned regular file data to bring performance parity with ext2/3. This is about 225% of the

Re: [PATCH 3/3] KVM - add hypercall nr to kvm_run

2007-07-17 Thread Avi Kivity
Avi Kivity wrote: Jeff Dike wrote: Add the hypercall number to kvm_run and initialize it. This might be considered API-changing, so I kept it separate. Signed-off-by: Jeff Dike [EMAIL PROTECTED] -- drivers/kvm/kvm_main.c |1 + include/linux/kvm.h|1 + 2 files changed, 2

Re: [PATCH 2/3] Blackfin on-chip watchdog driver

2007-07-17 Thread Wim Van Sebroeck
Hi Mike, Bryan, This patch implements the driver necessary use the Analog Devices Blackfin processor's on-chip watchdog controller, supports BF53[123]/BF53[467]/BF54[2489]/BF561. Signed-off-by: Mike Frysinger [EMAIL PROTECTED] Signed-off-by: Bryan Wu [EMAIL PROTECTED] Cc: Wim Van Sebroeck

Re: [patch 37/44] xen: add virtual network device driver

2007-07-17 Thread Stephen Hemminger
+struct netfront_info { + struct list_head list; + struct net_device *netdev; + + struct net_device_stats stats; There is now a net_device_stats element inside net_device on 2.6.21 or later. + + struct xen_netif_tx_front_ring tx; + struct xen_netif_rx_front_ring rx;

Re: [PATCH 2/3] Blackfin on-chip watchdog driver

2007-07-17 Thread Bryan Wu
On Tue, 2007-07-17 at 10:48 +0200, Wim Van Sebroeck wrote: Hi Mike, Bryan, This patch implements the driver necessary use the Analog Devices Blackfin processor's on-chip watchdog controller, supports BF53[123]/BF53[467]/BF54[2489]/BF561. Signed-off-by: Mike Frysinger [EMAIL

Re: [PATCH 09/33] x86-64: update iommu/dma mapping functions to sg helpers

2007-07-17 Thread Muli Ben-Yehuda
On Tue, Jul 17, 2007 at 09:38:59AM +0200, Jens Axboe wrote: On Tue, Jul 17 2007, Muli Ben-Yehuda wrote: The Xen and Calgary bits are mutually exclusive, so hopefully (a) will not be held up on account of the Xen merge (or for any other reason... CalIOC2 machines which are out there won't

Re: uninline check_signature()

2007-07-17 Thread Geert Uytterhoeven
On Mon, 16 Jul 2007, Linus Torvalds wrote: On Mon, 16 Jul 2007, Andrew Morton wrote: No, no revert, please. If the architecture doesn't support readb() then we need some reliable way of working that out within Kconfig. Isn't that CONFIG_HAS_IOMEM? No, having memory mapped I/O doesn't

attempting to open a VT from elsewhere and take raw keyboard input

2007-07-17 Thread Shawn Rutledge
I'm messing around with framebuffer graphics stuff and trying to write a keyboard driver similar to the one in X, which will allow you to start up the graphics system from any tty (not just a virtual console), find an available VT, switch to that VT, and then take input from the physically

Re: [PATCH 09/33] x86-64: update iommu/dma mapping functions to sg helpers

2007-07-17 Thread Jens Axboe
On Tue, Jul 17 2007, Muli Ben-Yehuda wrote: On Tue, Jul 17, 2007 at 09:38:59AM +0200, Jens Axboe wrote: On Tue, Jul 17 2007, Muli Ben-Yehuda wrote: The Xen and Calgary bits are mutually exclusive, so hopefully (a) will not be held up on account of the Xen merge (or for any other

Re: uninline check_signature()

2007-07-17 Thread Geert Uytterhoeven
On Tue, 17 Jul 2007, Geert Uytterhoeven wrote: On Mon, 16 Jul 2007, Linus Torvalds wrote: On Mon, 16 Jul 2007, Andrew Morton wrote: No, no revert, please. If the architecture doesn't support readb() then we need some reliable way of working that out within Kconfig. Isn't that

[PATCH] posix-timer: fix deletion race

2007-07-17 Thread Thomas Gleixner
Jeremy Katz experienced a posix-timer related bug on 2.6.14. This is caused by a subtle race, which is there since the original posix timer commit and persists until today. timer_delete does: lock_timer(); timer-it_process = NULL; unlock_timer(); release_posix_timer(); timer-it_process is

Re: [PATCH] introduce __init_exit function annotation

2007-07-17 Thread Domen Puncer
On 17/07/07 10:31 +0200, Adrian Bunk wrote: On Tue, Jul 17, 2007 at 10:02:48AM +0200, Domen Puncer wrote: Introduce __init_exit, which is useful ie. for drivers that call cleanup functions when they fail in __init functions. Signed-off-by: Domen Puncer [EMAIL PROTECTED] ---

unprivileged mounts (was: Re: -mm merge plans for 2.6.23)

2007-07-17 Thread Andrew Morton
On Tue, 10 Jul 2007 01:31:52 -0700 Andrew Morton [EMAIL PROTECTED] wrote: unprivileged-mounts-add-user-mounts-to-the-kernel.patch unprivileged-mounts-allow-unprivileged-umount.patch unprivileged-mounts-account-user-mounts.patch unprivileged-mounts-propagate-error-values-from-clone_mnt.patch

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-17 Thread Ingo Molnar
Olaf, i've got a new observation: changing CONFIG_HZ from 250 to 1000 makes the problem go away. So it's somehow also related to jiffies. Ingo - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: uninline check_signature()

2007-07-17 Thread Pekka Enberg
Hi Heiko, On 7/17/07, Heiko Carstens [EMAIL PROTECTED] wrote: Hmm.. this breaks s390 and probably m68k and UML as well: CC lib/check_signature.o lib/check_signature.c: In function 'check_signature': lib/check_signature.c:19: error: implicit declaration of function 'readb' Just to

Re: [PATCH] utime(s): Honour CAP_FOWNER when times==NULL

2007-07-17 Thread Satyam Sharma
[ Ok, last overview of this thing. ] On Tue, 17 Jul 2007, Satyam Sharma wrote: On Mon, 16 Jul 2007, Al Viro wrote: On Tue, Jul 17, 2007 at 01:00:42AM +0530, Satyam Sharma wrote: if ((current-fsuid != inode-i_uid) !capable(CAP_FOWNER)) test is a rather common test, and in

Re: [PATCH 09/33] x86-64: update iommu/dma mapping functions to sg helpers

2007-07-17 Thread Muli Ben-Yehuda
On Tue, Jul 17, 2007 at 10:51:23AM +0200, Jens Axboe wrote: On Tue, Jul 17 2007, Muli Ben-Yehuda wrote: On Tue, Jul 17, 2007 at 09:38:59AM +0200, Jens Axboe wrote: On Tue, Jul 17 2007, Muli Ben-Yehuda wrote: The Xen and Calgary bits are mutually exclusive, so hopefully (a) will

  1   2   3   4   5   6   7   8   9   10   >