Re: philosophical question...

From: Brooks Davis (brooks@one-eyed-alien.net)
Date: 12/03/01


Date: Mon, 3 Dec 2001 07:07:16 -0800
From: Brooks Davis <brooks@one-eyed-alien.net>
To: Oleg Cherkasov <Oleg.Cherkasov@mail.com>


On Mon, Dec 03, 2001 at 02:57:55PM +0100, Oleg Cherkasov wrote:
>
> Yes, you are right, it is better to keep it out of the kernel. But except
> having /etc/malloc.conf, is it better to have a shell variable MEMORY_RANDOM
> or MALLOC_CONF? In this case just 'weak' services can be run with that
> option on. We still do not know how will it affect performance ... because
> it will be additional cycles during memory allocation for every single
> *alloc() call. Some software could be very aggressive using malloc(), who
> knows.

The MALLOC_OPTIONS variable would allow this. Please RFTM before
posting.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Relevant Pages

  • SUMMARY: Boot 64-bit kernel on HP DL380?
    ... Solaris relies on EMT64 capability, so, it's impossible to boot a 64-Bit ... posting below). ... Or the latest kernel patches/updates? ...
    (SunManagers)
  • Re: automatic vs allocated attempts
    ... I can malloc away until the machine is to all intents and purposes dead ... On Linux, per default, mallocallocates address space only (if it ... If the kernel cannot provide physical RAM or swap space as backing store ...
    (comp.lang.c)
  • Re: kmem leak in tmpmfs?
    ... I think) kernel should not allow disk creation in first place, ... This limits the size to the malloc bucket ... Use a swap backed disk and the problem will disappear. ...
    (freebsd-stable)
  • Re: [PATCH] nommu arch dont zero the anonymous mapping by adding UNINITIALIZE flag
    ... > malloc a big area, memsetthe area to zero makes the performance very bad. ... My theory is that NOMMU binaries should run just as well under an MMU-mode ... kernel as under a NOMMU kernel. ... memset(base + ret, 0, len - ret); ...
    (Linux-Kernel)
  • Re: FC3 core over RH9, now no BIND :(
    ... >>Reports and experience here suggest FC is not the best choice for such ... > posting are posting because they had an issue, ... If the advice to update the kernel is correct, ... I pretty sure way of hanging my laptop is to shut the lid, ...
    (Fedora)