| Summary: | linux sysinfo system call is needed for maya batch mode to work. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Jim.Pirzyk <Jim.Pirzyk> | ||||
| Component: | kern | Assignee: | Jim Pirzyk <pirzyk> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | 4.3-RELEASE | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Jim.Pirzyk
2001-05-30 02:10:00 UTC
<<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. -GAWollman 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 (*)/ (*) Responsible Changed From-To: freebsd-bugs->pirzyk Yet another of my PRs State Changed From-To: open->closed Commited a modified patch (removed the printf's) to -current |