memcg: clean up limit checking
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | memcg: soft limit reclaim should end at limit not belowinclude/ mm/ | +3 | 2 replies | |
| 2/2 | memcg: simplify the way memory limits are checkedinclude/ mm/ | +31 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | KAMEZAWA Hiroyuki | Balbir Singh |
|---|---|---|
| 1/2 | A-b | A-b |
| 2/2 | A-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [patch 0/2] memcg: clean up limit checking
Quoted 7 lines · Andrew Morton
Quoted 2 lines · On Tue, 1 Feb 2011 01:04:55 +0100 Johannes Weiner <[email protected]> wrote:
Maybe it would be better to use
res_counter_margin(cnt)>= wanted throughout the code.yup.
Okay, I cleaned it all up a bit for .39. While doing so, I also found that we are reclaiming one page too much when pushing back on behalf of soft limits.
So 1/2 fixes the soft limit reclaim off-by-one-page, and 2/2 reduces all the limit checks to two functions.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>