Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jan 2023 18:27:41 GMT
From:      =?utf-8?Q?Jean-S=C3=A9bastien=20P=C3=A9dron?= <dumbbell@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: cf8f392260bf - main - linuxkpi: Add `memalloc_noreclaim_save()` and `memalloc_noreclaim_restore()`
Message-ID:  <202301161827.30GIRfIL078528@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dumbbell (ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=cf8f392260bf8e9b4e088f26f81ddb96bd97e91c

commit cf8f392260bf8e9b4e088f26f81ddb96bd97e91c
Author:     Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
AuthorDate: 2023-01-02 20:59:17 +0000
Commit:     Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
CommitDate: 2023-01-16 18:27:16 +0000

    linuxkpi: Add `memalloc_noreclaim_save()` and `memalloc_noreclaim_restore()`
    
    They are no-ops.
    
    Reviewed by:    emaste, manu
    Approved by:    emaste, manu
    Differential Revision:  https://reviews.freebsd.org/D37933
---
 sys/compat/linuxkpi/common/include/linux/sched/mm.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/sched/mm.h b/sys/compat/linuxkpi/common/include/linux/sched/mm.h
index 613473e142a9..c26d99378974 100644
--- a/sys/compat/linuxkpi/common/include/linux/sched/mm.h
+++ b/sys/compat/linuxkpi/common/include/linux/sched/mm.h
@@ -36,5 +36,8 @@
 #define	memalloc_nofs_save(x)		0
 #define	memalloc_nofs_restore(x)	do {	\
 	} while (0)
+#define	memalloc_noreclaim_save(x)	0
+#define	memalloc_noreclaim_restore(x)	do {	\
+	} while (0)
 
 #endif	/* _BSD_LKPI_LINUX_SCHED_MM_H_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301161827.30GIRfIL078528>