函数源码 |
Source File:include\linux\page-flags.h |
Create Date:2022-07-27 06:40:10 |
首页 | Copyright©Brick |
472 473 474 475 476 477 478 479 480 481 482 483 484 | #ifdef CONFIG_KSM /* * A KSM page is one of those write-protected "shared pages" or "merged pages" * which KSM maps into multiple mms, wherever identical anonymous page content * is found in VM_MERGEABLE vmas. It's a PageAnon page, pointing not to any * anon_vma, but to that page's node of the stable tree. */ static __always_inline int PageKsm( struct page *page) { page = compound_head(page); return ((unsigned long )page->mapping & PAGE_MAPPING_FLAGS) == PAGE_MAPPING_KSM; } |