Home
last modified time | relevance | path

Searched hist:"1602 a7b7" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/sunrpc/
H A Dsvc_xprt.c1602a7b7 Thu Jan 03 08:17:12 CST 2019 Trond Myklebust <trondmy@gmail.com> SUNRPC: Don't allow compiler optimisation of svc_xprt_release_slot()

Use READ_ONCE() to tell the compiler to not optimse away the read of
xprt->xpt_flags in svc_xprt_release_slot().

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
1602a7b7 Thu Jan 03 08:17:12 CST 2019 Trond Myklebust <trondmy@gmail.com> SUNRPC: Don't allow compiler optimisation of svc_xprt_release_slot()

Use READ_ONCE() to tell the compiler to not optimse away the read of
xprt->xpt_flags in svc_xprt_release_slot().

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>