Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1365338
| From | Joonsoo Kim <js1304@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/2] mm: rename _count, field of the struct page, to _refcount |
| Date | 2016-03-28 08:10 +0200 |
| Message-ID | <rhyxc-2Ws-9@gated-at.bofh.it> (permalink) |
| References | <rhynw-2Dh-1@gated-at.bofh.it> <rhynw-2Dh-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
2016-03-28 14:59 GMT+09:00 <js1304@gmail.com>: > From: Joonsoo Kim <iamjoonsoo.kim@lge.com> > > Many developer already know that field for reference count of > the struct page is _count and atomic type. They would try to handle it > directly and this could break the purpose of page reference count > tracepoint. To prevent direct _count modification, this patch rename it > to _refcount and add warning message on the code. After that, developer > who need to handle reference count will find that field should not be > accessed directly. > > Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com> Oops. This patch needs more change. Please ignore this patchset. I will resend it soon. Thanks.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/2] mm/page_ref: use page_ref helper instead of direct modification of _count js1304@gmail.com - 2016-03-28 08:00 +0200
[PATCH 2/2] mm: rename _count, field of the struct page, to _refcount js1304@gmail.com - 2016-03-28 08:00 +0200
Re: [PATCH 2/2] mm: rename _count, field of the struct page, to _refcount kbuild test robot <lkp@intel.com> - 2016-03-28 08:10 +0200
Re: [PATCH 2/2] mm: rename _count, field of the struct page, to _refcount Joonsoo Kim <js1304@gmail.com> - 2016-03-28 08:30 +0200
Re: [PATCH 2/2] mm: rename _count, field of the struct page, to _refcount Joonsoo Kim <js1304@gmail.com> - 2016-03-28 08:10 +0200
Re: [PATCH 2/2] mm: rename _count, field of the struct page, to _refcount kbuild test robot <lkp@intel.com> - 2016-03-28 08:20 +0200
csiph-web