From e0fe4b4ea56c979007c02a9a48cb09879a268018 Mon Sep 17 00:00:00 2001 From: Sepherosa Ziehau Date: Wed, 10 Oct 2012 20:44:54 +0800 Subject: [PATCH] kmalloc: Fix comment --- sys/kern/kern_slaballoc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/kern_slaballoc.c b/sys/kern/kern_slaballoc.c index d23cf8cb9c..3fc43d710b 100644 --- a/sys/kern/kern_slaballoc.c +++ b/sys/kern/kern_slaballoc.c @@ -826,7 +826,7 @@ kmalloc(unsigned long size, struct malloc_type *type, int flags) /* * Guarentee power-of-2 alignment for power-of-2-sized chunks. - * Otherwise just 8-byte align the data. + * Otherwise properly align the data according to the chunk size. */ if (powerof2(size)) off = (off + size - 1) & ~(size - 1); -- 2.41.0