mirror of
https://github.com/choff/anbox-modules.git
synced 2026-04-12 23:40:13 +08:00
Compare commits
No commits in common. "a6aa97d65ba990a470bd015aba682b9f7763129e" and "1434f1ebf74135a99d17e83f25d8e23908efc4cf" have entirely different histories.
a6aa97d65b
...
1434f1ebf7
@ -26,7 +26,6 @@
|
|||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
#include "binder_alloc.h"
|
#include "binder_alloc.h"
|
||||||
#include "binder_trace.h"
|
#include "binder_trace.h"
|
||||||
#include "compat_version.h"
|
|
||||||
|
|
||||||
struct list_lru binder_alloc_lru;
|
struct list_lru binder_alloc_lru;
|
||||||
|
|
||||||
@ -1074,8 +1073,7 @@ static unsigned long
|
|||||||
binder_shrink_scan(struct shrinker *shrink, struct shrink_control *sc)
|
binder_shrink_scan(struct shrinker *shrink, struct shrink_control *sc)
|
||||||
{
|
{
|
||||||
unsigned long ret;
|
unsigned long ret;
|
||||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 13, 0) || \
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 13, 0))
|
||||||
defined(RHEL_10_1_BACKPORTS))
|
|
||||||
ret = list_lru_walk(&binder_alloc_lru, binder_alloc_free_page_no_lock,
|
ret = list_lru_walk(&binder_alloc_lru, binder_alloc_free_page_no_lock,
|
||||||
NULL, sc->nr_to_scan);
|
NULL, sc->nr_to_scan);
|
||||||
#else
|
#else
|
||||||
|
|||||||
@ -819,7 +819,7 @@ static struct file_system_type binder_fs_type = {
|
|||||||
.name = "binder",
|
.name = "binder",
|
||||||
.init_fs_context = binderfs_init_fs_context,
|
.init_fs_context = binderfs_init_fs_context,
|
||||||
.parameters = binderfs_fs_parameters,
|
.parameters = binderfs_fs_parameters,
|
||||||
.kill_sb = kill_anon_super,
|
.kill_sb = kill_litter_super,
|
||||||
.fs_flags = FS_USERNS_MOUNT,
|
.fs_flags = FS_USERNS_MOUNT,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -1,10 +0,0 @@
|
|||||||
#ifndef __COMPAT_VERSION_H__
|
|
||||||
# define __COMPAT_VERSION_H__
|
|
||||||
|
|
||||||
#if defined(RHEL_RELEASE_CODE) && defined(RHEL_RELEASE_VERSION)
|
|
||||||
# if RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(10, 1)
|
|
||||||
# define RHEL_10_1_BACKPORTS 1
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* __COMPAT_VERSION_H__ */
|
|
||||||
Loading…
Reference in New Issue
Block a user