Eric Dumazet 38ebcf5096 scm: optimize put_cmsg()
Calling two copy_to_user() for very small regions has very high overhead.

Switch to inlined unsafe_put_user() to save one stac/clac sequence,
and avoid copy_to_user().

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Soheil Hassas Yeganeh <soheil@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-04-15 17:03:33 -07:00
..
2021-01-28 16:57:19 -08:00
2021-03-26 20:41:52 -07:00
2020-04-20 12:43:24 -07:00
2020-03-29 22:30:57 -07:00
2021-04-15 17:03:33 -07:00
2020-06-18 20:46:23 -07:00