[PATCH] pid: sys_wait... fixes

2007-12-05 Thread Eric W. Biederman
This modifies do_wait and eligible_child to take a pair of enum pid_type and struct pid *pid to precisely specify what set of processes are eligible to be waited for, instead of the raw pid_t value from sys_wait4. This fixes a bug in sys_waitid where you could not wait for children in just

Re: [PATCH] pci: Fix bus resource assignment on 32 bits with 64b resources

2007-12-05 Thread Benjamin Herrenschmidt
On Wed, 2007-12-05 at 17:40 +1100, Benjamin Herrenschmidt wrote: The current pci_assign_unassigned_resources() code doesn't work properly on 32 bits platforms with 64 bits resources. The main reason is the use of unsigned long in various places instead of resource_size_t. This fixes it,

Re: Allow (O=...) from file

2007-12-05 Thread Jay Cliburn
On Wed, 5 Dec 2007 22:00:03 +0100 Sam Ravnborg [EMAIL PROTECTED] wrote: On Tue, Dec 04, 2007 at 09:04:33PM -0600, Jay Cliburn wrote: Sam, This piece of the top-level Makefile in current git causes an out-of-tree driver Makefile to fail. 101 ifdef O 102 ifeq ($(origin O),

Re: drivers/net/iseries_veth.c dubious sysfs usage

2007-12-05 Thread Michael Ellerman
On Wed, 2007-12-05 at 13:41 -0800, Greg KH wrote: On Wed, Dec 05, 2007 at 10:10:31PM +1100, Michael Ellerman wrote: On Wed, 2007-12-05 at 01:30 -0800, Greg KH wrote: In doing a massive kobject cleanup of the kernel tree, I ran across the iseries_veth.c driver. It looks like the

Re: solid state drive access and context switching

2007-12-05 Thread Kyungmin Park
Hi, On Dec 6, 2007 7:01 AM, Jared Hulbert [EMAIL PROTECTED] wrote: Probably about 1000 clocks but its always going to depend upon the workload and whether any other work can be done usefully. Yeah. Sounds right, in the microsecond range. Be interesting to see data. Anybody have ideas on

[PATCH Latency Tracer] don't panic on failed bootmem alloc

2007-12-05 Thread Steven Rostedt
Ingo, This patch prevents a panic on a failed bootmem alloc in the initialization of the tracer buffers. Signed-off-by: Steven Rostedt [EMAIL PROTECTED] Index: linux-2.6-latency/kernel/latency_trace.c === ---

[PATCH 2.6.21 through 2.6.23] ACPICA: fix acpi-cpufreq boot crash due to _PSD return-by-reference

2007-12-05 Thread Len Brown
From: Bob Moore [EMAIL PROTECTED] This bug has been in the ACPICA interpreter since the beginning of time. It is a reference-after-free bug due to the interpreter doing a return by reference on local objects instead of a return by value when the objects are part of a package. It could

Re: Please revert: PCI: fix IDE legacy mode resources

2007-12-05 Thread Benjamin Herrenschmidt
On Thu, 2007-12-06 at 13:34 +0900, Yoichi Yuasa wrote: I don't understand how his fix can work on MIPS nor why the previous code didn't, but I don't know how MIPS does its remapping tricks, however it will definitely -not- work on powerpc (and will break a couple of machines out there).

Re: [PATCH] Documentation about unaligned memory access

2007-12-05 Thread Brandon Philips
On 16:11 Mon 03 Dec 2007, Daniel Drake wrote: Here's a document I wrote after figuring out what unaligned memory access is all about. I've tried to cover the information I was looking for when trying to learn about this, without producing a hopelessly detailed/complex spew. I hope it is useful

Re: [PATCH] esp_scsi: Fix reset cleanup spinlock recursion

2007-12-05 Thread David Miller
From: Maciej W. Rozycki [EMAIL PROTECTED] Date: Wed, 5 Dec 2007 16:10:54 + (GMT) The esp_reset_cleanup() function is called with the host lock held and invokes starget_for_each_device() which wants to take it too. Here is a fix along the lines of

Re: New Address Family: Inter Process Networking (IPN)

2007-12-05 Thread Renzo Davoli
On Thu, Dec 06, 2007 at 12:39:22AM +0100, Andi Kleen wrote: [EMAIL PROTECTED] (Renzo Davoli) writes: Berkeley socket have been designed for client server or point to point communication. All existing Address Families implement this idea. Netlink is multicast/broadcast by default for once.

Bloggoo.com สร้างเว็บบล็อกแบบ เร็ว ฟรี ง่าย ทันทีตอนนี้เลย

2007-12-05 Thread Bloggoo.com
Dear linux-kernel@vger.kernel.org, [EMAIL PROTECTED] has sent you an invite to sign up at Bloggoo.com - http://bloggoo.com. BlogGoo (www.bloggoo.com) จัดทำขึ้นเพื่อให้ผู้ใช้บริการได้มีพื้นที่ส่วนตัว ในการสร้างสรรค์งานเขียนต่างๆ ของตนเองอย่างอิสระ ทั้งบอกเล่าเรื่องราวส่วนตัว

Re: [PATCH] fix br_fdb_fini() section mismatch

2007-12-05 Thread David Miller
From: Harald Welte [EMAIL PROTECTED] Date: Thu, 6 Dec 2007 10:56:58 +0530 When compiling a kernel (current linus git or 2.6.24-rc4) with built-in CONFIG_BRIDGE, I get the following error: LD .tmp_vmlinux1 `br_fdb_fini' referenced in section `.init.text' of net/built-in.o: defined

[PATCH] pid: Fix mips irix emulation pid usage

2007-12-05 Thread Eric W. Biederman
Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] --- arch/mips/kernel/irixelf.c | 14 +++--- arch/mips/kernel/irixsig.c | 16 ++-- arch/mips/kernel/sysirix.c | 12 ++-- 3 files changed, 23 insertions(+), 19 deletions(-) diff --git a/arch/mips/kernel/irixelf.c

