[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: more question about porting/gcc



On Fri, 20 Mar 1998, Mikko Larjava wrote:

> from dosmem.c line 710:
>         /* we want this process to run ASAP */
>         /* so we temporarily give it high priority and put it first on the
>          * run queue
>          */
>                         run_next(p, 3);
> 
> and from proc.c:
> /*
>  * more priority code stuff:
>  * run_next(p, slices): schedule process "p" to run next, with "slices"
>  *       initial time slices; "p" does not actually start running until
>  *       the next context switch
> 
> -------------
> 
> So a new process gets 3 slices and is executed after next context switch 
> if I'm not mistaken much. Just can't believe that hades is not able to 
> reach the mshrink in gcc's code in that time. Have you tried constant 
> stack size of e.g. 256k for cc1 and smaller for cpp?

No I didn`t, but I`m going to try this evening!

cu,
	Bernd