summaryrefslogtreecommitdiffstats
path: root/sys/uvm/uvm_object.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Unbreak ramdisks.oga2010-05-011-1/+3
| | | | | | | | I forgot that uvm_object.c wasn't build if SMALL_KERNEL. Fix this by building the file unconditionally and only building the less used functions when SMALL_KERNEL is not defined. unbreaks ramdisk build. ok jsg@
* Right now, if anything internal changes with a uvm object, diverseoga2010-04-301-1/+13
| | | | | | | | | | | | places in the tree need to be touched to update the object initialisation with respect to that. So, make a function (uvm_initobj) that takes the refcount, object and pager ops and does this initialisation for us. This should save on maintainance in the future. looked good to fgs@. Tedu complained about the British spelling but OKed it anyway.
* the atomic primitives are still impossible to get at without using proc.hderaadt2010-04-211-3/+2
| | | | | | (because it pulls in so much of the world) so include it for now, but mark it XXX ok tedu
* something hairy happened with cvs so this file didn't get added.oga2009-11-251-0/+159
| | | | | | | re-add uvm_objwire and uvm_objunwire. "you may commit that" kettenis@ original diff oked by ariane@ and art@
* Backout all changes to uvm after pmemrange (which will be backed outoga2009-06-161-159/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | separately). a change at or just before the hackathon has either exposed or added a very very nasty memory corruption bug that is giving us hell right now. So in the interest of kernel stability these diffs are being backed out until such a time as that corruption bug has been found and squashed, then the ones that are proven good may slowly return. a quick hitlist of the main commits this backs out: mine: uvm_objwire the lock change in uvm_swap.c using trees for uvm objects instead of the hash removing the pgo_releasepg callback. art@'s: putting pmap_page_protect(VM_PROT_NONE) in uvm_pagedeactivate() since all callers called that just prior anyway. ok beck@, ariane@. prompted by deraadt@.
* Add uvm_objwire() and uvm_objunwire(), I need this for some of my crazyoga2009-06-061-0/+159
shitz. Code mostly from netbsd with some tweaks from me. The loaning case is specifcically if 0ed out right now because we do not do loaning. ok ariane@, art@.