Re: New Address Family: Inter Process Networking (IPN)

2007-12-05 Thread Renzo Davoli
On Wed, Dec 05, 2007 at 04:55:52PM -0500, Stephen Hemminger wrote: On Wed, 5 Dec 2007 17:40:55 +0100 [EMAIL PROTECTED] (Renzo Davoli) wrote: 0- (Constructive) comments. 1- The official assignment of an Address Family. 2- Another grabbing hook for interfaces (like the ones already We are

Re: [PATCH] capabilities: introduce per-process capability bounding set (v10)

2007-12-05 Thread Andrew Morgan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 KaiGai Kohei wrote: BTW, could you tell me your intention about pam_cap.c is implemented with pam_sm_authenticate() and pam_sm_setcred()? I think it can be done with pam_sm_open_session(), and this approach enables to reduce the iteration of

Re: Please revert: PCI: fix IDE legacy mode resources

2007-12-05 Thread Yoichi Yuasa
On Thu, 06 Dec 2007 11:10:18 +1100 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: The commit below that was merged in october looks bogus to me. At this stage in the PCI probe, the pci_dev-resource's contain RAW bar values, that is bus values.. A PCI legacy IDE controller that hard

Re: New Address Family: Inter Process Networking (IPN)

2007-12-05 Thread Renzo Davoli
In the meanwhile we would be grateful if the community could kindly ask to the questions above. Obviously I meant: In the meanwhile we would be grateful if the community could kindly *answer* to the questions above sorry (it is early morning here, it happens ;-) renzo -- To unsubscribe

Re: PS3: trouble with SPARSEMEM_VMEMMAP and kexec

2007-12-05 Thread Geoff Levand
Andrew Morton wrote: On Wed, 5 Dec 2007 10:52:48 +0100 (CET) Geert Uytterhoeven [EMAIL PROTECTED] wrote: Subject: sparsemem: sparse_add_one_section() may fail to allocate memory sparsemem:

Re: broken dpt_i2o in 2.6.23 (was: ext2_check_page: bad entry in directory)

2007-12-05 Thread FUJITA Tomonori
On Wed, 5 Dec 2007 11:14:41 +0100 Anders Henke [EMAIL PROTECTED] wrote: On Tue, 4 Dec 2007 Andrew Morton wrote: On Wed, 05 Dec 2007 10:30:54 +0900 FUJITA Tomonori [EMAIL PROTECTED] wrote: On Tue, 4 Dec 2007 17:11:55 -0800 Andrew Morton [EMAIL PROTECTED] wrote: On Wed, 05

Re: Please revert: PCI: fix IDE legacy mode resources

2007-12-05 Thread Yoichi Yuasa
On Thu, 06 Dec 2007 16:04:07 +1100 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: On Thu, 2007-12-06 at 13:34 +0900, Yoichi Yuasa wrote: I don't understand how his fix can work on MIPS nor why the previous code didn't, but I don't know how MIPS does its remapping tricks, however it

Re: [PATCH] Reduce stack used by lib/hexdump.c

2007-12-05 Thread Kyle Moffett
On Dec 05, 2007, at 21:42:35, Joe Perches wrote: On Wed, 2007-12-05 at 18:18 -0800, Randy Dunlap wrote: Joe Perches wrote: Maybe just eliminate the 16 or 32 byte width option and force it to only 16 byte widths. Have you checked users (callers)? I'm pretty sure that one of the callers

[PATCH] fix br_fdb_fini() section mismatch

2007-12-05 Thread Harald Welte
When compiling a kernel (current linus git or 2.6.24-rc4) with built-in CONFIG_BRIDGE, I get the following error: LD .tmp_vmlinux1 `br_fdb_fini' referenced in section `.init.text' of net/built-in.o: defined in discarded section `.exit.text' of net/built-in.o make: *** [.tmp_vmlinux1]

Re: New Address Family: Inter Process Networking (IPN)

2007-12-05 Thread Stephen Hemminger
On Thu, 6 Dec 2007 06:38:21 +0100 [EMAIL PROTECTED] (Renzo Davoli) wrote: On Wed, Dec 05, 2007 at 04:55:52PM -0500, Stephen Hemminger wrote: On Wed, 5 Dec 2007 17:40:55 +0100 [EMAIL PROTECTED] (Renzo Davoli) wrote: 0- (Constructive) comments. 1- The official assignment of an Address

Re: PS3: trouble with SPARSEMEM_VMEMMAP and kexec

2007-12-05 Thread Yasunori Goto
I'll try Milton's suggestion to pre-allocate the memory early. It seems that should work as long as nothing else before the hot-plug mem is added needs a large chunk. Hello. Geoff-san. Sorry for late response. Could you tell me the value of the following page_size calculation in

Re: New Address Family: Inter Process Networking (IPN)

2007-12-05 Thread Kyle Moffett
On Dec 06, 2007, at 00:30:16, Renzo Davoli wrote: AF_IPN is different. AF_IPN is the broadcast and peer-to-peer extension of AF_UNIX. It supports communication among *user* processes. Ok, you say it's different, but then you describe how IP unicast and broadcast work. Both are

Re: [RFC] [PATCH] A clean approach to writeout throttling

2007-12-05 Thread Daniel Phillips
On Wednesday 05 December 2007 17:24, Andrew Morton wrote: On Wed, 5 Dec 2007 16:03:01 -0800 Daniel Phillips [EMAIL PROTECTED] wrote: ...a block device these days may not be just a single device, but may be a stack of devices connected together by a generic mechanism such as device mapper,

Re: Please revert: PCI: fix IDE legacy mode resources

2007-12-05 Thread Benjamin Herrenschmidt
On Thu, 2007-12-06 at 14:58 +0900, Yoichi Yuasa wrote: What I don't understand is thus why you are calling resource_to_bus on 0x1f0 which is -not- a resource value, but is already a BAR value... 0x1f0 is resource value on MIPS Cobalt. All RAW BAR values contain the offset(0x1000) on

[PATCH -mm] x86_64 EFI runtime service support : Calling convention fix (resend, cc LKML)

2007-12-05 Thread Huang, Ying
In EFI calling convention, %xmm0 - %xmm5 are specified as the scratch registers (UEFI Specification 2.1, 2.3.4.2). To conforms to EFI specification, this patch save/restore %xmm0 - %xmm5 registers before/after invoking EFI runtime service. At the same time, the stack is aligned in 16 bytes, and TS

Re: New Address Family: Inter Process Networking (IPN)

2007-12-05 Thread David Newall
Kyle Moffett wrote: On Dec 06, 2007, at 00:30:16, Renzo Davoli wrote: AF_IPN is different. AF_IPN is the broadcast and peer-to-peer extension of AF_UNIX. It supports communication among *user* processes. Ok, you say it's different, but then you describe how IP unicast and broadcast work.

Re: Why does reading from /dev/urandom deplete entropy so much?

2007-12-05 Thread Eric Dumazet
Matt Mackall a écrit : On Tue, Dec 04, 2007 at 07:17:58PM +0100, Eric Dumazet wrote: Alan Cox a ?crit : No matter what you consider as being better, changing a 12 years old and widely used userspace interface like /dev/urandom is simply not an option. Fixing it to be more efficient in

Re: 2.6.24-rc4-mm1

2007-12-05 Thread Reuben Farrelly
On 5/12/2007 4:17 PM, Andrew Morton wrote: Temporarily at http://userweb.kernel.org/~akpm/2.6.24-rc4-mm1/ Will appear later at ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc4/2.6.24-rc4-mm1/ - Lots of device IDs have been removed from the e1000 driver and moved

Re: broken dpt_i2o in 2.6.23 (was: ext2_check_page: bad entry in directory)

2007-12-05 Thread Andrew Morton
On Thu, 06 Dec 2007 14:49:37 +0900 FUJITA Tomonori [EMAIL PROTECTED] wrote: drivers/scsi/dpt_i2o.c | 132 ++- drivers/scsi/dpti.h|9 ++ 2 files changed, 68 insertions(+), 73 deletions(-) I've done the following: -untared a clean

Re: 2.6.24-rc4-mm1

2007-12-05 Thread David Miller
From: Reuben Farrelly [EMAIL PROTECTED] Date: Thu, 06 Dec 2007 17:59:37 +1100 On 5/12/2007 4:17 PM, Andrew Morton wrote: - Lots of device IDs have been removed from the e1000 driver and moved over to e1000e. So if your e1000 stops working, you forgot to set CONFIG_E1000E. This non

Re: [PATCH] Reduce stack used by lib/hexdump.c

2007-12-05 Thread Andrew Morton
On Thu, 6 Dec 2007 00:58:38 -0500 Kyle Moffett [EMAIL PROTECTED] wrote: On Dec 05, 2007, at 21:42:35, Joe Perches wrote: On Wed, 2007-12-05 at 18:18 -0800, Randy Dunlap wrote: Joe Perches wrote: Maybe just eliminate the 16 or 32 byte width option and force it to only 16 byte widths.

Re: 2.6.24-rc4-mm1 Kernel build fails on S390x

2007-12-05 Thread Andrew Morton
On Thu, 06 Dec 2007 08:45:37 +0530 Kamalesh Babulal [EMAIL PROTECTED] wrote: Hi Andrew, The 2.6.24-rc4-mm1 kernel build fails on s390x, CC arch/s390/kernel/traps.o In file included from include/asm/thread_info.h:39, from include/linux/thread_info.h:21,

Re: [RFC] [PATCH] A clean approach to writeout throttling

2007-12-05 Thread Andrew Morton
On Wed, 5 Dec 2007 22:21:44 -0800 Daniel Phillips [EMAIL PROTECTED] wrote: On Wednesday 05 December 2007 17:24, Andrew Morton wrote: On Wed, 5 Dec 2007 16:03:01 -0800 Daniel Phillips [EMAIL PROTECTED] wrote: ...a block device these days may not be just a single device, but may be a

Re: [PATCH] pci: Fix bus resource assignment on 32 bits with 64b resources

2007-12-05 Thread Greg KH
On Thu, Dec 06, 2007 at 02:22:27PM +1100, Benjamin Herrenschmidt wrote: On Wed, 2007-12-05 at 17:40 +1100, Benjamin Herrenschmidt wrote: The current pci_assign_unassigned_resources() code doesn't work properly on 32 bits platforms with 64 bits resources. The main reason is the use of

Re: 2.6.24-rc4-mm1

2007-12-05 Thread Andrew Morton
On Thu, 06 Dec 2007 17:59:37 +1100 Reuben Farrelly [EMAIL PROTECTED] wrote: On 5/12/2007 4:17 PM, Andrew Morton wrote: Temporarily at http://userweb.kernel.org/~akpm/2.6.24-rc4-mm1/ Will appear later at

Re: PS3: trouble with SPARSEMEM_VMEMMAP and kexec

2007-12-05 Thread Geert Uytterhoeven
On Wed, 5 Dec 2007, Geoff Levand wrote: Andrew Morton wrote: On Wed, 5 Dec 2007 10:52:48 +0100 (CET) Geert Uytterhoeven [EMAIL PROTECTED] wrote: Subject: sparsemem: sparse_add_one_section() may fail to

AW: [PATCH] serial: add ADDI-DATA GmbH Communication cardsin8250_pci.c and pci_ids.h.

2007-12-05 Thread Krauth.Julien
Hello, Here is the last version of the patch updated regarding your remarks. Regards, Julien Krauth Changes: - Indentation. - Code optimisation: all boards except the APCI-7800 are now managed with the pci_default_setup() function. - Add pbn_b0_8_115200 to manage the APCI-7800-3

Re: 2.6.24-rc4-mm1: hostbyte=0x01 driverbyte=0x00 (now bisected)

2007-12-05 Thread Hannes Reinecke
Alexey Dobriyan wrote: git-scsi-misc.patch Apologies for not looking into the problem earlier. See http://marc.info/?t=11962802235r=1w=2 2.6.24-rc3-mm2: Result: hostbyte=0x01 driverbyte=0x00\nend_request: I/O error for previous installment. I've bisected it to the following patch

Re: [PATCH] pci: Fix bus resource assignment on 32 bits with 64b resources

2007-12-05 Thread Benjamin Herrenschmidt
On Wed, 2007-12-05 at 22:39 -0800, Greg KH wrote: that is it can be either unsigned int, unsigned long or unsigned long long... and we have no way to reliably printk that. We do this already just fine. Take a look in the kernel, I think we just always cast it to long long to be

Re: laptop reboots right after hibernation

2007-12-05 Thread Kjartan Maraas
on., 05.12.2007 kl. 16.46 +0900, skrev Tejun Heo: > Kjartan Maraas wrote: > > fr., 30.11.2007 kl. 19.39 +0900, skrev Tejun Heo: > >> Kjartan Maraas wrote: > >>> on., 28.11.2007 kl. 10.09 +0900, skrev Tejun Heo: > Kjartan Maraas wrote: > > I get this exact error message on a normal first

[PATCH] regression: bfs endianness bug

2007-12-05 Thread Al Viro
BFS_FILEBLOCKS() expects struct bfs_inode * (on-disk data, with little-endian fields), not struct bfs_inode_info * (in-core stuff, with host-endian ones). It's a macro and fields with the right names are present in bfs_inode_info, so it compiles, but on big-endian host it gives bogus results.

IO-APIC discrepency between x86 subarches

2007-12-05 Thread Jon Masters
Yo, Can someone tell me what the current collective thinking is about calling io_apic_sync during interrupt masking? This has changed several times recently, and is different between x86 IA32 and x86_64. As Ingo noted a long while back, it should be fine, but consistency is a nice thing. With

[patch 09/18] agp: alpha nopage

2007-12-05 Thread npiggin
Convert AGP alpha driver from nopage to fault. NULL is NOPAGE_SIGBUS, so we aren't changing behaviour there. Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Cc: linux-kernel@vger.kernel.org --- drivers/char/agp/alpha-agp.c | 17 - 1

[patch 11/18] ib: nopage

2007-12-05 Thread npiggin
Convert IB from nopage to fault. Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Cc: linux-kernel@vger.kernel.org --- drivers/infiniband/hw/ipath/ipath_debug.h|4 +--

[patch 17/18] mm: remove nopage

2007-12-05 Thread npiggin
Nothing in the tree uses nopage any more. Remove support for it in the core mm code and documentation (and a few stray references to it in comments). Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Cc: linux-kernel@vger.kernel.org ---

[patch 03/18] drm: nopage

2007-12-05 Thread npiggin
Convert drm from nopage to fault. Remove redundant vma range checks. Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Cc: linux-kernel@vger.kernel.org --- drivers/char/drm/drm_vm.c | 131 +- 1 file changed, 61 insertions(+), 70

[patch 08/18] fb: defio nopage

2007-12-05 Thread npiggin
Convert fb defio from nopage to fault. Switch from OOM to SIGBUS if the resource is not available. Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Cc: linux-kernel@vger.kernel.org --- Documentation/fb/deferred_io.txt |6 +++---

[patch 06/18] ieee1394: nopage

2007-12-05 Thread npiggin
Convert ieee1394 from nopage to fault. Remove redundant vma range checks (correct resource range check is retained). Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Cc: linux-kernel@vger.kernel.org --- drivers/ieee1394/dma.c | 39

[patch 01/18] ia64: ia32 nopage

2007-12-05 Thread npiggin
Convert ia64's ia32 support from nopage to fault. Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Cc: linux-kernel@vger.kernel.org --- arch/ia64/ia32/binfmt_elf32.c | 34 +++--- 1 file changed, 15 insertions(+), 19

[patch 07/18] v4l: nopage

2007-12-05 Thread npiggin
Convert v4l from nopage to fault. Remove redundant vma range checks. Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Cc: linux-kernel@vger.kernel.org --- drivers/media/video/videobuf-dma-sg.c | 20 1 file changed, 8 insertions(+),

[patch 12/18] usb: mon nopage

2007-12-05 Thread npiggin
Convert USB mon driver from nopage to fault. Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Cc: linux-kernel@vger.kernel.org --- drivers/usb/mon/mon_bin.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) Index:

