* [QUESTION] shift pages in mmap
@ 2004-08-11 8:44 Konstantin G. Khlebnikov
2004-08-11 17:39 ` Rik van Riel
0 siblings, 1 reply; 3+ messages in thread
From: Konstantin G. Khlebnikov @ 2004-08-11 8:44 UTC (permalink / raw)
To: linux-kernel
Hi,
how implement fast page alligned shift (cyclic rotate)
pages in anonymous mmap ?
--
Konstantin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [QUESTION] shift pages in mmap
2004-08-11 8:44 [QUESTION] shift pages in mmap Konstantin G. Khlebnikov
@ 2004-08-11 17:39 ` Rik van Riel
2004-08-12 7:11 ` Re[2]: " Konstantin G. Khlebnikov
0 siblings, 1 reply; 3+ messages in thread
From: Rik van Riel @ 2004-08-11 17:39 UTC (permalink / raw)
To: Konstantin G. Khlebnikov; +Cc: linux-kernel
On Wed, 11 Aug 2004, Konstantin G. Khlebnikov wrote:
> how implement fast page alligned shift (cyclic rotate)
> pages in anonymous mmap ?
Do you mean mremap(2) ?
--
"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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re[2]: [QUESTION] shift pages in mmap
2004-08-11 17:39 ` Rik van Riel
@ 2004-08-12 7:11 ` Konstantin G. Khlebnikov
0 siblings, 0 replies; 3+ messages in thread
From: Konstantin G. Khlebnikov @ 2004-08-12 7:11 UTC (permalink / raw)
To: linux-kernel
>> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-08-12 7:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-11 8:44 [QUESTION] shift pages in mmap Konstantin G. Khlebnikov
2004-08-11 17:39 ` Rik van Riel
2004-08-12 7:11 ` Re[2]: " Konstantin G. Khlebnikov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.