ktls / af_ktls

Linux Kernel TLS/DTLS Module
GNU General Public License v2.0
157 stars 25 forks source link

Currently AF_KTLS allocates 16 pages rather than 4 during alloc_pages #70

Closed lancerchao closed 8 years ago

lancerchao commented 8 years ago

since the 2nd argument is the order of the number of pages. order_base_2() is a helper function that rounds the arg to the next power of two and returns the log.

fridex commented 8 years ago

Looks good to me, thanks!