Re: options HZ [MFC for pr=28143]

2001-08-25 Thread Mike Smith


It should be a tunable, not a compile-time option.

 David Hill wrote:
  
  Hello -
  Could someone please document options HZ into LINT?.  I found it whil
 e
  reading the dummynet(4) manpage.
  
  Thanks
  - David
  
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-current in the body of the message
 
 this was already submitted as a PR
 (http://www.FreeBSD.org/cgi/query-pr.cgi?pr=28143)
 
 maybe time to call for an MFC ? [CC added]
 
 -- 
 Thierry Herbelot
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-current in the body of the message

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
   V I C T O R Y   N O T   V E N G E A N C E



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: options HZ [MFC for pr=28143]

2001-08-25 Thread Bruce Evans

On Sat, 25 Aug 2001, Mike Smith wrote:

 It should be a tunable, not a compile-time option.

  David Hill wrote:
  
   Hello -
   Could someone please document options HZ into LINT?.  I found it whil
  e
   reading the dummynet(4) manpage.

It must remain a compile-time option for those of us who don't believe
in tunables.

Notes:

- Making HZ non-constant (almost everything uses `hz' instead of HZ) mainly
  pessimizes time-critical code that computes hz/CONST, except:
- on alphas, the HZ option has no effect.  The initial value of hz = HZ
  is not used except to compute wrong values for `tick' and `tickadj'
  (`tick' is fixed up later but `tickadj' remains wrong).  `hz' is
  initialized to hwprb-rpb_intr_freq  12 in alpha/machdep.c.  So,
  hz needs to be non-constant and the HZ option and tunables just get
  in the way for alphas and for other arches where the hardclock
  frequency is not programmable.

Bruce


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: options HZ [MFC for pr=28143]

2001-08-23 Thread Thierry Herbelot

David Hill wrote:
 
 Hello -
 Could someone please document options HZ into LINT?.  I found it while
 reading the dummynet(4) manpage.
 
 Thanks
 - David
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-current in the body of the message

this was already submitted as a PR
(http://www.FreeBSD.org/cgi/query-pr.cgi?pr=28143)

maybe time to call for an MFC ? [CC added]

-- 
Thierry Herbelot

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message