aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2026-08-30 17:21:42 +0200
committerSven Eckelmann <sven@narfation.org>2026-08-30 20:05:56 +0200
commit976b159b3c12be89459390bdf950534f639a5200 (patch)
tree34acd73951e4ba3d060bbb0deb830130c1c4efa5 /scripts/Makefile.thinlto
parentbatman-adv: tt: drop unnecessary cleanup goto in helpers (diff)
batman-adv: tt: use protected flag modifications
The flags of translation table entries are modified in various places using RMW operations like: * read flags + add flag + store * read flags + remove flag + store These were done without making sure that no other context is doing a similar operation at the same time. If another context does modify the flags then it could happen that a store of the flag modifications is simply lost. This problem can usually be fixed at a later point when the flags are tried to be adjusted again. To reduce the time the wrong flags are used, it is better to use a TT entry specific spinlock when accessing the u16. Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions