[Bug 200138] [PATCH] Fixed sthread-specific array allocation conflict incurred in libthr by some foreign malloc libraries
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed May 13 02:15:08 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200138
--- Comment #16 from yuri at rawbw.com ---
The mmap patch works, but with his patch every process will have the tiny
separate extra mmapped block per thread. Currently every new thread creates one
extra mmapped block, and this will be the second extra mmapped block. This
doesn't look nice.
Currently every new thread gets its own mmaped block of the size 0x20000 =
131kB. So maybe 2.3% addition isn't that bad, I don't know. Especially that
this memory isn't the real memory allocation unless actually used.
Is it possible to merge them? Adding this 3kB "specific" array block to that
0x2000-sized per-thread block?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-threads
mailing list