SC module: Add a note on style.

This commit is contained in:
David T. Goldblatt 2018-04-18 19:36:40 -07:00 committed by David Goldblatt
parent 5b7fc9056c
commit 017dca198c

View File

@ -4,6 +4,13 @@
#include "jemalloc/internal/bit_util.h"
#include "jemalloc/internal/sc.h"
/*
* This module computes the size classes used to satisfy allocations. The logic
* here was ported more or less line-by-line from a shell script, and because of
* that is not the most idiomatic C. Eventually we should fix this, but for now
* at least the damage is compartmentalized to this file.
*/
sc_data_t sc_data_global;
static size_t