Re: [PATCH] Re: [SPARC32] NULL pointer derefference

2007-07-31 Thread David Miller
From: Mark Fortescue <[EMAIL PROTECTED]> Date: Tue, 31 Jul 2007 08:55:20 +0100 (BST) > I have formulated a patch that prevents the update_mmu_cache from doing > enything if there is no context available. This apears to have no > immediate, undesirable side effects. > > This worked better than

[PATCH] Re: [SPARC32] NULL pointer derefference

2007-07-31 Thread Mark Fortescue
Hi David, I have formulated a patch that prevents the update_mmu_cache from doing enything if there is no context available. This apears to have no immediate, undesirable side effects. This worked better than the alternative of setting up a context to work with. Can you for see any issues

Re: [SPARC32] NULL pointer derefference

2007-07-31 Thread David Miller
From: Mark Fortescue <[EMAIL PROTECTED]> Date: Tue, 31 Jul 2007 06:35:29 +0100 (BST) > The original code did a job lot of pte stuf in install_arg_page. The > new code seems to replace this using get_user_pages but I have not > worked out how get_user_pages gets to the point at which it >

Re: [SPARC32] NULL pointer derefference

2007-07-31 Thread David Miller
From: Mark Fortescue [EMAIL PROTECTED] Date: Tue, 31 Jul 2007 06:35:29 +0100 (BST) The original code did a job lot of pte stuf in install_arg_page. The new code seems to replace this using get_user_pages but I have not worked out how get_user_pages gets to the point at which it allocated

[PATCH] Re: [SPARC32] NULL pointer derefference

2007-07-31 Thread Mark Fortescue
Hi David, I have formulated a patch that prevents the update_mmu_cache from doing enything if there is no context available. This apears to have no immediate, undesirable side effects. This worked better than the alternative of setting up a context to work with. Can you for see any issues

Re: [PATCH] Re: [SPARC32] NULL pointer derefference

2007-07-31 Thread David Miller
From: Mark Fortescue [EMAIL PROTECTED] Date: Tue, 31 Jul 2007 08:55:20 +0100 (BST) I have formulated a patch that prevents the update_mmu_cache from doing enything if there is no context available. This apears to have no immediate, undesirable side effects. This worked better than the

Re: [SPARC32] NULL pointer derefference

2007-07-30 Thread Mark Fortescue
Hi David, One possible issue is sequencing, perhaps the stack argument copy is occuring before the new context is setup properly on sun4c. I think it is somthing related to this but too much has changed for me to work out what is going on. At present, I don't have a good enough

Re: [SPARC32] NULL pointer derefference

2007-07-30 Thread Ollie Wild
On 7/29/07, Mark Fortescue <[EMAIL PROTECTED]> wrote: > Hi All, > > Unfortunatly Sparc32 sun4c low level memory management apears to be > incompatible with commit b6a2fea39318e43fee84fa7b0b90d68bed92d2ba > mm: variable length argument support. I feel like I ought to help out with this since it's

Re: [SPARC32] NULL pointer derefference

2007-07-30 Thread Mark Fortescue
Hi David, Thanks for the comments. On Sun, 29 Jul 2007, David Miller wrote: From: Mark Fortescue <[EMAIL PROTECTED]> Date: Mon, 30 Jul 2007 03:18:42 +0100 (BST) Unfortunatly Sparc32 sun4c low level memory management apears to be incompatible with commit

Re: [SPARC32] NULL pointer derefference

2007-07-30 Thread Mark Fortescue
Hi David, Thanks for the comments. On Sun, 29 Jul 2007, David Miller wrote: From: Mark Fortescue [EMAIL PROTECTED] Date: Mon, 30 Jul 2007 03:18:42 +0100 (BST) Unfortunatly Sparc32 sun4c low level memory management apears to be incompatible with commit

Re: [SPARC32] NULL pointer derefference

2007-07-30 Thread Ollie Wild
On 7/29/07, Mark Fortescue [EMAIL PROTECTED] wrote: Hi All, Unfortunatly Sparc32 sun4c low level memory management apears to be incompatible with commit b6a2fea39318e43fee84fa7b0b90d68bed92d2ba mm: variable length argument support. I feel like I ought to help out with this since it's my

Re: [SPARC32] NULL pointer derefference

2007-07-30 Thread Mark Fortescue
Hi David, One possible issue is sequencing, perhaps the stack argument copy is occuring before the new context is setup properly on sun4c. I think it is somthing related to this but too much has changed for me to work out what is going on. At present, I don't have a good enough

Re: [SPARC32] NULL pointer derefference

2007-07-29 Thread David Miller
From: Mark Fortescue <[EMAIL PROTECTED]> Date: Mon, 30 Jul 2007 03:18:42 +0100 (BST) > Unfortunatly Sparc32 sun4c low level memory management apears to be > incompatible with commit b6a2fea39318e43fee84fa7b0b90d68bed92d2ba > mm: variable length argument support. > > For some reason, this commit

[SPARC32] NULL pointer derefference

2007-07-29 Thread Mark Fortescue
Hi All, Unfortunatly Sparc32 sun4c low level memory management apears to be incompatible with commit b6a2fea39318e43fee84fa7b0b90d68bed92d2ba mm: variable length argument support. For some reason, this commit corrupts the memory used by the low level context/pte handling ring buffers in

[SPARC32] NULL pointer derefference

2007-07-29 Thread Mark Fortescue
Hi All, Unfortunatly Sparc32 sun4c low level memory management apears to be incompatible with commit b6a2fea39318e43fee84fa7b0b90d68bed92d2ba mm: variable length argument support. For some reason, this commit corrupts the memory used by the low level context/pte handling ring buffers in

Re: [SPARC32] NULL pointer derefference

2007-07-29 Thread David Miller
From: Mark Fortescue [EMAIL PROTECTED] Date: Mon, 30 Jul 2007 03:18:42 +0100 (BST) Unfortunatly Sparc32 sun4c low level memory management apears to be incompatible with commit b6a2fea39318e43fee84fa7b0b90d68bed92d2ba mm: variable length argument support. For some reason, this commit