Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1488636
| From | Vasily Averin <vvs@virtuozzo.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] NFSD: notifiers registration cleanup |
| Date | 2016-09-22 10:40 +0200 |
| Message-ID | <sk7HX-3Yu-23@gated-at.bofh.it> (permalink) |
| References | <sjOYF-yH-3@gated-at.bofh.it> <sjPL4-146-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 21.09.2016 16:20, Jeff Layton wrote: > Good catch. I'm not very fond of the refcounting this here but it > should > serve the purpose and I don't have anything better to suggest. FWIW, I > think the nfsd_mutex is held during all of these operations so we > probably don't need atomics for the refcount. I've copied idea from netfilters, look at using of masquerade_notifier_refcount Perhaps someday in future we'll replace all such cases by some common primitive.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/2] NFSD: notifiers registration cleanup Vasily Averin <vvs@virtuozzo.com> - 2016-09-21 14:40 +0200
Re: [PATCH 1/2] NFSD: notifiers registration cleanup Jeff Layton <jlayton@redhat.com> - 2016-09-21 15:30 +0200
Re: [PATCH 1/2] NFSD: notifiers registration cleanup Vasily Averin <vvs@virtuozzo.com> - 2016-09-22 10:40 +0200
Re: [PATCH 1/2] NFSD: notifiers registration cleanup "J. Bruce Fields" <bfields@fieldses.org> - 2016-09-22 18:20 +0200
csiph-web