Re[2]: [QUESTION] shift pages in mmap

From: Konstantin G. Khlebnikov
Date: Thu Aug 12 2004 - 02:14:57 EST



>> how implement fast page alligned shift (cyclic rotate)
>> pages in anonymous mmap ?

RvR> Do you mean mremap(2) ?

not exactly, i found remap_file_pages(2) in 2.6

but i already wrote this (mmaped pipe) without any remaping
by only mmaping same file twice.

+------------+------------+
| MAP | MAP |
+------------+------------+
^DATADATA^
| |
read -> write ->

like queue with continuously block for read/write.

--
Konstantin

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