> SWAP_KEY_PUT calls swap_key_delete, while SWAP_KEY_GET inlines its
> work.
>
> this shuffles it so the work is in uvm_swap_encrypt.c, and lets us
> reduce the scope of some of the globals in uvm_swap_encrypt.c.
>
> ok?
Hmm, I wonder if this was done to limit the amount of stack space we use
SWAP_KEY_PUT calls swap_key_delete, while SWAP_KEY_GET inlines its
work.
this shuffles it so the work is in uvm_swap_encrypt.c, and lets us
reduce the scope of some of the globals in uvm_swap_encrypt.c.
ok?
Index: uvm_swap_encrypt.c
===