On Sun, Sep 25, 2016 at 10:39:17PM +0000, Eric Haszlakiewicz wrote: > On September 25, 2016 5:01:16 PM EDT, Alexander Nasonov <al...@yandex.ru> > wrote: > >The first change shrinks aes_xcbc_mac_init by 183 bytes on amd64 > >(from 562 to 379 bytes). > > Do you mean it shrinks its stack usage? Or does that change to static > const vars somehow shrink the function itself?
Both, the variable is put into the rodata of the kernel and the function shrinks by not having to copy things. Joerg