lkml.org 
[lkml]   [1999]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: memory_save patch
Max wrote:
> So I came out with this patch, which, despite being tiny,
> saves 4kb for every 2Mb of physical RAM.
> On my 16Mb box this means the kernel uses 32kb less memory,
> and on a typical 64Mb Intel you save 128kb.
> It is not exactly little, considering that the `init' memory added in 2.1
> normally saves 20-40kb of memory.

Although I haven't tried this patch out, it *looks* like it will even
speed the kernel up fractionally as you have changes several memory
references to either a reg minus reg or reg minus const (I don't know
the nature of `mem_map': array or pointer).

Bill
--
Leave others their otherness.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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