[patch 05/18] kvm: nopage

2007-12-05 Thread npiggin
Convert KVM from nopage to fault. Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Cc: linux-kernel@vger.kernel.org --- drivers/kvm/kvm_main.c | 38 +- 1 file changed, 13 insertions(+), 25 deletions(-) Index:

[patch 13/18] alsa: nopage

2007-12-05 Thread npiggin
Convert ALSA from nopage to fault. Switch from OOM to SIGBUS if the resource is not available. Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Cc: linux-kernel@vger.kernel.org --- sound/core/pcm_native.c | 59

[patch 10/18] sg: nopage

2007-12-05 Thread npiggin
Convert SG from nopage to fault. Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Cc: linux-kernel@vger.kernel.org --- drivers/scsi/sg.c | 23 +++ 1 file changed, 11 insertions(+), 12 deletions(-) Index: linux-2.6/drivers/scsi/sg.c

[patch 15/18] alsa: usx2y nopage

2007-12-05 Thread npiggin
Convert alsa usx2y driver from nopage to fault. Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Cc: linux-kernel@vger.kernel.org --- sound/usb/usx2y/usX2Yhwdep.c| 21 - sound/usb/usx2y/usx2yhwdeppcm.c | 19 ++-

[patch 16/18] mm: special mapping nopage

2007-12-05 Thread npiggin
Convert special mapping install from nopage to fault. This requires a small special case in the do_linear_fault calculation in order to handle vmas without ->vm_file set. Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Cc: linux-kernel@vger.kernel.org --- mm/memory.c | 10

