Commit Graph

1437 Commits

Author SHA1 Message Date
790ae3a9c7 use right physical address for host side read after large page mapping 2012-11-26 17:25:17 +09:00
88e9ee2a7c fix return value from extend_process_region() 2012-11-26 17:24:25 +09:00
320b8e9851 large page aligned ANONYMOUS mapping length fix 2012-11-26 17:02:52 +09:00
8979ccf5b8 allocate a large page in front of a FIXED mapping if start addr is not large page aligned so that the mapping remains physically contiguous 2012-11-26 17:02:21 +09:00
a21fe11b00 use large page PTEs for allocations bigger than large page size, enforce alignment (USE_LARGE_PAGES) 2012-11-26 17:00:53 +09:00
337fe4b20d timer sleep and wakeup functions by Balazs-san 2012-11-26 16:23:01 +09:00
22bd5d8247 Revert "make physical memory allocator try to reserve memory areas with (size/2)-aligned addresses"
This reverts commit d4770bc9af.
2012-11-26 14:32:25 +09:00
cf975e1926 Revert "make mmap try to reserve memory areas with (size/2)-aligned virtual addresses"
This reverts commit 4ecc9ea5a587eb1c56440c484a12b22a77ef5c2b.
2012-11-26 13:46:06 +09:00
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
3d71edd55c initialize lock variables, increase stack size 2012-10-30 21:40:03 +09:00
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
50431b7584 make mmap try to reserve memory areas with (size/2)-aligned virtual addresses 2012-10-30 21:03:47 +09:00
d4770bc9af make physical memory allocator try to reserve memory areas with (size/2)-aligned addresses 2012-10-30 20:53:14 +09:00
3ff50170b6 make allocate_pages in kernel/mem.c propagate error from aal_pagealloc_alloc (physical address of zero) to callee 2012-10-30 14:12:35 +09:00
9fe8d548fb increase PIN_SHIFT to 28 for reading large .so-file (temporary, we should use pread instead), and added system-call time 2012-10-28 00:43:42 +09:00
57c48dea90 __host_update_process_range in add_process_memory_range is disabled (in process.c), futex with FUTEX_WAIT_BITSET and time-out is implemented by using pause() (in syscall.c). 2012-10-16 20:17:57 +09:00
10d6400d80 enable syscall channels for all MIC cores 2012-10-10 19:16:44 +09:00
c96841cf8f added/corrected syscalls, getcwd, access, getdents64, fcntl, readlink, tgkill, rt_sigaction, rt_sigprocmask, madvise, sched_setaffinity, sched_getaffinity (correction), gettimeofday (correction) 2012-10-09 12:49:12 +09:00
dd596a2a78 lock when changing process memory region (in syscall.c) and page-table (in process.c) 2012-10-09 11:40:49 +09:00
9a8449df2b populate ELF header information on the initial stack so that glibc can set up TLS properly 2012-10-09 00:51:50 +09:00
f1da972bb7 modified (a<<b-1) to ((a<<b)-1) in micpa() 2012-10-06 03:11:15 +09:00
ba4113fd0d close 2012-10-03 17:02:05 +09:00
9401d03707 mmap 2012-10-03 10:50:29 +09:00
222bad5fe6 syscall6 2012-10-03 10:47:09 +09:00
05b07b1019 Merge branch 'master' of postpeta.pccluster.org:mcos 2012-09-24 13:11:01 +09:00
a280ba0b30 query and reserve pages for BIOS reserved memory areas 2012-09-22 19:52:02 +09:00
9e8337b63d adding function which inserts entry into SMPT 2012-09-20 18:12:50 +09:00
bc4452457c Merge branch 'master' of www.pccluster.org:mcos 2012-09-20 09:46:40 +09:00
da484cc1c5 fix stat() syscall 2012-09-20 09:40:23 +09:00
b61745e704 elf_l1om to elf_k1om and use of new cross-compiler linux-k1om-4.7 2012-09-19 00:27:50 +09:00
0f8749e063 DMA test during init 2012-08-01 11:08:44 +09:00
bcfe8c4c06 set tls block base to parent if not specified 2012-08-01 11:08:29 +09:00
02aa7ed213 DEBUG_PRINT_INIT and dkprintf 2012-06-08 18:15:16 +09:00
8005f8455d PTE clearing bug due to wrong unmap fixed 2012-06-08 18:12:03 +09:00
77296a31a2 largre_region creation (may not be needed) 2012-05-19 16:56:05 +09:00
9394c9fa54 stat(), get_sched_affinity(), gettimeofday() and some detailed debug msgs 2012-05-19 16:54:14 +09:00
c8d6ec9356 print more info on page faults 2012-05-19 16:52:28 +09:00
9f1d1c712d lost wake up (?) futex fix 2012-05-19 16:35:52 +09:00
38a0bde75e add_process_large_range and (towards) atomic context switch 2012-05-19 16:11:38 +09:00
7c85ac93e8 passing argc, argv and envp to main() 2012-05-10 22:07:23 +09:00
97d4c85195 user/kernel stack size, clear content of ANONYMOUS mmap, changes to scheduler (CPU idle state) 2012-05-10 14:20:52 +09:00
d679844685 multiline page fault debug msg 2012-05-10 14:16:05 +09:00
56577b55b7 separate kmsg lock and print functions for multi-line atomic messages 2012-05-10 14:15:14 +09:00
a7c0225423 futex and rlimit 2012-05-08 18:32:43 +09:00
c3463e7393 kitten LWK waitqueue adoptation 2012-05-06 12:39:39 +09:00
8c34463dd4 runqueues and schedule() 2012-05-03 18:38:08 +09:00
c3226018b9 first step towards clone() and futex() (shimada-san) 2012-05-03 13:07:46 +09:00
033d64a7ae TLS and thread_child_tid (Shimada-san) 2012-05-01 16:43:51 +09:00
8aef73c5aa __KERNEL__ 2012-05-01 16:42:07 +09:00
cd08c2e399 process related debug messages 2012-04-25 14:29:10 +09:00