Messages in this thread | | | Subject | Re: [PATCH v1 1/2] mm: drop vm_total_pages | From | David Hildenbrand <> | Date | Mon, 22 Jun 2020 09:03:10 +0200 |
| |
On 21.06.20 16:46, Mike Rapoport wrote: > On Fri, Jun 19, 2020 at 03:24:09PM +0200, David Hildenbrand wrote: >> The global variable "vm_total_pages" is a relict from older days. There >> is only a single user that reads the variable - build_all_zonelists() - >> and the first thing it does is updating it. Use a local variable in >> build_all_zonelists() instead and drop the local variable. > > Nit: ^ global
Indeed, @Andrew, can you fix this up?
Thanks!
-- Thanks,
David / dhildenb
| |