summaryrefslogtreecommitdiff
path: root/sys/uvm
AgeCommit message (Expand)Author
2020-10-13typo in commentMartin Pieuchot
2020-10-12Use KASSERT() instead of if(x) panic() for NULL dereference checks.Martin Pieuchot
2020-10-09Remove unecesary includes.Martin Pieuchot
2020-10-07Do not release the KERNEL_LOCK() when mmap(2)ing files.Martin Pieuchot
2020-10-04Recent changes for PROT_NONE pages to not count against resource limits,Theo de Raadt
2020-09-29Introduce a helper to check if all available swap is in use.Martin Pieuchot
2020-09-25Use KASSERT() instead of if(x) panic() for sanity checks.Martin Pieuchot
2020-09-24Remove trailing white spaces.Martin Pieuchot
2020-09-22Spell inline correctly.Martin Pieuchot
2020-09-22Kill outdated comment, pmap_enter(9) doesn't sleep.Martin Pieuchot
2020-09-14Since the issues with calling uvm_map_inentry_fix() without holding theMark Kettenis
2020-09-13Include <sys/systm.h> directly instead of relying on uvm_map.h to pull it.Martin Pieuchot
2020-09-12Add tracepoints in the page fault handler and when entries are added to maps.Martin Pieuchot
2020-07-06fix spellingTheo de Raadt
2020-07-06Add support for timeconting in userland.Paul Irofti
2020-06-24kernel: use gettime(9)/getuptime(9) in lieu of time_second(9)/time_uptime(9)cheloha
2020-05-23Prevent km_alloc() from returning garbage if pagelist is empty.jan
2020-04-23Document uvmexp.nswget without relying on implementation details.Martin Pieuchot
2020-04-04Tweak the code that wakes up uvm_pmalloc sleepers in the page daemin.Mark Kettenis
2020-03-25Do not test against NULL a variable which is dereference before that.Martin Pieuchot
2020-03-24Use FALLTHROUGH in uvm_total() like it is done in uvm_loadav().Martin Pieuchot
2020-03-04Do not count pages mapped as PROT_NONE against the RLIMIT_DATA limit.Mark Kettenis
2020-02-18Cleanup <sys/kthread.h> and <sys/proc.h> includes.Martin Pieuchot
2020-01-20struct vops is not modified during runtime so use const which moves eachClaudio Jeker
2020-01-16Use list for freeing pages in uvn_flush() to optimize freeing chunks ofMark Kettenis
2020-01-04Add uvm_anfree_list() to free anons as a list of pages. Use this inBob Beck
2020-01-01Add uvm_pmr_remove_1strange_reverse to efficiently free pagesBob Beck
2019-12-30convert infinite msleep(9) to msleep_nsec(9)Jonathan Gray
2019-12-25Hook up the shrinker for inteldrm(4). This is a "light" version that onlyMark Kettenis
2019-12-18Set vm_map's pmap in uvm_map_setup().Visa Hankala
2019-12-18Use separate rwlock initializations for userland ("vmspace") and kernelMark Kettenis
2019-12-12Header cleanup.Martin Pieuchot
2019-12-09Many people have crossed the ABI, so re-enable "syscall call-from" checking.Theo de Raadt
2019-12-09improve comment for uvm_map_inentry_pc(), the underlyingTheo de Raadt
2019-12-08Convert infinite sleeps to {m,t}sleep_nsec(9).Martin Pieuchot
2019-12-08Remove an unnecessary #ifndef PMAP_EXCLUDE_DECLS. It was last utilizedVisa Hankala
2019-12-06Sync KVE_ET_* and UVM_ET_* flags.Martin Pieuchot
2019-12-05Move uvmexp_print() to a better place.Martin Pieuchot
2019-12-05Remove clause #3 from mrg@NetBSD license.Martin Pieuchot
2019-12-04Fix a bad offset calculation in uvm_share.Mike Larkin
2019-12-02Stop supporting UVM_FLAG_TRYLOCK in uvm_mapanon(), it is not used.Martin Pieuchot
2019-11-30temporarily neuter the syscall-callfrom check as a few peopleTheo de Raadt
2019-11-29Add uvm_objfree function to free all pages in a uvm_obj in one go.Bob Beck
2019-11-29Split out the code that removes a page from uvm objects and clears the flagsMark Kettenis
2019-11-29Repurpose the "syscalls must be on a writeable page" mechanism toTheo de Raadt
2019-11-28uvm_pagealloc_contig() doesn't exist and shouldn't existPhilip Guenther
2019-11-28Remove end of line whitespace.Mike Larkin
2019-11-27Add dummy msyscall(2) system call which is currently a noop. This willTheo de Raadt
2019-11-26Fix a panic string that had the wrong function name and an improperlyMike Larkin
2019-11-26Fix a bunch of lines that had trailing whitespace.Mike Larkin