1228567Skib/*-
2228567Skib * Copyright (c) 2009 Konstantin Belousov <kib@FreeBSD.org>
3228567Skib *
4228567Skib * Redistribution and use in source and binary forms, with or without
5228567Skib * modification, are permitted provided that the following conditions
6228567Skib * are met:
7228567Skib * 1. Redistributions of source code must retain the above copyright
8228567Skib *    notice, this list of conditions and the following disclaimer.
9228567Skib * 2. Redistributions in binary form must reproduce the above copyright
10228567Skib *    notice, this list of conditions and the following disclaimer in the
11228567Skib *    documentation and/or other materials provided with the distribution.
12228567Skib * 4. Neither the name of the University nor the names of its contributors
13228567Skib *    may be used to endorse or promote products derived from this software
14228567Skib *    without specific prior written permission.
15228567Skib *
16228567Skib * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
17228567Skib * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18228567Skib * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19228567Skib * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
20228567Skib * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21228567Skib * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22228567Skib * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23228567Skib * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24228567Skib * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25228567Skib * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26228567Skib * SUCH DAMAGE.
27228567Skib *
28228567Skib *	$FreeBSD$
29228567Skib */
30228567Skib
31228567Skib#ifndef _SYS__KSTACK_CACHE_H
32228567Skib#define	_SYS__KSTACK_CACHE_H
33228567Skib
34228567Skibstruct kstack_cache_entry {
35228567Skib	struct vm_object *ksobj;
36228567Skib	struct kstack_cache_entry *next_ks_entry;
37228567Skib};
38228567Skib
39228567Skibextern struct kstack_cache_entry *kstack_cache;
40228567Skib
41228567Skib#endif
42228567Skib
43228567Skib
44