Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1380758
| From | Sergey Senozhatsky <sergey.senozhatsky@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3 07/16] zsmalloc: remove page_mapcount_reset |
| Date | 2016-04-17 16:20 +0200 |
| Message-ID | <roVIm-5HD-27@gated-at.bofh.it> (permalink) |
| References | <riiA1-1Vf-3@gated-at.bofh.it> <riiA2-1Vf-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hello, On (03/30/16 16:12), Minchan Kim wrote: > We don't use page->_mapcount any more so no need to reset. > > Signed-off-by: Minchan Kim <minchan@kernel.org> Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> -ss > --- > mm/zsmalloc.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c > index 4dd72a803568..0f6cce9b9119 100644 > --- a/mm/zsmalloc.c > +++ b/mm/zsmalloc.c > @@ -922,7 +922,6 @@ static void reset_page(struct page *page) > set_page_private(page, 0); > page->mapping = NULL; > page->freelist = NULL; > - page_mapcount_reset(page); > } > > static void free_zspage(struct page *first_page) > -- > 1.9.1 >
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v3 07/16] zsmalloc: remove page_mapcount_reset Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-04-17 16:20 +0200
csiph-web