Re: Freeing page flags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23.05.22 08:38, Mike Rapoport wrote:
> On Thu, May 12, 2022 at 09:54:59PM +0100, Matthew Wilcox wrote:
>> The LWN writeup [1] on merging the MGLRU reminded me that I need to send
>> out a plan for removing page flags that we can do without.
>>
>> 4. I think I can also consolidate PG_slab and PG_reserved into a "single
>> bit" (not really, but change the encoding so that effectively they only
>> take a single bit).
> 
> PG_reserved could be a PageType, AFAIR no reserved pages are ever mapped to
> userspace

include/linux/page-flags.h documents for PG_reserved:

"Pages part of the kernel image (including vDSO)"

Further, vm_normal_page() contains a comment

"NOTE! We still have PageReserved() pages in the page tables. eg. VDSO
mappings can cause them to exist."

-- 
Thanks,

David / dhildenb




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux