This determines whether the page can theoretically be THP-mapped , but is the intention to also check for proper alignment and/or preexisting PAGESIZE page cache mappings for the address range? I'm having to deal with both these issues in the text page THP prototype I've been working on for some time now. Thanks, William Kucharski