Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1457057
| From | James Hogan <james.hogan@imgtec.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 03/34] mm, vmscan: move LRU lists to node |
| Date | 2016-08-05 14:10 +0200 |
| Message-ID | <s2M6R-7ll-7@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <rSAqn-2Tv-57@gated-at.bofh.it> <s2xUd-6f1-17@gated-at.bofh.it> <s2IZj-59m-7@gated-at.bofh.it> <s2L17-6pn-15@gated-at.bofh.it> <s2LXc-72j-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Fri, Aug 05, 2016 at 12:55:26PM +0100, Mel Gorman wrote: > On Fri, Aug 05, 2016 at 11:52:57AM +0100, James Hogan wrote: > > > What's surprising is that it worked for the zone stats as it appears > > > that calling zone_reclaimable() from that context should also have > > > broken. Did anything change recently that would have avoided the > > > zone->pageset dereference in zone_reclaimable() before? > > > > It appears that zone_pcp_init() was already setting zone->pageset to > > &boot_pageset, via paging_init(): > > > > /me slaps self > > Of course. > > > > The easiest option would be to not call show_mem from arch code until > > > after the pagesets are setup. > > > > Since no other arches seem to do show_mem earily during boot like metag, > > and doing so doesn't really add much value, I'm happy to remove it > > anyway. > > > > Thanks. Can I assume you'll merge such a patch or should I roll one? Yep, I'll take care of it. > > > However could your change break other things and need fixing anyway? > > > > Not that I'm aware of. There would have to be a node-based stat that has > meaning that early in boot to have an effect. If one happened to added > then it would need fixing but until then the complexity is unnecessary. Okay, thanks for the help, Cheers James
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH 03/34] mm, vmscan: move LRU lists to node Mel Gorman <mgorman@techsingularity.net> - 2016-08-05 10:50 +0200
Re: [PATCH 03/34] mm, vmscan: move LRU lists to node James Hogan <james.hogan@imgtec.com> - 2016-08-05 13:00 +0200
Re: [PATCH 03/34] mm, vmscan: move LRU lists to node Mel Gorman <mgorman@techsingularity.net> - 2016-08-05 14:00 +0200
Re: [PATCH 03/34] mm, vmscan: move LRU lists to node James Hogan <james.hogan@imgtec.com> - 2016-08-05 14:10 +0200
csiph-web