login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
August
»
30
Re: Forbid deletion of memory mappings
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Jiri Kosina <jikos@...>
To: Clemens Kolbitsch <clemens.kol@...>
Cc: <linux-kernel@...>
Subject:
Re: Forbid deletion of memory mappings
Date: Thursday, August 30, 2007 - 5:55 pm
On Thu, 30 Aug 2007, Clemens Kolbitsch wrote:
quoted text
> the thing is that they are not. the kernel chooses to REPLACE my > mapping. > consider the user-space code: > mmap(0xaaaa0000, 0x3000, MAP_FIXED, ...); > mmap(0xaaaa1000, 0x4000, MAP_FIXED, ...); > here, the second call to mmap will shorten the first mapping to 0x1000 bytes > and create one big vma with size 0x5000 bytes.
Which is exactly in compliance with what POSIX says about MAP_FIXED mmaps - see
http://opengroup.org/onlinepubs/007908799/xsh/mmap.html
-- Jiri Kosina -
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:
Forbid deletion of memory mappings
, Clemens Kolbitsch
, (Thu Aug 30, 12:44 pm)
Re: Forbid deletion of memory mappings
, Jiri Kosina
, (Thu Aug 30, 1:07 pm)
Re: Forbid deletion of memory mappings
, Clemens Kolbitsch
, (Thu Aug 30, 5:32 pm)
Re: Forbid deletion of memory mappings
, Jiri Kosina
, (Thu Aug 30, 5:34 pm)
Re: Forbid deletion of memory mappings
, Clemens Kolbitsch
, (Thu Aug 30, 5:41 pm)
Re: Forbid deletion of memory mappings
, Jiri Kosina
, (Thu Aug 30, 5:55 pm)
Re: Forbid deletion of memory mappings
,
, (Thu Aug 30, 5:50 pm)
Re: Forbid deletion of memory mappings
, Clemens Kolbitsch
, (Thu Aug 30, 6:05 pm)
Re: Forbid deletion of memory mappings
, linux-os (Dick Johnson)
, (Tue Sep 4, 10:53 am)
Re: Forbid deletion of memory mappings
, Helge Hafting
, (Tue Sep 4, 6:17 am)
Re: Forbid deletion of memory mappings
, Clemens Kolbitsch
, (Tue Sep 4, 6:29 am)
Re: Forbid deletion of memory mappings
, Clemens Kolbitsch
, (Thu Aug 30, 1:09 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Alan Cox
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Jan Engelhardt
intel iommu (Re: -mm merge plans for 2.6.23)
Adrian Bunk
Re: LSM conversion to static interface
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
git
:
openbsd-misc
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Andrew Morton
Re: [BUG] New Kernel Bugs
Winkler, Tomas
RE: iwlwifi: fix build bug in "iwlwifi: fix LED stall"
Colocation donated by:
Who's online
There are currently
5 users
and
943 guests
online.
Online users
strcmp
olecom
raffaellotdec
seogoggleman
animauxchien
Syndicate