Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2007-04-18 | Reserve a few pg_flags for pmaps that might want to use them. | Artur Grabowski | |
i386 will use them soon and miod wants to work on other pmaps in parallell. miod@ ok | |||
2007-04-15 | One more voff_t in the right place. | Artur Grabowski | |
miod@ ok | |||
2007-04-15 | Use the right types for calculating the object offset. | Artur Grabowski | |
miod@ ok | |||
2007-04-15 | Clean up prototypes, change vm_map_t to struct vm_map *. | Artur Grabowski | |
miod@ ok | |||
2007-04-15 | minor indentation. | Artur Grabowski | |
2007-04-14 | remove static | Ted Unangst | |
ok beck miod pedro thib | |||
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 | Allow machine-dependant overrides for the ``deadbeef'' sentinel values, | Miod Vallat | |
and make sure that nothing can ever be mapped at theses addresses. Only i386 overrides the default for now. From mickey@, ok art@ miod@ | |||
2007-04-12 | Unbreak compile with option UVMHIST after pg_flags changes. | Artur Grabowski | |
from mickey | |||
2007-04-11 | The return value of uvm_grow() (and previously, grow()) has not been used | Miod Vallat | |
in 15 years, make it a void function. ok art@ | |||
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 | Switch vm_map lock to rwlock. | Artur Grabowski | |
Use a simple "rw_exit_read(); rw_enter_write();" for lock upgrade, since that's what lockmgr did anyway. deraadt@ 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 references to KERN_SUCCESS, okay miod@ | Pedro Martelletto | |
2007-03-25 | Remove the flags_lock simplelock from struct vm_map; | Thordur I. Bjornsson | |
Cleanup the code accordingly. ok pedro@, art@ | |||
2007-03-25 | remove KERN_SUCCESS and use 0 instead. | Artur Grabowski | |
eyeballed by miod@ and pedro@ | |||
2007-02-25 | Make integer wrap checks the same for mmap, munmap, msync, etc | Todd C. Miller | |
by factoring most of the checks into a macro. OK otto@ | |||
2007-02-14 | Consistently spell FALLTHROUGH to appease lint. | Jonathan Gray | |
ok kettenis@ cloder@ tom@ henning@ | |||
2007-02-12 | Let this compile with 'option DEBUG' again. | Tom Cosgrove | |
ok dim@ | |||
2007-01-16 | Implement multiple segment allocation for uvm_pglistalloc, which fixes | Dimitry Andric | |
most agp_generic_bind_memory failures when memory is limited and very fragmented. In effect, this should fix a lot of X startup crashes after activities that exercise memory a lot (e.g. make builds, building big ports, etc). ok mickey, miod | |||
2007-01-12 | proper define for MAX_KMAPENT; miod@ ok | Michael Shalayeff | |
2007-01-12 | Switch some lockmgr locks to rwlocks. | Artur Grabowski | |
In this commit: - gdt lock on amd64 - sysctl lock - malloc sysctl lock - disk sysctl lock - swap syscall lock miod@, pedro@ ok (and "looks good" others@) | |||
2006-11-29 | We don't use mb_map anymore since a long time already. Remove it. | Miod Vallat | |
2006-11-29 | Remove cpu_swapin() and cpu_swapout(), they are no longer necessary (except | Miod Vallat | |
for cpu_swapin() on hppa* which is kept). |