Re: [PATCH] hugetlbfs: show pagesize in unit of GB if possible

2021-02-01 Thread Miaohe Lin
Hi: On 2021/2/2 5:31, David Rientjes wrote: > On Mon, 1 Feb 2021, Miaohe Lin wrote: > Hugepage size in unit of GB is supported. We could show pagesize in unit of GB to make it more friendly to read. Also rework the calculation code of page size unit to make it more readable. >>

Re: [PATCH] hugetlbfs: show pagesize in unit of GB if possible

2021-02-01 Thread David Rientjes
On Mon, 1 Feb 2021, Miaohe Lin wrote: > >> Hugepage size in unit of GB is supported. We could show pagesize in unit of > >> GB to make it more friendly to read. Also rework the calculation code of > >> page size unit to make it more readable. > >> > >> Signed-off-by: Miaohe Lin > >> --- > >> fs/

Re: [PATCH] hugetlbfs: show pagesize in unit of GB if possible

2021-01-31 Thread Miaohe Lin
Hi: On 2021/1/31 6:07, David Rientjes wrote: > On Sat, 30 Jan 2021, Miaohe Lin wrote: > >> Hugepage size in unit of GB is supported. We could show pagesize in unit of >> GB to make it more friendly to read. Also rework the calculation code of >> page size unit to make it more readable. >> >> Signe

Re: [PATCH] hugetlbfs: show pagesize in unit of GB if possible

2021-01-30 Thread David Rientjes
On Sat, 30 Jan 2021, Miaohe Lin wrote: > Hugepage size in unit of GB is supported. We could show pagesize in unit of > GB to make it more friendly to read. Also rework the calculation code of > page size unit to make it more readable. > > Signed-off-by: Miaohe Lin > --- > fs/hugetlbfs/inode.c |