git: kernel -- POSIX Message Queues: Remove objcache for MQ messages.

Venkatesh Srinivas vsrinivas at crater.dragonflybsd.org
Thu Mar 3 22:58:36 PST 2011


commit 88be9cd14ecda07101964c1158660f5b13addd28
Author: Venkatesh Srinivas <me at endeavour.zapto.org>
Date:   Thu Mar 3 22:55:11 2011 -0800

    kernel -- POSIX Message Queues: Remove objcache for MQ messages.
    
    The MQ code was using objcache for messages upto the default max size;
    objcache was not really useful over kmalloc here, however. The messages did
    not have any constructed object state to store and using kmalloc leads to using
    appropriately sized message buffers each time.

Summary of changes:
 sys/kern/sys_mqueue.c |   29 ++---------------------------
 1 files changed, 2 insertions(+), 27 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/88be9cd14ecda07101964c1158660f5b13addd28


-- 
DragonFly BSD source repository





More information about the Commits mailing list