Subject: Re: bcopy, bzero, copypage, and zeropage
To: David S. Miller <davem@jenolan.rutgers.edu>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-kern
Date: 12/14/1996 11:14:07
On Sat, 14 Dec 1996 13:29:44 -0500 
 "David S. Miller" <davem@jenolan.rutgers.edu> wrote:

 > Why not include all of the routines, set aside enough space in the
 > "real" routines for the largest of all the possible routines, which is
 > just full of nops, and self modify that code space with the routine
 > you want to use?  Zero overhead execution time wise.  If space is a
 > concern, put each possible routine in a page aligned full page of
 > space, once the routine you want has been copied into it's final
 > destination you can give back all that space to the pager.

Someone already suggested that, and we all promptly barfed.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939