{
  "slug": "posix-fadv-noreuse",
  "term": "POSIX_FADV_NOREUSE",
  "aliases": [
    "FADV_NOREUSE"
  ],
  "definition": "POSIX_FADV_NOREUSE is a file-access advice value indicating that the application does not expect to reuse the specified data.",
  "note": "On Linux it was a no-op from 2.6.18 through 6.2; since 6.3 it permits page replacement to discount accesses. It neither bypasses the page cache nor promises immediate eviction. [fadvise-api] The v6.14 generic implementation sets FMODE_NOREUSE on the open file description; POSIX_FADV_NORMAL clears it. [fadvise-source]",
  "advantages": [
    "Can express one-pass access without changing to direct I/O."
  ],
  "limitations": [
    "Advice is nonbinding and kernel-version dependent."
  ],
  "related": [
    "buffered-io",
    "page-cache",
    "posix-fadv-dontneed",
    "rwf-dontcache"
  ],
  "citations": [
    {
      "id": "fadvise-api",
      "label": "posix_fadvise(2)",
      "title": "Linux man-pages 6.19: posix_fadvise(2), advice semantics and return values.",
      "url": "https://man7.org/linux/man-pages/man2/posix_fadvise.2.html",
      "accessed": "2026-10-15"
    },
    {
      "id": "fadvise-source",
      "label": "Linux v6.14 fadvise",
      "title": "Linux v6.14 mm/fadvise.c: generic_fadvise, including the end-of-file partial-page exception.",
      "url": "https://github.com/torvalds/linux/blob/v6.14/mm/fadvise.c",
      "accessed": "2026-10-15"
    }
  ],
  "status": "shipping",
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-10-15"
}
