Re: + mm-search_binary_handler-mem-limit-fix.patch added to -mm tree

2007-01-30 Thread Martin Schwidefsky
On Tue, 2007-01-30 at 08:40 +0300, Dmitriy Monakhov wrote: > > > > The function changes mem limit to USER_DS before possible modprobe, but > > > > never restored it again. > Truly. The road to hell is paved with good intentions. :-) > > For architectures with a split address space there has to

Re: + mm-search_binary_handler-mem-limit-fix.patch added to -mm tree

2007-01-30 Thread Martin Schwidefsky
On Tue, 2007-01-30 at 08:40 +0300, Dmitriy Monakhov wrote: The function changes mem limit to USER_DS before possible modprobe, but never restored it again. Truly. The road to hell is paved with good intentions. :-) For architectures with a split address space there has to be a call

Re: + mm-search_binary_handler-mem-limit-fix.patch added to -mm tree

2007-01-29 Thread Dmitriy Monakhov
> > > The function changes mem limit to USER_DS before possible modprobe, but > > > never restored it again. Truly. The road to hell is paved with good intentions. Martin Schwidefsky <[EMAIL PROTECTED]> writes: > On Mon, 2007-01-29 at 09:37 -0800, Andrew Morton wrote: >> hm, thanks for testing -

Re: + mm-search_binary_handler-mem-limit-fix.patch added to -mm tree

2007-01-29 Thread Martin Schwidefsky
On Mon, 2007-01-29 at 09:37 -0800, Andrew Morton wrote: > hm, thanks for testing - I'll drop it. > > I don't really understand what's wrong with it though. Maybe it's settng > USER_DS on kernel threads? For architectures with a split address space there has to be a call set_fs(USER_DS) that

Re: + mm-search_binary_handler-mem-limit-fix.patch added to -mm tree

2007-01-29 Thread Andrew Morton
On Mon, 29 Jan 2007 14:59:58 +0100 Heiko Carstens <[EMAIL PROTECTED]> wrote: > On Mon, Jan 29, 2007 at 12:33:28PM +0100, Heiko Carstens wrote: > > On Wed, Jan 24, 2007 at 01:09:18AM -0800, [EMAIL PROTECTED] wrote: > > > mm-search_binary_handler-mem-limit-fix.patch > > > From: Dmitriy

Re: + mm-search_binary_handler-mem-limit-fix.patch added to -mm tree

2007-01-29 Thread Heiko Carstens
On Mon, Jan 29, 2007 at 12:33:28PM +0100, Heiko Carstens wrote: > On Wed, Jan 24, 2007 at 01:09:18AM -0800, [EMAIL PROTECTED] wrote: > > mm-search_binary_handler-mem-limit-fix.patch > > From: Dmitriy Monakhov <[EMAIL PROTECTED]> > > > > The function changes mem limit to USER_DS before

Re: + mm-search_binary_handler-mem-limit-fix.patch added to -mm tree

2007-01-29 Thread Heiko Carstens
On Wed, Jan 24, 2007 at 01:09:18AM -0800, [EMAIL PROTECTED] wrote: > > The patch titled > mm: search_binary_handler() mem limit fix > has been added to the -mm tree. Its filename is > mm-search_binary_handler-mem-limit-fix.patch > > *** Remember to use Documentation/SubmitChecklist

Re: + mm-search_binary_handler-mem-limit-fix.patch added to -mm tree

2007-01-29 Thread Heiko Carstens
On Wed, Jan 24, 2007 at 01:09:18AM -0800, [EMAIL PROTECTED] wrote: The patch titled mm: search_binary_handler() mem limit fix has been added to the -mm tree. Its filename is mm-search_binary_handler-mem-limit-fix.patch *** Remember to use Documentation/SubmitChecklist when

Re: + mm-search_binary_handler-mem-limit-fix.patch added to -mm tree

2007-01-29 Thread Heiko Carstens
On Mon, Jan 29, 2007 at 12:33:28PM +0100, Heiko Carstens wrote: On Wed, Jan 24, 2007 at 01:09:18AM -0800, [EMAIL PROTECTED] wrote: mm-search_binary_handler-mem-limit-fix.patch From: Dmitriy Monakhov [EMAIL PROTECTED] The function changes mem limit to USER_DS before possible

Re: + mm-search_binary_handler-mem-limit-fix.patch added to -mm tree

2007-01-29 Thread Andrew Morton
On Mon, 29 Jan 2007 14:59:58 +0100 Heiko Carstens [EMAIL PROTECTED] wrote: On Mon, Jan 29, 2007 at 12:33:28PM +0100, Heiko Carstens wrote: On Wed, Jan 24, 2007 at 01:09:18AM -0800, [EMAIL PROTECTED] wrote: mm-search_binary_handler-mem-limit-fix.patch From: Dmitriy Monakhov [EMAIL

Re: + mm-search_binary_handler-mem-limit-fix.patch added to -mm tree

2007-01-29 Thread Martin Schwidefsky
On Mon, 2007-01-29 at 09:37 -0800, Andrew Morton wrote: hm, thanks for testing - I'll drop it. I don't really understand what's wrong with it though. Maybe it's settng USER_DS on kernel threads? For architectures with a split address space there has to be a call set_fs(USER_DS) that

Re: + mm-search_binary_handler-mem-limit-fix.patch added to -mm tree

2007-01-29 Thread Dmitriy Monakhov
The function changes mem limit to USER_DS before possible modprobe, but never restored it again. Truly. The road to hell is paved with good intentions. Martin Schwidefsky [EMAIL PROTECTED] writes: On Mon, 2007-01-29 at 09:37 -0800, Andrew Morton wrote: hm, thanks for testing - I'll drop