linux - What is the private page? -
in page struct, there private field. if use page_buffers() function, return field.
and there privatepage(). dont know is.
what this?
see include/linux/page-flags.h:
* private page markings may used filesystem owns page * own purposes. * - pg_private , pg_private_2 cause releasepage() , co invoked
and documentation/filesystems/vfs.txt:
an address_space handler may attach information page, typically using 'private' field in 'struct page'. if such information attached, pg_private flag should set. cause various vm routines make calls address_space handler deal data.
page_buffers()
specific case private
field contains pointer struct buffer_head
, common pattern in filesystem drivers.
Comments
Post a Comment