Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
senozhatsky
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
senozhatsky
8y ago
> Why does it still exist? Well, we are using Sourceforge... For one particular reason - free mailing list [for our open source project]. The code is on GitHub, but we want to do things the "old way" - send a patch to the maili
62.
▲
by
senozhatsky
8y ago
My guess would be: banning of namespaces and templates greatly simplifies name resolution and so on. For instance, look at https://en.cppreference.com/w/cpp/language/lookup and then remove namepsaces and temp
63.
▲
by
senozhatsky
8y ago
The actual allocation happens in memset() - because this is where the application page faults and jumps to the kernel. The kernel populates application's address space and returns back to user land. This surely can add a lot of noise t
64.
▲
by
senozhatsky
8y ago
Seems that VirtualAlloc() [1] is a little bit closer to madvise(), but still is pretty far. madvise() is quite powerful. For instance, take a look at MADV_FREE. [1] https://msdn.microsoft.com/en-us/library/windows&
65.
▲
by
senozhatsky
8y ago
A followup: zswap THP support is not implemented yet. Huang Ying agreed that it would be interesting to have it, but it's not on his TODO list as of now. -ss
66.
▲
by
senozhatsky
8y ago
He also mentions: > Richard Brodie's published books include: > Virus of the Mind: The New Science of the Meme http://www.memecentral.com/votm.htm I regret I clicked... -ss
67.
▲
by
senozhatsky
8y ago
> but what kind of Real World workload or environment would one need to be in to see this in action? Hmm, Facebook perhaps. Emedded devices tend to use zswap/zram which [yet] don't support THP, as far as I know. For instance, t
68.
▲
by
senozhatsky
8y ago
Right. I'm one of those always-grumpy guys. I totally dislike (um... hate actually) the idea of open workspace.
69.
▲
by
senozhatsky
8y ago
> I am concerned about providing a librseq that handles rseq registration for early adopters though Sounds very reasonable. So at this point, as far as I understand it, FB and Google carry in-house rseq kernel and user space patches. Rig
70.
▲
by
senozhatsky
8y ago
Hi Mathieu, Yep, was going to say, that the patch set has evolved rather notably. Good job. Did you manage to push the required changes to glibc or do you maintain your own user space rseq lib? -ss
71.
▲
by
senozhatsky
8y ago
> That answer with the long unnecessary dump completely misses what I asked for. Yeah, I guess you are right. Sorry for the noise. /* p.s. I didn't vote down your comment */
72.
▲
by
senozhatsky
8y ago
The kernel does use PAUSE // f390 objdump -d vmlinux.o | grep -c "f3 90" 245 e.g. 00000000000683a0 <__task_rq_lock>: 683a0: e8 00 00 00 00 callq 683a5 <__task_rq_lock+0x5> 683a5:
73.
▲
by
senozhatsky
9y ago
"This page was last edited on 23 January 2017, at 15:28."