The Illumos Syscall Handler
zinascii.com
zinascii.com
push/pop would make this code better, but I would not expect a measurable improvement in system performance from using it here. The improvement should be too small relative to all of the other things that happen in system call code paths. The time spent improving this would probably be better spent improving another area.
https://www.mail-archive.com/smartos-discuss@lists.smartos.o...