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