aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/ipc-req
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-10-30 13:34:18 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2024-11-01 10:27:36 +0200
commitf139fff6ae7063c1965fa3085bb2585d7d838d72 (patch)
tree7ee9f7c6a1ee09dba93c086cd66861474b821c97 /benchmarks/ipc-req
parentb576c1d477bf476f277d32ecf60c312e4a97490d (diff)
downloadkmi-f139fff6ae7063c1965fa3085bb2585d7d838d72.tar.gz
kmi-f139fff6ae7063c1965fa3085bb2585d7d838d72.zip
rpc actually marks and unmarks stack regions
+ Processes won't be able to read previous stack frames etc
Diffstat (limited to 'benchmarks/ipc-req')
-rw-r--r--benchmarks/ipc-req/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/benchmarks/ipc-req/init.c b/benchmarks/ipc-req/init.c
index 02064a6..910e018 100644
--- a/benchmarks/ipc-req/init.c
+++ b/benchmarks/ipc-req/init.c
@@ -12,8 +12,9 @@ START(pid, tid, d0, d1, d2, d3)
uint64_t timebase = sys_timebase();
uint64_t start = sys_ticks();
- for (size_t i = 0; i < 1000; ++i)
+ for (size_t i = 0; i < 1000; ++i) {
sys_ipc_req0(1);
+ }
uint64_t end = sys_ticks();
report(start, end, timebase);