lkml.org 
[lkml]   [2004]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe[2]: [QUESTION] shift pages in mmap

>> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.033 / U:3.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site