NetBSD Archive

UFS2 Ported to NetBSD

Frank van der Linden has committed UFS2 code (based on FreeBSD's UFS2 by Marshall Kirk McKusick) to NetBSD. UFS2 is an extension to FFS. It adds 64 bit block pointers (breaking the 1T barrier) and support for extended file storage. On other BSD news, OpenBSD got a port of XFree86 4.3.0, while Kerneltrap features an article about the new 1:1 threading implementation that has been merged into FreeBSD -current.

New ‘Topdown’ UVM in NetBSD-Current

Andrew Brown has committed changes to -current implementing a new 'topdown' uvm. With these changes, the areas for heap growth and mmap(2)'ed allocations, which used to be separate, are now one and the same, allowing either one to grow much larger than before. As an example, on i386 it is now possible to mmap(2) over 2GB of memory.

IRIX Binary Compatibility for NetBSD, Part 4

Signals are the difficult of part IRIX emulation. However, before examining the way they work on IRIX, let us study the signals implementation in NetBSD/mips. A user process enters the kernel by a trap. When a trap is caught, the hardware transfers control to the kernel. Assembly code in sys/arch/mips/mips/locore.S builds a trap frame (this is a struct frame, defined in sys/arch/mips/include/proc.h) on the kernel stack, in which CPU registers are saved. Then the trap() function from sys/arch/mips/mips/trap.c is called to handle the trap. Read the article at OnLamp.