[patch 02/18] relay: nopage

2007-12-05 Thread npiggin
Convert relay from nopage to fault. Remove redundant vma range checks. Switch from OOM to SIGBUS if the resource is not available. Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Cc: linux-kernel@vger.kernel.org --- kernel/relay.c | 24

[patch 14/18] oss: via nopage

2007-12-05 Thread npiggin
Convert OSS via driver from nopage to fault. Remove redundant vma range checks. Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Cc: linux-kernel@vger.kernel.org --- sound/oss/via82cxxx_audio.c | 28 +--- 1 file changed, 9 insertions(+), 19

Re: [PATCH 3/3] Subject: SCHED - Use a 2-d bitmap for searching lowest-pri CPU

2007-12-05 Thread Ingo Molnar
* Gregory Haskins <[EMAIL PROTECTED]> wrote: > The current code use a linear algorithm which causes scaling issues on > larger SMP machines. This patch replaces that algorithm with a > 2-dimensional bitmap to reduce latencies in the wake-up path. hm, what kind of scaling issues - do you have

drivers/net/iseries_veth.c dubious sysfs usage

2007-12-05 Thread Greg KH
In doing a massive kobject cleanup of the kernel tree, I ran across the iseries_veth.c driver. It looks like the driver is creating a number of subdirectories under the driver sysfs directory. This is odd and probably wrong. You want these virtual connections to show up in the main sysfs device

