Revision as of 02:09, 24 May 2016 by Admin (talk | contribs) (Created page with "{{DISPLAYTITLE:define LFDS710_FREELIST_QUERY_GET_ELIMINATION_ARRAY_SIZE_IN_FREELIST_ELEMENTS}} ==Source Files== └───liblfds710 └───inc └──...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Source Files





This is a convenience define. The value in the define is the cache line length in bytes divided by size in bytes of a struct lfds710_freelist_element *.

When initializing a freelist, store can be provided for what is known as an elimination array. Please see Freelist for full details. The store is arranged in the form of an array, where element is an array (of struct lfds710_freelist_element * volatile, where the number of pointers in the array of these pointers is the value in the define LFDS710_FREELIST_QUERY_GET_ELIMINATION_ARRAY_SIZE_IN_FREELIST_ELEMENTS. The design of the elimination layer requires that the store used is cache line aligned, and that each element in the array is cache line aligned - which therefore means each line must be cache line length long.


None yet.

See Also