aboutsummaryrefslogtreecommitdiffstats
path: root/mm/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/util.c')
-rw-r--r--mm/util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mm/util.c b/mm/util.c
index 55bef160b9f1..e79572b3684c 100644
--- a/mm/util.c
+++ b/mm/util.c
@@ -166,6 +166,10 @@ EXPORT_SYMBOL(krealloc);
166 * 166 *
167 * The memory of the object @p points to is zeroed before freed. 167 * The memory of the object @p points to is zeroed before freed.
168 * If @p is %NULL, kzfree() does nothing. 168 * If @p is %NULL, kzfree() does nothing.
169 *
170 * Note: this function zeroes the whole allocated buffer which can be a good
171 * deal bigger than the requested buffer size passed to kmalloc(). So be
172 * careful when using this function in performance sensitive code.
169 */ 173 */
170void kzfree(const void *p) 174void kzfree(const void *p)
171{ 175{