LWN.net Logo

Getting the measure of ksize()

Getting the measure of ksize()

Posted Mar 11, 2009 13:23 UTC (Wed) by smowton (guest, #57076)
Parent article: Getting the measure of ksize()

So why not just a enlarge-without-copying call? Call it "krealloc_no_copy", which tries to enlarge a memory reservation if it can do it without copying, and returns null if that turned out to be impossible -- in that situation the network guys can fall back to allocating a separate metadata block.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds