Messages in this thread | | | From | Dan Williams <> | Date | Mon, 12 Aug 2019 15:39:11 -0700 | Subject | Re: [PATCH v5 3/6] mm: Use zone and order instead of free area in free_list manipulators |
| |
On Mon, Aug 12, 2019 at 2:33 PM Alexander Duyck <alexander.duyck@gmail.com> wrote: > > From: Alexander Duyck <alexander.h.duyck@linux.intel.com> > > In order to enable the use of the zone from the list manipulator functions > I will need access to the zone pointer. As it turns out most of the > accessors were always just being directly passed &zone->free_area[order] > anyway so it would make sense to just fold that into the function itself > and pass the zone and order as arguments instead of the free area. > > In order to be able to reference the zone we need to move the declaration > of the functions down so that we have the zone defined before we define the > list manipulation functions.
Independent of the code movement for the zone declaration this looks like a nice cleanup of the calling convention.
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
| |