diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2025-09-24 01:27:07 -0400 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-09-26 15:20:21 -0700 |
commit | 4e9510f16218802b5fc0d593d8707d4e7ebf9774 (patch) | |
tree | 41a5a12a579cbd7e33fbf35fe744319e99554144 /rust/helpers/platform.c | |
parent | 8d5868f8c1b27e99b35d200b5ed2dfe12586e936 (diff) |
ptr_ring: drop duplicated tail zeroing code
We have some rather subtle code around zeroing tail entries, minimizing
cache bouncing. Let's put it all in one place.
Doing this also reduces the text size slightly, e.g. for
drivers/vhost/net.o
Before: text: 15,114 bytes
After: text: 15,082 bytes
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Link: https://patch.msgid.link/adb9d941de4a2b619ddb2be271a9939849e70687.1758690291.git.mst@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions