Re: Why the auxiliary cipher in gss_krb5_crypto.c?

From
David Howells <dhowells@redhat.com>
Date
2020-12-08 14:04:36
Also in
linux-cifs, linux-fsdevel, linux-nfs, lkml, netdev
Reply to
David Howells, 2020-12-08
David Howells [off-list ref] wrote:
I wonder - would it make sense to reserve two arrays of scatterlist structs
and a mutex per CPU sufficient to map up to 1MiB of pages with each array
while the krb5 service is in use?
Actually, simply reserving a set per CPU is probably unnecessary.  We could,
say, set a minimum and a maximum on the reservations (say 2 -> 2*nr_cpus) and
then allocate new ones when we run out.  Then let the memory shrinker clean
them up off an lru list.

David
Thread (57 messages) 57 messages, 6 authors, last reply 2020-12-08
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help