Twitter | Pretraživanje | |
Dmitry Vyukov
Mind blown: C heap compaction based on practical ideas. No pointer updates, instrumented writes, etc. Merge data from 2 pages into 1, map it on 2 virt addresses, temp mprotect source page to deal with concurrent writes. Free/reuse old page. Profit.
Reply Retweet Označi sa "sviđa mi se" More
Manish 17. velj
Odgovor korisniku/ci @dvyukov @davecheney
I've always wanted to see allocator stuff that used this. See also: std::vector impl that can grow without ever needing to copy more than a page of data
Reply Retweet Označi sa "sviđa mi se"
Bruce Mitchener 17. velj
Odgovor korisniku/ci @ManishEarth @dvyukov @davecheney
Been looking at playing with VMOs and VMARs in the Zircon kernel for Fuchsia to see what is possible there.
Reply Retweet Označi sa "sviđa mi se"
Avi Kivity 17. velj
Odgovor korisniku/ci @dvyukov
mprotect()/munmap() calls stalling the CPU while broadcasting TLB flushes over the entire system. This is very expensive for many-core servers.
Reply Retweet Označi sa "sviđa mi se"
Xerxes Rånby 18. velj
Odgovor korisniku/ci @dvyukov
I love when academic papers is backed up with sourcecode and examples!
Reply Retweet Označi sa "sviđa mi se"
c[ad]+r 18. velj
Odgovor korisniku/ci @dvyukov
You'll burn at least sizeof(struct vm_area_struct) on Linux when you remap the page, so there's other memory/fragmentation to consider.
Reply Retweet Označi sa "sviđa mi se"
Bobby Powers 23. velj
Odgovor korisniku/ci @ph_hofer @dvyukov
In our evaluation we use cgroups to measure amount of kernel memory allocated on behalf of the process - even with this still a win!
Reply Retweet Označi sa "sviđa mi se"
Sandro Manke (闪山) 22. velj
Odgovor korisniku/ci @dvyukov @copyconstruct
Yeah that paper is rather nice :)
Reply Retweet Označi sa "sviđa mi se"
;pHil /n_n 17. velj
Odgovor korisniku/ci @dvyukov @bkaradzic
can't quite put my finger on why my gut thinks this is a bad solution to a well understood problem something something page tables something
Reply Retweet Označi sa "sviđa mi se"
Carlo Alberto Ferraris 17. velj
Odgovor korisniku/ci @dvyukov @davecheney
Agreed that's really smart. I'm just worried about the security implications. Maybe memory tagging will help?
Reply Retweet Označi sa "sviđa mi se"