linux willy

Matthew Wilcox willy@puffin.external.hp.com
Thu, 14 Dec 2000 03:11:05 -0700


CVSROOT:	/home/cvs/parisc
Module name:	linux
Changes by:	willy	00/12/14 03:11:04

Modified files:
	arch/parisc/mm : fault.c 
	fs             : exec.c 
	mm             : mmap.c 

Log message:
move the stack to STACK_TOP - rlimit_max for stack size.

rewrite find_vma_prev so that it returns the last vma as `prev' if the
addr is greater than the last vma in the system, in the case where we're
using the AVL tree to find the right vma.  It worked if the AVL tree
wasn't in use.  Also cache the `prev' in mm->mmap_cache, like find_vma does.
this is slightly dubious since we're caching the prev, not the vma, but
i think this is what we should do.

add a little extra debug goodness to fault.c, and add some #if 0'd code
for finding the vma we really want in the tree.  i accidentally implemented
that while trying to implement the semantics that i really wanted for the
AVL rewrite, so I thought I'd save it.