]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/lockfree/include/boost/lockfree/detail/prefix.hpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / lockfree / include / boost / lockfree / detail / prefix.hpp
1 // Copyright (C) 2009, 2016 Tim Blechmann
2 //
3 // Distributed under the Boost Software License, Version 1.0. (See
4 // accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
6
7 #ifndef BOOST_LOCKFREE_PREFIX_HPP_INCLUDED
8 #define BOOST_LOCKFREE_PREFIX_HPP_INCLUDED
9
10 /* this file defines the following macros:
11 BOOST_LOCKFREE_CACHELINE_BYTES: size of a cache line
12 BOOST_LOCKFREE_PTR_COMPRESSION: use tag/pointer compression to utilize parts
13 of the virtual address space as tag (at least 16bit)
14 */
15
16 #define BOOST_LOCKFREE_CACHELINE_BYTES 64
17
18 #include <boost/predef.h>
19
20 #ifdef BOOST_ARCH_X86_64
21 #define BOOST_LOCKFREE_PTR_COMPRESSION 1
22 #endif
23
24 #endif /* BOOST_LOCKFREE_PREFIX_HPP_INCLUDED */