aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
AgeCommit message (Expand)AuthorFilesLines
2012-07-31memcg: add mem_cgroup_from_css() helperWanpeng Li1-8/+11
2012-07-31mm: memcg: only check anon swapin page charges for swap cacheJohannes Weiner1-8/+14
2012-07-31mm: memcg: only check swap cache pages for repeated chargingJohannes Weiner1-5/+12
2012-07-31mm: memcg: split swapin charge function into private and public partJohannes Weiner1-9/+15
2012-07-31mm: memcg: remove needless !mm fixup to init_mm when chargingJohannes Weiner1-6/+1
2012-07-31mm: memcg: remove unneeded shmem charge typeJohannes Weiner1-10/+1
2012-07-31mm: memcg: move swapin charge functions above callsitesJohannes Weiner1-36/+32
2012-07-31mm: memcg: only check for PageSwapCache when uncharging anonJohannes Weiner1-9/+4
2012-07-31mm: memcg: push down PageSwapCache check into uncharge entry functionsJohannes Weiner1-6/+12
2012-07-31mm: memcg: fix compaction/migration failing due to memcg limitsJohannes Weiner1-31/+36
2012-07-31mm, memcg: move all oom handling to memcontrol.cDavid Rientjes1-2/+13
2012-07-31mm, oom: reduce dependency on tasklist_lockDavid Rientjes1-3/+0
2012-07-31mm, memcg: introduce own oom handler to iterate only over its own threadsDavid Rientjes1-1/+60
2012-07-31mm/memcg: replace inexistence move_lock_page_cgroup() by move_lock_mem_cgroup...Wanpeng Li1-2/+2
2012-07-31mm/memcg: mem_cgroup_relize_xxx_limit can guarantee memcg->res.limit <= memcg...Wanpeng Li1-2/+2
2012-07-31memcg: rename mem_control_xxx to memcg_xxxWanpeng Li1-4/+4
2012-07-31memcg: fix bad behavior in use_hierarchy fileGlauber Costa1-0/+6
2012-07-31memcg: rename config variablesAndrew Morton1-10/+10
2012-07-31memcg: make mem_cgroup_force_empty_list() return boolKAMEZAWA Hiroyuki1-12/+7
2012-07-31memcg: mem_cgroup_move_parent() doesn't need gfp_maskKAMEZAWA Hiroyuki1-3/+2
2012-07-31memcg: clean up force_empty_list() return value checkKamezawa Hiroyuki1-5/+0
2012-07-31memcg: remove check for signal_pending() during rmdir()Kamezawa Hiroyuki1-3/+0
2012-07-31memcg: remove MEM_CGROUP_CHARGE_TYPE_FORCEKamezawa Hiroyuki1-1/+0
2012-07-31memcg: rename MEM_CGROUP_CHARGE_TYPE_MAPPED as MEM_CGROUP_CHARGE_TYPE_ANONKamezawa Hiroyuki1-8/+8
2012-07-31memcg: rename MEM_CGROUP_STAT_SWAPOUT as MEM_CGROUP_STAT_SWAPKamezawa Hiroyuki1-5/+5
2012-06-20mm: fix kernel-doc warningsWanpeng Li1-2/+2
2012-06-20memcg: fix use_hierarchy css_is_ancestor oops regressionHugh Dickins1-1/+1
2012-05-29memcg: decrement static keys at real destroy timeGlauber Costa1-2/+29
2012-05-29memcg: always free struct memcg through schedule_work()Glauber Costa1-11/+13
2012-05-29mm/memcg: apply add/del_page to lruvecHugh Dickins1-77/+24
2012-05-29mm/memcg: get_lru_size not get_lruvec_sizeHugh Dickins1-5/+5
2012-05-29mm: memcg: print statistics from live countersJohannes Weiner1-102/+66
2012-05-29mm: memcg: group swapped-out statistics counter logicallyJohannes Weiner1-2/+2
2012-05-29mm: memcg: keep ratelimit counter separate from event countersJohannes Weiner1-3/+3
2012-05-29mm: memcg: print statistics directly to seq_fileJohannes Weiner1-28/+27
2012-05-29mm: memcg: convert numa stat to read_seq_string interfaceJohannes Weiner1-20/+3
2012-05-29mm: memcg: remove obsolete statistics array boundary enum itemJohannes Weiner1-2/+1
2012-05-29memcg: don't uncharge in mem_cgroup_move_account()KAMEZAWA Hiroyuki1-14/+6
2012-05-29memcg: move charges to root cgroup if use_hierarchy=0KAMEZAWA Hiroyuki1-23/+11
2012-05-29memcg: use res_counter_uncharge_until() in move_parent()KAMEZAWA Hiroyuki1-6/+36
2012-05-29mm/vmscan: push lruvec pointer into inactive_list_is_low()Konstantin Khlebnikov1-14/+6
2012-05-29mm/vmscan: replace zone_nr_lru_pages() with get_lruvec_size()Konstantin Khlebnikov1-0/+9
2012-05-29mm: add link from struct lruvec to struct zoneKonstantin Khlebnikov1-3/+1
2012-05-29memcg: make threshold index in the right positionSha Zhengju1-5/+6
2012-05-29memcg: remove redundant parenthesesKirill A. Shutemov1-10/+10
2012-05-29memcg: mark stat field of mem_cgroup struct as __percpuKirill A. Shutemov1-1/+1
2012-05-29memcg: remove unused variableKirill A. Shutemov1-2/+0
2012-05-29memcg: mark more functions/variables as staticKirill A. Shutemov1-6/+7
2012-05-29mm/memcg: kill mem_cgroup_lru_del()Konstantin Khlebnikov1-5/+0
2012-05-29mm/memcg: move reclaim_stat into lruvecHugh Dickins1-20/+7
2012-05-29memcg swap: use mem_cgroup_uncharge_swap()Hugh Dickins1-18/+1
2012-05-29memcg swap: mem_cgroup_move_swap_account never needs fixupHugh Dickins1-16/+3
2012-05-29memcg: fix/change behavior of shared anon at moving taskKAMEZAWA Hiroyuki1-8/+14
2012-05-29shmem: replace page if mapping excludes its zoneHugh Dickins1-4/+13
2012-05-29mm: memcg: count pte references from every member of the reclaimed hierarchyJohannes Weiner1-5/+11
2012-05-29kernel: cgroup: push rcu read locking from css_is_ancestor() to callsiteJohannes Weiner1-5/+9
2012-05-29mm: remove swap token codeRik van Riel1-1/+0
2012-05-22Merge branch 'for-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cg...Linus Torvalds1-63/+52
2012-05-19memcg,thp: fix res_counter:96 regressionHugh Dickins1-1/+1
2012-05-10memcg: free spare array to avoid memory leakSha Zhengju1-0/+6
2012-04-25mm: memcg: move pc lookup point to commit_charge()Johannes Weiner1-12/+5
2012-04-18memcg: fix Bad page state after replace_page_cacheHugh Dickins1-0/+1
2012-04-12memcg: do not open code accesses to res_counter membersGlauber Costa1-2/+2
2012-04-12memcg: fix broken boolen expressionKirill A. Shutemov1-1/+1
2012-04-10cgroup: get rid of populate for memcgGlauber Costa1-10/+13
2012-04-10cgroup: pass struct mem_cgroup instead of struct cgroup to socket memcgGlauber Costa1-15/+9
2012-04-01cgroup: make css->refcnt clearing on cgroup removal optionalTejun Heo1-0/+1
2012-04-01cgroup: convert memcg controller to the new cftype interfaceTejun Heo1-9/+3
2012-04-01memcg: always create memsw files if CONFIG_CGROUP_MEM_RES_CTLR_SWAPTejun Heo1-34/+31
2012-03-28mm: thp: fix up pmd_trans_unstable() locationsAndrea Arcangeli1-0/+4
2012-03-21memcg: avoid THP split in task migrationNaoya Horiguchi1-8/+77
2012-03-21memcg: clean up existing move charge codeNaoya Horiguchi1-9/+8
2012-03-21mm/memcontrol.c: remove unnecessary 'break' in mem_cgroup_read()Jeff Liu1-1/+0
2012-03-21mm/memcontrol.c: remove redundant BUG_ON() in mem_cgroup_usage_unregister_eve...Anton Vorontsov1-6/+0
2012-03-21mm/memcontrol.c: s/stealed/stolen/Andrew Morton1-6/+6
2012-03-21memcg: fix performance of mem_cgroup_begin_update_page_stat()KAMEZAWA Hiroyuki1-1/+8
2012-03-21memcg: remove PCG_FILE_MAPPEDKAMEZAWA Hiroyuki1-5/+6
2012-03-21memcg: use new logic for page stat accountingKAMEZAWA Hiroyuki1-20/+42
2012-03-21memcg: remove PCG_MOVE_LOCK flag from page_cgroupKAMEZAWA Hiroyuki1-10/+32
2012-03-21memcg: simplify move_account() checkKAMEZAWA Hiroyuki1-40/+30
2012-03-21memcg: remove EXPORT_SYMBOL(mem_cgroup_update_page_stat)KAMEZAWA Hiroyuki1-1/+0
2012-03-21memcg: remove PCG_CACHE page_cgroup flagKAMEZAWA Hiroyuki1-25/+32
2012-03-21memcg: remove unnecessary thp check in page stat accountingKAMEZAWA Hiroyuki1-1/+1
2012-03-21memcg: remove redundant returnsHugh Dickins1-4/+0
2012-03-21memcg: enum lru_list lruHugh Dickins1-10/+10
2012-03-21memcg: lru_size instead of MEM_CGROUP_ZSTATHugh Dickins1-8/+6
2012-03-21memcg: replace mem and mem_cont stragglersHugh Dickins1-42/+42
2012-03-21mm, memcg: pass charge order to oom killerDavid Rientjes1-3/+3
2012-03-21mm: thp: fix pmd_bad() triggering in code paths holding mmap_sem read modeAndrea Arcangeli1-0/+4
2012-03-20Merge branch 'for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cg...Linus Torvalds1-29/+19
2012-03-15memcg: free mem_cgroup by RCU to fix oopsHugh Dickins1-6/+47
2012-03-09memcg: revert fix to mapcount check for this releaseHugh Dickins1-1/+1
2012-03-05memcg: fix mapcount check in move charge code for anonymous pageNaoya Horiguchi1-1/+1
2012-03-05memcg: fix GPF when cgroup removal races with last exitHugh Dickins1-17/+13
2012-03-05memcg: fix deadlock by inverting lrucare nestingHugh Dickins1-35/+37
2012-02-24mm: memcg: Correct unregistring of events attached to the same eventfdAnton Vorontsov1-1/+4
2012-02-03mm/memcontrol.c: fix warning with CONFIG_NUMA=nAndrew Morton1-1/+2
2012-02-02cgroup: remove cgroup_subsys argument from callbacksLi Zefan1-29/+19
2012-01-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-2/+2
2012-01-23mm: memcg: update the correct soft limit tree during migrationJohannes Weiner1-1/+1
2012-01-22net: fix socket memcg build with !CONFIG_NETGlauber Costa1-2/+2
2012-01-17net: move sock_update_memcg outside of CONFIG_INETGlauber Costa1-1/+1
2012-01-12memcg: fix mem_cgroup_print_bad_pageHugh Dickins1-16/+1
2012-01-12memcg: fix split_huge_page_refcounts()Hugh Dickins1-10/+2
2012-01-12memcg: cleanup for_each_node_state()Bob Liu1-5/+5
2012-01-12memcg: simplify LRU handling by new ruleKAMEZAWA Hiroyuki1-69/+54
2012-01-12memcg: clear pc->mem_cgroup if necessary.KAMEZAWA Hiroyuki1-0/+17
2012-01-12memcg: simplify corner case handling of LRU.KAMEZAWA Hiroyuki1-93/+16
2012-01-12memcg: simplify page cache chargingKAMEZAWA Hiroyuki1-22/+9
2012-01-12oom, memcg: fix exclusion of memcg threads after they have detached their mmDavid Rientjes1-4/+15
2012-01-12memcg: free entries in soft_limit_tree if allocation failsMichal Hocko1-1/+11
2012-01-12page_cgroup: add helper function to get swap_cgroupBob Liu1-2/+2
2012-01-12mm: memcg: remove unneeded checks from uncharge_page()Johannes Weiner1-2/+1
2012-01-12mm: memcg: remove unneeded checks from newpage_charge()Johannes Weiner1-12/+4
2012-01-12mm: memcg: lookup_page_cgroup (almost) never returns NULLJohannes Weiner1-4/+7
2012-01-12mm: memcg: clean up fault accountingJohannes Weiner1-14/+4
2012-01-12mm: unify remaining mem_cont, mem, etc. variable names to memcgJohannes Weiner1-25/+27
2012-01-12mm: memcg: shorten preempt-disabled section around event checksJohannes Weiner1-38/+35
2012-01-12memcg: make mem_cgroup_split_huge_fixup() more efficientKAMEZAWA Hiroyuki1-17/+17
2012-01-12mm: make per-memcg LRU lists exclusiveJohannes Weiner1-160/+151
2012-01-12mm: collect LRU list heads into struct lruvecJohannes Weiner1-10/+7
2012-01-12mm: memcg: remove optimization of keeping the root_mem_cgroup LRU lists emptyJohannes Weiner1-10/+2
2012-01-12mm: move memcg hierarchy reclaim to generic reclaim codeJohannes Weiner1-84/+85
2012-01-12mm: memcg: per-priority per-zone hierarchy scan generationsJohannes Weiner1-18/+47
2012-01-12mm: memcg: consolidate hierarchy iteration primitivesJohannes Weiner1-124/+75
2012-01-12memcg: add mem_cgroup_replace_page_cache() to fix LRU issueKAMEZAWA Hiroyuki1-0/+44
2012-01-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-5/+14
2012-01-09Merge branch 'for-3.3' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cg...Linus Torvalds1-8/+8
2012-01-07net: fix sock_clone reference mismatch with tcp memcontrolGlauber Costa1-5/+14
2011-12-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+1
2011-12-22Partial revert "Basic kernel memory functionality for the Memory Controller"Glauber Costa1-87/+6
2011-12-20memcg: keep root group unchanged if creation failsHillf Danton1-2/+1
2011-12-12cgroup: introduce cgroup_taskset and use it in subsys->can_attach(), cancel_a...Tejun Heo1-8/+8
2011-12-12tcp memory pressure controlsGlauber Costa1-1/+39
2011-12-12socket: initial cgroup code.Glauber Costa1-2/+44
2011-12-12Basic kernel memory functionality for the Memory ControllerGlauber Costa1-5/+100
2011-11-06Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+1
2011-11-02memcg: Fix race condition in memcg_check_events() with this_cpu usageSteven Rostedt1-4/+6
2011-11-02memcg: close race between charge and putbackJohannes Weiner1-1/+20
2011-11-02memcg: skip scanning active lists based on individual sizeJohannes Weiner1-34/+17
2011-11-02memcg: do not expose uninitialized mem_cgroup_per_node to worldIgor Mammedov1-1/+1
2011-11-02memcg: fix oom schedule_timeout()KAMEZAWA Hiroyuki1-1/+1
2011-11-02memcg: rename mem variable to memcgRaghavendra K T1-463/+467
2011-10-31mm: change isolate mode from #define to bitwise typeMinchan Kim1-1/+2
2011-10-31mm: Add export.h for EXPORT_SYMBOL to active symbol exportersPaul Gortmaker1-0/+1
2011-09-14memcg: Revert "memcg: add memory.vmscan_stat"Johannes Weiner1-166/+6
2011-08-25memcg: fix hierarchical oom lockingJohannes Weiner1-12/+5
2011-08-25memcg: pin execution to current cpu while draining stockJohannes Weiner1-7/+2
2011-08-09Revert "memcg: get rid of percpu_charge_mutex lock"Michal Hocko1-2/+10
2011-08-03tmpfs: convert mem_cgroup shmem to radix-swapHugh Dickins1-57/+9
2011-07-26memcg: get rid of percpu_charge_mutex lockMichal Hocko1-10/+2
2011-07-26memcg: add mem_cgroup_same_or_subtree() helperMichal Hocko1-25/+26
2011-07-26memcg: unify sync and async per-cpu charge cache drainingMichal Hocko1-14/+34
2011-07-26memcg: do not try to drain per-cpu caches without pagesMichal Hocko1-6/+7
2011-07-26memcg: add memory.vmscan_statKAMEZAWA Hiroyuki1-6/+166
2011-07-26memcg: fix behavior of mem_cgroup_resize_limit()Daisuke Nishimura1-1/+1
2011-07-26memcg: change memcg_oom_mutex to spinlockMichal Hocko1-11/+11
2011-07-26memcg: make oom_lock 0 and 1 based rather than counterMichal Hocko1-16/+70
2011-07-26memcg: consolidate memory cgroup lru stat functionsKAMEZAWA Hiroyuki1-127/+49
2011-07-26memcg: export memory cgroup's swappiness with mem_cgroup_swappiness()KAMEZAWA Hiroyuki1-8/+7
2011-07-08memcg: fix numa scan information update to be triggered by memory eventKAMEZAWA Hiroyuki1-6/+27
2011-07-08memcg: fix reclaimable lru check in memcgKAMEZAWA Hiroyuki1-31/+76
2011-06-27mm: move shmem prototypes to shmem_fs.hHugh Dickins1-0/+1
2011-06-15memcg: avoid percpu cached charge draining at softlimitKAMEZAWA Hiroyuki1-1/+7
2011-06-15memcg: fix percpu cached charge draining frequencyKAMEZAWA Hiroyuki1-16/+38
2011-06-15memcg: fix wrong check of noswap with softlimitKAMEZAWA Hiroyuki1-1/+1
2011-06-15mm: memory.numa_stat: fix file permissionKAMEZAWA Hiroyuki1-0/+1
2011-06-15vmscan,memcg: memcg aware swap tokenKOSAKI Motohiro1-9/+7
2011-05-26memcg: add the pagefault count into memcg statsYing Han1-0/+47
2011-05-26memcg: add memory.numastat api for numa statisticsYing Han1-0/+155
2011-05-26memcg: rename mem_cgroup_zone_nr_pages() to mem_cgroup_zone_nr_lru_pages()Ying Han1-3/+3
2011-05-26memcg: remove unused retry signal from reclaimJohannes Weiner1-1/+1
2011-05-26memcg: reclaim memory from nodes in round-robin orderYing Han1-6/+96
2011-05-26memcg: remove pointless next_mz nullification in mem_cgroup_soft_limit_reclaim()Michal Hocko1-3/+2
2011-05-26memcg: count the soft_limit reclaim in global background reclaimYing Han1-9/+20
2011-05-26cgroups: add per-thread subsystem callbacksBen Blum1-12/+6
2011-05-25memsw: remove noswapaccount kernel parameterMichal Hocko1-10/+3
2011-03-31Fix common misspellingsLucas De Marchi1-4/+4
2011-03-23memcg: fix leak on wrong LRU with FUSEKAMEZAWA Hiroyuki1-18/+52
2011-03-23mm/memcontrol.c: suppress uninitialized-var warning with older gcc'sAndrew Morton1-1/+1
2011-03-23memcg: use native word page statistics countersJohannes Weiner1-29/+59
2011-03-23memcg: break out event counters from other statsJohannes Weiner1-12/+37
2011-03-23memcg: unify charge/uncharge quantities to units of pagesJohannes Weiner1-70/+65
2011-03-23memcg: convert uncharge batching from bytes to page granularityJohannes Weiner1-8/+10
2011-03-23memcg: convert per-cpu stock from bytes to page granularityJohannes Weiner1-11/+13
2011-03-23memcg: keep only one charge cancelling functionJohannes Weiner1-13/+9
2011-03-23memcg: remove memcg->reclaim_param_lockJohannes Weiner1-17/+1
2011-03-23memcg: charged pages always have valid per-memcg zone infoJohannes Weiner1-3/+0
2011-03-23memcg: remove direct page_cgroup-to-page pointerJohannes Weiner1-2/+2
2011-03-23memcg: condense page_cgroup-to-page lookup pointsJohannes Weiner1-15/+23
2011-03-23memcg: fold __mem_cgroup_move_account into callerJohannes Weiner1-37/+29
2011-03-23memcg: change page_cgroup_zoneinfo signatureJohannes Weiner1-10/+9
2011-03-23memcg: no uncharged pages reach page_cgroup_zoneinfoJohannes Weiner1-3/+0
2011-03-23memcg: add memcg sanity checks at allocating and freeing pagesDaisuke Nishimura1-0/+46
2011-03-23memcg: remove NULL check from lookup_page_cgroup() resultJohannes Weiner1-4/+1
2011-03-23memcg: remove impossible conditional when committingJohannes Weiner1-4/+0
2011-03-23memcg: remove unused page flag bitfield definesJohannes Weiner1-7/+0
2011-03-23memcg: simplify the way memory limits are checkedJohannes Weiner1-32/+17
2011-03-23memcg: soft limit reclaim should end at limit not belowJohannes Weiner1-1/+1
2011-03-23memcg: fix ugly initialization of return value is in callerKAMEZAWA Hiroyuki1-2/+6