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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux