Re: [m5-dev] [PATCH 2/7] move mmap start down

2009-09-29 Thread nathan binkert
Does anyone have an opinion on which is better? I'd like to do use the first approach, but I'm not sure it's worth the complexity. Seems like growing down shouldn't add much complexity. It may even solve other sorts of problems. Nate ___ m5-dev

Re: [m5-dev] [PATCH 2/7] move mmap start down

2009-09-29 Thread Gabriel Michael Black
While thinking about it as I waited for a response I decided the same thing. I'll implement that when I get a chance. Gabe Quoting nathan binkert n...@binkert.org: Does anyone have an opinion on which is better? I'd like to do use the first approach, but I'm not sure it's worth the

Re: [m5-dev] [PATCH 2/7] move mmap start down

2009-09-27 Thread Gabe Black
Vince Weaver wrote: some more info on mmap locations. I ran some tests on a lot of machines, and only then thought to look things up. It looks like the grow-top-down was introduced on Linux 2.6.9, at least for x86: http://lwn.net/Articles/91829/ In any case, what follows are results from

Re: [m5-dev] [PATCH 2/7] move mmap start down

2009-09-23 Thread Gabe Black
This value was actually based off how Linux set up an actual process on a real machine. We have a tool that runs processes on a real machine and compares their execution with M5. I calibrated those constants to make the execution match exactly all the way through. That said, there might be

Re: [m5-dev] [PATCH 2/7] move mmap start down

2009-09-23 Thread Vince Weaver
On Tue, 22 Sep 2009, Gabe Black wrote: This value was actually based off how Linux set up an actual process on a real machine. We have a tool that runs processes on a real machine and compares their execution with M5. I calibrated those constants to make the execution match exactly all the

Re: [m5-dev] [PATCH 2/7] move mmap start down

2009-09-23 Thread Gabriel Michael Black
Quoting Vince Weaver vi...@csl.cornell.edu: On Tue, 22 Sep 2009, Gabe Black wrote: This value was actually based off how Linux set up an actual process on a real machine. We have a tool that runs processes on a real machine and compares their execution with M5. I calibrated those constants to