{
    "mode": "man",
    "parameter": "proc_kpageflags",
    "section": "5",
    "url": "https://www.chedong.com/phpMan.php/man/proc_kpageflags/5/json",
    "generated": "2026-10-08T07:31:13Z",
    "sections": {
        "NAME": {
            "content": "/proc/kpageflags - physical pages frame masks\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "/proc/kpageflags (since Linux 2.6.25)\nThis  file  contains 64-bit masks corresponding to each physical page frame; it is in‐\ndexed by page frame number (see the discussion of /proc/pid/pagemap).  The bits are as\nfollows:\n\n0   -   KPFLOCKED\n1   -   KPFERROR\n2   -   KPFREFERENCED\n3   -   KPFUPTODATE\n4   -   KPFDIRTY\n5   -   KPFLRU\n6   -   KPFACTIVE\n7   -   KPFSLAB\n8   -   KPFWRITEBACK\n9   -   KPFRECLAIM\n10   -   KPFBUDDY\n11   -   KPFMMAP            (since Linux 2.6.31)\n12   -   KPFANON            (since Linux 2.6.31)\n13   -   KPFSWAPCACHE       (since Linux 2.6.31)\n14   -   KPFSWAPBACKED      (since Linux 2.6.31)\n15   -   KPFCOMPOUNDHEAD   (since Linux 2.6.31)\n16   -   KPFCOMPOUNDTAIL   (since Linux 2.6.31)\n17   -   KPFHUGE            (since Linux 2.6.31)\n18   -   KPFUNEVICTABLE     (since Linux 2.6.31)\n19   -   KPFHWPOISON        (since Linux 2.6.31)\n20   -   KPFNOPAGE          (since Linux 2.6.31)\n21   -   KPFKSM             (since Linux 2.6.32)\n22   -   KPFTHP             (since Linux 3.4)\n23   -   KPFBALLOON         (since Linux 3.18)\n24   -   KPFZEROPAGE       (since Linux 4.0)\n25   -   KPFIDLE            (since Linux 4.3)\n26   -   KPFPGTABLE         (since Linux 4.18)\n\nFor further details on the meanings of these bits, see the kernel source file Documen‐\ntation/admin-guide/mm/pagemap.rst.  Before Linux 2.6.29,  KPFWRITEBACK,  KPFRECLAIM,\nKPFBUDDY, and KPFLOCKED did not report correctly.\n\nThe  /proc/kpageflags file is present only if the CONFIGPROCPAGEMONITOR kernel con‐\nfiguration option is enabled.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "proc(5)\n\nLinux man-pages 6.7                          2023-08-15                           prockpageflags(5)",
            "subsections": []
        }
    },
    "summary": "/proc/kpageflags - physical pages frame masks",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "proc",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/proc/5/json"
        }
    ]
}