提交 94cf3179 编写于 作者: J J. Bruce Fields

svcrpc: update outdated BKL comment

Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
上级 0cf99b91
...@@ -686,8 +686,8 @@ choose_victim(struct svc_serv *serv, struct svc_pool *pool, unsigned int *state) ...@@ -686,8 +686,8 @@ choose_victim(struct svc_serv *serv, struct svc_pool *pool, unsigned int *state)
* Create or destroy enough new threads to make the number * Create or destroy enough new threads to make the number
* of threads the given number. If `pool' is non-NULL, applies * of threads the given number. If `pool' is non-NULL, applies
* only to threads in that pool, otherwise round-robins between * only to threads in that pool, otherwise round-robins between
* all pools. Must be called with a svc_get() reference and * all pools. Caller must ensure that mutual exclusion between this and
* the BKL or another lock to protect access to svc_serv fields. * server startup or shutdown.
* *
* Destroying threads relies on the service threads filling in * Destroying threads relies on the service threads filling in
* rqstp->rq_task, which only the nfs ones do. Assumes the serv * rqstp->rq_task, which only the nfs ones do. Assumes the serv
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册