dfd23c3ebe
prctl: Add support for PR_SET_THP_DISABLE and PR_GET_THP_DISABLE
...
Change-Id: I04c5568a9eb78bcac632b734f34bba49cf602c4d
Refs: #1181
2019-01-22 05:40:56 +00:00
eb184419ea
shmget: Use transparent huge pages when page size isn't specified
...
Refs: #1241
Change-Id: Ia111bfeb67d224ad1ab77e5193eac7b7d14a6577
2019-01-22 05:40:56 +00:00
13e29c0da5
mcoverlayfs: fix disabled build
...
Change-Id: Ia40853432547084329fc034e3942e51954e1ddf5
2019-01-22 02:15:43 +00:00
8aaf0f8551
test: Add test programs for #1166
...
refs: #1166
Change-Id: I9b6dd8628e8a3dcb2281e31f4b8d116e9c7852d8
2019-01-08 15:15:34 +09:00
ef9fda23a9
mcexec: Set default heap extension amount to sysconf(_SC_PAGESIZE)
...
Change-Id: I3ac660d33918c1fa28093ab59f3a7ead65d337d7
2018-12-12 00:38:10 +00:00
cd5cb469eb
Fix "Test "Error handling improvement" on arm64"
...
Change-Id: Ie3c835dfe65a9754628ca221f3f563b67b0eb1a0
Refs: #727
Refs: #873
Refs: #1011
Refs: #1232
Refs: #1233
2018-12-10 19:58:15 +09:00
7a8f5043c5
mcstat: Fix test description
...
Change-Id: I942b351146cabd259eb164b73375a547d0fd0c30
2018-12-10 09:27:28 +00:00
cf6514def9
test: Add descriptions to "user_space" test
...
Change-Id: Ic14ddbfbf6bfc12d40d3284ec08e040597356963
2018-12-10 12:59:20 +09:00
96b6d773a9
ARMv8.2-LPA support
...
Change-Id: I12a6eac55af2e7f6a643e4e04ed59a85769f4063
2018-12-07 17:41:50 +09:00
4ba4bbd711
ContiguousPTE[12/12] modify sys_shmget/sys_mmap
...
Change-Id: Icfbe9fbfa6216735ec20c55da95e5b62a25fdfea
2018-12-07 08:27:51 +00:00
410bf13367
ContiguousPTE[11/12] modify ihk_mc_pt_virt_to_pagemap
...
Change-Id: Iff0c77cdd08a76b55c2635c6b0163ef2caade71d
2018-12-07 08:24:22 +00:00
7c231928ab
ContiguousPTE[10/12] modify split_largepage
...
Change-Id: I0a8385af9709b11d7917eb34e8612413fefe6931
2018-12-07 08:22:56 +00:00
50de3820ad
ContiguousPTE[9/12] modify ihk_mc_pt_clear|free_range
...
Change-Id: I75d821b81d351f4fdfd504c791543db174634261
2018-12-07 08:21:44 +00:00
c4e5bf6d6b
ContiguousPTE[8/12] modify page_fault_process_memory_range
...
Change-Id: I79ecd08cf83aeacd3e20a7720bad66ef19573402
2018-12-07 08:17:08 +00:00
c319fe08a4
ContiguousPTE[7/12] modify ihk_mc_pt_set_range
...
Change-Id: Ib38530ce64a01f21107e0a6a73de7c54f214eb5a
2018-12-07 08:12:44 +00:00
24d3da32ed
ContiguousPTE[6/12] modify arch_get_smaller_page_size
...
Change-Id: I4fe8c36cf9561b3ee895f29b112f0ac6f2418f5e
2018-12-07 08:00:32 +00:00
c4fbbb6027
ContiguousPTE[5/12] modify lookup_pte
...
Change-Id: Ie5aa625e5a13596ff8294699d10114aeba9d991d
2018-12-07 07:59:12 +00:00
0449437c15
ContiguousPTE[4/12] modify invalidate_process_memory_range
...
Change-Id: Ib59f4c5d78580a1c4344ac632d3d8f68355d7058
2018-12-07 07:56:28 +00:00
639d0e496b
ContiguousPTE[3/12] modify move_pte_range
...
Change-Id: I20878c97bea768d1f09ab0580d744a58c070be2c
2018-12-07 07:54:28 +00:00
b6de164e9a
ContiguousPTE[2/12] modify copy_user_pte
...
Change-Id: Ie696245a8c09e87c48426bc3e74a6f049a085471
2018-12-07 07:52:17 +00:00
d1b36aab62
ContiguousPTE[1/12] add page table access functions
...
Change-Id: I3291c170e66592c871f316d78d71248d26748501
2018-12-07 07:51:01 +00:00
8a2f4be443
Test "user_space" on arm64
...
Test: Architecture dependent separation of user space access code.
Add arm64 result files.
Change-Id: I651992c0c8bcd1da8313a35eda03612405b55b89
2018-12-07 07:46:09 +00:00
8a684587fa
Fix "Test "Error handling improvement" on arm64"
...
* Fix test to make mcexec fail to fork()
Change-Id: I9a696787b5d4ce44541a4651622e5be60f9ef355
2018-12-07 07:40:14 +00:00
05c315857c
Test "Add mcstat tool" on arm64
...
Change-Id: I4bf1260e999c16fe7b9c339af3833ea007277889
2018-12-07 06:24:18 +00:00
1422838dd1
sysfs-meminfo: Add page size consideration other than 4KiB.
...
Change-Id: I88e3aa6b9537dfff21c72b4a247fda24873216cb
2018-12-06 18:45:56 +09:00
c9fc110fc6
do_kill(): fix pids table when nr of threads is larger than num_processors
...
Change-Id: I0f0120c67a9b0df1cdf7d3fed34dd9c656fd317a
Refs: #1235
2018-12-05 08:17:05 +00:00
ed3c138e1f
test: Fix user_space, process_vm_writev01 expected value file.
...
Fix to check only TPASS. (Delete pagesize)
test: pvw_003, pvw_012
Change-Id: I4f9c3c42b855d419f3db457fbb5e7865da85eee8
2018-12-05 15:51:52 +09:00
60c97d0e60
Test "mbind support" on arm64
...
Add arm64 result files.
Change-Id: I32e8d4e1346076683e7d55e8e928d168e439eaca
2018-12-05 11:27:03 +09:00
95e90c727e
Test "Error handling improvement" on arm64
...
The following test set:
execve: fix memory leak
add: NULL check for master_channel at IKC interrupt_handler.
Fix the check routine for elf sections (Fujitsu: POSTK_TEMP_FIX_77)
Change-Id: I16c2a341c48f6df10a4839be08b93ea16bda8fbe
Refs: #727
Refs: #873
Refs: #1011
2018-12-05 02:01:29 +00:00
ec844bb6e3
Test "fix: Bug for getrusage" on arm64
...
The following test set:
fix: Bug for getrusage return incorrect ru_maxrss
fix: Bug for getrusage(RUSAGE_CHILDREN) return parent info (POSTK_DEBUG_TEMP_FIX_72)
fix: Bug for getrusage often return incorrect ru_stime
Change-Id: I6734b1e34565d5d2715f9901a04ba5b6f0278032
Refs: #1032
Refs: #1033
Refs: #1034
2018-12-05 01:58:44 +00:00
a11d4d7a9d
Test "mcexec_destroy_per_process_data: System calls delegation can not be terminated in error when the last process that closed /dev/mcos0 is a child process." on arm64
...
Change-Id: I6bc3023c1fa6089bc2ca6365b59bbab384b3e1d7
Refs: #882
2018-12-05 01:43:31 +00:00
0ee446923a
Test "make sure to context-switch to idle thread when therad's status is PS_EXITED" on arm64
...
Change-Id: I757d529e49655e9010022f10414e4d6c9eb4c059
Refs: #1029
2018-12-05 01:21:48 +00:00
01b2a1d213
Tests: dust off x86_64 mem_dest_prev
...
Change-Id: I445ea0e8ae2cd631c775718a86a64fd2ecb90f35
Refs: #1228
2018-12-04 10:05:39 +00:00
52cd57fed2
memory/x86_64: fix linux safe_kernel_map
...
init_linux_kernel_mapping is called in setup_x86_phase1 way
before arguments are setup, but we can access kernel boot args
directly and use that, so ugly fix for now.
Change-Id: I285ecc31c6646d6d18566d411b09ae3190e8101e
Refs: #1228
2018-12-04 10:05:03 +00:00
bbc39480d2
Fix test programs for "execve: fix memory leak"
...
* Fix README
Change-Id: I90fe1fbb26569bbab5a34638b5f357d7000eda5d
Refs: #727
2018-12-04 10:02:42 +00:00
8521b98730
execve: Call preempt_enable() before error-exit
...
Fix "execve: fix execve with oversubscribing".
Change-Id: I4de3f5d44b1703db392f3da75196faa1e12d5845
Refs: #727
Refs: #1072
Refs: #1232
2018-12-04 09:43:19 +00:00
da02f76a25
mcexec: Fix error handling of init_worker_threads
...
Refs: #1233
Change-Id: Icce49c996d69b3cf64a71e7bd470421f329c881f
2018-12-04 09:40:24 +00:00
dbe5e99cf9
Fix test of "make sure to context-switch to idle thread when therad's status is PS_EXITED"
...
Change-Id: I62ea813656805b6250b0465853e8fa2918b0c86b
Refs: #1029
Refs: #1227
2018-12-04 08:17:54 +00:00
6b293409e5
mbind: Fix test programs
...
Refs: #1226
Change-Id: I12bf807812d93b7eca8f452e70e70e7c4e32f6a3
2018-12-04 08:17:13 +00:00
b94247c478
Test "signal: When the process receives a termination signal, it first terminates mcexec." on arm64
...
Change-Id: I1be32b991a45f0892146d93a9e6d6be9199faf59
Refs: #870
2018-12-04 05:07:32 +00:00
556a64ac5e
Test "signal: When the process receives a termination signal, it first terminates mcexec." on arm64
...
Change-Id: I5c8ab90ffd5c5da30162d606f4d86dca9d387b5a
Refs: #863
2018-12-04 05:06:07 +00:00
3f11c1aee5
Test "Wait for LWK to run at shutdown." on arm64
...
Change-Id: I96785dda7a1a7eb36ceeb31401d71b4e40efb185
Refs: #898
Refs: #928
2018-12-03 20:06:37 +09:00
de70eac619
mcstat: Fix error propagation
...
Change-Id: Ib4a053d5b9ba5eb0d32c46be7c7fcd0be10cb97b
2018-11-30 14:29:14 +09:00
2ba3ec8a4c
mcstat: Fix memory related stats
...
Refs: #1237
Change-Id: I0574cd71fe3b07aeda3ef981bd82d04ce5862f4f
2018-11-30 05:18:48 +00:00
394a1ef3c5
mcstat: Fix array of status strings
...
More error checks are added at the same time.
Refs: #1223
Change-Id: I406066a6ba0853584d6e1820dde74721ce2682dd
2018-11-30 14:05:21 +09:00
1954aec0ea
perf_event_open: Propagate return value
...
Refs: #1236
Change-Id: I61a4683a533fb199a73a99bc7b2e6f2638212000
2018-11-30 04:10:54 +00:00
2b1b82b242
qlmpi: Refactor test programs
...
Change-Id: I3dd74eda1b77aea529f9cc044177b6c29185b6df
2018-11-29 10:33:11 +00:00
502463ed9e
test: Fix user_space, testing use of copy_from_user / copy_to_user
...
Change-Id: I2caef1ba6597f693dc4f773ef8fedbd837c45ce6
2018-11-29 19:32:04 +09:00
715f67f32f
mcreboot.sh: Fix error handling of BUILDID mismatch
...
Change-Id: I29d78c4739679e0b3229cc6fa28816f1ceee332c
2018-11-29 19:19:09 +09:00
82a57d5f55
test: Add MCK_DIR to mck_test_config.sample.in
...
Change-Id: I9ed1b0433fc6b8eeb1cb024be2d33263e3283ab7
2018-11-29 12:50:29 +09:00