summaryrefslogtreecommitdiff
path: root/open_issues/glibc.mdwn
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2012-12-20 22:20:05 +0100
committerThomas Schwinge <thomas@codesourcery.com>2012-12-20 22:20:05 +0100
commitfc4d1650f3e35a1cff0111ae3808c61d44346f1f (patch)
tree6be97c865d896e3e49411ede9870410e0c4f6479 /open_issues/glibc.mdwn
parentc77f17cfb827c17de7f1d5318cbbbeea03286715 (diff)
glibc/mmap: Extend.
Diffstat (limited to 'open_issues/glibc.mdwn')
-rw-r--r--open_issues/glibc.mdwn20
1 files changed, 2 insertions, 18 deletions
diff --git a/open_issues/glibc.mdwn b/open_issues/glibc.mdwn
index 9212c402..a9c12e5c 100644
--- a/open_issues/glibc.mdwn
+++ b/open_issues/glibc.mdwn
@@ -189,7 +189,8 @@ Last reviewed up to the [[Git mirror's d3bd58cf0a027016544949ffd27300ac5fb01bb8
`RLIMIT_RTTIME`, `SEEK_DATA` (`unistd.h`), `SEEK_HOLE` (`unistd.h`)
`clock_adjtime`, `fallocate`, `fallocate64`, `name_to_handle_at`,
`open_by_handle_at`, `process_vm_readv`, `process_vm_writev`, `sendmmsg`,
- `setns`, `sync_file_range`
+ `setns`, `sync_file_range`, [[`mremap`|mremap]] and [[several
+ `MAP_*`|glibc/mmap]]
* `chflags`
@@ -269,8 +270,6 @@ Last reviewed up to the [[Git mirror's d3bd58cf0a027016544949ffd27300ac5fb01bb8
initialization
<tschwinge> OK, that at least matches my understanding.
- * [[`mremap`|mremap]]
-
* `syncfs`
We should be easily able to implement that one.
@@ -286,21 +285,6 @@ Last reviewed up to the [[Git mirror's d3bd58cf0a027016544949ffd27300ac5fb01bb8
Do we support `AT_FDCWD` et al.?
(80b4e5f3ef231702b24d44c33e8dceb70abb3a06.)
- * `MAP_POPULATE` (`mmap`, `sys/mman.h`) -- *Populate (prefault)
- pagetables.*
-
- Some Linux kernel version, `mm/mmap.c`:
-
- if (vm_flags & VM_LOCKED) {
- if (!mlock_vma_pages_range(vma, addr, addr + len))
- mm->locked_vm += (len >> PAGE_SHIFT);
- } else if ((flags & MAP_POPULATE) && !(flags & MAP_NONBLOCK))
- make_pages_present(addr, addr + len);
- return addr;
-
- Is only advisory, so can worked around with `#define MAP_POPULATE 0`,
- 8069478040336a7de3461be275432493cc7e4c91.
-
* `t/opendirat`: `opendirat` (`scandirat`, `scandirat64`)
Need changes equivalent to c55fbd1ea768f9fdef34a01377702c0d72cbc213 +