tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: small changes in aesxcbcmac.c



On Sun, Sep 25, 2016 at 10:39:17PM +0000, Eric Haszlakiewicz wrote:
> On September 25, 2016 5:01:16 PM EDT, Alexander Nasonov <alnsn%yandex.ru@localhost> 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


Home | Main Index | Thread Index | Old Index