lkml.org 
[lkml]   [2008]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [TOMOYO #10 (linux-next) 4/8] Memory and pathname management functions.
a nitpick.

On Thu, 09 Oct 2008 13:28:18 +0900
Kentaro Takeda <takedakn@nttdata.co.jp> wrote:

> +static unsigned int allocated_memory_for_savename;
> +static unsigned int quota_for_savename;
> +
> +#define MAX_HASH 256
> +
Maybe based on typical workload and usage but
It's better to write why hash size is fixed size of "256", when you
use hash.

Thanks,
-Kame



\
 
 \ /
  Last update: 2008-10-09 08:21    [W:0.105 / U:3.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site