Subject: Re: how to change swapctl() interface.
To: Frank van der Linden <frank@wins.uva.nl>
From: Stefan Grefen <grefen@hprc.tandem.com>
List: tech-kern
Date: 05/26/1998 16:09:14
In message <19980526133859.12469@wins.uva.nl>  Frank van der Linden wrote:
> On Tue, May 26, 1998 at 08:17:30PM +1000, matthew green wrote:
> > 104 bytes is a long path name, and probably never will be exceeded in
> > normal or abnormal circumstances.
> 
> Adding the pathname is a logical idea, but I don't see why you
> limit the pathname length. 1k per swap device isn't really that much..
> What's the max. number of swapdevices that you'll ever use? Most
> configurations will not exceed 1 or 2. Losing 1 or 2 k isn't
> really a big deal.

It is a big deal with small systems. I just don't see why a copyin with 
a variable pathlen is such a big deal ...
Run time doesn't count, so you can either copyin to tmp-space or 
do a strlen using fubyte ...

Stefan

> 
> - Frank

--
Stefan Grefen                                Tandem Computers Europe Inc.
grefen@hprc.tandem.com                       High Performance Research Center
 --- Hacking's just another word for nothing left to kludge. ---