Re: sprinkle some symmetry on uvm_swap_encrypt

2015-05-04 Thread Mark Kettenis
> 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

sprinkle some symmetry on uvm_swap_encrypt

2015-05-04 Thread David Gwynne
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 ===