Blackfin: document the lsl variants of the L1 allocator
authorMike Frysinger <vapier@gentoo.org>
Tue, 2 Jun 2009 08:46:35 +0000 (08:46 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 12 Jun 2009 10:12:00 +0000 (06:12 -0400)
Make sure the meaning of "lsl" is covered somewhere and it is clear why we
somewhat duplicate the sram alloc/free functions.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mm/sram-alloc.c

index fa54a4e..0bc3c4e 100644 (file)
@@ -743,6 +743,10 @@ found:
 }
 EXPORT_SYMBOL(sram_free_with_lsl);
 
+/* Allocate memory and keep in L1 SRAM List (lsl) so that the resources are
+ * tracked.  These are designed for userspace so that when a process exits,
+ * we can safely reap their resources.
+ */
 void *sram_alloc_with_lsl(size_t size, unsigned long flags)
 {
        void *addr = NULL;