Re: [PATCH 05/12] mempolicy trivia: slightly more consistent naming

From: Matthew Wilcox
Date: Mon Sep 25 2023 - 18:29:12 EST


On Mon, Sep 25, 2023 at 01:26:55AM -0700, Hugh Dickins wrote:
> Before getting down to work, do a little cleanup, mainly of inconsistent
> variable naming. I gave up trying to rationalize mpol versus pol versus
> policy, and node versus nid, but let's avoid p and nd. Remove a few
> superfluous blank lines, but add one; and here prefer vma->vm_policy to
> vma_policy(vma) - the latter being appropriate in other sources, which
> have to allow for !CONFIG_NUMA. That intriguing line about KERNEL_DS?
> should have gone in v2.6.15, when numa_policy_init() stopped using
> set_mempolicy(2)'s system call handler.

Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>