lkml.org 
[lkml]   [1996]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subject2.0.1: minor omissions
I've noticed a "off by one" error in /proc/<pid>/mmap: In the ranges 
the "to-address" is to high by one. The result is something like
0000-1000
1000-2000
...
It should be
0000-0999
1000-1999

Also the current system call interface to the memory statistics does
not return the size of the "page cache". You can see this if you look
into fs/proc/array, where /proc/meminfo is implemented. I had pointed
this out once before; the meminfo system call (I can't remember it's
name right now) returns a structure that should be either expanded to
include the page_cache, or the page_cache should be added to the
buffers (which is worse in my opinion).

I'd also suggest to add a paragraph to the README that explains how
to (cross-)compile an a.out kernel on an ELF system. I configured it
correctly, and the Makefile in arch/i386 seems to take care of the
configuration variables, but it did not work:

An undefined symbol "_start" and about three (sorry, no typescript)
other undefined symbols when linking. I need a newer kernel for a
tiny a.out system.

Ulrich Windl
P.S. I'm not subscribed to this list, but I browse it from news
occasionally. EMail gratefully accepted!


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