[PATCH] mremap()

2003-12-02 Thread Zachary Amsden
work, and is at least a head start on playing large realloc() page remapping games to get rid of the copy overhead. Submitted via send-pr as well, but not sure the remote MTA likes me. Happy hacking... Zachary Amsden, zach at mirapoint.com Differences ... --- sys/sys/mman.hThu Mar 20 15:

[4.1] Bug in calcru?

2003-02-01 Thread Zachary Amsden
I believe that spl() protection is required here, in fact, that it should be extended to cover the read of p->p_runtime as well. These are all 64 bit integers, so on IA32, the worst case is two consecutive off-by one reads during overflow - i.e reading 0x 0x0002 instead of 0x 0