summaryrefslogtreecommitdiffstats
path: root/kernel/kexec.c
diff options
context:
space:
mode:
authorEric Dumazet2017-09-01 01:48:21 +0200
committerDavid S. Miller2017-09-02 05:22:03 +0200
commitdb5bce32fbe19f0c7482fb5a40a33178bbe7b11b (patch)
treeda0171aec6a48e32f1c9c140cf04e984cd979f5c /kernel/kexec.c
parentnet: systemport: Correctly set TSB endian for host (diff)
downloadkernel-qcow2-linux-db5bce32fbe19f0c7482fb5a40a33178bbe7b11b.tar.gz
kernel-qcow2-linux-db5bce32fbe19f0c7482fb5a40a33178bbe7b11b.tar.xz
kernel-qcow2-linux-db5bce32fbe19f0c7482fb5a40a33178bbe7b11b.zip
net: prepare (struct ubuf_info)->refcnt conversion
In order to convert this atomic_t refcnt to refcount_t, we need to init the refcount to one to not trigger a 0 -> 1 transition. This also removes one atomic operation in fast path. v2: removed dead code in sock_zerocopy_put_abort() as suggested by Willem. Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/kexec.c')
0 files changed, 0 insertions, 0 deletions