https://bugs.kde.org/show_bug.cgi?id=450458

--- Comment #8 from Tom Hughes <t...@compton.nu> ---
Well in principle we should probably treat them as non-file backed but it's
going to be tricky to identify them. This is what a mapping from such a file
looks like in valgrind's address map:

--3993090:1: aspacem  10: file 0004033000-0004033fff    4096 rwx-- d=0x001
i=445531  o=0       (8,345)

So the device is 00:01 which is same as any other shared memory backed file,
including files on tmpfs filesystems.

I guess we could look at the filename but we'd probably want to do that when
updating the map and store a flag because the point where actually want to
check whether something is file backed is a hot path that needs to avoid
unnecessary slowdowns.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to