Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2014 21:32:31 -0400 (EDT)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        Freebsd hackers list <freebsd-hackers@freebsd.org>
Cc:        Garrett Wollman <wollman@freebsd.org>
Subject:   kernel memory allocator: UMA or malloc?
Message-ID:  <829240556.20994461.1394587951698.JavaMail.root@uoguelph.ca>

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

I've been working on a patch provided by wollman@, where
he uses UMA instead of malloc() to allocate an iovec array
for use by the NFS server's read.

So, my question is:
When is it preferable to use UMA(9) vs malloc(9) if the
allocation is going to be a fixed size?

Thanks in advance for any info, rick



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?829240556.20994461.1394587951698.JavaMail.root>