Re: [PATCH v2 1/4] include/linux/mmzone.h: add documentation for pfn_valid()

2021-04-21 Thread Anshuman Khandual
On 4/21/21 12:21 PM, Mike Rapoport wrote: > From: Mike Rapoport > > Add comment describing the semantics of pfn_valid() that clarifies that > pfn_valid() only checks for availability of a memory map entry (i.e. struct > page) for a PFN rather than availability of usable memory backing that PFN.

[PATCH v2 1/4] include/linux/mmzone.h: add documentation for pfn_valid()

2021-04-21 Thread Mike Rapoport
From: Mike Rapoport Add comment describing the semantics of pfn_valid() that clarifies that pfn_valid() only checks for availability of a memory map entry (i.e. struct page) for a PFN rather than availability of usable memory backing that PFN. The most "generic" version of pfn_valid() used by