linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [Fwd: vma list in struct address_space]
@ 2004-07-21 16:44 Luciano A. Stertz
  0 siblings, 0 replies; only message in thread
From: Luciano A. Stertz @ 2004-07-21 16:44 UTC (permalink / raw)
  To: linux-mm

	Hi,
		I sent this message to kernelnewbies but receive no replay. May you 
please help me?

	Thanks,
		Luciano

====================================================

	I have a doubt about the address_space struct.
	I understand that struct address_space contains lists of the virtual
memory area instances that refers to the inode controlled by this
address_space.
	Up to kernel 2.6.6, it was clear to me from the struct declaration that
there were two lists, i_mmap was the list of private (created with
MAP_PRIVATE) mappings and i_mmap_shared the list of shared (created with
MAP_SHARED).
	On kernel 2.6.7, however, I couldn't undestand the lists:

         struct prio_tree_root   i_mmap;         /* tree of private
mappings */
         struct list_head        i_mmap_nonlinear;/*list VM_NONLINEAR
mappings */

	i_mmap seems to be still listing private mappings, but i_mmap_shared
was removed and i_mmap_nonlinear added.
	If I create a shared linear mapping, will it be kept in any of these lists?
	Or maybe the i_mmap comment is misleading, and now i_mmap maps linear vmas?

	TIA,
		Luciano Stertz

-- 
Luciano A. Stertz
luciano@tteng.com.br
T&T Engenheiros Associados Ltda
http://www.tteng.com.br
Fone/Fax (51) 3224 8425

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


-- 
Luciano A. Stertz
luciano@tteng.com.br
T&T Engenheiros Associados Ltda
http://www.tteng.com.br
Fone/Fax (51) 3224 8425
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-21 16:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-21 16:44 [Fwd: vma list in struct address_space] Luciano A. Stertz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox