X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=include%2Flinux%2Fpage_cgroup.h;h=a2d11771c84b1f4a8717670ddc6720f404a8820f;hb=855a85f704026d5fe7de94fb1b765fe03404507f;hp=1153095ee457e496c51c0c893b5853fc7b683afb;hpb=9fb4b7cc0724f178d4b24a2a566ea1e7cb120b82;p=~andy%2Flinux diff --git a/include/linux/page_cgroup.h b/include/linux/page_cgroup.h index 1153095ee45..a2d11771c84 100644 --- a/include/linux/page_cgroup.h +++ b/include/linux/page_cgroup.h @@ -10,8 +10,6 @@ enum { /* flags for mem_cgroup and file and I/O status */ PCG_MOVE_LOCK, /* For race between move_account v.s. following bits */ PCG_FILE_MAPPED, /* page is accounted as "mapped" */ - /* No lock in page_cgroup */ - PCG_ACCT_LRU, /* page has been accounted for (under lru_lock) */ __NR_PCG_FLAGS, }; @@ -75,12 +73,6 @@ TESTPCGFLAG(Used, USED) CLEARPCGFLAG(Used, USED) SETPCGFLAG(Used, USED) -SETPCGFLAG(AcctLRU, ACCT_LRU) -CLEARPCGFLAG(AcctLRU, ACCT_LRU) -TESTPCGFLAG(AcctLRU, ACCT_LRU) -TESTCLEARPCGFLAG(AcctLRU, ACCT_LRU) - - SETPCGFLAG(FileMapped, FILE_MAPPED) CLEARPCGFLAG(FileMapped, FILE_MAPPED) TESTPCGFLAG(FileMapped, FILE_MAPPED)