On Thu, 2005-12-01 at 16:11 -0500, kai unc wrote:
>
> + if (!in_interrupt() &&
> !ckrm_class_limit_ok(ckrm_task_memclass(p))
> + && wait) {
> + /* take a nap, let kswapd refresh zone */
> + blk_congestion_wait(WRITE, HZ/50);
> + while (!ckrm_class_limit_ok(ckrm_task_memclass(p))
> + blk_congestion_wait(WRITE, HZ/50);
> + }
Do you really want to use HZ here? Doesn't the behavior change if HZ
changes?
-- Dave
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech