freebsd with flexible iflib nic queues
Go to file
Poul-Henning Kamp 227ee8a188 Eradicate the variable "time" from the kernel, using various measures.
"time" wasn't a atomic variable, so splfoo() protection were needed
around any access to it, unless you just wanted the seconds part.

Most uses of time.tv_sec now uses the new variable time_second instead.

gettime() changed to getmicrotime(0.

Remove a couple of unneeded splfoo() protections, the new getmicrotime()
is atomic, (until Bruce sets a breakpoint in it).

A couple of places needed random data, so use read_random() instead
of mucking about with time which isn't random.

Add a new nfs_curusec() function.

Mark a couple of bogosities involving the now disappeard time variable.

Update ffs_update() to avoid the weird "== &time" checks, by fixing the
one remaining call that passwd &time as args.

Change profiling in ncr.c to use ticks instead of time.  Resolution is
the same.

Add new function "tvtohz()" to avoid the bogus "splfoo(), add time, call
hzto() which subtracts time" sequences.

Reviewed by:	bde
1998-03-30 09:56:58 +00:00
bin Rats. I was too quick. Work needs to be done on the non-Kerberos 1998-03-26 19:41:18 +00:00
contrib Removed yacc output files so that it is impossible to mix them with 1998-03-27 11:14:12 +00:00
crypto Fix nasty typo that randomly caused kinit to not properly deduce the 1998-03-29 07:27:43 +00:00
etc Run adjkerntz -a at 05:01 too 1998-03-30 09:17:25 +00:00
games Don't use the FreeBSD misfeature DPSRCS or give explicit dependencies 1998-03-06 07:00:28 +00:00
gnu Give up on a.out support in binutils. It has too many problems to 1998-03-30 02:21:27 +00:00
include Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B and 1998-03-28 11:51:01 +00:00
kerberos5 Fix a break in the includes where the build blows chunks if it is 1997-10-02 15:03:23 +00:00
kerberosIV Debogotify. ln -f should be ln -s to allow the obj/ dir to be 1998-03-28 07:47:05 +00:00
lib Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B and 1998-03-28 11:51:01 +00:00
libexec .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-19 07:37:43 +00:00
lkm Give this a shot at actually working as an LKM.. 1998-03-27 04:05:08 +00:00
release Use the correct templates file. 1998-03-30 08:29:28 +00:00
sbin Add workaround suggestion for 'nonexistent time' diagnostic 1998-03-30 09:29:47 +00:00
secure Staticise a variable. 1997-10-08 07:02:48 +00:00
share fkey61 is the same thing as del, kinda. Make sure that we really swap del and 1998-03-30 04:25:42 +00:00
sys Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
tools Install tclAppInit.c in the installhdrs step so that it isn't necessary 1998-03-23 13:15:41 +00:00
usr.bin Rats. I was too fast here. Re-enable SUID mode for the non-Kerberos 1998-03-26 19:43:06 +00:00
usr.sbin Sync with 2.2-stable branch. 1998-03-24 09:51:58 +00:00
COPYRIGHT This is the official 4.4 Lite copyright. 1994-09-11 07:53:28 +00:00
Makefile Make the decision to compile kerberosIV a bit more secure by looking 1998-03-26 17:32:24 +00:00
Makefile.alpha Fix a cut'n'paste error that added a stray gnu to a few paths. 1998-03-23 22:18:42 +00:00
README Note that /etc is not installed by world target either. 1997-08-09 14:36:20 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on: $Id: README,v 1.10 1997/02/23 09:18:39 peter Exp $

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel and the contents of /etc.  Please see the top of the Makefile
in this directory for more information on the standard build targets
and compile-time flags.

Building a kernel with config(8) is a somewhat more involved process,
documentation for which can be found at:
   http://www.freebsd.org/handbook/kernelconfig.html
And in the config(8) man page.

The sample kernel configuration files reside in the sys/i386/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file LINT contains entries for all possible devices, not
just those commonly used, and is meant more as a general reference
than an actual kernel configuration file (a kernel built from it
wouldn't even run).


Source Roadmap:
---------------
bin		System/User commands.

contrib		Packages contributed by 3rd parties.

eBones		Kerberos package - NOT FOR EXPORT!

etc		Template files for /etc

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

lib		System libraries.

libexec		System daemons.

lkm		Loadable Kernel Modules.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		DES and DES-related utilities - NOT FOR EXPORT!

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/handbook/synching.html