freebsd-nq/sys/kern
Mike Silbersack 3390d47670 Implement MBUF_STRESS_TEST mark II.
Changes from the original implementation:

- Fragmentation is handled by the function m_fragment, which can
be called from whereever fragmentation is needed.  Note that this
function is wrapped in #ifdef MBUF_STRESS_TEST to discourage non-testing
use.

- m_fragment works slightly differently from the old fragmentation
code in that it allocates a seperate mbuf cluster for each fragment.
This defeats dma_map_load_mbuf/buffer's feature of coalescing adjacent
fragments.  While that is a nice feature in practice, it nerfed the
usefulness of mbuf_stress_test.

- Add two modes of random fragmentation.  Chains with fragments all of
the same random length and chains with fragments that are each uniquely
random in length may now be requested.
2003-09-01 05:55:37 +00:00
..
bus_if.m
clock_if.m
device_if.m
genassym.sh
imgact_aout.c
imgact_elf32.c
imgact_elf64.c
imgact_elf.c
imgact_gzip.c
imgact_shell.c
inflate.c
init_main.c Change instances of callout_init that specify MPSAFE behaviour to 2003-08-19 17:51:11 +00:00
init_sysent.c
kern_acct.c
kern_acl.c Move more ACL logic from the UFS code (ufs_acl.c) to the central POSIX.1e 2003-08-04 02:13:05 +00:00
kern_alq.c
kern_clock.c
kern_condvar.c
kern_conf.c
kern_context.c
kern_descrip.c Do some minor Giant pushdown made possible by copyin, fget, fdrop, 2003-08-04 21:28:57 +00:00
kern_environment.c
kern_event.c
kern_exec.c
kern_exit.c
kern_fork.c Change instances of callout_init that specify MPSAFE behaviour to 2003-08-19 17:51:11 +00:00
kern_idle.c
kern_intr.c
kern_jail.c
kern_kse.c Let SA process work under ULE scheduler, originally it would panic kernel. 2003-08-26 11:33:15 +00:00
kern_kthread.c
kern_ktr.c Both 'c' an 'lines' are unused, the bogus init of lines was accidentally 2003-08-02 17:35:00 +00:00
kern_ktrace.c Consistently use the BSD u_int and u_short instead of the SYSV uint and 2003-08-07 15:04:27 +00:00
kern_linker.c
kern_lock.c
kern_lockf.c
kern_mac.c Fix a mac_policy_list reference to be a mac_static_policy_list 2003-08-26 17:29:02 +00:00
kern_malloc.c
kern_mib.c Change description of kern.osreldate from "Operating system release date" to 2003-08-21 14:47:08 +00:00
kern_module.c
kern_mtxpool.c
kern_mutex.c If a spin lock is held for too long and WITNESS is enabled, then call 2003-07-31 18:52:18 +00:00
kern_ntptime.c
kern_physio.c Grab Giant in physio() since non-giant drivers are starting to appear. 2003-08-02 09:40:53 +00:00
kern_poll.c
kern_proc.c kse.h is not needed for these files. 2003-08-05 12:08:49 +00:00
kern_prot.c
kern_resource.c
kern_sema.c
kern_shutdown.c Further cleanup <machine/cpu.h> and <machine/md_var.h>: move the MI 2003-08-16 16:57:57 +00:00
kern_sig.c panic() if we try to handle an out-of-range signal number in 2003-08-10 23:05:37 +00:00
kern_subr.c
kern_switch.c
kern_sx.c
kern_synch.c Change instances of callout_init that specify MPSAFE behaviour to 2003-08-19 17:51:11 +00:00
kern_syscalls.c
kern_sysctl.c
kern_tc.c bde made a number of suggested improvements to the code. This commit 2003-08-20 19:12:46 +00:00
kern_thr.c Update powerpc to use the (old thread,new thread) calling convention 2003-08-14 03:56:24 +00:00
kern_thread.c Let SA process work under ULE scheduler, originally it would panic kernel. 2003-08-26 11:33:15 +00:00
kern_time.c
kern_timeout.c On ia64 time_t is 64 bit. Explicitly cast tv_sec to long and change 2003-08-23 08:31:32 +00:00
kern_umtx.c
kern_uuid.c
kern_xxx.c Fix a logic error in osethostid() that was introduced in rev. 1.34: 2003-08-23 15:45:57 +00:00
ksched.c
link_elf_obj.c Add the mlockall() and munlockall() system calls. 2003-08-11 07:14:08 +00:00
link_elf.c Add the mlockall() and munlockall() system calls. 2003-08-11 07:14:08 +00:00
linker_if.m
Make.tags.inc
Makefile
makesyscalls.sh
md4c.c
md5c.c
p1003_1b.c
posix4_mib.c
sched_4bsd.c Change instances of callout_init that specify MPSAFE behaviour to 2003-08-19 17:51:11 +00:00
sched_ule.c Let SA process work under ULE scheduler, originally it would panic kernel. 2003-08-26 11:33:15 +00:00
subr_acl_posix1e.c Move more ACL logic from the UFS code (ufs_acl.c) to the central POSIX.1e 2003-08-04 02:13:05 +00:00
subr_autoconf.c
subr_blist.c Expand inline the relevant parts of src/COPYRIGHT for Matt Dillon's 2003-08-12 23:24:05 +00:00
subr_bus.c
subr_clist.c
subr_clock.c
subr_devstat.c It is not an error to have no devices in the kernel: Return the 2003-08-17 12:06:19 +00:00
subr_disk.c
subr_eventhandler.c
subr_hints.c
subr_kobj.c add a read-only sysctl to display the number of entries in the fixed size 2003-08-14 21:16:46 +00:00
subr_log.c
subr_mbpool.c
subr_mbuf.c Use constants less throughout the code and instead use the objsize 2003-08-16 19:48:52 +00:00
subr_mchain.c
subr_module.c
subr_msgbuf.c
subr_param.c More pipe changes: 2003-08-11 05:51:51 +00:00
subr_pcpu.c
subr_power.c
subr_prf.c
subr_prof.c
subr_rman.c
subr_rtc.c
subr_sbuf.c
subr_scanf.c
subr_smp.c
subr_taskqueue.c
subr_trap.c kse.h is not needed for these files. 2003-08-05 12:08:49 +00:00
subr_turnstile.c If a spin lock is held for too long and WITNESS is enabled, then call 2003-07-31 18:52:18 +00:00
subr_witness.c Insert cosmetic spaces. 2003-08-04 19:24:25 +00:00
subr_xxx.c
sys_generic.c Remove Giant from writev(2). Eliminate trivial style differences between 2003-08-01 02:21:54 +00:00
sys_pipe.c if we got this far, we definately don't have an EBADF. Return a more 2003-08-15 04:31:01 +00:00
sys_process.c Add or finish support for machine dependent ptrace requests. When we 2003-08-15 05:25:06 +00:00
sys_socket.c
syscalls.c
syscalls.master
sysv_ipc.c
sysv_msg.c Update some argument-documenting comments to match reality. 2003-08-07 16:42:27 +00:00
sysv_sem.c Update some argument-documenting comments to match reality. 2003-08-07 16:42:27 +00:00
sysv_shm.c Update some argument-documenting comments to match reality. 2003-08-07 16:42:27 +00:00
tty_compat.c
tty_conf.c
tty_cons.c
tty_pty.c
tty_subr.c
tty_tty.c
tty.c
uipc_accf.c
uipc_cow.c
uipc_domain.c o interlock domain list when adding domains 2003-09-01 05:01:55 +00:00
uipc_jumbo.c
uipc_mbuf2.c
uipc_mbuf.c Implement MBUF_STRESS_TEST mark II. 2003-09-01 05:55:37 +00:00
uipc_proto.c
uipc_sem.c
uipc_sockbuf.c
uipc_socket2.c
uipc_socket.c Make the second argument to sooptcopyout() constant in order to 2003-08-05 00:27:54 +00:00
uipc_syscalls.c Migrate the sf_buf allocator that is used by sendfile(2) and zero-copy 2003-08-29 20:04:10 +00:00
uipc_usrreq.c
vfs_acl.c Move more ACL logic from the UFS code (ufs_acl.c) to the central POSIX.1e 2003-08-04 02:13:05 +00:00
vfs_aio.c
vfs_bio.c - Define a new flag for getblk(): GB_NOCREAT. This flag causes getblk() to 2003-08-31 08:50:11 +00:00
vfs_cache.c
vfs_cluster.c - Move BX_BKGRDWAIT and BX_BKGRDINPROG to BV_ and the b_vflags field. 2003-08-28 06:55:18 +00:00
vfs_default.c
vfs_export.c
vfs_extattr.c Add mac_check_vnode_deleteextattr() and mac_check_vnode_listextattr(): 2003-08-21 13:53:01 +00:00
vfs_init.c
vfs_lookup.c
vfs_mount.c
vfs_subr.c Consistently use the BSD u_int and u_short instead of the SYSV uint and 2003-08-07 15:04:27 +00:00
vfs_syscalls.c Add mac_check_vnode_deleteextattr() and mac_check_vnode_listextattr(): 2003-08-21 13:53:01 +00:00
vfs_vnops.c
vnode_if.src