|
|
Log in / Subscribe / Register

CONFIG_SWAP_SMALL with refcount max 8?

CONFIG_SWAP_SMALL with refcount max 8?

Posted Apr 7, 2025 19:08 UTC (Mon) by willy (subscriber, #9762)
In reply to: CONFIG_SWAP_SMALL with refcount max 8? by k3ninho
Parent article: Three ways to rework the swap subsystem

If there are more than 63 references to a swap page, another page full of bytes is allocated to store the high bits. After 4095, a third page is allocated, and so on.

Yes, this is stupid. No, it rarely happens.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds