# mincore residency probe
Run on Linux with Python 3 and the libc mincore interface:
```sh
python3 run.py --directory /path/to/scratch --output new-result.json
```
Use an ordinary local filesystem directory you own with room for eight pages.
The probe creates five temporary files, one at a time, writes nonzero content,
and removes each automatically. It never reads existing target files, changes
permissions, flushes global caches, or needs root. Do not run with elevated
privileges to imitate the permission-fallback case.

The mapping is private and never dereferenced by this program. mincore is sampled
after writing and syncing, after range-only DONTNEED, and after a one-byte pread.
Optional pagemap present bits describe the process mapping, not cache hit rates.
Failed mincore calls abort rather than interpreting an invalid vector. The
deliberately unaligned call records only its return and errno.

result.json is the original five-repetition observation, not a golden outcome
for every machine. Expect eviction, readahead, pagemap availability and scheduling
to vary. Five repeats on one host are not five independent systems. There is no
timing benchmark, storage-I/O trace, security attack, permission-fallback test,
or durability/crash test. The recorded timestamp is the actual UTC execution time;
sourceSha256 identifies run.py. Filesystem is reported by findmnt when available.

The Python probe is MIT licensed (LICENSE). Research context:
https://hesela.com/analyses/o-direct-alignment-by-kernel/#residency-heading
