Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1560242
| From | "Hillf Danton" <hillf.zj@alibaba-inc.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/3] mm, vmscan: cleanup lru size claculations |
| Date | 2017-01-17 04:50 +0100 |
| Message-ID | <t0sWt-1EX-5@gated-at.bofh.it> (permalink) |
| References | <t0lih-54V-3@gated-at.bofh.it> <t0lih-54V-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tuesday, January 17, 2017 3:33 AM Michal Hocko wrote: > > From: Michal Hocko <mhocko@suse.com> > > lruvec_lru_size returns the full size of the LRU list while we sometimes > need a value reduced only to eligible zones (e.g. for lowmem requests). > inactive_list_is_low is one such user. Later patches will add more of > them. Add a new parameter to lruvec_lru_size and allow it filter out > zones which are not eligible for the given context. > > Acked-by: Johannes Weiner <hannes@cmpxchg.org> > Signed-off-by: Michal Hocko <mhocko@suse.com> > --- Acked-by: Hillf Danton <hillf.zj@alibaba-inc.com>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/3] mm, vmscan: cleanup lru size claculations Michal Hocko <mhocko@kernel.org> - 2017-01-16 20:40 +0100
[PATCH 3/3] Reverted "mm: bail out in shrink_inactive_list()" Michal Hocko <mhocko@kernel.org> - 2017-01-16 20:40 +0100
Re: [PATCH 3/3] Reverted "mm: bail out in shrink_inactive_list()" "Hillf Danton" <hillf.zj@alibaba-inc.com> - 2017-01-17 05:10 +0100
Re: [PATCH 3/3] Reverted "mm: bail out in shrink_inactive_list()" Minchan Kim <minchan@kernel.org> - 2017-01-17 08:00 +0100
[PATCH 2/3] mm, vmscan: consider eligible zones in get_scan_count Michal Hocko <mhocko@kernel.org> - 2017-01-16 20:40 +0100
Re: [PATCH 2/3] mm, vmscan: consider eligible zones in get_scan_count "Hillf Danton" <hillf.zj@alibaba-inc.com> - 2017-01-17 04:50 +0100
Re: [PATCH 1/3] mm, vmscan: cleanup lru size claculations "Hillf Danton" <hillf.zj@alibaba-inc.com> - 2017-01-17 04:50 +0100
Re: [PATCH 1/3] mm, vmscan: cleanup lru size claculations Minchan Kim <minchan@kernel.org> - 2017-01-17 08:00 +0100
csiph-web