Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1450443

Re: [RFC] mm: bail out in shrin_inactive_list

From Mel Gorman <mgorman@suse.de>
Newsgroups linux.kernel
Subject Re: [RFC] mm: bail out in shrin_inactive_list
Date 2016-07-26 09:50 +0200
Message-ID <rZ5hL-7Cz-5@gated-at.bofh.it> (permalink)
References <rYIXT-1RO-3@gated-at.bofh.it> <rYKmZ-2Pk-9@gated-at.bofh.it> <rYZm2-3V3-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jul 26, 2016 at 10:21:57AM +0900, Minchan Kim wrote:
> > > I believe proper fix is to modify get_scan_count. IOW, I think
> > > we should introduce lruvec_reclaimable_lru_size with proper
> > > classzone_idx but I don't know how we can fix it with memcg
> > > which doesn't have zone stat now. should introduce zone stat
> > > back to memcg? Or, it's okay to ignore memcg?
> > > 
> > 
> > I think it's ok to ignore memcg in this case as a memcg shrink is often
> > going to be for pages that can use highmem anyway.
> 
> So, you mean it's okay to ignore kmemcg case?
> If memcg guys agree it, I want to make get_scan_count consider
> reclaimable lru size under the reclaim constraint, instead.
> 

For now, I believe yet. My understanding is that the primary use cases
for kmemcg is systems running large numbers of containers. It consider
it extremely unlikely that large 32-bit systems are being used for large
numbers of containers and require usage of kmemcg.

-- 
Mel Gorman
SUSE Labs

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC] mm: bail out in shrin_inactive_list Minchan Kim <minchan@kernel.org> - 2016-07-25 10:00 +0200
  Re: [RFC] mm: bail out in shrin_inactive_list Mel Gorman <mgorman@suse.de> - 2016-07-25 11:30 +0200
    Re: [RFC] mm: bail out in shrin_inactive_list Minchan Kim <minchan@kernel.org> - 2016-07-26 03:30 +0200
      Re: [RFC] mm: bail out in shrin_inactive_list Mel Gorman <mgorman@suse.de> - 2016-07-26 09:50 +0200
        Re: [RFC] mm: bail out in shrin_inactive_list Minchan Kim <minchan@kernel.org> - 2016-07-26 10:30 +0200
  Re: [RFC] mm: bail out in shrin_inactive_list Johannes Weiner <hannes@cmpxchg.org> - 2016-07-29 16:20 +0200
    Re: [RFC] mm: bail out in shrin_inactive_list Minchan Kim <minchan@kernel.org> - 2016-08-02 01:50 +0200

csiph-web