[CRIU] [PATCH] Make descriptive names in vm_area_list

Cyrill Gorcunov gorcunov at openvz.org
Fri Apr 12 12:51:07 EDT 2013


On Fri, Apr 12, 2013 at 08:38:22PM +0400, Pavel Emelyanov wrote:
> On 04/12/2013 01:21 PM, Cyrill Gorcunov wrote:
> > vm_area_list::h and vm_area_list::nr names are
> > too short for structure which is widely used
> > in the code. Rename them to @vma_list and @nr_vmas
> > respectively (moreover, in task_restore_core_args
> > structure we already have a member named @nr_vmas
> > so this brings some consistency over naming).
> 
> I'd agree that the vma_list::h is not nice, but the vma_list::nr is
> just way too much better than the vma_list::nr_vmas.

Drop it then, no problem.


More information about the CRIU mailing list