memcached  1.6.15
About: memcached is a high-performance, distributed memory object caching system, generic in nature, but originally intended for use in speeding up dynamic web applications by alleviating database load.
  Fossies Dox: memcached-1.6.15.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

slab_automove.c File Reference
#include "memcached.h"
#include "slab_automove.h"
#include <stdlib.h>
#include <string.h>
Include dependency graph for slab_automove.c:

Go to the source code of this file.

Data Structures

struct  window_data
 
struct  slab_automove
 

Macros

#define MIN_PAGES_FOR_SOURCE   2
 
#define MIN_PAGES_FOR_RECLAIM   2.5
 

Functions

voidslab_automove_init (struct settings *settings)
 
void slab_automove_free (void *arg)
 
static void window_sum (struct window_data *wd, struct window_data *w, uint32_t size)
 
void slab_automove_run (void *arg, int *src, int *dst)
 

Macro Definition Documentation

◆ MIN_PAGES_FOR_RECLAIM

#define MIN_PAGES_FOR_RECLAIM   2.5

Definition at line 14 of file slab_automove.c.

◆ MIN_PAGES_FOR_SOURCE

#define MIN_PAGES_FOR_SOURCE   2

Definition at line 13 of file slab_automove.c.

Function Documentation

◆ slab_automove_free()

void slab_automove_free ( void arg)

Definition at line 55 of file slab_automove.c.

References slab_automove::window_data.

◆ slab_automove_init()

◆ slab_automove_run()

◆ window_sum()

static void window_sum ( struct window_data wd,
struct window_data w,
uint32_t  size 
)
static