From: Matthew Wilcox <mawilcox@xxxxxxxxxxxxx> I was trying to understand how it was safe to test PageLocked on a tail page and started looking at how the pageflag policies were implemented. I found three actual bugs (patches 5, 7 & 8), improved the documentation and renamed a pile of things to be more readily explainable. Matthew Wilcox (8): mm: Rename PF argument to modify mm: Rename PF_NO_TAIL to PF_TAIL_READ mm: Turn PF_POISONED_CHECK into CheckPageInit mm: Improve page flag policy documentation mm: Fix bug in page flags checking mm: Turn page policies into functions mm: Always check PagePolicyNoCompound mm: Optimise PagePolicyTailRead include/linux/mm.h | 2 +- include/linux/page-flags.h | 107 ++++++++++++++++++++++++++------------------- 2 files changed, 62 insertions(+), 47 deletions(-) -- 2.16.3