Re: [PATCH -mm] mm, hugetlb: Pass fault address to no page handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Kirill A. Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx> writes:

> On Wed, May 16, 2018 at 12:42:43AM +0000, Huang, Ying wrote:
>> >> +	unsigned long address = faddress & huge_page_mask(h);
>> >
>> > faddress? I would rather keep it address and rename maked out variable to
>> > 'haddr'. We use 'haddr' for the cause in other places.
>> 
>> I found haddr is popular in huge_memory.c but not used in hugetlb.c at
>> all.  Is it desirable to start to use "haddr" in hugetlb.c?
>
> Yes, I think so. There's no reason to limit haddr convention to THP.

OK.  Will do this.

Best Regards,
Huang, Ying




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux