X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=rculfhash-internal.h;fp=rculfhash-internal.h;h=cc146640a93336511e89412608d2ff48bff0946e;hp=f7c659044acceb36829c424ca594d3f3aed1f02d;hb=b0b5525153fce8abae07b9573da1d5169e02eb2b;hpb=308d1cb3650b63d373e60eef0582d6e238b0d2d0 diff --git a/rculfhash-internal.h b/rculfhash-internal.h index f7c6590..cc14664 100644 --- a/rculfhash-internal.h +++ b/rculfhash-internal.h @@ -108,6 +108,12 @@ struct cds_lfht { * memory addressing. */ struct cds_lfht_node *tbl_chunk[0]; + + /* + * Memory mapping with room for all possible buckets. + * Their memory is allocated when needed. + */ + struct cds_lfht_node *tbl_mmap; }; };