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 deadli

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

2007-12-05 Thread Nick Piggin
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]> > --- > block/as-iosched.c |4 ++-- > 1 files chan

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 C

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: sockets affected by IPsec always block (2.6.23)

2007-12-05 Thread Herbert Xu
On Wed, Dec 05, 2007 at 01:55:58AM -0800, David Miller wrote: > > If it hits sysctl_tcp_syn_retries SYN attempts, the connect will hard > fail. Right. Let's just forget about this until we have a queueing system :) Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI

Re: sockets affected by IPsec always block (2.6.23)

2007-12-05 Thread David Miller
From: Herbert Xu <[EMAIL PROTECTED]> Date: Wed, 5 Dec 2007 18:39:27 +1100 > On Tue, Dec 04, 2007 at 11:34:32PM -0800, David Miller wrote: > > > > TCP has some built-in assumptions about characteristics of > > interent links and what constitutes a timeout which is "too long" > > and should thus re

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

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 > > > + * @uptod

Re: [PATCH] i386 IOAPIC: de-fang IRQ compression

2007-12-05 Thread Ingo Molnar
* Andrew Morton <[EMAIL PROTECTED]> wrote: > On Tue, 4 Dec 2007 13:26:49 +0100 > Ingo Molnar <[EMAIL PROTECTED]> wrote: > > > * Len Brown <[EMAIL PROTECTED]> wrote: > > > > > So while the irq compression code on i386 should really > > > be deleted -- even before merging the x86_64 irq-o

Re: [-mm PATCH] kallsyms should prefer non weak symbols

2007-12-05 Thread Rusty Russell
On Wednesday 05 December 2007 09:31:23 Mathieu Desnoyers wrote: > * Arjan van de Ven ([EMAIL PROTECTED]) wrote: > > On Tue, 04 Dec 2007 20:35:32 + > > > > Paulo Marques <[EMAIL PROTECTED]> wrote: > > > When resolving symbol names from addresses with aliased symbol names, > > > kallsyms_lookup a

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] SC26XX: New serial driver for SC2681 uarts

2007-12-05 Thread Thomas Bogendoerfer
On Tue, Dec 04, 2007 at 07:27:38PM -0800, Andrew Morton wrote: > grumble. > > These: > > > +#define READ_SC(p, r)readb((p)->membase + RD_##r) > > +#define WRITE_SC(p, r, v)writeb((v), (p)->membase + WR_##r) > > and these: > > > +#define READ_SC_PORT(p, r) read_sc_port(p, RD_PORT

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: [RFC PATCH] x86: Unify include/asm-x86/linkage_[32|64].h

2007-12-05 Thread Adrian Bunk
On Tue, Dec 04, 2007 at 07:19:45PM -0500, Jeff Dike wrote: > On Wed, Dec 05, 2007 at 12:15:19AM +0100, Adrian Bunk wrote: > > UML can't switch to the regparm(3) convention on i386 since it links > > with userspace code, so if assembler code uses this calling convention > > we need the C prototype

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 i

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 sure

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

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

[PATCH] bonding: Fix time comparison

2007-12-05 Thread David Sterba
bonding: Fix time comparison Use macros for comparing jiffies. Jiffies' wrap caused missed events and hangs. Module reinsert was needed to make bonding work again. Signed-off-by: David Sterba <[EMAIL PROTECTED]> --- drivers/net/bonding/bond_main.c | 25 + 1 files chang

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

[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]; }; /* Rot

[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 --- a/arch/um/Makefile-i3

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

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 t

[PATCH] regression: cifs endianness bug

2007-12-05 Thread Al Viro
access_flags_to_mode() gets on-the-wire data (little-endian) and treats it as host-endian. Introduced in commit e01b64001359034d04c695388870936ed3d1b56b ([CIFS] enable get mode from ACL when cifsacl mount option specified) Signed-off-by: Al Viro <[EMAIL PROTECTED]> --- diff --git a/fs/cif

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 tha

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

[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 +-- drivers/infiniband/hw/ipath/ipath_f

[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 deletions(

[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 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 --- Documentation/feature-removal-schedule.tx

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

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

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

[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: linux-2.6/drivers

<    1   2   3   4   5