Page MenuHomeFreeBSD

tidy up frag6_slowtimo
ClosedPublic

Authored by mjg on Aug 13 2021, 11:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 17, 7:19 AM
Unknown Object (File)
Fri, Oct 17, 7:18 AM
Unknown Object (File)
Fri, Oct 17, 7:18 AM
Unknown Object (File)
Thu, Oct 16, 9:42 PM
Unknown Object (File)
Sun, Oct 12, 2:39 AM
Unknown Object (File)
Sep 21 2025, 7:33 PM
Unknown Object (File)
Sep 14 2025, 9:07 PM
Unknown Object (File)
Sep 14 2025, 7:22 PM
Subscribers

Details

Summary
commit f68f2de8425e4806801f69e04dff38c18ce71d14 (HEAD -> netgate/slowtimo, mjgzoo/netgate/slowtimo)
Author: Mateusz Guzik <mjg@FreeBSD.org>
Date:   Fri Aug 13 13:32:03 2021 +0200

    frag6: do less work in frag6_slowtimo if possible
    
    frag6_slowtimo avoidably uses CPU on otherwise idle boxes
    
commit e5a1e8429afc9b7484b936144e72da53a604c9f3
Author: Mateusz Guzik <mjg@FreeBSD.org>
Date:   Fri Aug 13 13:28:39 2021 +0200

    frag6: drop the volatile keyword from frag6_nfrags and mark with __exclusive_cache_line
    
    The keyword adds nothing as all operations on the var are performed
    through atomic_*

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable