On Tue, Dec 19, 2017 at 09:53:16AM -0600, Christopher Lameter wrote: > On Sat, 16 Dec 2017, Matthew Wilcox wrote: > > > + * If you allocate pages of order > 0, you can use the fields in the struct > > + * page associated with each page, but bear in mind that the pages may have > > + * been inserted individually into the page cache, so you must use the above > > + * three fields in a compatible way for each struct page. > > If they are inserted into the page cache then also other fields are > required like the lru one right? No. For compound pages, only head is on lru. -- Kirill A. Shutemov -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>