Skip to main content

Questions tagged [mmap]

All about using memory mapped files. Questions on programming should be asked on Stack Overflow SE.

2 votes
2 answers
151 views

I'm making a custom ELF loader to learn how the dynamic loader works behind the scenes, and one of the program headers often found in them is PT_GNU_RELRO, which tells the loader to make that segment ...
Electro_593's user avatar
1 vote
0 answers
305 views

I am writing a real-time linux application where I need to prevent any page faults from occuring after the initial startup of my application. My initial thought was just to call mlockall(MCL_CURRENT | ...
Jay S.'s user avatar
  • 61
6 votes
1 answer
2k views

Based on my research on mmap(), I understand that mmap uses demand paging to copy in data to the kernel page cache only when the virtual memory address is touched, through page fault. If we are ...
prajasek's user avatar
3 votes
1 answer
125 views

I have been the dev/maintainer of an open source IRC bot since the late 90s. The goal was always to make it as versatile & useful as possible in a small memory footprint. During the 2000s I also ...
Alonda's user avatar
  • 131
0 votes
0 answers
311 views

I want to read the Intel iTCO watchdog registers on my Intel Lynx Point system. I found the watchdog here: [ 5598.341020] iTCO_wdt iTCO_wdt.1.auto: Found a Lynx Point TCO device (Version=2, TCOBASE=...
defoe's user avatar
  • 153
0 votes
0 answers
98 views

I'm performing data recovery after an accident with dd. In the longer term, I'll need to use some recovery tools to try and repair the file system In the meantime, there's an image on the system that ...
user587941's user avatar
5 votes
1 answer
1k views

Moved Post Notice I just moved this question (with slight modifications) from a StackOverflow question (which I have deleted, since cross-posting is strongly discouraged), which has not been answered ...
Lukas Barth's user avatar
1 vote
1 answer
309 views

I'm writing my own data store directly on top of a block device. To ensure durability I want to sync to disk. But here's the thing: I want to sync only part of it. I'm keeping a journal for crash ...
Jille Timmermans's user avatar

15 30 50 per page
1
2 3 4 5 6