Re: [patch 03/18] drm: nopage

2007-12-05 Thread Nick Piggin
On Wed, Dec 05, 2007 at 09:05:06AM +, Dave Airlie wrote: > > > Convert drm from nopage to fault. > > Remove redundant vma range checks. > > Hi Nick, > > can you rebase against the -mm tree? or are you pushing this for before > then? if so can you supply me a patch against -mm? I'm not

2.6.24-rc4-mm1: kobj changes fallout on powerpc

2007-12-05 Thread Olof Johansson
powerpc allyesconfig fails on the following two drivers (iseries_defconfig fails for the veth one): drivers/net/ehea/ehea_main.c: In function 'ehea_driver_sysfs_add': drivers/net/ehea/ehea_main.c:2812: error: 'struct device_driver' has no member named 'kobj' drivers/net/ehea/ehea_main.c:2815:

Re: [patch 03/18] drm: nopage

2007-12-05 Thread Dave Airlie
> Convert drm from nopage to fault. > Remove redundant vma range checks. Hi Nick, can you rebase against the -mm tree? or are you pushing this for before then? if so can you supply me a patch against -mm? The drm git tree has a new VM user for the memory manager.. Dave. > > Signed-off-by:

[PATCH] no need to mess with KBUILD_CFLAGS on uml-i386 anymore

