eca107f52d
__mcctrl_os_read_write_cpu_register: spin timeout in mcctrl_ikc_send_wait()
...
Change-Id: I918be366c81be96cd76df659e3181a194d440dd8
2021-03-04 11:29:21 +09:00
71c333965c
mcexec: introduction of --flags argument
...
Change-Id: If5b70bf06460fc709444d8135511c3699304d31f
2021-03-04 11:29:21 +09:00
5664f54390
hugefileobj_get_page: suppress debug message
...
Change-Id: I2784f5bba12f961cccb17cf302f1b463721ac855
2021-03-03 05:07:49 +00:00
720b0c06d8
test: xpmem: fix test program for #1259
...
Change-Id: I8885e518a0202df6d20a88524564aeb648df89ab
2021-03-03 05:07:49 +00:00
e6ec52dfbd
test: Add test program for #1507 , #1519
...
Change-Id: I04927e6dd1bfe1d0b210ec0b7e9d86c449e6daca
Refs: #1507
Refs: #1519
2021-03-03 05:07:49 +00:00
b380f0790d
test: shmobj: fix test program for #1381
...
Limitations tested in #1381 have been removed in #1458
Change-Id: I35b7ee058a75abc98f2a2ad783fdba46087b0716
Refs: #1519
2021-03-03 05:07:49 +00:00
47aec70f5f
shmobj: support large page
...
Change-Id: I104c1b8551b87f5cbfedb13262e77c00c38e9643
2021-03-03 05:07:49 +00:00
d2db639853
xpmem: support large page
...
1. try to use as large page as possible on attach
2. pre-map resident remote pages on attach
Change-Id: I5580682a4199e94085a9bad9ce3958a0f14cdcea
2021-03-03 05:07:49 +00:00
3aaa5350f0
xpmem: replace mcs_rwlock with ihk_rwspinlock
...
Change-Id: I2d29f37f590f55db009f522395ede4c6494f8c89
2021-03-03 05:07:49 +00:00
865eb37b11
xpmem: Fix deadlock in xpmem_remove_process_memory_range()
...
This reverts commit 2fe5c8de2e .
Change-Id: I8ec84f654aeee7cf83603abb2aca5e90b735e977
2021-03-03 05:07:49 +00:00
5dd989450d
xpmem: Make sure vm_range is used under memory_range_lock
...
Change-Id: I856ee9d401e7dcfd74559bad5b22a69d53a61e2f
2021-03-03 05:07:49 +00:00
4ac9dcdccd
xpmem: Use correct process_vm in xpmem functions
...
This reverts commit 29d27b7c8d .
Change-Id: I1863cddcffa67c60e5f93d874447db9919e519dc
2021-03-03 05:07:49 +00:00
63443383e9
xpmem: truncates the size of xpmem_attach at the page boundary (workaround for fjmpi)
...
Fujitsu MPI tries to attach a segment with the size of the source range size plus one.
Change-Id: Iab3801727f938dfb6242b6b90c88e4986b84d08e
Refs: #1507
2021-03-03 05:07:49 +00:00
4d1d53b335
docs: integrate spec tex files
...
"make html" makes spec pdf files as well.
Change-Id: I0535ae97d924c15efed948dadb135210ad18f956
2021-03-03 04:20:46 +00:00
422a399f20
coredump: fix behavior when gencore fail
...
Change-Id: Ifdddf867b514f42a6f1ce374ec06b7550a9cdad5
Refs: #1511
2021-03-03 02:27:01 +00:00
7efb394905
remote_page_fault is handled by the offloaded thread.
...
Change-Id: I9cfad509260cceada74abdf39ca6a1822561e0d9
Refs: #1474
2021-03-03 02:25:56 +00:00
9c7d0cfaec
getrusage: Fix memory_stat_mapped_file when SIGBUS occurs in file map
...
Change-Id: Ia4686f32a3c888d5c886ab6cc6c2b510885447f5
Refs: #1422
2021-03-01 05:55:37 +00:00
baa7a6adcb
add ENABLE_GCOV option for cmake
...
Change-Id: Ic473dc52d748207e49800d0cd340918a4dce0971
2021-03-01 13:19:28 +09:00
86e12fa90c
do_execveat: kill instead of panic when init_process_stack fails
...
Change-Id: I0845440260f04ab8e524e118c21d5a137cddb4aa
2021-03-01 12:04:50 +09:00
ae9827f628
cmake: fix missing prefix in mcreboot.sh
...
Change-Id: I93ee7ba1acf1269472bea40ff4e9c5bc6b3b98f8
2021-03-01 11:22:58 +09:00
79b590d732
docs: remove "mcexec -n <ppn>" requirement for Fujitsu MPI
...
Change-Id: I2d24fa5e11c005a7c7c61f7b351c196e920e6cef
2021-03-01 01:20:13 +00:00
1bfa339ccf
man: mcexec: add "-n <ppn>" option mandatory when using MPI (except Fujitsu MPI)
...
Change-Id: I6d2d0337fdab13325642344529401f86bbadfdcd
2021-03-01 01:19:23 +00:00
c55a02ffba
cmake: trim POSTK_DEBUG definitions
...
Change-Id: Ic302cd936e975abb07b998f266f7c3feecfde85c
2021-02-28 20:05:04 -05:00
dd7b7dbd0e
uti: fix rpmbuild
...
Change-Id: I0cc60d2b38b184168a99a4778fbb5a437278da29
2021-02-27 23:06:32 -05:00
2585c8afaa
prerelease: 0.95: add ihk_*_str() functions
...
Change-Id: I0dc2ff3c8a2b21d167cfff04ccf6d1533555ee1c
1.7.1-0.95
2021-02-26 11:24:48 +09:00
82056961cd
uti: integrate libuti and redirect to mck/libuti.so
...
Change-Id: I74e0f677ea8e1cd06e8ab05d92f1d38f9be8fd7a
2021-02-26 11:03:16 +09:00
0848b64c1d
uti: integrate syscall_intercept
...
Change-Id: Ide14341acdca1450b0ad4f8a16cc078d0743afc8
2021-02-26 10:37:56 +09:00
8a9b43fee0
cmake: add -Wno-stringop-truncation
...
Change-Id: I43d9ba731d0feaf8934d2724ff98072df88a902d
2021-02-26 10:37:56 +09:00
19cb302d5f
uti: util_indicate_clone: check --enable-uti mcexec option
...
Change-Id: Ic7474d01c18acd1edbc07844d7a7b010b2175f71
2021-02-26 10:37:56 +09:00
90895cfb1f
test: uti: add tofu examples
...
Change-Id: I1c55c872d125201e60b4fe744af74106e1c5d3a4
2021-02-26 10:37:55 +09:00
32afa80718
uti: fix handling UTI_CPU_SET env
...
Change-Id: Icbf8dc7e82bd6983374aefdd0d5b89ad4152c9aa
2021-02-26 10:24:19 +09:00
e3927a0b95
uti: futex: McKernel waker sends IPI to Linux waiter CPU
...
Change-Id: I6f725b3a6b1b26b9f553d8c58132c0c0a4416683
2021-02-26 10:24:19 +09:00
adc5b7102f
uti: futex: cache remote va to remote pa result
...
Change-Id: Idbbb3f2981b76a0235615fceaa6281d2c7134ca2
2021-02-26 10:24:19 +09:00
5d16ce9dcc
uti: identify UTI thread by thread local variable
...
Change-Id: I64372a932378e4ead09ea27fbf5b52062a109756
2021-02-26 10:24:19 +09:00
a9973e913d
uti: futex call function in mcctrl
...
Previously, futex code of McKerenl was called by mccontrol,
but there ware some problems with this method.
(Mainly, location of McKernel image on memory)
Call futex code in mcctrl instead of the one in McKernel image,
giving the following benefits:
1. Not relying on shared kernel virtual address space with Linux any more
2. The cpu id store / retrieve is not needed and resulting in the code
Change-Id: Ic40929b64a655b270c435859fa287fedb713ee5c
refe: #1428
2021-02-26 10:24:19 +09:00
35296c8210
uti: fix syscall response is mis-consumed by __do_in_kernel_irq_syscall
...
Refs: #1617
Change-Id: Iddd8ccd81d7f692f1f45ec888d31c2a87ec521ce
2021-02-25 01:42:29 +00:00
afea6af667
Send a signal to mcexec after switching to that process.
...
Change-Id: Ia882ef5027931009ee65febd0cbe22022a755c4a
Refs: #1505
2021-02-19 02:28:29 +00:00
b0bd1feefb
remap_file_pages: check file mapping
...
Change-Id: Ibf145a20181938a9825214253337a423fcd53064
Refs: #1521
2021-02-19 02:23:39 +00:00
e6e66e0392
shmget: make small free numbers reusable.
...
Change-Id: Ic6670214fa31a309e96794361e3ec2dcc6375f4a
Refs: #1531
2021-02-19 02:22:50 +00:00
b3ddd60277
shmget: don't update refcount when shmid is found.
...
Change-Id: I3eac47cd67d27efd838190f5a4c21b5d682c5fe9
Refs: #1379
2021-02-19 02:22:33 +00:00
6dce9a2bf9
add_process_memory_range: Change order of update page and insert range.
...
Unintended update page was occurred, when inserting range failed.
Change-Id: I3d117b8613c5fbb64463c759b5fcc81db22bd624
refs: #1512
2021-02-18 16:02:30 +09:00
93dafc5f79
migrate: Don't migrate on in-kernel interrupt
...
Change-Id: I9c07e0d633687ce232ec3cd0c80439ca2e856293
Refs: #1555
2021-02-18 15:30:22 +09:00
583319125a
prerelease: 0.94: fix __mcctrl_os_read_write_cpu_register
...
Change-Id: Ibcfbe7796347cc9c2148cdea2519fe6c7ca9e97e
1.7.1-0.94
2021-02-18 15:23:01 +09:00
9f39d1cd88
move_pages: Fix and support some specs for LTP.
...
1. When nodes array is NULL, move_pages doesn't move any pages,
instead will return the node where each page
currently resides by status array.
2. Check whether all specified node is online or not.
Change-Id: Ie3534997833d797e2a9f595d1107b07d46e1c6cf
Refs: #1523
2021-02-18 06:16:17 +00:00
a0d446b27f
smp: make smp_call_func() arch independent
...
Change-Id: Ib60604ceb3274b173bd7f96cf57c8c35c1889e44
2021-02-18 06:16:17 +00:00
f3c875b8e6
mbind: Use range_policy's numamask as priority on MPOL_BIND
...
Change-Id: Iaaa7998945c6e2b42d91d34a2f7b05db1f4d696d
2021-02-18 06:16:17 +00:00
9f1e6d707c
get_mempolicy: Support (MPOL_F_NODE | MPOL_F_ADDR) specified
...
If flags specifies both MPOL_F_NODE and MPOL_F_ADDR,
get_mempolicy() will return the node ID of the node on
which the address addr is allocated into the location pointed to by mode.
Change-Id: Id485e3f4838e3679d877a95e53b21e3421cac88a
2021-02-18 06:16:17 +00:00
aef50d710c
mempolicy: Support MPOL_INTERLEAVE
...
Change-Id: I6357892d792b2de8ea859a0a6799250f05066713
Refs: #959
2021-02-18 06:16:17 +00:00
7f0594d784
TO RESET: mbind: do nothing
...
Fixes: 00007daf ("mbind: do nothing (workaround for Fugaku)")
Change-Id: Id41940bebd2cbcc3e8637eadd4847984627b1c72
2021-02-18 06:16:17 +00:00
866f5c51a0
docs: add limitation of system calls that call copy_to_user()
...
Change-Id: If449c73f8d5949ab5526ea598b0f713ed4431157
Refs: #1514
2021-02-18 13:04:53 +09:00