Worth mentioning that the golang.org/x/sys/unix package has better support for syscalls than the og syscall package nowadays, especially for some of the newer ones like cachestat[0] which was added to the kernel in 6.5. AFAIK the original syscall package was 'frozen' a while back to preserve backward compatibility, and at one point there was even a bit of drama[1] around it being marked as deprecated instead of frozen.
[0]: https://github.com/golang/go/issues/61917 [1]: https://github.com/golang/go/issues/60797
Undeprecating something is truly a rare sight.
So far I only knew about PHP undeprecating "is_a" function, so I guess this puts Go in good company ^^