On Thu, Feb 26, 2009 at 2:10 PM, wrote:
>
>> (To expand on the problem a bit, the problem comes when a process maps
>> a file into a segment that's larger than the file, e.g., mapping a 1K
>> file into a 10K segment. Currently rm_assize() will only count the
>> space used through the end of the
Hi Chad,
> BTW, I've posted an updated webrev here:
> http://cr.opensolaris.org/~cmynhier/6801244.1/. I wanted to do a
> nightly build and some testing before posting it.
This looks better. Thanks for making the changes we discussed before.
> > The only options I see for doing this are either
On Wed, Feb 25, 2009 at 10:26 AM, Chad Mynhier wrote:
>> vm/vm_rm.c:
>>
>> - lines 105-135: Dumb question -> Where is this case handled now?
>>
>
> Nope, not a dumb question, a dumb oversight on my part. And this
> might completely scupper what I want to do. The only options I see
> for doing t
Thanks for the comments.
On Tue, Feb 24, 2009 at 5:15 PM, wrote:
> Hi Chad,
> You probably want a vm expert to take a look at this code, but I'm
> happy to provide comments anyway.
>
> vm/as.h:
>
> - line 114: You probably want this member at the end of the
> structure. If we end up backpor
Hi Chad,
You probably want a vm expert to take a look at this code, but I'm
happy to provide comments anyway.
vm/as.h:
- line 114: You probably want this member at the end of the
structure. If we end up backporting the fix, we don't want to
displace the pre-existing offsets in a struct
I've submitted a bug related to this problem:
http://bugs.opensolaris.org/view_bug.do?bug_id=6801244. The gist of
this problem is that Solaris calculates the VM size of a process when
asked, i.e., when some utility like ps(1) or prstat(1M) reads
/proc//psinfo. This can be a problem on servers wit