Date: Tue, 23 Oct 2007 10:44:41 GMT From: KOIE Hidetaka <hide@koie.org> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/117420: round off in sched_balance_pair() Message-ID: <200710231044.l9NAifdh060333@www.freebsd.org> Resent-Message-ID: <200710231050.l9NAo1UX058091@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 117420 >Category: kern >Synopsis: round off in sched_balance_pair() >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Oct 23 10:50:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: KOIE Hidetaka >Release: 8.0-CURRENT >Organization: >Environment: FreeBSD sakura.suri.co.jp 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Tue Oct 16 21:43:56 JST 2007 koie@sakura.suri.co.jp:/usr/obj/usr/src/sys/SAKURA i386 >Description: In sched_ule.c:sched_balance_pair(), the following code fragment move = diff / 2; if (diff & 0x1) move++; is rounding off and equal to move = (diff + 1) / 2; >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710231044.l9NAifdh060333>