1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
Mirror of the FreeBSD src repository https://git.FreeBSD.org/src.git .
Go to file
Scott Long 8480cc638e o Move the cleanup of the fib maps into aac_free_commands() so as to
retain symetry with aac_alloc_commans().  Since aac_alloc_commands()
  allocates fib maps and places them onto the fib lists, aac_free_commands()
  should reverse those operations.

o Combine two ifs with the same body with an ||.

o Switch from uintptr_t to uint32_t for fib map load operations.
  The target is a uint32_t so using this type for the map load call
  avoids an extra cast.  uintptr_t should only be used when you need
  an "int sized the same as the machine's poitner size" which is not
  the case here.

o Removed the commented out M_WAITOK flag in the allocation in
  aac_alloc_commands().  The kernel will only block in the allocator
  if it can grow the size of the kernel.  This usually results in a
  page-out which could involve this aac device.  Thus, sleeping here
  could deadlock the machine.  Assuming this operation is occurring outside
  of attach time, we have enough fibs to operate anyway, so waiting for
  fibs to free up is okay if not optimal.

o In aac_alloc_commands(), if we cannot dmamem_alloc additional fib
  space, free the fib map.

o In aac_alloc_commands(), if we cannot create per-command dmamaps, don't
  lose track of the fib map that is mapping all of the commands that we
  have already released into the free pool.  Instead, just cut out of
  the loop and modify aac_free_commands to not attempt to free maps that
  have not been allocated.

o Don't use a magic number when pre-allocating fibs.

o Use PAGE_SIZE to allocate in page sized chunks instead of an
  architecture specific constant.

Submitted by: gibbs
2003-02-19 21:38:29 +00:00
bin We can simplify this Makefile down to a single line now. 2003-02-19 16:56:30 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r110989, 2003-02-16 11:28:55 +00:00
crypto Paranoia: instead of a NULL conversation function, use one that always 2003-02-16 11:03:55 +00:00
etc We stopped reloading rc.conf for each script a long time ago. Things 2003-02-16 20:46:08 +00:00
games "Happiness" is a noun. 2003-02-18 20:49:12 +00:00
gnu Update for GCC 3.2.2 2003-02-19 04:28:12 +00:00
include Implement dlinfo() function. 2003-02-13 17:47:44 +00:00
kerberos5 Define OPENSSL_DES_LIBDES_COMPATIBILITY so that Heimdal will build with 2003-01-21 14:08:24 +00:00
kerberosIV update version numbers to (consistenly): 2002-10-23 06:12:21 +00:00
lib Don't tell people to include <sys/dkstat.h> any more. 2003-02-19 06:33:37 +00:00
libexec Do not remove object from the lists at the unref_dag() stage. 2003-02-17 20:58:27 +00:00
release Pushing back aacp driver to kern.flp kernel. It can be removed iff 2003-02-19 03:49:17 +00:00
sbin Our first keyword hit for apropos ufs2. 2003-02-19 02:41:29 +00:00
secure LIBDIR/INCLUDEDIR do not include DESTDIR. 2003-02-18 17:29:04 +00:00
share The nfs_privport variable doesn't exist - mention nfs_reserved_port_only 2003-02-18 18:02:32 +00:00
sys o Move the cleanup of the fib maps into aac_free_commands() so as to 2003-02-19 21:38:29 +00:00
tools Properly terminate some warning messages. 2003-02-18 12:50:37 +00:00
usr.bin Back out the removal (here too) of the "custom" version of 2003-02-19 15:25:07 +00:00
usr.sbin - Detect PAL by CIP header rather than the DSF bit in the DV header. 2003-02-19 01:14:52 +00:00
COPYRIGHT
MAINTAINERS Nuke xargs, I haven't had to help anyone with it, so I assume it stands on 2003-02-18 00:07:06 +00:00
Makefile Don't spam sys/${MACHINE}/conf/ with _.${MACHINE}.makeLINT. 2003-02-19 16:57:12 +00:00
Makefile.inc1 Add -DNOMAN to the list. 2003-02-11 19:21:13 +00:00
Makefile.upgrade Removed "env" commands. "sh" is a real shell, so 2002-03-19 05:58:36 +00:00
README Fix broken handbook links. 2002-07-21 16:45:30 +00:00
UPDATING Acutally document how to make a LINT kernel config, besides telling all it 2003-02-13 17:55:12 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

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, the kernel-modules and the contents of /etc.  The
``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below).  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 is a somewhat more involved process, documentation
for which can be found at:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
And in the config(8) man page.
Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you might need to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/<arch>/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 NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


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

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

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.

kerberos5	Kerberos5 (Heimdal) package.

kerberosIV	KerberosIV (eBones) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		Cryptographic libraries and commands.

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/doc/en_US.ISO8859-1/books/handbook/synching.html