Re: [PATCH] new version of singlecopy pipe

2001-05-18 Thread J . A . Magallon
On 05.17 Manfred Spraul wrote: > "David S. Miller" wrote: > > > > J . A . Magallon writes: > > > > What platform? > > > > > Any more info ? > > > > No, I thought it might be some cache flushing issue > > on a non-x86 machine. > > > I found the problem: > I sent out the old patch :-( > > A

Re: [PATCH] new version of singlecopy pipe

2001-05-17 Thread Manfred Spraul
"David S. Miller" wrote: > > J . A . Magallon writes: > > > What platform? > > > Any more info ? > > No, I thought it might be some cache flushing issue > on a non-x86 machine. > I found the problem: I sent out the old patch :-( Attached is the correct version of patch-copy_user_user. --

Re: [PATCH] new version of singlecopy pipe

2001-05-12 Thread David S. Miller
J . A . Magallon writes: > > What platform? > Any more info ? No, I thought it might be some cache flushing issue on a non-x86 machine. Later, David S. Miller [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTEC

Re: [PATCH] new version of singlecopy pipe

2001-05-12 Thread Manfred Spraul
"J . A . Magallon" wrote: > > On 05.11 Manfred Spraul wrote: > > > > Please test it. > > The kernel space part should be ok, but I know that the > > patch can cause deadlocks with buggy user space apps. > > > > I tried your patch on 2.4.4-ac8, and something strange happens. > Untarring linux-2.4

Re: [PATCH] new version of singlecopy pipe

2001-05-12 Thread J . A . Magallon
On 05.12 David S. Miller wrote: > > J . A . Magallon writes: > > I tried your patch on 2.4.4-ac8, and something strange happens. > > Untarring linux-2.4.4 takes a little time, disk light flashes, > > but no files appear on the disk (just 'Makefile', as you will see below). > > Doing a separa

Re: [PATCH] new version of singlecopy pipe

2001-05-11 Thread David S. Miller
J . A . Magallon writes: > I tried your patch on 2.4.4-ac8, and something strange happens. > Untarring linux-2.4.4 takes a little time, disk light flashes, > but no files appear on the disk (just 'Makefile', as you will see below). > Doing a separate gunzip - tar xf works fine: What platform

Re: [PATCH] new version of singlecopy pipe

2001-05-11 Thread J . A . Magallon
On 05.12 J . A . Magallon wrote: > > On 05.11 Manfred Spraul wrote: > > > > Please test it. > > The kernel space part should be ok, but I know that the > > patch can cause deadlocks with buggy user space apps. > > > > I tried your patch on 2.4.4-ac8, and something strange happens. > Untarring

Re: [PATCH] new version of singlecopy pipe

2001-05-11 Thread J . A . Magallon
On 05.11 Manfred Spraul wrote: > > Please test it. > The kernel space part should be ok, but I know that the > patch can cause deadlocks with buggy user space apps. > I tried your patch on 2.4.4-ac8, and something strange happens. Untarring linux-2.4.4 takes a little time, disk light flashes,

[PATCH] new version of singlecopy pipe

2001-05-11 Thread Manfred Spraul
I've attached a new version of the patch. The patch is now split into 2 parts: * add copy_user_to_user() into kernel/ptrace.c. Most code is shared between access_process_vm() and copy_user_to_user(). * use the new function for singlecopy pipe. Please test it. The kernel space part should be ok,