mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
o Remove anomalous punctuation.
This commit is contained in:
parent
18ce960755
commit
145eef414b
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* The pool allocator is useful when you are going
|
* The pool allocator is useful when you are going
|
||||||
* to allocate lot's of memory, use the memory for
|
* to allocate lots of memory, use the memory for
|
||||||
* a bit, and then free the memory in one go. A
|
* a bit, and then free the memory in one go. A
|
||||||
* surprising amount of code has this usage
|
* surprising amount of code has this usage
|
||||||
* profile.
|
* profile.
|
||||||
@ -26,14 +26,14 @@
|
|||||||
* moving it into the allocated half. This
|
* moving it into the allocated half. This
|
||||||
* operation is very efficient.
|
* operation is very efficient.
|
||||||
*
|
*
|
||||||
* pool_free free's the allocated object *and* all
|
* pool_free frees the allocated object *and* all
|
||||||
* objects allocated after it. It is important to
|
* objects allocated after it. It is important to
|
||||||
* note this semantic difference from malloc/free.
|
* note this semantic difference from malloc/free.
|
||||||
* This is also extremely efficient, since a
|
* This is also extremely efficient, since a
|
||||||
* single pool_free can dispose of a large complex
|
* single pool_free can dispose of a large complex
|
||||||
* object.
|
* object.
|
||||||
*
|
*
|
||||||
* pool_destroy free's all allocated memory.
|
* pool_destroy frees all allocated memory.
|
||||||
*
|
*
|
||||||
* eg, If you are building a binary tree in your
|
* eg, If you are building a binary tree in your
|
||||||
* program, and know that you are only ever going
|
* program, and know that you are only ever going
|
||||||
|
Loading…
Reference in New Issue
Block a user