diff options
author | David Howells <dhowells@redhat.com> | 2006-09-27 01:50:21 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-27 08:26:14 -0700 |
commit | 6fa5f80bc34da1a49b42117602b44441402cac2f (patch) | |
tree | 7cdc7bf5c0df29b218c9c40d6cddd5124587b7a5 /lib/string.c | |
parent | 3034097a5017dd9281b1f795e80af9859627850e (diff) |
[PATCH] NOMMU: Make mremap() partially work for NOMMU kernels
Make mremap() partially work for NOMMU kernels. It may resize a VMA provided
that it doesn't exceed the size of the slab object in which the storage is
allocated that the VMA refers to. Shareable VMAs may not be resized.
Moving VMAs (as permitted by MREMAP_MAYMOVE) is not currently supported.
This patch also makes use of the fact that the VMA list is now ordered to cut
it short when possible.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions