Re: [PATCH rdma-rc 3/3] IB/core: Fix ODP with IB_ACCESS_HUGETLB handling

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

 



On 12/20/2019 3:35 PM, Jason Gunthorpe wrote:
On Fri, Dec 20, 2019 at 04:51:00AM +0000, Artemy Kovalyov wrote:

AK: checking for linear contiguity may be not enough, page may be
transparent huge page, so in addition we also ensure its indeed
persistent.

??

I don't understand how it makes a difference. If the physical is
linear we don't care if it is THP or just a lucky list of 4k pages?


Agree, once we are fine with enabling THP or lucky list of 4k there is no need for the VMA extra checking to force persistent huge pages.

In V1 will cleaned-up the VMA part from the patch and adapt the commit message accordingly.

Yishai



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux