mirror of
https://github.com/torvalds/linux
synced 2024-09-20 02:57:25 +00:00
d8bf77a1dc
With the PG_arch_1 we keep track if the page's data cache is clean,
architecture rely on this property to treat new pages as dirty with
respect to the data cache and perform the flushing before mapping the pages
into userspace.
This patch adds a new architecture hook, arch_clear_hugepage_flags,so that
architectures which rely on the page flags being in a particular state for
fresh allocations can adjust the flags accordingly when a page is freed
into the pool.
Fixes:
|
||
---|---|---|
.. | ||
asm | ||
uapi/asm |