summaryrefslogtreecommitdiff
path: root/linux-core/drm_hashtab.h
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-21 17:02:44 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-21 17:02:44 +0200
commit11f9e404fb66927146de30227fa05c5485aa1726 (patch)
treedc3a4f3b3baf125c1ded30ddf54b1d13940c39c8 /linux-core/drm_hashtab.h
parent0316f93d51abc52b816e936e0ece304ac47799c3 (diff)
Avoid using vmalloc for small hash tables.
Diffstat (limited to 'linux-core/drm_hashtab.h')
-rw-r--r--linux-core/drm_hashtab.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/drm_hashtab.h b/linux-core/drm_hashtab.h
index 40afec05..613091c9 100644
--- a/linux-core/drm_hashtab.h
+++ b/linux-core/drm_hashtab.h
@@ -47,6 +47,7 @@ typedef struct drm_open_hash{
unsigned int order;
unsigned int fill;
struct hlist_head *table;
+ int use_vmalloc;
} drm_open_hash_t;