Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-06-02 | Round up the numbers of keys to allocate, so that the last 128 page area | Miod Vallat | |
gets correctly encrypted if the swap isn't a multiple of 128 pages. ok deraadt@ | |||
2008-05-05 | retire ltsleep(); The only refrence left too it is in an | Thordur I. Bjornsson | |
ifdef netbsd block in drm code, but oga@ says he'll remove it soon... OK art@, oga@; | |||
2008-04-12 | Prune the in-use swap encryption keys in uvm_shutdown(), per deraadt@'s idea. | Miod Vallat | |
2008-04-12 | When enabling swap encryption, pass the correct number of swap pages to | Miod Vallat | |
uvm_swap_initcrypt. The number of available pages may not match, if we are using a miniroot in the swap partition. | |||
2008-04-10 | Correctly amount swap usage for anons, from NetBSD via PR 5772. | Miod Vallat | |
2008-04-09 | Add new stub uvm_shutdown() and call it from the right place in MD boot() | Theo de Raadt | |
2008-03-02 | Include sigcode in core dumps. This makes it possible to backtrace | Mark Kettenis | |
through signal handlers with gdb. ok miod@ | |||
2008-02-27 | Don't dump duplicate data in stack segments of core dumps when the stack | Mark Kettenis | |
memory map is fragmented. Avoids ridiculously large core dumps. ok miod@ | |||
2008-02-17 | Add back cast in ptoa() to prevent problems with integer overflow. | Mark Kettenis | |
Proper casts should be added to all invocations of ptoa() before this cast can be removed again. ok toby@, marco@, miod@ | |||
2008-01-09 | Make uvm_page_lookup_freelist() simpler and faster if VM_PHYSSEG_MAX is 1. | Miod Vallat | |
Has been in snapshots for a short while. | |||
2008-01-05 | Mark vadvise(2) as obsolete and remove its implementation, so instead of | Miod Vallat | |
returning EINVAL, you'll get ENOSYS. No serious code has used this system call in at least fifteen years. The libc stub will be removed at the next major crank time. ok henning@ deraadt@ krw@ toby@ | |||
2008-01-04 | Only compile in uvm_page_physdump() if option DDB as it's not directly callable | Miod Vallat | |
and supposed to be only used from within ddb. | |||
2007-12-18 | Turn the uvm_{lock/unlock}_fpageq() inlines into | Thordur I. Bjornsson | |
macros that just expand into the mutex functions to keep the abstraction, do assorted cleanup. ok miod@,art@ | |||
2007-12-16 | Correctly calculate stack increment for MACHINE_STACK_GROWS_UP; fixes problems | Mark Kettenis | |
where core dumps on hppa were missing the last stack page. ok miod@ | |||
2007-12-15 | export kernel uvm_km_pages_free as vm.kmpagesfree; ok tedu, tested jsg | Theo de Raadt | |
2007-12-11 | use a mutex for protection of the uvm_km list. ok art | Ted Unangst | |
2007-11-29 | use a working mutex for the freepage list. ok art deraadt | Ted Unangst | |
2007-11-27 | Shoot old netbsd compat code from almost 20 years ago; ok art | Theo de Raadt | |
2007-11-26 | In uvm_aio_aiodone(), kill the variable-sized array on stack, and use a | Miod Vallat | |
fixed size array which size should match any buf; if a bogus buf is passed to this function, the kernel will KASSERT instead of potentially running out of stack and having an undefined behaviour. ok deraadt@ | |||
2007-10-29 | MALLOC/FREE -> malloc/free | Charles Longeau | |
ok krw@ | |||
2007-10-10 | Make context switching much more MI: | Artur Grabowski | |
- Move the functionality of choosing a process from cpu_switch into a much simpler function: cpu_switchto. Instead of having the locore code walk the run queues, let the MI code choose the process we want to run and only implement the context switching itself in MD code. - Let MD context switching run without worrying about spls or locks. - Instead of having the idle loop implemented with special contexts in MD code, implement one idle proc for each cpu. make the idle loop MI with MD hooks. - Change the proc lists from the old style vax queues to TAILQs. - Change the sleep queue from vax queues to TAILQs. This makes wakeup() go from O(n^2) to O(n) there will be some MD fallout, but it will be fixed shortly. There's also a few cleanups to be done after this. deraadt@, kettenis@ ok | |||
2007-09-17 | instead of inspecting the vnode op's to figure out if | Thordur I. Bjornsson | |
vnode locking actually works, just check the VLOCKSWORK flag. Also, change this ifdef DEBUG to VFSDEBUG since VLOCKSWORK is only ever set if VFSDEBUG is defined. ok/input miod@, art@ (earlier diff) | |||
2007-09-15 | replace ctob and btoc with ptoa and atop respectively | Martin Reindl | |
help and ok miod@ thib@ | |||
2007-09-10 | Introduce a md pmap hook, pmap_remove_holes(), which is supposed to mark | Miod Vallat | |
the holes a MMU may have from a given vm_map. This will be automagically invoked for newly created vmspaces. On platforms with MMU holes (e.g. sun4, sun4c and vax), this prevents mmap(2) hints which would end up being in the hole to be accepted as valid, causing unexpected signals when the process tries to access the hole (since pmap can not fill the hole anyway). Unfortunately, the logic mmap() uses to pick a valid address for anonymous mappings needs work, as it will only try to find an address higher than the hint, which causes all mmap() with a hint in the hole to fail on vax. This will be improved later. | |||
2007-09-07 | Use M_ZERO in a few more places to shave bytes from the kernel. | Artur Grabowski | |
eyeballed and ok dlg@ | |||
2007-09-01 | replace the machine dependant bytes-to-clicks macro by the MI ptoa() | Martin Reindl | |
version for i386 more architectures and ctob() replacement is being worked on prodded by and ok miod | |||
2007-08-31 | simplify uvm_vnp_sync() by removing some simplelock goo. | Thordur I. Bjornsson | |
some comment cleanup and a touch of KNF. ok art@ | |||
2007-08-03 | Don't let pagedaemon wait for pages here. We could trigger this easily | Artur Grabowski | |
when we hit swap before actually fully populating the buffer cache which would lead to deadlocks. From pedro, tested by many, deraadt@ ok | |||
2007-07-18 | Indentation nit. | Artur Grabowski | |
2007-06-18 | Bring back Mickey's UVM anon change. Testing by thib@, beck@ and | Pedro Martelletto | |
ckuethe@ for a while. Okay beck@, "it is good timing" deraadt@. | |||
2007-06-13 | Remove some statics and inlines (mostly to get a readable profile output). | Artur Grabowski | |
"reads ok" dlg@ | |||
2007-06-06 | now that all partition size/offsets are potentially 64-bit, change the | Theo de Raadt | |
type of all variables to daddr64_t. this includes the APIs for XXsize() and XXdump(), all range checks inside bio drivers, internal variables for disklabel handling, and even uvm's swap offsets. re-read numerous times by otto, miod, krw, thib to look for errors | |||
2007-06-05 | use six new macros to access & store the 48-bit disklabel fields related | Theo de Raadt | |
to size. tested on almost all machines, double checked by miod and krw next comes the type handling surrounding these values | |||
2007-06-01 | set hiwat mark for some of the more popular pools to reduce bouncing | Ted Unangst | |
ok art bob | |||
2007-06-01 | wrong cast checking for VOP_BMAP return value; ok miod | Theo de Raadt | |
2007-05-31 | zap the vm_amap am_l simplelock, and amap_{lock/unlock} macros for | Thordur I. Bjornsson | |
simple_{lock/unlock}. ok art@ | |||
2007-05-29 | Kill some simplelock goo that annoyed me while reading. | Thordur I. Bjornsson | |
ok art@ | |||
2007-05-29 | Add a name argument to the RWLOCK_INITIALIZER macro. | Thordur I. Bjornsson | |
Pick reasonble names for the locks involved.. ok tedu@, art@ | |||
2007-05-27 | pagemove() is no longer used. | Miod Vallat | |
2007-05-26 | Dynamic buffer cache. Initial diff from mickey@, okay art@ beck@ toby@ | Pedro Martelletto | |
deraadt@ dlg@. | |||
2007-05-18 | Instead of checking whichqs directly, add a "sched_is_idle()" macro to | Artur Grabowski | |
sys/sched.h and use that to check if there's something to do. kettenis@ thib@ ok | |||
2007-05-18 | Instead of a silly loop with goto, just use while(1). | Artur Grabowski | |
2007-05-09 | Truncate the addresses for the deadbeef values so that they don't need | Artur Grabowski | |
to be page aligned and can contain more "noise". From mickey art@ ok | |||
2007-04-29 | Change the loop test in uvm_km_kmemalloc from '<' to '!='. Everything | Artur Grabowski | |
is aligned just fine and in case we allocate the last piece of the address space we don't want wrap-around to cause us to fail. pointed out by and ok miod@ | |||
2007-04-27 | For uvm_map and uvm_unmap, splassert(IPL_NONE) for non-INTRSAFE maps. | Artur Grabowski | |
miod@ ok | |||
2007-04-27 | Another indentation cleanup without binary changes. | Artur Grabowski | |
(I'm reading code, that's where this comes from). | |||
2007-04-27 | Some ANSI function prototypes and misc cleanups. | Artur Grabowski | |
only binary change is the line numbers to asserts. | |||
2007-04-27 | Some indentation cleanup. | Artur Grabowski | |
md5@ ok. | |||
2007-04-27 | Use the right size when we're backing out the allocation in | Artur Grabowski | |
uvm_km_kmemalloc. "should probbaly go in" millert@, "I think it should too" deraadt@ | |||
2007-04-19 | Also show fpu context switches in show uvmexp in ddb. | Artur Grabowski | |
From mickey. art@ ok |