[lkml]   [1997]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: asm/uaccess.h reimplementation, patch. [was: Re: 2.1 kernel bloat revisited]

On Mon, 31 Mar 1997, Paul Gortmaker wrote:

> Just to see what access_ok() was responsible for (in terms of size)
> I built two identical kernels with access_ok() defined to zero in one
> of them. The sizes were as follows:
> ------------------------------------------------------------------------
> Memory: 6884k/8192k available (488k kernel code, 384k reserved, 436k data)
> Memory: 6800k/8192k available (564k kernel code, 384k reserved, 444k data)
> ------------------------------------------------------------------------
> The config was for math-emu, wd80x3, NFS, hd, ext2, proc and serial.
> The resulting kernel wouldn't get past the execve of init, but at least
> I got the above Mem line out of it. :)

#define it 1 and you get past that line too ;)

would be nice to see what speed difference it makes. I have the feeling
that P5s see lots of pipeline stalls in access_ok().

-- mingo

 \ /
  Last update: 2005-03-22 13:39    [W:0.040 / U:7.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site