git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: memcontrol: charge swap to cgroup2
[sfrench/cifs-2.6.git]
/
include
/
linux
/
memcontrol.h
diff --git
a/include/linux/memcontrol.h
b/include/linux/memcontrol.h
index 27123e597eca0296361cec929eb86e4c169453d9..6e0126230878621e56e3f6883898448a9e66a7e1 100644
(file)
--- a/
include/linux/memcontrol.h
+++ b/
include/linux/memcontrol.h
@@
-163,6
+163,7
@@
struct mem_cgroup {
/* Accounted resources */
struct page_counter memory;
+ struct page_counter swap;
/* Legacy consumer-oriented counters */
struct page_counter memsw;