From: Arun Sharma <arun.sharma@intel.com>
To: linux-ia64@vger.kernel.org
Subject: Re: Odd IA32 mmap calls - Is this fixed
Date: Wed, 12 Nov 2003 19:53:01 +0000 [thread overview]
Message-ID: <marc-linux-ia64-106866691024263@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-106862063402317@msgid-missing>
On 11/12/2003 11:45 AM, n0ano@n0ano.com wrote:
> Arun-
>
> I'm pretty sure your patch with cause things to break. You
> will wind up freeing memory that the IA32 process is still
> using, causing `bad` things to happen.
>
Yes, of course. May be the disclaimer wasn't prominent enough :)
> Actually, there is a solution but it's kind of icky. The
> idea is you have to maintain knowledge of which 4K area of
> the IA32 prcesses's IA64 page is truly in use. When all
> 4K areas of the IA64 page are freed you can free the IA64 page.
>
> This not as bad as it could be because you only have to keep
> track of the first & last IA64 pages that are used for each
> IA32 mmap request so the overhead isn't that outrageous. I
> submitted a patch to do this ages ago but I guess it got lost
> somehow.
Is this the patch you're talking about ?
http://www.gelato.unsw.edu.au/linux-ia64/0203/3099.html
-Arun
next prev parent reply other threads:[~2003-11-12 19:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-12 7:03 Odd IA32 mmap calls - Is this fixed Shiju A Mathew
2003-11-12 19:17 ` Arun Sharma
2003-11-12 19:45 ` n0ano
2003-11-12 19:53 ` Arun Sharma [this message]
2003-11-12 20:01 ` n0ano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-ia64-106866691024263@msgid-missing \
--to=arun.sharma@intel.com \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox