summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2005-03-22 20:06:51 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2005-03-22 20:06:51 -0800
commit6c42e471856770ee7c6ff28a5c60c37a3844c181 (patch)
tree9ab8244265ee222104a3faeb6e4a406d0ca553f7 /net/unix/af_unix.c
parent9b6ee3c64b50d648a9fba39fe124227f880e72ea (diff)
[CRYPTO]: Do scatterwalk_whichbuf inline.
scatterwalk_whichbuf is called once for each block which could be as small as 8/16 bytes. So it makes sense to do that work inline. It's also a bit inflexible since we may want to use the temporary buffer even if the block doesn't cross page boundaries. In particular, we want to do that when the source and destination are the same. So let's replace it with scatterwalk_across_pages. I've also simplified the check in scatterwalk_across_pages. It is sufficient to only check len_this_page. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions