Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2001 10:30:04 -0700 (PDT)
From:      Jim Pirzyk <Jim.Pirzyk@disney.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/27759: linux module does not support sysinfo system call
Message-ID:  <200105301730.f4UHU4i03264@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/27759; it has been noted by GNATS.

From: Jim Pirzyk <Jim.Pirzyk@disney.com>
To: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>,
	Jim.Pirzyk@disney.com
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/27759: linux module does not support sysinfo system call
Date: Wed, 30 May 2001 10:27:29 -0700

 On Wednesday 30 May 2001 09:11 am, Garrett Wollman wrote:
 > <<On Tue, 29 May 2001 18:02:42 -0700 (PDT), Jim.Pirzyk@disney.com said:
 > > + 		sysinfo.loads[i] = (double) averunnable.ldavg[i] /
 > > averunnable.fscale;
 >
 > Can't use floating-point math in the kernel.
 
 Upon further inspection, all we need is this:
 
 		sysinfo.loads[i] = averunnable.ldavg[i];
 
 Since both sysinfo.loads and averunnable.ldavg are both arrays
 of longs.
 
 - JimP
 
 -- 
 --- @(#) $Id: dot.signature,v 1.10 2001/05/17 23:38:49 Jim.Pirzyk Exp $
     __o   Jim.Pirzyk@disney.com ------------- pirzyk@freebsd.org
  _'\<,_   Senior Systems Engineer, Walt Disney Feature Animation 
 (*)/ (*)  

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105301730.f4UHU4i03264>