Re:Using mmap to make LLaMA load faster
by saagarjha on Thursday April 06, 2023 @04:29AM
(#35465775)
To be entirely honest I'm not sure why the kernel doesn't use better routines here, I think on ARM at least it saves the entire NEON state on context switch…
It does not. Compare the implementation of _bcopyout against _platform_memmove, you'll see the difference :)