Skip to content

d_lru: remove mutex #19543

Merged
AskAlexSharov merged 1 commit intomainfrom
alex/dlru_no_mutex_34
Mar 2, 2026
Merged

d_lru: remove mutex #19543
AskAlexSharov merged 1 commit intomainfrom
alex/dlru_no_mutex_34

Conversation

@AskAlexSharov
Copy link
Collaborator

PR #16922 introduced mutex to D_LRU - but i think it's not needed for Parallel exec anymore (because parallel exec doesn't do parallel reads from same rotx - current D_LRU is per-rotx)

@AskAlexSharov AskAlexSharov requested a review from mh0lt March 1, 2026 06:15
@AskAlexSharov AskAlexSharov marked this pull request as ready for review March 2, 2026 01:27
@AskAlexSharov AskAlexSharov enabled auto-merge (squash) March 2, 2026 02:44
Copy link
Collaborator

@Giulio2002 Giulio2002 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — removes mutex wrapping around freelru.LRU which is already thread-safe. Clean, small diff.

@AskAlexSharov AskAlexSharov merged commit de9398b into main Mar 2, 2026
40 of 41 checks passed
@AskAlexSharov AskAlexSharov deleted the alex/dlru_no_mutex_34 branch March 2, 2026 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants