| PLEX86 | ||
|
mmap implementation for writingThe mmap(2) man page seems to say that the file fields showing that the file was modified will be updated after a write to the mmap'd area but before any subsequent msync(). How is this done? The only way I can see so that linux knows that a memory write to the mmap'd area has occurred is to turn off write permission on the page, thus causing a fault on write access. At which point linux realizes that the write was legitimate, updates the file's field flags, resets the permissions on the page, lets the write go through and then, somehow, takes the write permissions back off the page. Wacom tablet is this normal I bought a wacom intuos3 tablet hoping to use it with my linux system. i'm in the early stages of of installing it but I have come across some peculiar behaviour (this... Have I misunderstood the man page? Roy Please be so kind as not to tell me to read the kernel code. I don't know the code and the ramp-up effort would be pretty extensive for just simply wanting to know in outline how it's done (if it is). Thanks. ----------------------- mmap(2) --------------------------- The stctime and stmtime field for a file mapped with PROTWRITE and MAPSHARED will be updated after a write to the mapped region, and before a subsequent msync() with the MSSYNC or MSASYNC flag, if one occurs. ------------------------------------------------------------- Easily switching languages in Linux On Thu, 7 Apr 2005 15:12:50 -0400, G Dahler staggered into the Black Sun and said: If the environment variable LANG is set to C (or enUS, or enGB, or...
|
||||
Easily switching languages in Linux Linux groups from Newsgroups The #1 Usenet Provider on the Internet
|
||||