![]() | ||||||||||
Messages in this thread |
On Sat, 2005-10-01 at 14:49 +0530, Arijit Das wrote: > Shared mappings are represented in /proc/<pid>/maps file as having 's' > as its last permission field like r-xs (shared readable and executable > region) > > But in this case, the perm bits are r--p which says that it is private > rather than shared. Any idea whatz happening here...? what is the problem?????? private mappings don't take up "extra" memory *unless you write to them* due to copy-on-write behavior of the kernel. r--p means you can't write.... so what's the problem.. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | |||||||||
| Last update: 2005-10-01 07:42 [from the cache] ©2003-2008 | ||||||||||