Source-Changes archive

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

CVS commit: [netbsd-10] src/sys/dev/vmt



Module Name:    src
Committed By:   martin
Date:           Wed Sep 11 15:52:18 UTC 2024

Modified Files:
        src/sys/dev/vmt [netbsd-10]: vmt_subr.c

Log Message:
Pull up following revision(s) (requested by rin in ticket #822):

        sys/dev/vmt/vmt_subr.c: revision 1.4
        sys/dev/vmt/vmt_subr.c: revision 1.5
        sys/dev/vmt/vmt_subr.c: revision 1.6
        sys/dev/vmt/vmt_subr.c: revision 1.7
        sys/dev/vmt/vmt_subr.c: revision 1.8
        sys/dev/vmt/vmt_subr.c: revision 1.9

KNF. No functional change.

Move a prototype definition. No functional change.

Use a table like OpenBSD vmt.c rev. 1.27. No functional change.

 Add new vmt_tclo_rpc[] table and use it. In this change, all of
vmt_tclo_xxx()'s functionality are not changed from previous.

 Now we can understand what's the difference between OpenBSD's
sys/dev/pv/vmt.c and NetBSD's sys/dev/vmt/vmt_subr.c.

On error, give time to recover and wait a second.
Part of OpenBSD sys/dev/vmt.c rev. 1.22.

Process all queued messages without delay immediately. From OpenBSD.
 Apply the remaining part of OpenBSD sys/dev/vmt.c rev. 1.22.
 > The VM host might send multiple messages at once but vmt(4) only
 > processed one of time per second.  Change the code to process all
 > queued messages without delay immediately.  This fixes two things: a)
 > the vmt time sensor is available on boot when ntpd -s is loaded and b)
 > the random seeding on resume (OS_Resume message) is executed almost
 > immediately and not delayed by about 20 seconds.

 Apply OpenBSD sys/dev/pv/vmt.c rev. 1.4.
 >  Merge two return branches in vmt_tclo_tick().  No functional changes.
fix llvm build


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.3.16.1 src/sys/dev/vmt/vmt_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index