From: Ben Pfaff Date: Mon, 27 Sep 2004 16:04:34 +0000 (+0000) Subject: Comments. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2709a9d54ef1cdfb364ca15d0b92d041c7238a8b;p=pintos-anon Comments. --- diff --git a/src/lib/kernel/hash.h b/src/lib/kernel/hash.h index b7eadd3..0dd0c3d 100644 --- a/src/lib/kernel/hash.h +++ b/src/lib/kernel/hash.h @@ -12,11 +12,12 @@ structure that can potentially be in a hash must embed a hash_elem member. All of the hash functions operate on these `hash_elem's. The hash_entry macro allows conversion from a - hash_elem back to a structure object that contains it. + hash_elem back to a structure object that contains it. This + is the same technique used in the linked list implementation. + Refer to lib/kernel/list.h for a detailed explanation. - - -*/ + The FAQ for the VM project contains a detailed example of how + to use the hash table. */ #include #include