On Fri, Dec 24, 2010 at 2:00 PM, Mark Kettenis <[email protected]> wrote: >> Date: Fri, 24 Dec 2010 16:45:59 -0500 >> From: Ted Unangst <[email protected]> >> >> On Fri, Dec 24, 2010 at 11:42 AM, Vladimir Kirillov <[email protected]> wrote: >> > Hello t...@! >> > >> > I guess there's no need to acquire pmap locks when there's nothing >> > to do (USER_LDT unset). s/if defined/ifdef/ for consistency. >> >> PMAP_FORK and USER_LDT are only ever set together, and the >> simple_locks don't do anything anyway. I guess we could just delete >> the USERLDT checks if we wanted to clean it up. > > I don't think that would be a good idea.
I agree with Mark. If something is going to be deleted, it should be those misleading simple_locks. Philip
