On Fri, Oct 31, 2008 at 2:10 PM, Gonzalo Nemmi <[EMAIL PROTECTED]> wrote: > On 10/31/08, Redd Vinylene <[EMAIL PROTECTED]> wrote: >> Hello guys, >> >> It's my friend's birthday tomorrow. I was thinking I'd make him a >> tshirt with some funny slogan on it or something. Preferably something >> UNIX related. But I'm all outta ideas. Perhaps y'all can help? >> Alright, much obliged, thanks. > > Here's one from /usr/src/sys/kern/kern_malloc.c > > It goes like this: > > /* > * Small malloc(9) memory allocations are allocated from a set of UMA buckets > * of various sizes. > * > * XXX: The comment here used to read "These won't be powers of two for > * long." It's possible that a significant amount of wasted memory could be > * recovered by tuning the sizes of these buckets. > */ > struct { > int kz_size; > char *kz_name; > uma_zone_t kz_zone; > } kmemzones[] = { > {16, "16", NULL}, > {32, "32", NULL}, > {64, "64", NULL}, > {128, "128", NULL}, > {256, "256", NULL}, > {512, "512", NULL}, > {1024, "1024", NULL}, > {2048, "2048", NULL}, > {4096, "4096", NULL}, > > Black tshirt, green letters ...
or theo.c :-D and did you mean to cc freebsd? -B