summaryrefslogtreecommitdiff
path: root/sys/uvm
AgeCommit message (Collapse)Author
2002-10-17 - name in uvm_tree_sanity must be const.Artur Grabowski
- fix a typo in comment. - enable uvm_tree_sanity ifdef DEBUG
2002-10-12Remove more '\n's from panic() statements. Both trailing and leading.Kenneth R Westerback
Diff generated by Chris Kuethe.
2002-10-07this removes the functionality of adding allocatedMichael Shalayeff
pages into the queue already containing allocated pages. breaks i386:setup_buffers() because of this.
2002-10-06Initialize the result list in uvm_pglistalloc.Artur Grabowski
2002-09-17int is small for returned values from uvm_rb_{space,subtree_space}, useMike Pechkin
vsize_t instead. art@ ok
2002-09-12Change the PMAP_PAGEIDLEZERO api to take the struct vm_page instead of the pa.Artur Grabowski
2002-09-12Change the PMAP_{MAP,UNMAP}_POOLPAGE api to take a vm_page as argumentArtur Grabowski
and return a VM_PAGE. This is to allow sparc64 to cheaply record the VAC color for those pages.
2002-09-11kill annoying trailing spaces (in hope it fixes /0 for me)Michael Shalayeff
2002-09-10Change the pmap_zero_page and pmap_copy_page API to take the struct vm_page *Artur Grabowski
instead of the pa. Most callers already had it handy and those who didn't only called it for managed pages and were outside time-critical code. This will allow us to make those functions clean and fast on sparc and sparc64 letting us to avoid unnecessary cache flushes. deraadt@ miod@ drahn@ ok.
2002-08-30__FUNCTION__ -> __func__ that I forgot to commit.Marc Espie
2002-08-23map the heap without PROT_EXEC.Artur Grabowski
deraadt@ ok.
2002-08-23Fix missing FRELE in mmap(2); ok artPeter Valchev
2002-08-20print as unsigned for unsigned values, when printing out a map in ddb; art@ okMichael Shalayeff
2002-07-23Now that sparc64 implements reverse splassert, it make senseArtur Grabowski
to add splassert(IPL_NONE) in a few strategic places.
2002-07-20Only add a pmap_physseg if MD code defines __HAVE_PMAP_PHYSSEG.Artur Grabowski
2002-07-02inital -> initialNathan Binkert
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-06-11Allow MD code to define __HAVE_VM_PAGE_MD to add own members into struct ↵Artur Grabowski
vm_page. From NetBSD.
2002-06-11Remove a stupid assert that grows the kernel by 40kB.Artur Grabowski
2002-06-09fix the use of "cuz" in the tree; these are all in commentsJason Peel
noticed by aaron@, recommended by deraadt@
2002-06-05DIAGNOSTIC check for duplicate entry into the tree.Artur Grabowski
niels@ ok.
2002-05-30spelling errors; moritz@jodeit.orgTheo de Raadt
2002-05-24Make sure that b_iodone handlers are called at splbio (and ↵Artur Grabowski
splassert(IPL_BIO) in all known callers, just to make sure).
2002-05-24Protect biodone with splbio.Artur Grabowski
2002-05-22splassert(IPL_BIO) in the b_iodone handlers.Artur Grabowski
2002-05-09from netbsd; okay art@Niels Provos
revision 1.43 date: 2002/03/28 06:06:29; author: nathanw; state: Exp; lines: +13 -3 In amap_pp_adjref(), avoid incorrectly merging the first two chunks in a ppref array when the range being adjusted includes the beginning of the array.
2002-04-29wierd -> weirdPeter Valchev
2002-04-25do not map memory for malloc w/ execute perms.Michael Shalayeff
this prevents i-cache preload on some archs, but does not hurt on others anyway. art looked all over all the pmaps, miod and mickey tested it on all possible archs, deraadt made a lesson out of it for the rest of the folks.
2002-04-22Uncommit. Since this came out of the blue, without anyone else havingTheo de Raadt
known of it; and since the commit message does not give the rest of us any feeling that this was tested by anyone, this is being removed. This is not an area where one commits because just art agrees. And that is what the commit message says.
2002-04-22do not map malloced memory executable (do avoid possible i-cache prefetch); ↵Michael Shalayeff
art@ ok
2002-03-18These are macro inlines on vax, so check if they're defined beforeHugh Graham
trying to prototype them. millert@ ok.
2002-03-18$OpenBSD$Hugh Graham
2002-03-17Don't set LK_RETRY to vn_lock with LK_RECURSEFAIL.Artur Grabowski
2002-03-15Cosmetic changes only, primarily making comments line up nicely after theTodd C. Miller
__P removal.
2002-03-14Prototype pmap_unwire() only if it's not already defined. ok drahn@.Daniel Hartmeier
2002-03-14do not proto pmap(de)activate if one was definedMichael Shalayeff
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-14Don't prototype pmap_copy() if it is a macroTodd C. Miller
2002-03-08semicolon is not always what it seems, replace w/ a \n in asm labelsMichael Shalayeff
2002-03-07use an augmented red-black tree to keep track of free space in the vm_map.Niels Provos
uvm_tree_sanity is left as debugging help but needs to be enabled manually. okay art@
2002-03-06Some architectures don't allocate any memory out of the kernel_map spaceArtur Grabowski
before uvm_km_init (alpha). Don't uvm_map 0 space, it gives very strange breakage on alpha.
2002-02-28use red-black tree for lookup_entry. the red-black tree case forNiels Provos
map_findspace is still broken on alpha. this will make debugging easier. okay millert@
2002-02-28setting prevlcv to 0 doesnt require additional checks. from chs@Niels Provos
2002-02-25back out red-black tree. they are very fast but alpha UVM is broken andNiels Provos
the tree triggers the bug, PMAP_PREFER case was broken also.
2002-02-25use a red-black tree to find entries in the vm_map. augment the red-blackNiels Provos
tree to find free space between entries. speeds up memory allocation, etc...
2002-02-20merging ppref could cause negative back reference, fix from niklas@Niels Provos
2002-02-19amap_pp_adjref could fragment ppref array; fix by merging adjacent chunks;Niels Provos
from Chuck Silvers; okay art@
2002-02-18From the UBC branch and NetBSD.Artur Grabowski
We allocate map entries for the non-intrsafe kernel map (most notably kernel_map and exec_map) from a pool that's backed by kmem_map (to avoid deadlocking). This should get rid of MAX_KMAPENT panics.
2002-02-16Don't prototype functions if they are really just macros.Todd C. Miller