Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 1997 07:43:59 +0100 (MET)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        imp@village.org (Warner Losh)
Cc:        dg@root.com, phk@critter.dk.tfs.com, swallace@ece.uci.edu, current@FreeBSD.ORG
Subject:   Re: exec bug
Message-ID:  <199701270643.HAA29629@labinfo.iet.unipi.it>
In-Reply-To: <E0vofUl-0001lp-00@rover.village.org> from "Warner Losh" at Jan 26, 97 06:04:04 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> In message <199701262144.WAA28837@labinfo.iet.unipi.it> Luigi Rizzo writes:
> : 	int dont_panic_just_probing= 0;
> 
> Wouldn't you need some other kind of locking in the SMP case?

probably, yes.

But I think my code has also worse problems, e.g. it is not reentrant.
Since, as a result of the probe, you can get a page fault and the
page should be read in, the dont_panic_just_probing variable should
be saved somewhere together with the info related to the pagein.

Anyways it was just a suggestion about the principle of operation, many
details were missing and left to more knowledgeable people.

	Cheers
	Luigi
-----------------------------+--------------------------------------
Luigi Rizzo                  |  Dip. di Ingegneria dell'Informazione
email: luigi@iet.unipi.it    |  Universita' di Pisa
tel: +39-50-568533           |  via Diotisalvi 2, 56126 PISA (Italy)
fax: +39-50-568522           |  http://www.iet.unipi.it/~luigi/
_____________________________|______________________________________



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701270643.HAA29629>