Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-01 | set hiwat mark for some of the more popular pools to reduce bouncing | Ted Unangst | |
ok art bob | |||
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-04-27 | For uvm_map and uvm_unmap, splassert(IPL_NONE) for non-INTRSAFE maps. | Artur Grabowski | |
miod@ ok | |||
2007-04-27 | Some indentation cleanup. | Artur Grabowski | |
md5@ ok. | |||
2007-04-14 | Clean up. | Artur Grabowski | |
- ansi-fy - use struct vm_map * and struct vm_map_entry * instead of _t types - fix some indentation problems. miod@ ok | |||
2007-04-13 | While splitting flags and pqflags might have been a good idea in theory | Artur Grabowski | |
to separate locking, on most modern machines this is not enough since operations on short types touch other short types that share the same word in memory. Merge pg_flags and pqflags again and now use atomic operations to change the flags. Also bump wire_count to an int and pg_version might go int as well, just for alignment. tested by many, many. ok miod@ | |||
2007-04-12 | Unbreak compile with option UVMHIST after pg_flags changes. | Artur Grabowski | |
from mickey | |||
2007-04-11 | Instead of managing pages for intrsafe maps in special objects (aka. | Artur Grabowski | |
kmem_object) just so that we can remove them, just use pmap_extract to get the pages to free and simplify a lot of code to not deal with the list of intrsafe maps, intrsafe objects, etc. miod@ ok | |||
2007-04-04 | Mechanically rename the "flags" and "version" fields in struct vm_page | Artur Grabowski | |
to "pg_flags" and "pg_version", so that they are a bit easier to work with. Whoever uses generic names like this for a popular struct obviously doesn't read much code. Most architectures compile and there are no functionality changes. deraadt@ ok ("if something fails to compile, we fix that by hand") | |||
2007-03-27 | Clean up some return value handling now that we know that what's returned | Artur Grabowski | |
is proper errnos. millert@ ok and some help | |||
2007-03-26 | Rip out the KERN_ error codes. | Artur Grabowski | |
ok otto@ | |||
2007-03-25 | remove KERN_SUCCESS and use 0 instead. | Artur Grabowski | |
eyeballed by miod@ and pedro@ | |||
2006-07-31 | fix uvmhist #2: args are always u_long so fix missing %d and %x and no %ll; ↵ | Michael Shalayeff | |
no change for normal code | |||
2006-07-26 | fix fmts for UVMHIST_LOG() entries making it more useful on 64bit archs; ↵ | Michael Shalayeff | |
miod@ ok | |||
2006-07-13 | Back out the anon change. Apparently it was tested by a few, but most of | Theo de Raadt | |
us did not see it or get a chance to test it before it was commited. It broke cvs, in the ami driver, making it not succeed at seeing it's devices. | |||
2006-06-21 | from netbsd: make anons dynamically allocated from pool. | Michael Shalayeff | |
this results in lesse kva waste due to static preallocation of those for every phys page and also every swap page. tested by beck krw miod | |||
2006-04-27 | from PAE work: | Michael Shalayeff | |
as paddr_t could be a long long (soon) always cast and print as llx. | |||
2006-01-16 | add another uvm histroy for physpage alloc/free and propagate a debugging ↵ | Michael Shalayeff | |
pgfree check into pglist; no functional change for normal kernels; make histories uncommon | |||
2006-01-02 | fix typo in comment | Tom Cosgrove | |
ok deraadt@ | |||
2005-12-10 | Don't check/free new_entry here, since it can't have been set. Spotted | Kenneth R Westerback | |
by lint. "Probably a bogus cut'n paste." says moid. ok miod@ pedro@ | |||
2005-12-10 | {en,re}trys -> {en,re}tries; eyeballed by jmc@ | Miod Vallat | |
2005-09-28 | - when we run out of static kernel map entries, grab a fresh page using | Pedro Martelletto | |
the uvm_km_page allocator and use it instead of calling panic() - add a counter to uvmexp so we can keep track of how many map entries we have in use idea from tedu@, long ago, okay deraadt@ | |||
2005-06-29 | on the vax, start mmap BRKSIZ (8MB) into data seg; ok tdeval | Theo de Raadt | |
2005-05-24 | add a new field to vm_space and use it to track the number of anon | Ted Unangst | |
pages a process uses. this is now the userland "data size" value. ok art deraadt tdeval. thanks testers. | |||
2004-12-30 | Import M_CANFAIL support from NetBSD, removes a nasty panic during low-mem ↵ | Niklas Hallqvist | |
scenarios, instead generating an ENOMEM backfeed, ok tedu@, prodded by many | |||
2004-08-06 | rename sparc kill_user_windows() to pmap_unuse_final(). provide empty stubs | Theo de Raadt | |
on all other architectures. remove last architecture dependent #ifdef from uvm code. | |||
2004-07-21 | Yet another victim of inline masturbation. | Artur Grabowski | |
Remove inline from a few functions, shrink the kernel by a few kB and make things faster. A simple compilation on amd64 spends around 5% less time in kernel. Yes, it's faster without inlines, now go buy a book about modern cpu architectures and find a chapter about the new and revolutionary thing called "cache". deraadt@ ok | |||
2004-05-30 | only free pages if we have write permission and they are not COW. | Ted Unangst | |
prevents msync/madvise funniness from art@ ok deraadt@ | |||
2004-05-03 | protecing with NONE means we must drop the wired count. | Ted Unangst | |
solves problems encountered by david@ and dtucker@ (pr3758) | |||
2004-02-23 | sync of pmap_update() calls with NetBSD. pmap_update is defined away on | Dale Rahn | |
all architectures but arm, where it is needed. | |||
2003-11-18 | faster pools. split pagelist into full, partial, and empty so we find what | Ted Unangst | |
we're looking for. change small page_header hash table to a splay tree. from Chuck Silvers. tested by brad grange henning mcbride naddy otto | |||
2003-10-08 | randomize return from uvm_map_hint. the random increment is limited | Ted Unangst | |
to prevent fragmentation. this has the effect of randomizing unhinted mmap()s, sysV mem, and position of ld.so. tested on many archs by many developers for quite some time. use of MIN to allow m68k to play from miod@. vax is not included. ok deraadt@ miod@ | |||
2003-09-03 | m68k at least doesn't like random mappings. disable for now. | Ted Unangst | |
i386 exec mappings are still random. detected by pvalchev@. ok deraadt@ | |||
2003-09-02 | add a random offset to uvm_map_hint. this has the primary effect of | Ted Unangst | |
scattering ld.so and libraries around, although all mmaps will also have some jitter too. better version after some discussion with drahn testing/ok deraadt henning marcm otto pb | |||
2003-06-29 | quell a "not a pointer" warning by using 0x%lx instead of %p for a vaddr_t | Anil Madhavapeddy | |
suggested by art@ | |||
2003-05-05 | Move exec base to 0x1c000000, exe/data gap to 512MB. Allows better | Dale Rahn | |
interleave of exe/shared libs. Raise MAXDSIZ back to 1G. This change REQUIRES a binary update on i386. | |||
2003-04-17 | changes to support mquery with 1Gsep on i386. avoid heap on mappings. | Dale Rahn | |
2003-04-14 | There 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. | |||
2002-12-09 | Two splasserts in map entry allocation. | Artur Grabowski | |
2002-10-29 | Since memory deallocation can't fail, remove the error return from | Artur 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-09-17 | int is small for returned values from uvm_rb_{space,subtree_space}, use | Mike Pechkin | |
vsize_t instead. art@ ok | |||
2002-08-30 | __FUNCTION__ -> __func__ that I forgot to commit. | Marc Espie | |
2002-08-20 | print as unsigned for unsigned values, when printing out a map in ddb; art@ ok | Michael Shalayeff | |
2002-07-23 | Now that sparc64 implements reverse splassert, it make sense | Artur Grabowski | |
to add splassert(IPL_NONE) in a few strategic places. | |||
2002-06-14 | spelling; from Brian Poole <raj@cerias.purdue.edu> | Todd T. Fries | |
2002-06-05 | DIAGNOSTIC check for duplicate entry into the tree. | Artur Grabowski | |
niels@ ok. |