1437 Commits

Author SHA1 Message Date
0b97235b9f fix release leakage of extra pages 2013-05-28 11:39:42 +09:00
fa1be382c7 release the resources of the process at exit(2)/exit_group(2). 2013-05-28 11:31:23 +09:00
9354c82ee7 Merge branch 'master' of postpeta.pccluster.org:mckernel 2013-05-21 03:53:18 +09:00
0bdc047515 exchange the dcfa stuff init/exit order in mcexec 2013-05-20 13:52:17 -05:00
5d78660011 use dkprintf() in getcwd() and access() 2013-05-10 18:54:33 +09:00
1d4babcd32 make kputs (write debug message onto kmsg_buf.str) truncate size of input string when it's greater than kmsg_buf.len.
http://postpeta.pccluster.org/bugzilla/show_bug.cgi?id=19
2013-05-10 17:06:46 +09:00
83db56a040 futex adaptation from Linux 2.6.34 (Intel MPSS Linux) 2013-05-10 14:23:14 +09:00
a79bfd6a01 use no IRQ disable spinlocks for page_table lock and disable debug msgs in mmap() by default 2013-05-10 13:22:18 +09:00
c4d9b18ddf use no IRQ disable spinlocks for timers 2013-05-10 13:17:59 +09:00
72120f5262 use no IRQ disable spinlocks for wait queues 2013-05-10 13:17:11 +09:00
90d3d86c2c use no IRQ disable spinlocks for page_table lock 2013-05-10 13:16:32 +09:00
c865f63818 disable debug msgs by default for host.c 2013-05-10 13:04:28 +09:00
0416247ba4 variable conversion fix 2013-05-10 12:57:46 +09:00
ab37f57a59 [Bug 20] ihk_mc_unmap_virtual function at free_physical FIX: use virtual address 2013-05-10 12:21:17 +09:00
e8f7fbc682 FIX Bug 1 - mckernel aborts due to out of memory access after several mcexec 2013-05-09 10:12:30 +09:00
c0824db8f1 FIX Bug 3 - Wrong results of sched_getaffinity (mask) 2013-05-08 13:27:36 +09:00
b56c090678 FIX Bug 1 - mckernel aborts due to out of memory access after several mcexec invocations 2013-05-02 11:00:30 +09:00
fcd5d65f65 remove configure generated files 2013-05-02 10:57:10 +09:00
e09160cce7 add generic system call forwarding 2013-04-17 20:32:33 +09:00
af7ad56263 Merge branch 'master' of postpeta.pccluster.org:mckernel 2013-04-10 17:38:24 +09:00
93e1f112f8 structure format(both user/kernel mode of dcfa and dcfampi enabled) 2013-04-10 17:38:02 +09:00
ed305e096b Merge branch 'master' of postpeta.pccluster.org:mckernel 2013-02-18 12:11:16 +09:00
161b3faefe support configure/make 2013-02-18 12:07:32 +09:00
15b7256738 change dcfampi contents for aal->ihk 2013-02-15 19:58:03 +09:00
ff356b02cc add mccmd init function in booting stage 2013-02-15 19:57:17 +09:00
68ee283fb0 Merge branch 'master' of postpeta.pccluster.org:mckernel 2013-02-04 11:53:28 +09:00
db830fa39e support to load kernel to any phys addr 2013-02-04 11:39:09 +09:00
b6e21f2dab add rbtree source 2013-01-16 16:13:17 +09:00
9818e199f6 support builtin-x86 and builtin-mic 2013-01-06 15:45:17 +09:00
4693789608 change function names 2012-12-17 16:15:05 +09:00
0a808057eb modify include lines and Makefiles 2012-12-17 16:10:56 +09:00
158903c7b6 modify file names and create directories 2012-12-17 15:39:24 +09:00
84ade197f0 move mccmd cleanup into a sub-thread which receives the exit_group syscall 2012-12-04 15:48:42 +09:00
c08e60382d merge mpi host assist process into mcexec,
use syscall instead of another ikc

Conflicts:

	kernel/syscall.c
	linux/executer/mcexec.c
2012-11-29 16:28:25 +09:00
9fd7f3ddf7 add func do_mod_exit
Conflicts:

	kernel/syscall.c
2012-11-29 14:01:26 +09:00
092069fd80 spin-wait based kernel timer (for futex() timeout) implementation 2012-11-28 15:22:53 +09:00
b59e36e1a5 reset TIME_STAMP_COUNTER during boot 2012-11-28 15:05:10 +09:00
b79d20d7bf modification for no_cache: extend_process_region(...,flag) 2012-11-27 16:38:05 +09:00
b902a245e4 add lock and error check in sys_brk 2012-11-27 16:17:08 +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 2012-11-27 15:37:57 +09:00
31098d3d75 add nocache for mmap. usage: void *va = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS | 0x40, -1, 0); 2012-11-27 14:56:40 +09:00
06003ec2e2 set up IB connection in MCOS at start up (mc_cmd_client_init() in init.c) 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 2012-11-27 13:37:11 +09:00
5e00aa5e19 increase stack size to 32MB 2012-11-27 13:28:55 +09:00
ad03d2dccd fix the initial value of SMPT full/empty bitmap used by aal_mc_map_micpa 2012-11-27 13:24:33 +09:00
11599d4ce4 fix a function which frees SMPT full/empty bitmap, aal_mc_free_micpa 2012-11-26 19:36:03 +09:00
8dc38e13ef fix a function which frees SMPT full/empty bitmap, aal_mc_free_micpa 2012-11-26 19:35:39 +09:00
7538937507 add a function which frees SMPT full/empty bitmap, aal_mc_free_micpa 2012-11-26 19:35:28 +09:00
2c74d1677a DEBUG_PRINT_MEM and dkprintf() for easy toggle of debug msgs in mem.c 2012-11-26 19:34:05 +09:00
2698cb85c9 add syscalls (pmc_init, pmc_start, pmc_stop, pmc_reset) for performance monitoring instructions 2012-11-26 19:25:53 +09:00