All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@muc.de>
To: Matthew Wilcox <matthew@wil.cx>
Cc: linux-mm@kvack.org
Subject: Re: Shared mmaps
Date: Mon, 5 Mar 2001 11:52:19 +0100	[thread overview]
Message-ID: <20010305115219.A573@fred.local> (raw)
In-Reply-To: <20010304211053.F1865@parcelfarce.linux.theplanet.co.uk>; from matthew@wil.cx on Sun, Mar 04, 2001 at 10:10:53PM +0100

On Sun, Mar 04, 2001 at 10:10:53PM +0100, Matthew Wilcox wrote:
> Sparc & IA64 use a flag in the task_struct to indicate that they're trying
> to allocate an mmap which is shared.  That's really ugly, let's just pass
> the flags in to the get_mapped_area function instead.  I had to invent a
> new flag for this because mremap's flags are different to mmap's (bah!)
> 
> Comments?

With some extensions I would also find it useful for x86-64 for the 32bit
mmap emulation (currently it's using a current-> hack)
For that flags would need to be passed to TASK_UNMAPPED_BASE.


-Andi

--
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.eu.org/Linux-MM/

  parent reply	other threads:[~2001-03-05 10:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-04 21:10 Shared mmaps Matthew Wilcox
2001-03-05  0:59 ` Rik van Riel
2001-03-05 10:52 ` Andi Kleen [this message]
2001-03-05 17:50   ` Matthew Wilcox
2001-03-05 22:52     ` Andi Kleen
  -- strict thread matches above, loose matches on Subject: below --
2001-03-05  0:20 Matthew Wilcox

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=20010305115219.A573@fred.local \
    --to=ak@muc.de \
    --cc=linux-mm@kvack.org \
    --cc=matthew@wil.cx \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.