tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Reclaiming vnodes



hi,

> [1] www.netbsd.org/~haad/vreclaim.diff

please attach the diff to the mail unless it's too way big.

>  int  desiredvnodes = NVNODE;
> +int     vreclaim_hiwat = ((NVNODE % 100) * VNODES_NUM_HIWAT);
> +int     vreclaim_lowat = ((NVNODE % 100) * VNODES_NUM_LOWAT);
>  u_int        maxfiles = MAXFILES;

your diff contains several "% 100" which seems like bugs to me.

YAMAMOTO Takashi


Home | Main Index | Thread Index | Old Index