Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1689570
| From | Matthew Wilcox <willy@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC PATCH 1/3] mm:hugetlb: Define system call hugetlb size encodings in single file |
| Date | 2017-07-18 02:10 +0200 |
| Message-ID | <u4ofo-3xU-19@gated-at.bofh.it> (permalink) |
| References | <tq3zr-2Gq-11@gated-at.bofh.it> <u4mQh-2yQ-7@gated-at.bofh.it> <u4mQh-2yQ-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Jul 17, 2017 at 03:27:59PM -0700, Mike Kravetz wrote: > +#define HUGETLB_FLAG_ENCODE_512KB (19 << MAP_HUGE_SHIFT > +#define HUGETLB_FLAG_ENCODE_1MB (20 << MAP_HUGE_SHIFT) > +#define HUGETLB_FLAG_ENCODE_2MB (21 << MAP_HUGE_SHIFT) > +#define HUGETLB_FLAG_ENCODE_8MB (23 << MAP_HUGE_SHIFT) > +#define HUGETLB_FLAG_ENCODE_16MB (24 << MAP_HUGE_SHIFT) > +#define HUGETLB_FLAG_ENCODE_1GB (30 << MAP_HUGE_SHIFT) > +#define HUGETLB_FLAG_ENCODE__16GB (34 << MAP_HUGE_SHIFT) The __ seems like a mistake?
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RFC PATCH 1/3] mm:hugetlb: Define system call hugetlb size encodings in single file Mike Kravetz <mike.kravetz@oracle.com> - 2017-07-18 00:40 +0200 Re: [RFC PATCH 1/3] mm:hugetlb: Define system call hugetlb size encodings in single file Matthew Wilcox <willy@infradead.org> - 2017-07-18 02:10 +0200 Re: [RFC PATCH 1/3] mm:hugetlb: Define system call hugetlb size encodings in single file Michal Hocko <mhocko@kernel.org> - 2017-07-26 12:00 +0200
csiph-web