Re: memmove syscall

From: Rik van Riel
Date: Thu Feb 05 2004 - 22:55:32 EST


On Wed, 4 Feb 2004, Nikolay Igotti wrote:

> Maybe this is kinda crazy (or known) idea, but why don't we create
> syscall allowing large copies by just manipulating MMU page table, i.e.

> return mmu_remap_pages(src, dst, size / PAGE_SIZE);

Did you look at mremap(2) ?

Linux has had mremap for a very very long time...

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

-
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/