From: Chuck Lever Date: Tue, 11 Apr 2017 17:23:43 +0000 (-0400) Subject: xprtrdma: Annotate receive workqueue X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7d7fa9b5509649ee1732fde0c643bea53f8db364;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git xprtrdma: Annotate receive workqueue Micro-optimize the receive workqueue by marking it's anchor "read- mostly." Signed-off-by: Chuck Lever Signed-off-by: Anna Schumaker --- diff --git a/net/sunrpc/xprtrdma/verbs.c b/net/sunrpc/xprtrdma/verbs.c index d7c16005491e..3dbce9ac4327 100644 --- a/net/sunrpc/xprtrdma/verbs.c +++ b/net/sunrpc/xprtrdma/verbs.c @@ -73,7 +73,7 @@ static void rpcrdma_create_mrs(struct rpcrdma_xprt *r_xprt); static void rpcrdma_destroy_mrs(struct rpcrdma_buffer *buf); static void rpcrdma_dma_unmap_regbuf(struct rpcrdma_regbuf *rb); -static struct workqueue_struct *rpcrdma_receive_wq; +static struct workqueue_struct *rpcrdma_receive_wq __read_mostly; int rpcrdma_alloc_wq(void)