X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fkernel%2Fold_slides%2F.git;a=blobdiff_plain;f=03.char%2F03.char.xml;h=1d278a5fc101a2480dfb9c588140e3cce5458b2b;hp=43a871a2402642abe7d7c1bd86f1bc6f1e37d49d;hb=ee6d8a3e60f8cbe8d9163e6fd41edb8cba07083c;hpb=a7e0a088a8d514e8114bba23db04445f510d96e5 diff --git a/03.char/03.char.xml b/03.char/03.char.xml index 43a871a..1d278a5 100644 --- a/03.char/03.char.xml +++ b/03.char/03.char.xml @@ -86,4 +86,21 @@ when driver writes less bytes than requested. + +Memory Allocation + +kmalloc and kfree are defined in +include/linux/slab.h and are equivalent to their standard C +functions malloc and free. + + + + +Concurrency + +Semaphores may be used for protection with the up and +down operations. + + +