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

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -