mmap
Using Pygeoip on Appengine - no module named mmap
I\'m trying to do some IP-lookup on Python Google Appengine like this: import pygeoip gi = pygeoip.GeoIP(\'GeoIP.dat\')[详细]
2023-02-02 09:42 分类:问答mmapping in Python C modules - any pitfalls to be aware of?
I\'m writing a Python module in C and I intend to mmap largeish blocks of memory (perhaps 500 MB). Is there anything about working i开发者_运维技巧n the same process space as the Python interpreter th[详细]
2023-01-31 20:07 分类:问答appending to a memory-mapped file
I\'m constantly appending to a file of stock quotes (ints, longs, doubles, etc.). I have this file mapped into memory with mmap.[详细]
2023-01-31 10:13 分类:问答How to know whether a copy-on-write page is an actual copy?
When I create a copy-on-write mapping (a MAP_PRIVATE) using mmap, then some pages of this mapping will be copied as soon as I write to specific addresses. At a certain point in my program I would like[详细]
2023-01-31 00:59 分类:问答Copying part of the stack and using mmap to map it to the current process
I want my program to do the following: Open a new file. Copy a (page-aligned) portion of the stack that includes the current frame pointer address to the file.[详细]
2023-01-30 18:37 分类:问答Linux mapping virtual memory range to existing virtual memory range?
In Linux, is there a way (in user space) to map a virtual address range to the physical pages that back an existing virtual address range?The mmap() function only allows one to map files 开发者_如何学[详细]
2023-01-30 08:51 分类:问答Excessive synchronizing of memory mapped file in Apache module
I am currently working on an Apache module that uses a large mmap file to share data between processes. This is created on start-up and removed when the server shuts down (May choose to keep it at a l[详细]
2023-01-30 02:09 分类:问答Do mmap/mprotect-readonly zero pages count towards committed memory?
I want to keep virtual address space reserved in my process for memory that was previously used but is not presently needed. I\'m interested in the situation where the host kernel is Linux and it\'s c[详细]
2023-01-27 17:08 分类:问答Reading integers from a memory mapped formatted file
I have memory mapped a large formatted (text) file containing one integer per line like so: 123 345 34324[详细]
2023-01-25 04:23 分类:问答Is there a Linux API for gathering information about mmap'ed regions?
I know I can read the file /proc/$PID/maps, but I was wondering if there is an A开发者_运维百科PI to get process memory mappings.There is no API in kernel to get this information in 1 syscall. The onl[详细]
2023-01-25 00:39 分类:问答