[PATCH V4] powerpc/hugetlb: Add ABI defines for supported HugeTLB page sizes
Paul Clarke
pc at us.ibm.com
Sat Apr 8 01:44:01 AEST 2017
nits... take 'em or leave 'em...
On 04/07/2017 08:01 AM, Michael Ellerman wrote:
> Anshuman Khandual <khandual at linux.vnet.ibm.com> writes:
> And I reworded the comment the make it clearer (I think) that most users
> shouldn't need to use these, and should just use the default size:
>
> /*
> * When MAP_HUGETLB is set bits [26:31] encode the log2 of the huge page size.
need a comma after "set".
also, "bits [26:31]" of what?
> * A value of zero indicates that the default huge page size should be used.
> * To use a non-default huge page size, one of these defines can be used, or the
> * size can be encoded by hand. Note that on most systems only a subset, or
> * possibly none, of these sizes will be available.
> */
PC
More information about the Linuxppc-dev
mailing list