diff options
| author | Louis Burda <quent.burda@gmail.com> | 2023-02-07 07:58:27 -0600 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2023-02-07 07:58:27 -0600 |
| commit | 32331c7f421411bccb87ea818a2a0198b8cf88aa (patch) | |
| tree | c1168e406640acf1a6dbca60dfb046bedaaab533 /test/eviction.c | |
| parent | a2cdd64c6f915d969dfa21e23049ff4b3836b13d (diff) | |
| download | cachepc-32331c7f421411bccb87ea818a2a0198b8cf88aa.tar.gz cachepc-32331c7f421411bccb87ea818a2a0198b8cf88aa.zip | |
Add syscall to deinit events to prevent blocking on send
Diffstat (limited to 'test/eviction.c')
| -rw-r--r-- | test/eviction.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/eviction.c b/test/eviction.c index ca404b9..3a6f801 100644 --- a/test/eviction.c +++ b/test/eviction.c @@ -40,5 +40,8 @@ main(int argc, const char **argv) close(fd); + ret = ioctl(fd, KVM_CPC_DEINIT, &arg); + if (ret == -1) err(1, "KVM_CPC_DEINIT"); + return arg; } |
