Skip to content

Commit

Permalink
serf: switch vega post-op to only trim half of persistent cache
Browse files Browse the repository at this point in the history
  • Loading branch information
joemfb committed Nov 10, 2023
1 parent 5fe3d1c commit 9ca215d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/vere/serf.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,7 @@ u3_serf_post(u3_serf* sef_u)
}

if ( sef_u->fag_w & _serf_fag_vega ) {
u3h_free(u3R->cax.per_p);
u3R->cax.per_p = u3h_new_cache(u3C.per_w);
u3h_trim_to(u3R->cax.per_p, u3h_wyt(u3R->cax.per_p) / 2);
u3m_reclaim();
}

Expand Down

0 comments on commit 9ca215d

Please sign in to comment.