Memory, flags and kmemcache.
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Fri, 21 May 2010 12:46:22 +0000 (08:46 -0400)
committerThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Fri, 21 May 2010 12:46:22 +0000 (08:46 -0400)
09memory/memory

index 3d79bcb..9a04ca2 100644 (file)
@@ -1,14 +1,47 @@
-# kmalloc
+%Memory
+%Thadeu Cascardo
 
-* flags
+# Memory
 
-# slab
+* Real (Physical) Address
+* Virtual Address
+* Bus Address
+* Linear Address
 
-* lookaside cache
+# Memory Zones
+
+* Normal Zone
+* DMA Zone
+* High Memory Zone
+
+# Flags
+
+* GFP\\_KERNEL
+* GFP\\_ATOMIC
+* GFP\\_USER
+* GFP\\_HIGHUSER
+* GFP\\_NOFS
+* GFP\\_NOIO
+* \\_\\_GFP\\_ZERO
+* \\_\\_GFP\\_DMA
+* \\_\\_GFP\\_HIGHMEM
+* \\_\\_GFP\\_NOWARN
+* \\_\\_GFP\\_REPEAT
+* \\_\\_GFP\\_NOFAIL
+* \\_\\_GFP\\_NORETRY
+
+# Slab (lookaside cache)
+
+* include linux/slab.h
+* struct kmem\\_cache
+* kmem\\_cache\\_create(name, size, offset, flags, constructor);
+* kmem\\_cache\\_destroy(kmc)
+* kmem\\_cache\\_alloc(kmc, gfp)
+* kmem\\_cache\\_free(kmc, ptr)
 
 # vmalloc
 
-# gfp
+* Virtual memory with many pages allocated not linearly in the physical space
 
-* get\\_free\\_page
+# GFP