kern_malloc.c (292117) | kern_malloc.c (295222) |
---|---|
1/*- 2 * Copyright (c) 1987, 1991, 1993 3 * The Regents of the University of California. 4 * Copyright (c) 2005-2009 Robert N. M. Watson 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 29 unchanged lines hidden (view full) --- 38 * and a special UMA allocation interface is used for larger allocations. 39 * Callers declare memory types, and statistics are maintained independently 40 * for each memory type. Statistics are maintained per-CPU for performance 41 * reasons. See malloc(9) and comments in malloc.h for a detailed 42 * description. 43 */ 44 45#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1987, 1991, 1993 3 * The Regents of the University of California. 4 * Copyright (c) 2005-2009 Robert N. M. Watson 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 29 unchanged lines hidden (view full) --- 38 * and a special UMA allocation interface is used for larger allocations. 39 * Callers declare memory types, and statistics are maintained independently 40 * for each memory type. Statistics are maintained per-CPU for performance 41 * reasons. See malloc(9) and comments in malloc.h for a detailed 42 * description. 43 */ 44 45#include <sys/cdefs.h> |
46__FBSDID("$FreeBSD: head/sys/kern/kern_malloc.c 292117 2015-12-11 20:05:07Z markj $"); | 46__FBSDID("$FreeBSD: head/sys/kern/kern_malloc.c 295222 2016-02-03 23:30:17Z glebius $"); |
47 48#include "opt_ddb.h" 49#include "opt_vm.h" 50 51#include <sys/param.h> 52#include <sys/systm.h> 53#include <sys/kdb.h> 54#include <sys/kernel.h> 55#include <sys/lock.h> 56#include <sys/malloc.h> 57#include <sys/mutex.h> 58#include <sys/vmmeter.h> 59#include <sys/proc.h> 60#include <sys/sbuf.h> 61#include <sys/sysctl.h> | 47 48#include "opt_ddb.h" 49#include "opt_vm.h" 50 51#include <sys/param.h> 52#include <sys/systm.h> 53#include <sys/kdb.h> 54#include <sys/kernel.h> 55#include <sys/lock.h> 56#include <sys/malloc.h> 57#include <sys/mutex.h> 58#include <sys/vmmeter.h> 59#include <sys/proc.h> 60#include <sys/sbuf.h> 61#include <sys/sysctl.h> |
62#include <sys/taskqueue.h> |
|
62#include <sys/time.h> 63#include <sys/vmem.h> 64 65#include <vm/vm.h> 66#include <vm/pmap.h> 67#include <vm/vm_pageout.h> 68#include <vm/vm_param.h> 69#include <vm/vm_kern.h> --- 1049 unchanged lines hidden --- | 63#include <sys/time.h> 64#include <sys/vmem.h> 65 66#include <vm/vm.h> 67#include <vm/pmap.h> 68#include <vm/vm_pageout.h> 69#include <vm/vm_param.h> 70#include <vm/vm_kern.h> --- 1049 unchanged lines hidden --- |