2007-12-05 Thread Al Viro
Now that X86_32 is provided on Kconfig level for uml-i386, there's no need to play with it explicitly on Makefile level anymore. Signed-off-by: Al Viro <[EMAIL PROTECTED]> --- diff --git a/arch/um/Makefile-i386 b/arch/um/Makefile-i386 index 6729011..561e373 100644 ---

Re: [PATCH] as-iosched: fix write batch start point

2007-12-05 Thread Nick Piggin
On Wed, Dec 05, 2007 at 09:07:07PM +1100, Aaron Carroll wrote: > New write batches currently start from where the last one completed. > We have no idea where the head is after switching batches, so this > makes little sense. Instead, start the next batch from the request > with the earliest

Re: broken dpt_i2o in 2.6.23 (was: ext2_check_page: bad entry in directory)

2007-12-05 Thread Anders Henke
On Tue, 4 Dec 2007 Andrew Morton wrote: > On Wed, 05 Dec 2007 10:30:54 +0900 FUJITA Tomonori <[EMAIL PROTECTED]> wrote: > > > On Tue, 4 Dec 2007 17:11:55 -0800 > > Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > > On Wed, 05 Dec 2007 10:04:03 +0900 > > > FUJITA Tomonori <[EMAIL PROTECTED]>

Re: [patch 1/3] bdi patches

2007-12-05 Thread Peter Zijlstra
On Fri, 2007-11-30 at 11:52 +1100, Neil Brown wrote: > On Thursday November 29, [EMAIL PROTECTED] wrote: > > > http://programming.kicks-ass.net/kernel-patches/foo/ > > > > > > bdi-task-dirty.patch > > > bdi-sysfs.patch > > > bdi-min.patch > > > bdi-max.patch > > > > > > > > > Is my current

[PATCH] as-iosched: fix write batch start point

2007-12-05 Thread Aaron Carroll
New write batches currently start from where the last one completed. We have no idea where the head is after switching batches, so this makes little sense. Instead, start the next batch from the request with the earliest deadline in the hope that we avoid a deadline expiry later on.

[PATCH] as-iosched: fix incorrect comments

2007-12-05 Thread Aaron Carroll
Two comments refer to deadlines applying to reads only. This is not the case. Signed-off-by: Aaron Carroll <[EMAIL PROTECTED]> --- block/as-iosched.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/block/as-iosched.c b/block/as-iosched.c index dc715a5..4513fc5 100644

[PATCH] remove nonsense force-casts from ocfs2

2007-12-05 Thread Al Viro
endianness annotations in networking code had been in place for quite a while; in particular, sin_port and s_addr are annotated as big-endian. Code in ocfs2 had __force casts added apparently to shut the sparse warnings up; of course, these days they only serve to *produce* warnings for

[PATCH] fcrypt endianness misannotations

2007-12-05 Thread Al Viro
Signed-off-by: Al Viro <[EMAIL PROTECTED]> --- diff --git a/crypto/fcrypt.c b/crypto/fcrypt.c index d161949..a32cb68 100644 --- a/crypto/fcrypt.c +++ b/crypto/fcrypt.c @@ -51,7 +51,7 @@ #define ROUNDS 16 struct fcrypt_ctx { - u32 sched[ROUNDS]; + __be32 sched[ROUNDS]; }; /*

Re: [RFC] [PATCH] 32-bit pointers in x86-64

2007-12-05 Thread Andrew Pinski
On 12/5/07, Jan Beulich <[EMAIL PROTECTED]> wrote: > >>> "Andrew Pinski" <[EMAIL PROTECTED]> 25.11.07 19:45 >>> > >On 11/25/07, Luca <[EMAIL PROTECTED]> wrote: > >> 7.1. Add __attribute__((pointer_size(XXX))) and #pragma pointer_size > >> to allow 64-bit pointers in 32-bit mode and viceversa > > >

Re: What can we do to get ready for memory controller merge in 2.6.25

2007-12-05 Thread KAMEZAWA Hiroyuki
On Fri, 30 Nov 2007 19:11:14 +0900 KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> wrote: > I'd like to post some patches below in the next week. > - throttling the number of callers of try_to_free_mem_cgroup_pages() > - background reclaim and high/low watermark. > - some cleanups. > I'd like to hold

