memcg: prevent -ENOMEM in pre_destroy()
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest6 patches 21 repliesIn review
- v2 RFC4 of 7 patches 17 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | memcg: fix error code in hugetlb_force_memcg_empty()mm/ | +4 | 6 replies | |
| 2/6 | add res_counter_uncharge_until()Documentation/ include/ kernel/ | +19 | 6 replies | |
| 3/6 | memcg: use res_counter_uncharge_until in move_parent()mm/ | +42 | 0 replies | |
| 4/6 | memcg: move charges to root cgroup if use_hierarchy=0.Documentation/ mm/ | +25 | 2 replies | |
| 5/6 | memcg: don't uncharge in mem_cgroup_move_accountmm/ | +6 | 0 replies | |
| 6/6 | remove __must_check for res_counter_charge_nofail()include/ | +1 | 2 replies |
Reviews trailers per patch
3 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Aneesh Kumar K.V | Tejun Heo |
|---|---|---|
| 1/6 | R-b R-b | |
| 2/6 | A-b | |
| 3/6 | ||
| 4/6 | ||
| 5/6 | ||
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3][0/6] memcg: prevent -ENOMEM in pre_destroy()
Hi, here is v3 based on memcg-devel tree.git://github.com/mstsxfx/memcg-devel.git
This patch series is for avoiding -ENOMEM at calling pre_destroy() which is called at rmdir(). After this patch, charges will be moved to root (if use_hierarchy==0) or parent (if use_hierarchy==1), and we'll not see -ENOMEM in rmdir() of cgroup.
v2 included some other patches than ones for handling -ENOMEM problem, but I divided it. I'd like to post others in different series, later. No logical changes in general, maybe v3 is cleaner than v2.
0001 ....fix error code in memcg-hugetlb
0002 ....add res_counter_uncharge_until
0003 ....use res_counter_uncharge_until in memcg
0004 ....move charges to root is use_hierarchy==0
0005 ....cleanup for mem_cgroup_move_account()
0006 ....remove warning of res_counter_uncharge_nofail (from Costa's slub accounting series).
Regards,
-Kame