Commit Graph

  • 878ba35804 /proc/mcos?/<pid>/task/<tid>/stat support Tomoki Shirasawa 2014-09-15 19:21:27 +09:00
  • f7780cfe93 kmalloc()/kfree(): allow CPU cores to kfree() a piece of memory that was kmalloc()ed by another core through embedding CPU id into malloc_header Balazs Gerofi bgerofi@riken.jp 2014-09-14 23:22:43 +09:00
  • 225509786f do_fork(): fix variable name when DEBUG_PRINT_SC enabled bgerofi@riken.jp 2014-09-11 16:58:43 +09:00
  • 2a0e9c689f Fixed mckernel procfs so that the host kernel does not complain about leaking. Naoki Hamada 2014-09-11 15:25:52 +09:00
  • 7e6fbc4854 Support negative first argument in waitpid Masamichi Takagi 2014-09-11 15:14:48 +09:00
  • 35dc8a3368 Issue IPI if needed when sending SIGSTOP Masamichi Takagi 2014-09-10 21:19:18 +09:00
  • c78be27442 Support SIGSTOP and SIGCONT Masamichi Takagi 2014-09-10 16:23:38 +09:00
  • 7ca4ca4d37 Revert "Support SIGSTOP and SIGCONT" Masamichi Takagi 2014-09-10 18:19:17 +09:00
  • 2325d47952 Support SIGSTOP and SIGCONT Masamichi Takagi 2014-09-10 16:23:38 +09:00
  • b50e205a61 Support pid of zero when calling waitpid Masamichi Takagi 2014-09-08 22:40:56 +09:00
  • ac40b96c24 execve(): support for ETXTBSY via a new ioctl() call to test in kernel space with open_exec() Balazs Gerofi bgerofi@riken.jp 2014-09-10 14:07:25 +09:00
  • cee647aee4 sigsuspend restore sigmask Tomoki Shirasawa 2014-09-09 13:54:36 +09:00
  • d6aef3aa2c copy sigmask from parent process to child Tomoki Shirasawa 2014-09-09 13:53:25 +09:00
  • 19fa391d4f Implement vfork system call Masamichi Takagi 2014-09-06 21:37:59 +09:00
  • 0de6a30426 wait4(): do not return ECHILD when child exists but not in PS_ZOMBIE state yet bgerofi@riken.jp 2014-09-05 18:28:15 +09:00
  • efc817de92 Merge branch 'master' of postpeta.pccluster.org:mckernel Naoki Hamada 2014-09-05 17:20:50 +09:00
  • 95781d59e3 Fix for eof. Naoki Hamada 2014-09-05 17:15:54 +09:00
  • a06e5eb47e Bug fixes. Naoki Hamada 2014-09-05 16:20:15 +09:00
  • 15c9ae4c8d execve(): lookup_exec_path() support for symlinks based on COKERNEL_EXEC_ROOT Balazs Gerofi bgerofi@riken.jp 2014-09-04 18:11:41 +09:00
  • e45632c9f8 Check "options" argument in wait4 Masamichi Takagi 2014-09-04 17:28:14 +09:00
  • a16c3170ef Correct wait4 when the child is not found Masamichi Takagi 2014-09-04 17:07:27 +09:00
  • c939a372b0 Added mcexec hack. Naoki Hamada 2014-09-04 16:44:30 +09:00
  • 12ef361436 Removed unneeded variable. Naoki Hamada 2014-09-04 15:04:22 +09:00
  • 0f95a84293 Migrated. Naoki Hamada 2014-09-04 14:58:04 +09:00
  • fea02b0ece Merge branch 'master' of postpeta.pccluster.org:mckernel Tomoki Shirasawa 2014-09-03 18:23:52 +09:00
  • 7da4b8b8dc fix sched_[sg]etaffinity(tid==0, ...) (LTP sched_getaffinity01) Tomoki Shirasawa 2014-09-03 18:22:27 +09:00
  • cd366de097 execve(): Balazs Gerofi bgerofi@riken.jp 2014-09-03 18:15:43 +09:00
  • 319590910a Almost implemented. Naoki Hamada 2014-09-03 15:20:39 +09:00
  • 308987c1ee infrequent fail LTP pipe02 Tomoki Shirasawa 2014-09-03 15:17:44 +09:00
  • d0b6aa1047 Merge branch 'bug201.get_user_pages' NAKAMURA Gou 2014-09-03 11:24:22 +09:00
  • 7b825c0a65 fix coredump (ltp abort01) Tomoki Shirasawa 2014-09-03 10:56:41 +09:00
  • 4177f1c9cd TODO: get_page()ed pages have to be put_page()ed NAKAMURA Gou 2014-08-29 20:28:33 +09:00
  • f2e0e42ba4 mcexec: report proper error when __NR_munmap fails NAKAMURA Gou 2014-08-29 16:03:07 +09:00
  • 431adf7e7c mcctrl: report success when __NR_munmap succeeds NAKAMURA Gou 2014-08-29 16:02:52 +09:00
  • 34854d3c93 ltp times03 Tomoki Shirasawa 2014-09-01 14:27:31 +09:00
  • 650088774d Fix for typo. Naoki Hamada 2014-08-28 15:02:59 +09:00
  • 6245a8eb63 Aesthetical changes. Naoki Hamada 2014-08-28 15:02:10 +09:00
  • 34c4dd8d77 Separated procfs functions for mcctrl. Naoki Hamada 2014-08-28 15:00:39 +09:00
  • 3293bfaa1e Fix for generalization. Naoki Hamada 2014-08-28 14:41:32 +09:00
  • ca1bf7b7fa Remove debug error. Naoki Hamada 2014-08-28 09:10:17 +09:00
  • cb4b00ba97 Added debug messages. Naoki Hamada 2014-08-25 16:39:02 +09:00
  • c783ec8e11 Implemented procfs. Naoki Hamada 2014-08-20 15:39:43 +09:00
  • 5775d3e6da Preliminary implementation for procfs. Naoki Hamada 2014-08-12 16:45:57 +09:00
  • f535670100 fix pipe02 Tomoki Shirasawa 2014-08-27 16:50:01 +09:00
  • bc8b441358 process table traversing must be under interrupt inhibition add finding process table function (findthread_and_lock/process_unlock) Tomoki Shirasawa 2014-08-25 13:24:06 +09:00
  • d2537e0963 sigsuspend don't wait SIGSTOP, not SIGTERM Tomoki Shirasawa 2014-08-21 17:25:02 +09:00
  • f4818e9c09 don't force terminate, when SIGTERM recieved Tomoki Shirasawa 2014-08-21 17:22:11 +09:00
  • dd8b2a8f15 sigaction returns -EINVAL, when sig == SIGKILL or SIGSTOP Tomoki Shirasawa 2014-08-21 14:04:38 +09:00
  • 78d10cce80 support process group Tomoki Shirasawa 2014-08-18 17:08:28 +09:00
  • 663c121308 interrupt syscall sufficient threads Tomoki Shirasawa 2014-08-18 16:49:49 +09:00
  • 23ab6032ba don't close /dev/mcos Tomoki Shirasawa 2014-08-18 16:25:24 +09:00
  • 8c1c8a40d1 use madvise() when zap_vma_ptes() fails NAKAMURA Gou 2014-08-07 12:31:48 +09:00
  • b4910ec33f use vm_insert_page() if 'struct page' exists NAKAMURA Gou 2014-08-07 16:03:36 +09:00
  • fe39d56554 use mixed mapping instead of PFN mapping NAKAMURA Gou 2014-08-07 16:36:33 +09:00
  • a79a0a618d drop VM_IO because it's not MMIO NAKAMURA Gou 2014-08-07 16:16:13 +09:00
  • 9fda245490 execve(): return correct error value when failure (errno) Balazs Gerofi bgerofi@riken.jp 2014-08-07 14:35:15 +09:00
  • 9448cefe80 do not track arch/x86/tools/mcshutdown-attached-mic.sh (generated file) Balazs Gerofi bgerofi@riken.jp 2014-08-07 14:32:43 +09:00
  • 26e219e698 Clarification. Naoki Hamada 2014-08-01 11:31:34 +09:00
  • 2a1c092fcb Merge remote branch 'origin/master' into gdb Naoki Hamada 2014-08-01 11:19:18 +09:00
  • 4d223269e6 Remove delivative files. Naoki Hamada 2014-08-01 11:14:31 +09:00
  • dca9def246 Finalize merger. Naoki Hamada 2014-08-01 09:25:10 +09:00
  • 9ec7ef04ac Merge branch 'master', remote branch 'origin' into gdb Naoki Hamada 2014-08-01 09:23:25 +09:00
  • 570b850861 temporal fix Naoki Hamada 2014-08-01 09:23:11 +09:00
  • 1e0db73a48 Add files from master. Naoki Hamada 2014-08-01 09:16:53 +09:00
  • 6dd5407b5f Return error when no core is available Masamichi Takagi 2014-07-31 19:45:11 +09:00
  • 3fa6818962 Merge from master. Naoki Hamada 2014-07-31 18:30:39 +09:00
  • 0dd7a8deff Put AT_CLKTCK in ELF auxiliary vectors Masamichi Takagi 2014-07-31 16:11:31 +09:00
  • b58682dd73 Merge branch 'master' of postpeta.pccluster.org:mckernel into gdb Naoki Hamada 2014-07-31 10:31:45 +09:00
  • 27bfe37b80 execve(): fix looking up relative path and checking executable permission Balazs Gerofi bgerofi@riken.jp 2014-07-29 15:48:14 +09:00
  • f1e39f5fb2 execve(): find executable first in COKERNEL_PATH and then in PATH if executable name is not absolute bgerofi@riken.jp 2014-07-28 22:09:54 +09:00
  • e5d3407d8e child mcexec don't print signal terminate message Tomoki Shirasawa 2014-07-29 11:10:11 +09:00
  • 8f78b3085c Sending SIGKILL/SIGTERM resulting in SIGSEGV delivered (Redmine#194) Tomoki Shirasawa 2014-07-29 11:04:46 +09:00
  • c83e80ad91 execve(): clear host user-space PTEs before context switching Balazs Gerofi bgerofi@riken.jp 2014-07-28 15:34:58 +09:00
  • 07b07476b7 remote TLB invalidation: follow migrated threads by affinity calls Balazs Gerofi bgerofi@riken.jp 2014-07-27 13:11:41 +09:00
  • 17730617e1 when wakeup for syscall and recieve signal occur in the same timing, a program is freezed. Tomoki Shirasawa 2014-07-25 10:54:30 +09:00
  • f5b37ef577 Fixed bad offset problem and clarified alignment. Naoki Hamada 2014-07-25 10:26:24 +09:00
  • 10190e9ed6 prepare for a condition variable for each process. (Redmine#193) Tomoki Shirasawa 2014-07-25 09:17:43 +09:00
  • 01f52e73e1 Clarification. Naoki Hamada 2014-07-23 14:06:59 +09:00
  • 530535c162 Merge remote branch 'origin/master' into gdb Naoki Hamada 2014-07-23 10:29:07 +09:00
  • 5888dcd4c7 Aestethical change. Naoki Hamada 2014-07-23 10:26:36 +09:00
  • dbdaf0ed32 Fix for demand paging and documentation. Naoki Hamada 2014-07-23 10:23:02 +09:00
  • 101a0f6e4a remote TLB invalidation code for multi-threaded applications (e.g., during munmap()) Balazs Gerofi bgerofi@riken.jp 2014-07-22 12:24:07 +09:00
  • 9dd7d6283c Merge remote branch 'origin/master' into gdb Naoki Hamada 2014-07-18 16:03:35 +09:00
  • cb61739c2b Deleted debug flags & al. Naoki Hamada 2014-07-18 15:45:40 +09:00
  • 6c3d901069 Include switch for a plain Xeon. Naoki Hamada 2014-07-17 17:26:54 +09:00
  • 97a74f4692 Fix for core NOTE alignment & al. Naoki Hamada 2014-07-17 16:56:28 +09:00
  • 3e8083efc1 Prepare for a core file image. Naoki Hamada 2014-07-17 15:19:25 +09:00
  • a5b36e2b51 dkprintf() support in kernel/listeners.c Balazs Gerofi bgerofi@riken.jp 2014-07-17 12:28:57 +09:00
  • 35b8716966 push/pop r12,r13 and r14 as well when entering/leaving kernel space bgerofi@riken.jp 2014-07-15 17:31:16 +09:00
  • 99931179e1 add get_cpu_id syscall with No.700 for testing YOSHIDA Masanori 2014-06-25 17:29:02 +09:00
  • 3751fa1766 add some functions related to migration into kernel/process.h YOSHIDA Masanori 2014-06-25 17:25:47 +09:00
  • 170a54d976 add CPU affinity function YOSHIDA Masanori 2014-06-25 17:02:02 +09:00
  • 1889d10e3a add cpu_set and getter/setter of that (incomplete sched_***affinity) YOSHIDA Masanori 2014-05-23 17:52:54 +09:00
  • f923e03565 fix to make CPU idle when len(runq) != 0 but all queued are sleeping YOSHIDA Masanori 2014-06-25 16:40:05 +09:00
  • 39c8617793 Merge branch 'master' of postpeta.pccluster.org:mckernel Tomoki Shirasawa 2014-07-13 12:52:16 +09:00
  • 5e6ed852cb Kill child threads when receiving terminating signals(redmine#63) Create process table (child is missing when sending a signal to a child process just after forking it)(redmine#61) Tomoki Shirasawa 2014-07-13 12:51:28 +09:00
  • 292b34fe21 signal handler is not passed to a child process(redmine#62) Tomoki Shirasawa 2014-07-13 12:49:30 +09:00
  • cb9d346567 Fixed wrong %x to %lx. Naoki Hamada 2014-07-11 18:48:15 +09:00
  • b3f3932825 Typo fix and removed DUMMY definition. Naoki Hamada 2014-07-10 17:13:05 +09:00
  • 1d45444d54 Added code for generating core image. modified: arch/x86/kernel/gencore.c modified: arch/x86/kernel/include/elfcore.h modified: kernel/include/process.h modified: kernel/process.c Naoki Hamada 2014-07-10 15:55:35 +09:00