summaryrefslogtreecommitdiffstats
path: root/sys/uvm
AgeCommit message (Expand)AuthorFilesLines
2020-05-23Prevent km_alloc() from returning garbage if pagelist is empty.jan1-2/+2
2020-04-23Document uvmexp.nswget without relying on implementation details.mpi1-2/+2
2020-04-04Tweak the code that wakes up uvm_pmalloc sleepers in the page daemin.kettenis1-8/+8
2020-03-25Do not test against NULL a variable which is dereference before that.mpi1-5/+2
2020-03-24Use FALLTHROUGH in uvm_total() like it is done in uvm_loadav().mpi1-1/+2
2020-03-04Do not count pages mapped as PROT_NONE against the RLIMIT_DATA limit.kettenis2-10/+51
2020-02-18Cleanup <sys/kthread.h> and <sys/proc.h> includes.mpi2-3/+4
2020-01-20struct vops is not modified during runtime so use const which moves eachclaudio1-2/+2
2020-01-16Use list for freeing pages in uvn_flush() to optimize freeing chunks ofkettenis1-3/+10
2020-01-04Add uvm_anfree_list() to free anons as a list of pages. Use this inbeck3-9/+31
2020-01-01Add uvm_pmr_remove_1strange_reverse to efficiently free pagesbeck1-6/+135
2019-12-30convert infinite msleep(9) to msleep_nsec(9)jsg4-16/+16
2019-12-25Hook up the shrinker for inteldrm(4). This is a "light" version that onlykettenis1-1/+14
2019-12-18Set vm_map's pmap in uvm_map_setup().visa3-13/+11
2019-12-18Use separate rwlock initializations for userland ("vmspace") and kernelkettenis1-2/+5
2019-12-12Header cleanup.mpi3-93/+47
2019-12-09Many people have crossed the ABI, so re-enable "syscall call-from" checking.deraadt1-3/+3
2019-12-09improve comment for uvm_map_inentry_pc(), the underlyingderaadt1-3/+5
2019-12-08Convert infinite sleeps to {m,t}sleep_nsec(9).mpi6-13/+14
2019-12-08Remove an unnecessary #ifndef PMAP_EXCLUDE_DECLS. It was last utilizedvisa1-3/+1
2019-12-06Sync KVE_ET_* and UVM_ET_* flags.mpi1-2/+3
2019-12-05Move uvmexp_print() to a better place.mpi2-99/+61
2019-12-05Remove clause #3 from mrg@NetBSD license.mpi2-6/+2
2019-12-04Fix a bad offset calculation in uvm_share.mlarkin1-12/+22
2019-12-02Stop supporting UVM_FLAG_TRYLOCK in uvm_mapanon(), it is not used.mpi1-11/+4
2019-11-30temporarily neuter the syscall-callfrom check as a few peoplederaadt1-3/+3
2019-11-29Add uvm_objfree function to free all pages in a uvm_obj in one go.beck2-2/+32
2019-11-29Split out the code that removes a page from uvm objects and clears the flagskettenis2-7/+18
2019-11-29Repurpose the "syscalls must be on a writeable page" mechanism toderaadt5-8/+64
2019-11-28uvm_pagealloc_contig() doesn't exist and shouldn't existguenther1-3/+1
2019-11-28Remove end of line whitespace.mlarkin1-11/+11
2019-11-27Add dummy msyscall(2) system call which is currently a noop. This willderaadt1-1/+27
2019-11-26Fix a panic string that had the wrong function name and an improperlymlarkin1-4/+3
2019-11-26Fix a bunch of lines that had trailing whitespace.mlarkin1-28/+28
2019-11-05Kill uvm_deallocate(9) and use uvm_unmap() directly.mpi3-59/+3
2019-11-02Revert previous, a race is present and can be triggered with golang.mpi1-3/+3
2019-11-02Start documenting which locking primitives apply to uvm_map members.mpi1-11/+15
2019-11-01Push the KERNEL_LOCK() down in uvm_map_inentry().mpi1-3/+3
2019-11-01Keep local function definitions in C files.mpi2-6/+6
2019-09-09Inform about system call memory write protection and stack mappingbluhm1-1/+3
2019-07-18R.I.P. UVM_WAIT(). Use tsleep_nsec(9) directly.cheloha7-31/+23
2019-07-03Add tsleep_nsec(9), msleep_nsec(9), and rwsleep_nsec(9).cheloha2-6/+7
2019-07-01Document which mechanism protect some fields used w/o KERNEL_LOCK().mpi1-3/+6
2019-06-21Make resource limit access MP-safe. So far, the copy-on-write sharingvisa4-26/+27
2019-06-14The addition of writeable-syscall checking near MAP_STACK checkingderaadt2-8/+7
2019-06-01Refactor the MAP_STACK feature, and introduce another similar variation:deraadt2-25/+104
2019-05-16Handle a bit more work without taking the kernel lock. This should avoidkettenis1-2/+12
2019-05-15free size for amap; ok visa@anton2-3/+7
2019-05-11move the noise about W^X mapping failure inside the sysctl kern.wxabortderaadt1-8/+8
2019-05-10simplify logic after wakeup since this variable is only manipulatedbeck1-9/+4