Re: calcru and upages

1999-05-24 Thread Richard Seaman, Jr.
On Mon, May 24, 1999 at 08:13:57AM +0800, Peter Wemm wrote: > I'd also like to implement a proper clone(2) ala Linux. We have most of > the infrastructure in place already, using that and comparing with NetBSD's > take on the subject should be fairly useful in the end. The main > difference betw

Re: calcru and upages

1999-05-23 Thread Peter Wemm
Poul-Henning Kamp wrote: > In message <199905230245.maa13...@godzilla.zeta.org.au>, Bruce Evans writes: > >>calcru() access p_stats, which is in upages. Therefore, as I understand, > >>it should not be called on a swapped out process. Neither calcru() nor > > > >Does anyone object to moving every

Re: calcru and upages

1999-05-23 Thread Dmitrij Tejblum
Peter Wemm wrote: > Bruce Evans wrote: > > >calcru() access p_stats, which is in upages. Therefore, as I understand, > > >it should not be called on a swapped out process. Neither calcru() nor > > > > Does anyone object to moving everything except the stack from the upages > > to the proc table?

Re: calcru and upages

1999-05-22 Thread Poul-Henning Kamp
In message <199905230245.maa13...@godzilla.zeta.org.au>, Bruce Evans writes: >>calcru() access p_stats, which is in upages. Therefore, as I understand, >>it should not be called on a swapped out process. Neither calcru() nor > >Does anyone object to moving everything except the stack from the upa

Re: calcru and upages

1999-05-22 Thread Peter Wemm
Bruce Evans wrote: > >calcru() access p_stats, which is in upages. Therefore, as I understand, > >it should not be called on a swapped out process. Neither calcru() nor > > Does anyone object to moving everything except the stack from the upages > to the proc table? > > Bruce Well, we have thr

Re: calcru and upages

1999-05-22 Thread Bruce Evans
>calcru() access p_stats, which is in upages. Therefore, as I understand, >it should not be called on a swapped out process. Neither calcru() nor Does anyone object to moving everything except the stack from the upages to the proc table? Bruce To Unsubscribe: send mail to majord...@freebsd.or

calcru and upages

1999-05-19 Thread Dmitrij Tejblum
calcru() access p_stats, which is in upages. Therefore, as I understand, it should not be called on a swapped out process. Neither calcru() nor its callers seem to ensure this. At least the call in procfs_dostatus() may happen on a swapped out process. (It test for P_INMEM for another access to