2022-05-07 21:49:47 +08:00
|
|
|
.. SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
|
|
|
==========
|
|
|
|
Page Cache
|
|
|
|
==========
|
2024-01-25 01:52:49 +08:00
|
|
|
|
|
|
|
The page cache is the primary way that the user and the rest of the kernel
|
|
|
|
interact with filesystems. It can be bypassed (e.g. with O_DIRECT),
|
|
|
|
but normal reads, writes and mmaps go through the page cache.
|
|
|
|
|
|
|
|
Folios
|
|
|
|
======
|
|
|
|
|
|
|
|
The folio is the unit of memory management within the page cache.
|
|
|
|
Operations
|