On 03/05/2018 08:26 AM, Kirill A. Shutemov wrote: > +static inline bool page_encrypted(struct page *page) > +{ > + /* All pages with non-zero KeyID are encrypted */ > + return page_keyid(page) != 0; > +} Is this true? I thought there was a KEYID_NO_ENCRYPT "Do not encrypt memory when this KeyID is in use." Is that really only limited to key 0. -- 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>