Revert "rcu: Force rcu_expedited for Android"

This reverts commit e17aedc1fa5020b943f8f557f4795668737e8362.

Change-Id: I880ad0558e2bdd26ffb86ac36380dfd5f132e0bc
Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
Richard Raya 2024-11-02 20:07:56 -03:00
parent 794a9d670f
commit ff20ee02f1
2 changed files with 3 additions and 3 deletions

View File

@ -149,7 +149,7 @@ static ssize_t fscaps_show(struct kobject *kobj,
KERNEL_ATTR_RO(fscaps); KERNEL_ATTR_RO(fscaps);
#ifndef CONFIG_TINY_RCU #ifndef CONFIG_TINY_RCU
int rcu_expedited = IS_ENABLED(CONFIG_ANDROID); int rcu_expedited;
static ssize_t rcu_expedited_show(struct kobject *kobj, static ssize_t rcu_expedited_show(struct kobject *kobj,
struct kobj_attribute *attr, char *buf) struct kobj_attribute *attr, char *buf)
{ {
@ -166,7 +166,7 @@ static ssize_t rcu_expedited_store(struct kobject *kobj,
} }
KERNEL_ATTR_RW(rcu_expedited); KERNEL_ATTR_RW(rcu_expedited);
int rcu_normal = !IS_ENABLED(CONFIG_ANDROID); int rcu_normal;
static ssize_t rcu_normal_show(struct kobject *kobj, static ssize_t rcu_normal_show(struct kobject *kobj,
struct kobj_attribute *attr, char *buf) struct kobj_attribute *attr, char *buf)
{ {

View File

@ -67,7 +67,7 @@ extern int rcu_expedited; /* from sysctl */
module_param(rcu_expedited, int, 0); module_param(rcu_expedited, int, 0);
extern int rcu_normal; /* from sysctl */ extern int rcu_normal; /* from sysctl */
module_param(rcu_normal, int, 0); module_param(rcu_normal, int, 0);
static int rcu_normal_after_boot = !IS_ENABLED(CONFIG_ANDROID); static int rcu_normal_after_boot;
module_param(rcu_normal_after_boot, int, 0); module_param(rcu_normal_after_boot, int, 0);
#endif /* #ifndef CONFIG_TINY_RCU */ #endif /* #ifndef CONFIG_TINY_RCU */