On Fri, Feb 04, 2005 at 11:18:16PM -0800, Andrew Morton wrote:
> Andi Kleen <[EMAIL PROTECTED]> wrote:
> >
> > > Would arch maintainers please look at fixing this in their architectures 
> >  > instead? Make TASK_SIZE be the maximum size a process VM can have. 
> > 
> >  The problem is that compat flexmmap depends on it. I actually dropped 
> > flexmmap
> >  again, but the x86-64 flexmmap which will be merged at some point again
> >  had a x86-64 change to switch to variable TASK_SIZE. 
> 
> TASK_SIZE is a property of the mm_struct, is it not?  Why can't add
> mm_struct.task_size and kill off TASK_SIZE altogether?  And MM_VM_SIZE?

Probably yes.

I wouldn't combine it with set_fs like Linus proposed though, because
that could lead to mistakes in set_fs(KERNEL_DS)

-Andi

Reply via email to