Commit Graph

  • 84ade197f0 move mccmd cleanup into a sub-thread which receives the exit_group syscall simin 2012-12-04 15:48:42 +09:00
  • c08e60382d merge mpi host assist process into mcexec, use syscall instead of another ikc simin 2012-11-29 16:28:25 +09:00
  • 9fd7f3ddf7 add func do_mod_exit simin 2012-11-29 14:01:26 +09:00
  • 092069fd80 spin-wait based kernel timer (for futex() timeout) implementation Balazs Gerofi bgerofi@riken.jp 2012-11-28 15:22:53 +09:00
  • b59e36e1a5 reset TIME_STAMP_COUNTER during boot Balazs Gerofi bgerofi@riken.jp 2012-11-21 15:37:39 +09:00
  • b79d20d7bf modification for no_cache: extend_process_region(...,flag) simin 2012-11-26 15:34:11 +09:00
  • b902a245e4 add lock and error check in sys_brk Masamichi Takagi m-takagi@ab.jp.nec.com 2012-11-27 16:12:39 +09:00
  • d4b186f1d8 align 1MB when performing mmap with MAP_FIXED == 0 and MAP_ANONYMOUS == 0 and MAP_PRIVATE == 1 to make it easy to match assembly code in memory and one in file Masamichi Takagi m-takagi@ab.jp.nec.com 2012-11-27 15:37:57 +09:00
  • eaae0b4740 make aal dir in mcctrl could be user-defined Min Si msi@il.is.s.u-tokyo.ac.jp 2012-11-22 16:32:56 +09:00
  • 31098d3d75 add nocache for mmap. usage: void *va = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS | 0x40, -1, 0); simin 2012-11-11 22:31:32 +09:00
  • 06003ec2e2 set up IB connection in MCOS at start up (mc_cmd_client_init() in init.c) Masamichi Takagi m-takagi@ab.jp.nec.com 2012-11-27 14:09:29 +09:00
  • 7027845a4e add mcos/kernel/{Makefile.mpiu,Makefile.build.mpiu}, which are used from dcfampi_u_make.sh. The difference from {Makefile,Makefile.build} is that it links DCFAMPI kernel functions in mccmd/client to mcos kernel Masamichi Takagi 2012-10-29 10:26:59 +09:00
  • e76bf73403 make mcos/linux/executor/Makefile do not cause error when performing make clean Masamichi Takagi m-takagi@ab.jp.nec.com 2012-10-29 19:27:20 +09:00
  • 5e00aa5e19 increase stack size to 32MB Masamichi Takagi m-takagi@ab.jp.nec.com 2012-10-31 15:08:35 +09:00
  • ad03d2dccd fix the initial value of SMPT full/empty bitmap used by aal_mc_map_micpa Masamichi Takagi m-takagi@ab.jp.nec.com 2012-11-04 18:41:08 +09:00
  • 11599d4ce4 fix a function which frees SMPT full/empty bitmap, aal_mc_free_micpa Masamichi Takagi m-takagi@ab.jp.nec.com 2012-11-04 18:27:27 +09:00
  • 8dc38e13ef fix a function which frees SMPT full/empty bitmap, aal_mc_free_micpa Masamichi Takagi m-takagi@ab.jp.nec.com 2012-11-04 18:25:20 +09:00
  • 7538937507 add a function which frees SMPT full/empty bitmap, aal_mc_free_micpa Masamichi Takagi m-takagi@ab.jp.nec.com 2012-11-04 18:20:13 +09:00
  • 2c74d1677a DEBUG_PRINT_MEM and dkprintf() for easy toggle of debug msgs in mem.c Balazs Gerofi bgerofi@riken.jp 2012-11-03 15:12:38 +09:00
  • 2698cb85c9 add syscalls (pmc_init, pmc_start, pmc_stop, pmc_reset) for performance monitoring instructions Masamichi Takagi m-takagi@ab.jp.nec.com 2012-11-02 20:53:02 +09:00
  • 790ae3a9c7 use right physical address for host side read after large page mapping Balazs Gerofi bgerofi@riken.jp 2012-11-03 19:01:12 +09:00
  • 88e9ee2a7c fix return value from extend_process_region() Balazs Gerofi bgerofi@riken.jp 2012-11-03 18:50:03 +09:00
  • 320b8e9851 large page aligned ANONYMOUS mapping length fix Balazs Gerofi bgerofi@riken.jp 2012-11-03 18:32:00 +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 Balazs Gerofi bgerofi@riken.jp 2012-11-03 16:58:52 +09:00
  • a21fe11b00 use large page PTEs for allocations bigger than large page size, enforce alignment (USE_LARGE_PAGES) Balazs Gerofi bgerofi@riken.jp 2012-11-03 15:43:07 +09:00
  • 337fe4b20d timer sleep and wakeup functions by Balazs-san Masamichi Takagi m-takagi@ab.jp.nec.com 2012-11-26 15:14:41 +09:00
  • 22bd5d8247 Revert "make physical memory allocator try to reserve memory areas with (size/2)-aligned addresses" Masamichi Takagi m-takagi@ab.jp.nec.com 2012-11-26 14:32:25 +09:00
  • cf975e1926 Revert "make mmap try to reserve memory areas with (size/2)-aligned virtual addresses" Masamichi Takagi m-takagi@ab.jp.nec.com 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)" Masamichi Takagi m-takagi@ab.jp.nec.com 2012-11-26 13:38:07 +09:00
  • 3d71edd55c initialize lock variables, increase stack size Masamichi Takagi m-takagi@ab.jp.nec.com 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) Masamichi Takagi m-takagi@ab.jp.nec.com 2012-10-30 21:32:49 +09:00
  • 50431b7584 make mmap try to reserve memory areas with (size/2)-aligned virtual addresses Masamichi Takagi m-takagi@ab.jp.nec.com 2012-10-30 21:03:47 +09:00
  • d4770bc9af make physical memory allocator try to reserve memory areas with (size/2)-aligned addresses Masamichi Takagi m-takagi@ab.jp.nec.com 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 Masamichi Takagi m-takagi@ab.jp.nec.com 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 Masamichi Takagi 2012-10-28 00:40:12 +09:00
  • 3142b4d4d6 made getcwd in mcexec.c send proper length of result back to mcos Masamichi Takagi 2012-10-26 19:52:39 +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). Masamichi Takagi m-takagi@ab.jp.nec.com 2012-10-16 20:17:57 +09:00
  • 10d6400d80 enable syscall channels for all MIC cores Balazs Gerofi 2012-10-10 19:16:44 +09:00
  • d9c908a062 multithreaded mcexec (pthread) for handling syscall delegation from multiple MIC cores Balazs Gerofi bgerofi@riken.jp 2012-10-10 01:06:18 +09:00
  • c96841cf8f added/corrected syscalls, getcwd, access, getdents64, fcntl, readlink, tgkill, rt_sigaction, rt_sigprocmask, madvise, sched_setaffinity, sched_getaffinity (correction), gettimeofday (correction) Masamichi Takagi m-takagi@ab.jp.nec.com 2012-10-09 12:49:12 +09:00
  • dd596a2a78 lock when changing process memory region (in syscall.c) and page-table (in process.c) Masamichi Takagi m-takagi@ab.jp.nec.com 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 Balazs Gerofi bgerofi@riken.jp 2012-10-09 00:51:50 +09:00
  • f1da972bb7 modified (a<<b-1) to ((a<<b)-1) in micpa() Masamichi Takagi m-takagi@ab.jp.nec.com 2012-10-06 03:11:15 +09:00
  • 1755ac4d8d mmap Masamichi Takagi m-takagi@ab.jp.nec.com 2012-10-03 17:15:17 +09:00
  • ba4113fd0d close Masamichi Takagi m-takagi@ab.jp.nec.com 2012-10-03 17:02:05 +09:00
  • 1feff07975 mmap Masamichi Takagi m-takagi@ab.jp.nec.com 2012-10-03 10:54:44 +09:00
  • ec637d3c2b mmap Masamichi Takagi m-takagi@ab.jp.nec.com 2012-10-03 10:52:22 +09:00
  • 9401d03707 mmap Masamichi Takagi m-takagi@ab.jp.nec.com 2012-10-03 10:50:29 +09:00
  • 222bad5fe6 syscall6 Masamichi Takagi m-takagi@ab.jp.nec.com 2012-10-03 10:47:09 +09:00
  • 05b07b1019 Merge branch 'master' of postpeta.pccluster.org:mcos Balazs Gerofi 2012-09-24 13:11:01 +09:00
  • a280ba0b30 query and reserve pages for BIOS reserved memory areas Balazs Gerofi 2012-09-22 19:49:36 +09:00
  • 9e8337b63d adding function which inserts entry into SMPT Masamichi Takagi m-takagi@ab.jp.nec.com 2012-09-20 18:12:50 +09:00
  • bc4452457c Merge branch 'master' of www.pccluster.org:mcos Balazs Gerofi 2012-09-20 09:46:40 +09:00
  • da484cc1c5 fix stat() syscall Balazs Gerofi 2012-09-20 09:39:34 +09:00
  • b61745e704 elf_l1om to elf_k1om and use of new cross-compiler linux-k1om-4.7 Balazs Gerofi bgerofi@riken.jp 2012-09-19 00:26:55 +09:00
  • bccfa3ef5b inclusion of sysdeps/knf/mic/mic_type.h for specifying CONFIG_KNF Balazs Gerofi 2012-08-05 13:35:21 +09:00
  • 9f82fae7af merge KNC B0 changes and cleanup mcexec Balazs Gerofi 2012-08-03 23:12:06 +09:00
  • 0f8749e063 DMA test during init Balazs Gerofi 2012-08-01 06:56:23 +09:00
  • bcfe8c4c06 set tls block base to parent if not specified Balazs Gerofi 2012-07-03 17:16:17 +09:00
  • 02aa7ed213 DEBUG_PRINT_INIT and dkprintf Balazs Gerofi 2012-06-08 18:15:16 +09:00
  • 8005f8455d PTE clearing bug due to wrong unmap fixed Balazs Gerofi 2012-06-08 18:12:03 +09:00
  • 77296a31a2 largre_region creation (may not be needed) Balazs Gerofi 2012-05-19 16:56:05 +09:00
  • 7557c49599 some fixes on mcexec Balazs Gerofi 2012-05-19 16:55:28 +09:00
  • 9394c9fa54 stat(), get_sched_affinity(), gettimeofday() and some detailed debug msgs Balazs Gerofi 2012-05-19 16:54:14 +09:00
  • c8d6ec9356 print more info on page faults Balazs Gerofi 2012-05-19 16:52:28 +09:00
  • 9f1d1c712d lost wake up (?) futex fix Balazs Gerofi 2012-05-19 16:35:52 +09:00
  • 38a0bde75e add_process_large_range and (towards) atomic context switch Balazs Gerofi 2012-05-19 16:11:38 +09:00
  • 7c85ac93e8 passing argc, argv and envp to main() Balazs Gerofi 2012-05-10 22:07:23 +09:00
  • 97d4c85195 user/kernel stack size, clear content of ANONYMOUS mmap, changes to scheduler (CPU idle state) Balazs Gerofi 2012-05-10 14:20:52 +09:00
  • d679844685 multiline page fault debug msg Balazs Gerofi 2012-05-10 14:16:05 +09:00
  • 56577b55b7 separate kmsg lock and print functions for multi-line atomic messages Balazs Gerofi 2012-05-10 14:15:14 +09:00
  • a7c0225423 futex and rlimit Balazs Gerofi 2012-05-08 18:32:43 +09:00
  • c3463e7393 kitten LWK waitqueue adoptation Balazs Gerofi 2012-05-06 12:39:39 +09:00
  • 8c34463dd4 runqueues and schedule() Balazs Gerofi 2012-05-03 18:38:08 +09:00
  • c3226018b9 first step towards clone() and futex() (shimada-san) Balazs Gerofi 2012-05-03 13:07:46 +09:00
  • 033d64a7ae TLS and thread_child_tid (Shimada-san) Balazs Gerofi 2012-05-01 16:43:51 +09:00
  • 8aef73c5aa __KERNEL__ Balazs Gerofi 2012-05-01 16:42:07 +09:00
  • 5605c875b1 mod_cctrl/control.c debug msg Balazs Gerofi 2012-04-25 14:32:10 +09:00
  • cd08c2e399 process related debug messages Balazs Gerofi 2012-04-25 14:29:10 +09:00
  • 8fee884be3 writev and some fixes Balazs Gerofi 2012-04-23 14:25:21 +09:00
  • b3cc785796 A little change on test IKC handlers Taku Shimosawa 2012-02-29 10:43:38 +09:00
  • c13585fccb unnecessary function deleted Taku Shimosawa 2012-02-29 09:35:43 +09:00
  • 07d4f293e2 Syscall Delegation is selectable by command line Taku Shimosawa 2012-02-29 09:35:28 +09:00
  • c88eba53c5 kernel command line is printed out during init Taku Shimosawa 2012-02-28 11:03:39 +09:00
  • e77eab3233 Makefile modified to treat dependencies properly, but still buggy... Taku Shimosawa 2012-02-28 10:58:41 +09:00
  • 27a3008a05 syscall delegation: lseek added Taku Shimosawa 2012-02-24 18:08:37 +09:00
  • a63b4a7369 System call delegation supports DMA alignment Taku Shimosawa 2012-02-24 18:08:05 +09:00
  • dad780a133 DMA Test code changed Taku Shimosawa 2012-02-23 13:52:28 +09:00
  • ca219eec63 vmap now initializes 512GB on setup Taku Shimosawa 2012-02-22 18:02:28 +09:00
  • 0be6147a81 DMA copying now specifies destination operating system Taku Shimosawa 2012-02-22 18:01:55 +09:00
  • e4d776a0b6 init functions changed Taku Shimosawa 2012-02-22 18:00:15 +09:00
  • d2591c6d25 temp Taku Shimosawa 2012-01-06 17:06:42 +09:00
  • 00107164b3 valid flag is added Taku Shimosawa 2011-12-02 14:00:12 +09:00
  • e42395e42a valid flag is added Taku Shimosawa 2011-12-02 13:19:44 +09:00
  • 7999653a00 a commit Taku Shimosawa 2011-12-02 12:35:38 +09:00
  • 5fdb3b2bb2 mee script: changed Taku Shimosawa 2011-11-28 13:52:30 +09:00
  • 480e1b12ef big commit Taku Shimosawa 2011-11-28 13:00:13 +09:00
  • ea0e1327c8 cls: clear the cls while initialization Taku Shimosawa 2011-11-16 17:52:23 +09:00
  • ca96e1f818 kmalloc/kfree interface Taku Shimosawa 2011-11-13 15:18:20 +09:00
  • c5cdd121f6 misc fixed Taku Shimosawa 2011-11-13 14:43:28 +09:00