[lkml]   [1996]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Current Status
> From: (Alan Cox)
> Problems Remaining To Look Hard Into As Of 1.3.76:
> o Lack of vm area locking means the following destroys your machine
> and filesystems even as a normal user

Normal setups or just SMP?

> two processes one repeatedly allocating a 4Mb file mmap()ing it
> writing it to disk in a tight loop. One continually opening and
> ftruncate()ing the mmap file as the write is being done.

Huh? Like this?
1: mmap(), write 4MB
2: open(), ftruncate() - and close() or not?

> o Make all the inline's __inline__

No, "inline" is easy to read and takes less horizontal space.
The compiler must support this keyword, and many do.
The kernel is not, was not, and will never be ANSI C.
ANSI C does not include assembly or macro parameters either.
It is best to make the code readable, and 4 '_'s is ugly.

 \ /
  Last update: 2005-03-22 13:36    [W:0.466 / U:0.428 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site