xref: /src/sys/compat/linuxkpi/common/include/linux/memcontrol.h (revision b5f7a0b0fd8953c00b154d96b79ba0208c2e1aca)
1b5f7a0b0SJean-Sébastien Pédron /*-
2b5f7a0b0SJean-Sébastien Pédron  * Copyright (c) 2025 The FreeBSD Foundation
3b5f7a0b0SJean-Sébastien Pédron  * Copyright (c) 2025 Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
4b5f7a0b0SJean-Sébastien Pédron  *
5b5f7a0b0SJean-Sébastien Pédron  * This software was developed by Jean-Sébastien Pédron under sponsorship
6b5f7a0b0SJean-Sébastien Pédron  * from the FreeBSD Foundation.
7b5f7a0b0SJean-Sébastien Pédron  *
8b5f7a0b0SJean-Sébastien Pédron  * Redistribution and use in source and binary forms, with or without
9b5f7a0b0SJean-Sébastien Pédron  * modification, are permitted provided that the following conditions
10b5f7a0b0SJean-Sébastien Pédron  * are met:
11b5f7a0b0SJean-Sébastien Pédron  * 1. Redistributions of source code must retain the above copyright
12b5f7a0b0SJean-Sébastien Pédron  *    notice, this list of conditions and the following disclaimer.
13b5f7a0b0SJean-Sébastien Pédron  * 2. Redistributions in binary form must reproduce the above copyright
14b5f7a0b0SJean-Sébastien Pédron  *    notice, this list of conditions and the following disclaimer in the
15b5f7a0b0SJean-Sébastien Pédron  *    documentation and/or other materials provided with the distribution.
16b5f7a0b0SJean-Sébastien Pédron  *
17b5f7a0b0SJean-Sébastien Pédron  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18b5f7a0b0SJean-Sébastien Pédron  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19b5f7a0b0SJean-Sébastien Pédron  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20b5f7a0b0SJean-Sébastien Pédron  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
21b5f7a0b0SJean-Sébastien Pédron  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22b5f7a0b0SJean-Sébastien Pédron  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23b5f7a0b0SJean-Sébastien Pédron  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24b5f7a0b0SJean-Sébastien Pédron  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25b5f7a0b0SJean-Sébastien Pédron  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26b5f7a0b0SJean-Sébastien Pédron  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27b5f7a0b0SJean-Sébastien Pédron  * SUCH DAMAGE.
28b5f7a0b0SJean-Sébastien Pédron  */
29b5f7a0b0SJean-Sébastien Pédron 
30b5f7a0b0SJean-Sébastien Pédron 
31b5f7a0b0SJean-Sébastien Pédron #ifndef _LINUXKPI_LINUX_MEMCONTROL_H_
32b5f7a0b0SJean-Sébastien Pédron #define	_LINUXKPI_LINUX_MEMCONTROL_H_
33b5f7a0b0SJean-Sébastien Pédron 
34b5f7a0b0SJean-Sébastien Pédron #include <linux/cgroup.h>
35b5f7a0b0SJean-Sébastien Pédron #include <linux/hardirq.h>
36b5f7a0b0SJean-Sébastien Pédron #include <linux/jump_label.h>
37b5f7a0b0SJean-Sébastien Pédron #include <linux/kernel.h>
38b5f7a0b0SJean-Sébastien Pédron #include <linux/eventfd.h>
39b5f7a0b0SJean-Sébastien Pédron #include <linux/mm.h>
40b5f7a0b0SJean-Sébastien Pédron #include <linux/page-flags.h>
41b5f7a0b0SJean-Sébastien Pédron #include <linux/shrinker.h>
42b5f7a0b0SJean-Sébastien Pédron 
43b5f7a0b0SJean-Sébastien Pédron #endif /* defined(_LINUXKPI_LINUX_MEMCONTROL_H_) */
44