In the page struct, there is private field. If I use page_buffers() function, they return that field.
And also there is PrivatePage(). But I dont know what it is.
What is this?
In the page struct, there is private field. If I use page_buffers() function, they return that field.
And also there is PrivatePage(). But I dont know what it is.
What is this?
Copyright © 2021 Jogjafile Inc.
See include/linux/page-flags.h:
And also Documentation/filesystems/vfs.txt:
page_buffers()
is for the specific case where theprivate
field contains a pointer to astruct buffer_head
, which is a very common pattern in filesystem drivers.