mailing list of musl libc
 help / color / mirror / code / Atom feed
* [musl] When to reclaim pages in __bin_chunk?
@ 2020-07-31  0:17 Zhao Zhengyu
  2020-07-31 17:22 ` Markus Wichmann
  0 siblings, 1 reply; 4+ messages in thread
From: Zhao Zhengyu @ 2020-07-31  0:17 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 252 bytes --]

Hello,

When chunks are merged, we use "(curr_size + pre_size) ^ pre_size >
pre_size" to decide whether to reclaim. I think this may be something
related to performance, but I can’t prove it. I want to know the
reason.

Thank you!

Zhengyu

[-- Attachment #2: Type: text/html, Size: 698 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-08-02 16:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-31  0:17 [musl] When to reclaim pages in __bin_chunk? Zhao Zhengyu
2020-07-31 17:22 ` Markus Wichmann
2020-07-31 19:23   ` Rich Felker
2020-08-02 16:22     ` Zhao Zhengyu

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).