lkml.org 
[lkml]   [2009]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2/2] cfq-iosched: Take care of corner cases of group losing share due to deletion
Date
Vivek Goyal <vgoyal@redhat.com> writes:

> Reported-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
> Signed-off-by: Vivek Goyal <vgoyal@redhat.com>

> + /*
> + * If think times is less than a jiffy than ttime_mean=0 and above
> + * will not be true. It might happen that slice has not expired yet
> + * but will expire soon (4-5 ns) during select_queue(). To cover the

4-5ns? I'm not sure why you chose these numbers. Is that what you saw
in testing? Anyway, I'm ok with the change, I dislike the reference to
time when a single jiffy could be up to 10ms.

Reviewed-by: Jeff Moyer <jmoyer@redhat.com>


\
 
 \ /
  Last update: 2009-12-09 20:09    [W:0.070 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site