diff options
| author | 2021-04-15 10:37:53 -0700 | |
|---|---|---|
| committer | 2021-04-15 17:03:33 -0700 | |
| commit | 38ebcf5096a86762b82262e96b2c8b170fe79040 (patch) | |
| tree | e374d75ffd37f3053bf687938f8596aea6988f69 /tools/perf/scripts/python/sched-migration.py | |
| parent | enetc: convert to schedule_work() (diff) | |
| download | linux-dev-38ebcf5096a86762b82262e96b2c8b170fe79040.tar.xz linux-dev-38ebcf5096a86762b82262e96b2c8b170fe79040.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
