David S. Miller <[EMAIL PROTECTED]> wrote:

> > For example, replacing TASK_SIZE in fs/namei.c with "thread->addr_limit" 
> > would actually clean up the code: it would mean that the games with 
> > "get_fs()" etc would just go away, to be replaced with something like
> 
> I think that looks nice too.
> 
> Would you be against a "mm->addr_limit"?  That's what an approach
> by Paulus implemented, and I was in the camp supporting that kind
> of direction.

On the other hand, this value is constant on some archs, and in those cases,
wouldn't it be better for it to be a compile-time constant?

David

Reply via email to