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

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	tholo_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2004/06/24 13:35:27

Modified files:
	sys/altq       : altq_subr.c 
	sys/arch/amd64/amd64: cpu.c 
	sys/arch/i386/i386: cpu.c 
	sys/compat/hpux: hpux_compat.c 
	sys/compat/linux: linux_misc.c 
	sys/compat/osf1: osf1_misc.c 
	sys/compat/sunos: sunos_misc.c 
	sys/dev/ic     : isp_openbsd.h nslm7x.c smc90cx6.c 
	sys/dev/pci    : ncr.c 
	sys/dev/raidframe: rf_etimer.h 
	sys/dev/usb    : usb.c 
	sys/dev/wscons : wskbd.c wsmouse.c wsmux.c 
	sys/kern       : init_main.c kern_acct.c kern_clock.c 
	                 kern_event.c kern_fork.c kern_synch.c 
	                 kern_time.c subr_disk.c subr_pool.c 
	                 sys_generic.c sys_pipe.c uipc_usrreq.c 
	                 vfs_bio.c 
	sys/miscfs/kernfs: kernfs_vnops.c 
	sys/miscfs/portal: portal_vnops.c 
	sys/miscfs/procfs: procfs_vnops.c 
	sys/msdosfs    : msdosfs_denode.c msdosfs_vnops.c 
	sys/net        : if_sl.c if_spppsubr.c if_strip.c pf_norm.c 
	                 pfkeyv2_convert.c 
	sys/netccitt   : hd_debug.c 
	sys/netinet    : ip_carp.c 
	sys/netiso     : tp_meas.c tp_param.h tp_trace.c 
	sys/netns      : ns_input.c 
	sys/nfs        : nfs_serv.c nfs_socket.c nfs_syscalls.c 
	                 nfs_vnops.c nfsm_subs.h 
	sys/sys        : pipe.h time.h 
	sys/ufs/ext2fs : ext2fs_inode.c ext2fs_vnops.c 
	sys/ufs/ffs    : ffs_inode.c ffs_softdep.c 
	sys/ufs/lfs    : lfs_inode.c lfs_vnops.c 
	sys/ufs/ufs    : ufs_vnops.c 

Log message:
This moves access to wall and uptime variables in MI code,
encapsulating all such access into wall-defined functions
that makes sure locking is done as needed.

It also cleans up some uses of wall time vs. uptime some
places, but there is sure to be more of these needed as
well, particularily in MD code.  Also, many current calls
to microtime() should probably be changed to getmicrotime(),
or to the {,get}microuptime() versions.

ok art@ deraadt@ aaron@ matthieu@ beck@ sturm@ millert@ others
"Oh, that is not your problem!" from miod@



Visit your host, monkey.org