summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_types.h
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2014-03-14 18:41:52 -0700
committerJay Sorg <jay.sorg@gmail.com>2014-03-14 18:41:52 -0700
commitf66c5911a2ae57368e571643750c0b79aec5498f (patch)
tree2ed182a27a486b861e36a459037e1cc7eb18a2f2 /xrdp/xrdp_types.h
parent261d35eaac7bb429ad21a7ee8bbe5623859730dd (diff)
downloadxrdp-proprietary-f66c5911a2ae57368e571643750c0b79aec5498f.tar.gz
xrdp-proprietary-f66c5911a2ae57368e571643750c0b79aec5498f.zip
xrdp: speed up bitmap cache lru using linked list
Diffstat (limited to 'xrdp/xrdp_types.h')
-rw-r--r--xrdp/xrdp_types.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/xrdp/xrdp_types.h b/xrdp/xrdp_types.h
index c3cf71b7..082c3e58 100644
--- a/xrdp/xrdp_types.h
+++ b/xrdp/xrdp_types.h
@@ -185,8 +185,6 @@ struct xrdp_lru_item
{
int next;
int prev;
- int cacheid;
- int pad0;
};
struct xrdp_os_bitmap_item
@@ -240,6 +238,7 @@ struct xrdp_cache
[XRDP_MAX_BITMAP_CACHE_IDX];
int lru_head[XRDP_MAX_BITMAP_CACHE_ID];
int lru_tail[XRDP_MAX_BITMAP_CACHE_ID];
+ int lru_reset[XRDP_MAX_BITMAP_CACHE_ID];
/* crc optimize */
struct list *crc16[XRDP_MAX_BITMAP_CACHE_ID][64 * 1024];