summaryrefslogtreecommitdiff
path: root/sys/uvm
AgeCommit message (Collapse)Author
2003-06-12Fix compile with NFS but not FIFO.Henric Jungheim
ok deraadt@
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-01Typo in panic message.Miod Vallat
2003-05-17Typos; from Julien Bordet <zejames@greyhats.org>Alexander Yurchenko
Close PR 3262
2003-05-05Move exec base to 0x1c000000, exe/data gap to 512MB. Allows betterDale Rahn
interleave of exe/shared libs. Raise MAXDSIZ back to 1G. This change REQUIRES a binary update on i386.
2003-05-01typos;Jason McIntyre
ok art@
2003-04-28Change mquery() function call signature to be the same a mmap(). ItDale Rahn
needs the prot/flags info and passing the addresses via arg/return allows it to be traced via ktrace better than an in/out paramter. This adds a new mquery syscall and renames the old one to omquery. New kernel _MUST_ be built, booted, and 'make includes' before building ld.so with this change.
2003-04-25backout mquery change, something broke when not combined with a different diff.Dale Rahn
2003-04-25change mquery() function call signature to be the same a mmap(). ItDale Rahn
needs the prot/flags info and passing the addresses via arg/return allows it to be traced via ktrace better than an in/out paramter. This adds a new mquery syscall and renames the old one to omquery. New kernel _MUST_ be built and installed before building ld.so with this change. ok millert@ tedu@
2003-04-18Return EINVAL if MAP_FIXED was specified but was not available. ok tedu@Dale Rahn
2003-04-17changes to support mquery with 1Gsep on i386. avoid heap on mappings.Dale Rahn
2003-04-14There are two related changes.Artur Grabowski
The first one is an mquery(2) syscall. It's for asking the VM system about where to map things. It will be used by ld.so, read the man page for details. The second change is related and is a centralization of uvm_map hint that all callers of uvm_map calculated. This will allow us to adjust this hint on architectures that have segments for non-exec mappings. deraadt@ drahn@ ok.
2003-04-07int -> ssize_t.Mike Pechkin
+checked by regress. millert@, art@ ok.
2003-03-29ubchist is not a fully cooked kadaver and though use the other well formed ↵Michael Shalayeff
pdhist one until ubc gaets back. art@ ok
2003-03-28zero'd -> zeroed;Jason McIntyre
ok art@, miod@
2003-03-04do not treat map entries above the stack as stack; only for the grow-upsMichael Shalayeff
2003-02-18fix the way stack is written into the core file on the upward growing stack ↵Michael Shalayeff
machines. the other case is not affected. miod@ deraadt@ ok
2003-01-29check the uvm_fault_wire() for failure, just like other calls; art@ okMichael Shalayeff
2003-01-09Remove fetch(9) and store(9) functions from the kernel, and replace the fewMiod Vallat
remaining instances of them with appropriate copy(9) usage. ok art@, tested on all arches unless my memory is non-ECC
2002-12-20user-defined stacks check is the same for grownups as for growndownsMichael Shalayeff
2002-12-19simplify stack grownups (growndowns are not touched)Michael Shalayeff
2002-12-09Two splasserts in map entry allocation.Artur Grabowski
2002-11-19Use queue.h macrosJason Wright
2002-11-08Don't uvm_useracc and then vslock. vslock is better at finding illegal mappings.Artur Grabowski
2002-11-06Eliminate the use of KERN_SUCCESS outside of uvm/Artur Grabowski
Also uvm_map returns KERN_* codes that are directly mapped to errnos, so we can return them instead of doing some attempt to translation. drahn@ "I see no problem" pval@ "makes sense"
2002-10-29Since memory deallocation can't fail, remove the error return fromArtur Grabowski
uvm_unmap, uvm_deallocate and a few other functions. Simplifies some code and reduces diff to the UBC branch.
2002-10-29"len = entry->end - entry->start;" then logically "entry->start + len"Artur Grabowski
should be equal to "entry->end". (len is never changed)
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).