Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Oct 2010 02:27:08 +0100
From:      spellberg_robert <emailrob@emailrob.com>
To:        fbsd_questions <freebsd-questions@freebsd.org>
Subject:   [fbsd_questions] 7.3 , 8.1 , je_malloc , mmap , brk , gcc
Message-ID:  <4CBBA26C.9030701@emailrob.com>

next in thread | raw e-mail | index | archive | help
greetings, all ---

this is a follow_up to my recent inquiry.



a while back, i took apart mr. kamp's malloc(3), so, i have a fair idea of its operation.
i have not, as yet, done the same for its replacement.
therefore, treat these questions, regarding je_malloc(3), as coming from a user.

   q:    given that brk(2) and sbrk(2) can fail due to an interaction with the swapper,
           does mmap(2) suffer from the same issue,
           given that it has to "look up" the things that brk(2) already knows about ?

   q:    if mmap(2) does not have this problem,
           then does that mean that if i use only the "m" option to je_malloc(3),
           it will fail only when it --really_is-- out_of_memory,
           including insufficient data_size resource_limit
           [ increasing resource_limits are a separate topic ] ?

   q:    if mmap(2) --does-- still have this interaction,
           then should i continue to check resource_limits to be sure ?



separately,

   q:    is gcc(1) still at 4.2.1 ?

   q:    if so, what plans are there for which next_version and when ?



tia.

rob




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CBBA26C.9030701>