cvs commit: src/sys/i386/include clock.h src/sys/i386/isa clock.c src/sys/kern kern_intr.c kern_random.c src/sys/sys bus.h kernel.h src/sys/dev/disk/mpt mpt_freebsd.h src/sys/dev/raid/aac aac_pci.c src/sys/dev/raid/amr amr_pci.c src/sys/dev/raid/mlx mlx.c ...

Matthew Dillon dillon at
Wed Jan 25 11:58:59 PST 2006

dillon      2006/01/25 11:56:31 PST

DragonFly src repository

  Modified files:
    sys/i386/include     clock.h 
    sys/i386/isa         clock.c 
    sys/kern             kern_intr.c kern_random.c 
    sys/sys              bus.h kernel.h 
    sys/dev/disk/mpt     mpt_freebsd.h 
    sys/dev/raid/aac     aac_pci.c 
    sys/dev/raid/amr     amr_pci.c 
    sys/dev/raid/mlx     mlx.c 
    sys/dev/raid/twe     twe_freebsd.c 
  The random number generator was not generating sufficient entropy by
  default, resulting in weak random numbers for a short period of time after
  a machine is first booted.
  * Change the entropy default for all interrupts except the clock interrupt
    from off to on.
  * Greatly reduce the overhead of the interrupt entropy code so even high
    performance interrupts can call it.
  * Instead of calculating the entropy at the time of the interrupt,
    introduce a new rate-limited kernel thread which the interrupt code can
    simply schedule.  The new thread will be responsible for adding the
    This thread will rate-limit based on the amount of entropy that has been
    built up.  The more entropy we have, the lower the thread's frequency of
    operation.  Currently the limit is set to 25 hz.
  * Use the TSC in addition to the normal time calculation when introducing
  Note that during tests it was found that a new ssh connection tends to
  'eat' all available entropy.  This isn't actually true, it's really the
  entropy calculation itself which is not quite correct, but I am duely noting
  the issue here.
  Reported-by: "Simon 'corecode' Schubert" <corecode at xxxxxxxxxxxx>
  Revision  Changes    Path
  1.7       +1 -0      src/sys/i386/include/clock.h
  1.46      +9 -5      src/sys/i386/isa/clock.c
  1.41      +11 -3     src/sys/kern/kern_intr.c
  1.11      +83 -10    src/sys/kern/kern_random.c
  1.21      +1 -1      src/sys/sys/bus.h
  1.19      +1 -0      src/sys/sys/kernel.h
  1.9       +2 -2      src/sys/dev/disk/mpt/mpt_freebsd.h
  1.8       +1 -1      src/sys/dev/raid/aac/aac_pci.c
  1.7       +1 -1      src/sys/dev/raid/amr/amr_pci.c
  1.15      +1 -1      src/sys/dev/raid/mlx/mlx.c
  1.18      +1 -1      src/sys/dev/raid/twe/twe_freebsd.c

More information about the Commits mailing list