Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 2002 21:05:46 -0400
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>, Robert Watson <rwatson@FreeBSD.ORG>
Cc:        arch@FreeBSD.ORG
Subject:   Re: syscall changes to deal with 32->64 changes.
Message-ID:  <p05111737b8fcd5b20d30@[128.113.24.47]>
In-Reply-To: <33534.1020505495@critter.freebsd.dk>
References:  <33534.1020505495@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
At 11:44 AM +0200 5/4/02, Poul-Henning Kamp wrote:
>I think a realistic plan might look something like this:
>
>1.  Change the in-kernel types to 64 bits
>     for each entity to change size:
>	   a) rewrite syscall entries to translate sizes.
>	   b) change size in kernel, but retain old size
>              in userland
>
>2.  Add new syscall API
>     a) write syscalls implementations.
>
>3.  Change userland over.
>     a) Add #ifdef NEWAPI all over the includes so people
>        can select which API to use.
>     b) Create new major-revv libc which uses new API
>     c) Leave people time to find bugs in ports etc.
>     d) Throw the switch for good.
>
>Earliest realistic dates would be 3c on july 1st and 3d
>a month later.
>
>Is that too late for 5.0-R ?

If that timetable is doable, then I think it's reasonable
to do.  The alternate question is that if we did NOT go
with a new syscall vector, then how much work will it be
to get these 32->64bit changes done before 5.0?

I assume the variable would be something more distinctive
than "NEWAPI"...

At 3:41 AM -0400 5/4/02, Robert Watson wrote:
>John Baldwin and I have thrown this idea around a number
>of times, as we keep bumping into things that would change
>the ABI.

What things would those be?  Might as well get them listed,
and see how many of them (if any...) could be included in
this new vector without hurting the timetable.

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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