vmscan: cut down on struct scan_control
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | vmscan: fix unmapping behaviour for RECLAIM_SWAPmm/ | +2 | 2 replies | |
| 2/5 | vmscan: remove may_unmap scan controlmm/ | +0 | 0 replies | |
| 3/5 | vmscan: remove all_unreclaimable scan controlmm/ | +6 | 9 replies | |
| 4/5 | vmscan: remove isolate_pages callback scan controlinclude/ mm/ | +35 | 3 replies | |
| 5/5 | vmscan: remove may_swap scan controlinclude/ mm/ mm/ | +20 | 3 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | KOSAKI Motohiro | KAMEZAWA Hiroyuki | Balbir Singh | Greg Thelen | Johannes Weiner |
|---|---|---|---|---|---|
| 1/5 | |||||
| 2/5 | |||||
| 3/5 | R-b | A-b | A-b | T-b | A-b |
| 4/5 | |||||
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [patch 0/5] vmscan: cut down on struct scan_control
Hi,
here are 5 patches that remove 4 members from struct scan_control.
sc->may_unmap is no longer used after patch #1, sc->may_swap is folded into sc->swappiness, sc->all_unreclaimable is made a return value, and sc->isolate_pages is replaced with a branch on sc->mem_cgroup (reusing a nearby branch, so no additional one) and direct function calling.
So nothing too spectecular. It saves a bit of code and 2 to 4 stack words depending on the wordsize and call path.
Hannes
include/linux/memcontrol.h | 13 +++-- include/linux/swap.h | 4 - mm/memcontrol.c | 13 +++-- mm/vmscan.c | 105 ++++++++++++++++++--------------------------- 4 files changed, 61 insertions(+), 74 deletions(-)
--
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/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>