login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
2
Re: [discuss] [PATCH] Inconsistent mmap()/mremap() flags
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Andi Kleen <ak@...>
To: <discuss@...>
Cc: Hugh Dickins <hugh@...>, Thayne Harbaugh <thayne@...>, <linux-mm@...>, <linux-kernel@...>
Subject:
Re: [discuss] [PATCH] Inconsistent mmap()/mremap() flags
Date: Tuesday, October 2, 2007 - 9:45 am
> First call mmap with a low hint address, the new size you'll be wanting
quoted text
> from the mremap, PROT_NONE, MAP_ANONYMOUS, -1, 0. Then call mremap with > old address, old size, new size, MREMAP_MAYMOVE|MREMAP_FIXED, and new > address as returned by the preparatory mmap.
That's racy unfortunately in a multithreaded process. They would need to loop. -Andi -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] Inconsistent mmap()/mremap() flags
, Thayne Harbaugh
, (Fri Sep 28, 1:46 am)
Re: [PATCH] Inconsistent mmap()/mremap() flags
, Andi Kleen
, (Mon Oct 1, 7:13 am)
Re: [PATCH] Inconsistent mmap()/mremap() flags
, Thayne Harbaugh
, (Mon Oct 1, 10:57 pm)
Re: [PATCH] Inconsistent mmap()/mremap() flags
, Andi Kleen
, (Tue Oct 2, 1:15 am)
Re: [PATCH] Inconsistent mmap()/mremap() flags
, Thayne Harbaugh
, (Tue Oct 2, 3:06 am)
Re: [PATCH] Inconsistent mmap()/mremap() flags
, Hugh Dickins
, (Tue Oct 2, 8:19 am)
Re: [discuss] [PATCH] Inconsistent mmap()/mremap() flags
, Andi Kleen
, (Tue Oct 2, 9:45 am)
Re: [discuss] [PATCH] Inconsistent mmap()/mremap() flags
, Hugh Dickins
, (Tue Oct 2, 10:16 am)
Re: [discuss] [PATCH] Inconsistent mmap()/mremap() flags
, Thayne Harbaugh
, (Tue Oct 2, 11:21 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Andy Whitcroft
clam
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
David Miller
Re: Slow DOWN, please!!!
git
:
linux-netdev
:
Arjan van de Ven
Re: [GIT]: Networking
Lennert Buytenhek
[PATCH 08/39] mv643xx_eth: nuke port status register bit defines
Jarek Poplawski
Re: HTB accuracy for high speed
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
667 guests
online.
Online users
psicologoscia
vaxerri
Syndicate