Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 5.0_RC2 panics on qt0



On Sat, 21 Feb 2009 11:49:52 -0700 (MST)
"Michael L. Hitch" <mhitch%lightning.msu.montana.edu@localhost> wrote:

> On Sat, 21 Feb 2009, George Harvey wrote:
> 
> > Something I noticed while timing the kernel compile is that I get
> > ridiculous values for the user and sys times. This happens both with
> > /usr/bin/time and with the built-in time in bash. For example,
> > timing a compile of Tcl I got:
> >
> >     2368.25 real 2133439630.70 user 2133437492.47 sys
> >
> 
>    I suspect it's VAX specific.  Can you try the following patch?

Much better, I now get:
      2389.95 real      2260.88 user       104.14 sys

Thanks,
George
 
> Index: sys/arch/vax/vax/clock.c
> ===================================================================
> RCS file: /cvsroot/src/sys/arch/vax/vax/clock.c,v
> retrieving revision 1.49
> diff -u -r1.49 clock.c
> --- sys/arch/vax/vax/clock.c  7 Jan 2008 16:40:17 -0000       1.49
> +++ sys/arch/vax/vax/clock.c  21 Feb 2009 18:48:47 -0000
> @@ -108,7 +108,7 @@
>   static struct timecounter vax_mfpr_tc = {
>       vax_mfpr_get_counter,   /* get_timecount */
>       0,                      /* no poll_pps */
> -     ~0u,                    /* counter_mask */
> +     0x1fff,                 /* counter_mask */
>       1000000,                /* frequency */
>       "mfpr",                 /* name */
>       100,                    /* quality */
> 


Home | Main Index | Thread Index | Old Index