Commit Graph

16 Commits

Author SHA1 Message Date
Masamichi Takagi
74f15783d2 ihk_os_getrusage(): Add per-page-size memory usage accounting 2017-08-17 12:49:34 +09:00
Balazs Gerofi
8eb3bf3559 physical page management: eliminate static page frame array and
maintain page structures dynamically covering only file mappings.
use hash table for address <-> page structure conversion.
2016-10-14 21:34:29 +09:00
Balazs Gerofi
9b82f1a52c use ihk_mc_alloc/free_pages() and eliminate direct calls to low level routines 2016-10-14 21:34:29 +09:00
Balazs Gerofi
e1a01803d0 disable demand paging on ANONYMOUS mappings unless anon_on_demand kernel argument is passed 2015-09-14 17:26:37 +09:00
NAKAMURA Gou
8097b057da add page_is_in_memobj() and page_is_multi_mapped()
These are page test functions.
2014-05-07 21:24:45 +09:00
NAKAMURA Gou
ce7af5839d keep page.count valid through its life cycle 2014-05-07 21:24:45 +09:00
NAKAMURA Gou
29c7d40005 use atomic operations for manipulating page.count 2014-05-07 21:24:45 +09:00
Yuji Saeki
506caa7e7f page.h, process.h, rlimit.h, syscall.h, time.h, timer.h copyright 2013-11-14 17:34:30 +09:00
NAKAMURA Gou
27172ad413 support private mapped file 2013-10-15 12:30:41 +09:00
NAKAMURA Gou
78d9d3fcd2 Revert "trial implementation of private file mapping"
This reverts commit abe57218c4.
2013-07-26 16:44:39 +09:00
NAKAMURA Gou
abe57218c4 trial implementation of private file mapping
for review only.  will soon be reverted.
2013-07-26 14:40:12 +09:00
NAKAMURA Gou
deb9cd4e75 implement sys_munmap() 2013-07-18 09:25:58 +09:00
Tomoki Shirasawa
4693789608 change function names 2012-12-17 16:15:05 +09:00
Masamichi Takagi m-takagi@ab.jp.nec.com
a1490da112 Revert "make munmap free physical pages, and one correction for aligned mmap in syscall.c (extend_process_region is called with memory-region start-address which is aligned (map_end_aligned), instead of tail-address of current-region (region->map_end)) for aligned mmap (in syscall.c)"
This reverts commit e7317cca98.
2012-11-26 13:38:07 +09:00
Masamichi Takagi m-takagi@ab.jp.nec.com
e7317cca98 make munmap free physical pages, and one correction for aligned mmap in syscall.c (extend_process_region is called with memory-region start-address which is aligned (map_end_aligned), instead of tail-address of current-region (region->map_end)) for aligned mmap (in syscall.c) 2012-10-30 21:32:49 +09:00
Taku Shimosawa
83a17650b9 AP, kmalloc 2011-11-06 19:27:09 +09:00