Re: Forbid deletion of memory mappings

From: Jiri Kosina
Date: Thu Aug 30 2007 - 17:35:10 EST


On Thu, 30 Aug 2007, Clemens Kolbitsch wrote:

> is there no way to tell the kernel, that a certain mapping must not be
> removed, no matter what (except of course an explicit call to sys_unmap,
> of course)?

I don't seem to get what is the issue here. Your mapping is not removed,
only the VMAs are merged together into one larger VMA if they have
neighbouring address ranges and compatible protection bits. See
vma_merge().

--
Jiri Kosina
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/