Re: Kernel Development & Objective-C

2007-12-05 Thread Gilboa Davara
On Tue, 2007-12-04 at 12:50 -0500, Lennart Sorensen wrote: > On Mon, Dec 03, 2007 at 02:35:31PM +0200, Gilboa Davara wrote: > > Intel's newest dual 10GbE NIC can easily (?) throw ~14M packets per > > second. (theoretical peak at 1514bytes/frame) > > Granted, installing such a device on a single

Re: [PATCH -v2] fix for futex_wait signal stack corruption

2007-12-05 Thread Ingo Molnar
* Thomas Gleixner <[EMAIL PROTECTED]> wrote: > Just a minor nit. Can we please use "futex" instead of "fu" ? I'm just > envisioning the next union member named "ba". > > Acked-by: Thomas Gleixner <[EMAIL PROTECTED]> > > Please apply with the s/fu/futex/ change. This needs to go into stable >

[PATCH] netmos 9855 fix

2007-12-05 Thread chripell
Fixes wrong netmos 9855 serial port configuration. Generated on 20071205 against v2.6.21 Signed-off-by: Christian Pellegrin <[EMAIL PROTECTED]> --- drivers/parport/parport_serial.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/parport/parport_seri

[PATCH] max3100 driver

2007-12-05 Thread chripell
This patch adds support for the MAX3100 SPI UART. Generated on 20071205 against v2.6.23 Signed-off-by: Christian Pellegrin <[EMAIL PROTECTED]> --- drivers/serial/Kconfig |7 + drivers/serial/Makefile|1 + drivers/serial/max3100.c

Re: [PATCH 1/3] x86_64: define all _PAGE_* in terms of _PAGE_BIT_*

2007-12-05 Thread Joerg Roedel
On Tue, Dec 04, 2007 at 10:07:54PM +0100, Ingo Molnar wrote: > > * Joerg Roedel <[EMAIL PROTECTED]> wrote: > > > On Tue, Dec 04, 2007 at 01:38:09PM +0100, Ingo Molnar wrote: > > > > > > * Joerg Roedel <[EMAIL PROTECTED]> wrote: > > > > > > > +#define _PAGE_PRESENT

Re: [PATCH] Updates to nfsroot documentation (take 2)

2007-12-05 Thread Andi Kleen
Amos Waterland <[EMAIL PROTECTED]> writes: > The difference between ip=off and ip=::off has been a cause of much > confusion. Document how each behaves, and do not contradict ourselves > by saying that "off" is the default when in fact "any" is the default > and is descibed as being so lower

Re: Why does reading from /dev/urandom deplete entropy so much?

2007-12-05 Thread Marc Haber
On Tue, Dec 04, 2007 at 08:54:52AM -0800, Ray Lee wrote: > (Why hasn't anyone been cc:ing Matt on this?) I didn't because I am not a regularly enough visitor of this mailing list to know who is in charge of what. > > On Tue, Dec 04, 2007 at 12:41:25PM +0100, Marc Haber wrote: > A PRNG is clearly

Re: [PATCH] fcrypt endianness misannotations

2007-12-05 Thread David Howells
Al Viro <[EMAIL PROTECTED]> wrote: > Signed-off-by: Al Viro <[EMAIL PROTECTED]> I've checked it and it still works with this patch. Acked-by: David Howells <[EMAIL PROTECTED]> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

MRS GREGGE VAN DER HOOFD.

2007-12-05 Thread info_weggg
Important Information, Please your urgent response is needed.It is a pleasure to inform you through this medium thatYouremailaddress won a prizeof $950,000.00 in category 'A'micronetemaillotterywith Reference number: LSLUK/2031/8161/07. Please contact our FOREIGN TRANSFER MANAGER.Dr. Paul

Re: [PATCH 1/3] x86_64: define all _PAGE_* in terms of _PAGE_BIT_*

2007-12-05 Thread Ingo Molnar
* Joerg Roedel <[EMAIL PROTECTED]> wrote: > > > > > Sorry, forgot to check the patches before submission. Will > > > > > cleanup and resubmit soon. > > > > > > > > please if possible send a delta against x86.git, not a > > > > replacement patch. It's easier for the patchflow. > > > > > > Not

MRS GREGGE VAN DER HOOFD.

2007-12-05 Thread info_wsss
Important Information, Please your urgent response is needed.It is a pleasure to inform you through this medium thatYouremailaddress won a prizeof $950,000.00 in category 'A'micronetemaillotterywith Reference number: LSLUK/2031/8161/07. Please contact our FOREIGN TRANSFER MANAGER.Dr. Paul

Re: Add LZO compression support to cryptoapi

2007-12-05 Thread Zoltan Sogor
Hi Herbert! Herbert Xu wrote: Hi Zoltan: On Tue, Nov 27, 2007 at 10:44:07AM +0100, Zoltan Sogor wrote: I'm Zoltan Sogor at University of Szeged, Hungary, and we are working on new flash file system (UBIFS) cooperating with Nokia Corp. We would like to use cryptoapi in UBIFS

[patch 3/3] zfcp: Use device_driver default attribute groups.

2007-12-05 Thread Cornelia Huck
CC: Swen Schillig <[EMAIL PROTECTED]> Signed-off-by: Cornelia Huck <[EMAIL PROTECTED]> --- drivers/s390/scsi/zfcp_ccw.c | 14 -- drivers/s390/scsi/zfcp_ext.h |3 +-- drivers/s390/scsi/zfcp_sysfs_driver.c | 27 --- 3 files changed, 9

Patch submission question [not in the FAQ]

2007-12-05 Thread Gabriele Gorla
Hello, I have submitted a patch for the 3x- driver on alpha several months ago to both the driver maintainer and the linux-scsi mailing list. I have read all the FAQ and I tried to stick to the instructions to the letter. However the patch has been completely ignored. No reply, no comment, no

Re: [RFC v2] Documentation about unaligned memory access

2007-12-05 Thread Jan Kara
A minor typo: ... > Avoiding unaligned accesses > === > > The easiest way to avoid unaligned access is to use the get_unaligned() and > put_unaligned() macros provided by the header file. > > Going back to an earlier example of code that potentially causes unaligned

Re: [PATCH v2] Fix hardware IRQ time accounting problem.

2007-12-05 Thread Frederik Himpe
On Tue, 04 Dec 2007 16:51:44 +1100, Tony Breeds wrote: > The commit fa13a5a1f25f671d084d8884be96fc48d9b68275 (sched: restore > deterministic CPU accounting on powerpc), unconditionally calls > update_process_tick() in system context. In the deterministic > accounting case this is the correct

Re: [PATCH] as-iosched: fix incorrect comments

2007-12-05 Thread Jens Axboe
On Wed, Dec 05 2007, Nick Piggin wrote: > On Wed, Dec 05, 2007 at 09:06:50PM +1100, Aaron Carroll wrote: > > Two comments refer to deadlines applying to reads only. This is > > not the case. > > > > Signed-off-by: Aaron Carroll <[EMAIL PROTECTED]> > > Acked-by: Nick Piggin <[EMAIL PROTECTED]>

Re: [patch 04/18] uio: nopage

2007-12-05 Thread Nick Piggin
On Wed, Dec 05, 2007 at 11:04:08AM +0100, Hans-Jürgen Koch wrote: > Am Wed, 05 Dec 2007 18:15:51 +1100 > schrieb [EMAIL PROTECTED]: > > > Convert uio from nopage to fault. > > > > Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> > > Cc: [EMAIL PROTECTED] > > Hi Nick, > could you please add me to

Re: [patch 04/18] uio: nopage

2007-12-05 Thread Hans-Jürgen Koch
Am Wed, 05 Dec 2007 18:15:51 +1100 schrieb [EMAIL PROTECTED]: > Convert uio from nopage to fault. > > Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] Hi Nick, could you please add me to Cc: for UIO stuff: Cc: [EMAIL PROTECTED] The patch itself looks alright to me, but I

Re: PS3: trouble with SPARSEMEM_VMEMMAP and kexec

2007-12-05 Thread Geert Uytterhoeven
On Mon, 3 Dec 2007, Milton Miller wrote: > On Dec 2, 2007, at 9:59 PM, Geoff Levand wrote: > > ps3_mm_add_memory:317: start_addr 74032000h, start_pfn 74032h, > > nr_pages 17000h > > <4>swapper: page allocation failure. order:12, mode:0x80d0 > > Call Trace: > > [c6047820]

Re: [RFC] [PATCH] 32-bit pointers in x86-64

2007-12-05 Thread Jan Beulich
>>> "Andrew Pinski" <[EMAIL PROTECTED]> 25.11.07 19:45 >>> >On 11/25/07, Luca <[EMAIL PROTECTED]> wrote: >> 7.1. Add __attribute__((pointer_size(XXX))) and #pragma pointer_size >> to allow 64-bit pointers in 32-bit mode and viceversa > >This is already there, try using __attribute__((mode(DI) )).

Re: [Bug 9246] On 2.6.24-rc1-gc9927c2b BUG: unable to handle kernel paging request at virtual address 3d15b925

2007-12-05 Thread Giacomo A. Catenazzi
Rafael J. Wysocki wrote: On Tuesday, 4 of December 2007, Giacomo A. Catenazzi wrote: Ingo Molnar wrote: hi, * Giacomo Catenazzi <[EMAIL PROTECTED]> wrote: On 2.6.24-rc1-gc9927c2b BUG: unable to handle kernel paging request at virtual address 3d15b925 In last git, I see the following BUGs

Re: [PATCH 01/28] blk_end_request: add new request completion interface (take 3)

2007-12-05 Thread Jens Axboe
On Tue, Dec 04 2007, Kiyoshi Ueda wrote: > Hi Boaz and Jens, > > On Tue, 04 Dec 2007 15:56:32 +0200, Boaz Harrosh <[EMAIL PROTECTED]> wrote: > > > +/** > > > + * blk_end_request - Helper function for drivers to complete the request. > > > + * @rq: the request being processed > > > + *

<    1   2   3   4   5   6   7   8   9   >