Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump small library version #106

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions memcached/internal/memcached.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
#include <stdbool.h>

#include <tarantool/module.h>
#include <small/ibuf.h>
#include <small/obuf.h>
#include <include/small/ibuf.h>
#include <include/small/obuf.h>
Comment on lines +37 to +38
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is better to fix include_directories() in CMakeLists.txt.


#include "memcached.h"
#include "memcached_layer.h"
Expand Down
4 changes: 2 additions & 2 deletions memcached/internal/memcached.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
*/


#include <small/obuf.h>
#include <small/region.h>
#include <include/small/obuf.h>
#include <include/small/region.h>
#include "constants.h"

struct memcached_connection;
Expand Down
2 changes: 1 addition & 1 deletion memcached/internal/memcached_layer.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <tarantool/module.h>

#include <msgpuck.h>
#include <small/obuf.h>
#include <include/small/obuf.h>

#include "error.h"
#include "memcached.h"
Expand Down
6 changes: 3 additions & 3 deletions memcached/internal/network.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
#include <fcntl.h>

#include <tarantool/module.h>
#include <small/mempool.h>
#include <small/ibuf.h>
#include <small/obuf.h>
#include <include/small/mempool.h>
#include <include/small/ibuf.h>
#include <include/small/obuf.h>

#include "memcached.h"
#include "constants.h"
Expand Down
2 changes: 1 addition & 1 deletion memcached/internal/network.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#define TIMEOUT_INFINITY 365*86400*100.0

#include <small/ibuf.h>
#include <include/small/ibuf.h>

size_t
mnet_writev(int fd, struct iovec *iov, int iovcnt, size_t size_hint);
Expand Down
4 changes: 2 additions & 2 deletions memcached/internal/proto_bin.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#include "memcached_layer.h"
#include "mc_sasl.h"

#include <small/ibuf.h>
#include <small/obuf.h>
#include <include/small/ibuf.h>
#include <include/small/obuf.h>

static inline int
memcached_bin_write(struct memcached_connection *con, uint16_t err,
Expand Down
4 changes: 2 additions & 2 deletions memcached/internal/proto_txt.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

#include <tarantool/module.h>
#include <msgpuck.h>
#include <small/ibuf.h>
#include <small/obuf.h>
#include <include/small/ibuf.h>
#include <include/small/obuf.h>

#include "memcached.h"
#include "constants.h"
Expand Down
2 changes: 1 addition & 1 deletion third_party/small
Submodule small updated 48 files
+43 −2 .travis.yml
+23 −17 CMakeLists.txt
+0 −0 include/small/ibuf.h
+2 −2 include/small/lf_lifo.h
+0 −0 include/small/lifo.h
+104 −15 include/small/lsregion.h
+0 −0 include/small/matras.h
+40 −31 include/small/mempool.h
+0 −0 include/small/obuf.h
+3 −3 include/small/quota.h
+0 −0 include/small/quota_lessor.h
+0 −0 include/small/rb.h
+10 −5 include/small/region.h
+23 −5 include/small/rlist.h
+0 −0 include/small/slab_arena.h
+3 −4 include/small/slab_cache.h
+229 −0 include/small/small.h
+218 −0 include/small/small_class.h
+0 −0 include/small/small_features.h
+0 −0 include/small/static.h
+1 −0 perf/.gitignore
+17 −0 perf/CMakeLists.txt
+13 −0 perf/README.md
+292 −0 perf/small.cc
+3 −0 rpm/small.spec
+48 −45 small/lsregion.c
+27 −16 small/mempool.c
+11 −3 small/slab_cache.c
+314 −261 small/small.c
+0 −291 small/small.h
+59 −0 small/small_class.c
+1 −1 small/small_features.c
+39 −6 test/CMakeLists.txt
+134 −2 test/lsregion.c
+55 −22 test/lsregion.result
+7 −0 test/mempool.c
+5 −15 test/obuf.c
+9 −15 test/small_alloc.c
+0 −0 test/small_alloc_16384.result
+4 −0 test/small_alloc_32768.result
+4 −0 test/small_alloc_4096.result
+4 −0 test/small_alloc_65536.result
+4 −0 test/small_alloc_8192.result
+181 −0 test/small_class.c
+15 −0 test/small_class.result
+15 −0 test/small_class_branchless.result
+147 −0 test/small_granularity.c
+4 −0 test/small_granularity.result