Also now kmalloc is a wrapper over slab allocator.prasanna wakhare (prasannawakhare@yahoo.com) wrote:
hi, Can't we do rellocation of memory as we do in user space by malloc,realloc family etc. Thanks in advance Prasanna
malloc() and realloc() are in userland ;) search : kmalloc on the web.
And it caches partialy created objects like vnodes, dentry
So if partialy created objects are recycled , realloc is never needed since cached objects never change size .
Have a good day.
*********************************************************************** ******************************************************************** SASKEN BUSINESS DISCLAIMER This message may contain confidential, proprietary or legally Privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, Disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email. ***********************************************************************