Skip to content

[4.4] afpd: use C11 atomic operations in dircache, conditional check for libatomic#2767

Merged
andylemin merged 1 commit intobranch-netatalk-4-4from
rdmark-libatomic-4.4
Mar 5, 2026
Merged

[4.4] afpd: use C11 atomic operations in dircache, conditional check for libatomic#2767
andylemin merged 1 commit intobranch-netatalk-4-4from
rdmark-libatomic-4.4

Conversation

@rdmark
Copy link
Copy Markdown
Member

@rdmark rdmark commented Mar 5, 2026

replace the legacy sync built-ins that won't work on many 32 bit systems

add conditional check for atomic keywords in meson and link with libatomic if needed

based on patch by Sergey Fedorov

…batomic

replace the legacy sync built-ins that won't work on many 32 bit systems

add conditional check for atomic keywords in meson and link with
libatomic if needed

based on patch by Sergey Fedorov <vital.had@gmail.com>
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Mar 5, 2026

@rdmark rdmark requested a review from andylemin March 5, 2026 06:40
@rdmark
Copy link
Copy Markdown
Member Author

rdmark commented Mar 5, 2026

@andylemin after merging this I plan to tag a 4.4.2 patch release, since I think we have a critical mass of important bugfixes in the branch now. anything else you would like to see in the bugfix release?

@andylemin
Copy link
Copy Markdown
Contributor

Hi @rdmark only one legacy LRU cache fix which causes a crash when LRU is full and cache is thrashing (free'ing Q is too slow). I'll dig it out

@andylemin andylemin merged commit 5b49363 into branch-netatalk-4-4 Mar 5, 2026
20 checks passed
@rdmark rdmark deleted the rdmark-libatomic-4.4 branch March 5, 2026 17:24
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