linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Wilcox <matthew@wil.cx>
To: Andi Kleen <ak@muc.de>
Cc: Matthew Wilcox <matthew@wil.cx>, linux-mm@kvack.org
Subject: Re: Shared mmaps
Date: Mon, 5 Mar 2001 17:50:01 +0000	[thread overview]
Message-ID: <20010305175001.P1865@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <20010305115219.A573@fred.local>; from ak@muc.de on Mon, Mar 05, 2001 at 11:52:19AM +0100

On Mon, Mar 05, 2001 at 11:52:19AM +0100, Andi Kleen wrote:
> 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.

Don't you simply check current->personality to determine whether or not
this is a 32-bit task?

get_unmapped_area is already (optionally) an arch-specific function, so
you can make all the changes you need to that function.

-- 
Revolutions do not require corporate support.
--
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/

  reply	other threads:[~2001-03-05 17:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-04 21:10 Matthew Wilcox
2001-03-05  0:59 ` Rik van Riel
2001-03-05 10:52 ` Andi Kleen
2001-03-05 17:50   ` Matthew Wilcox [this message]
2001-03-05 22:52     ` Andi Kleen
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=20010305175001.P1865@parcelfarce.linux.theplanet.co.uk \
    --to=matthew@wil.cx \
    --cc=ak@muc.de \
    --cc=linux-mm@kvack.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