OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/resctrl: Preserve CDP enable over CPU hotplug
[tomoyo/tomoyo-test1.git]
/
arch
/
x86
/
kernel
/
cpu
/
resctrl
/
core.c
diff --git
a/arch/x86/kernel/cpu/resctrl/core.c
b/arch/x86/kernel/cpu/resctrl/core.c
index
89049b3
..
d8cc522
100644
(file)
--- a/
arch/x86/kernel/cpu/resctrl/core.c
+++ b/
arch/x86/kernel/cpu/resctrl/core.c
@@
-578,6
+578,8
@@
static void domain_add_cpu(int cpu, struct rdt_resource *r)
d->id = id;
cpumask_set_cpu(cpu, &d->cpu_mask);
+ rdt_domain_reconfigure_cdp(r);
+
if (r->alloc_capable && domain_setup_ctrlval(r, d)) {
kfree(d);
return;