Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1513010

Re: [PATCH v3 0/1] mm/mempolicy.c: forbid static or relative flags for local NUMA mode

From David Rientjes <rientjes@google.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 0/1] mm/mempolicy.c: forbid static or relative flags for local NUMA mode
Date 2016-11-01 01:30 +0100
Message-ID <syv7H-1eW-11@gated-at.bofh.it> (permalink)
References <sm0Cl-1As-11@gated-at.bofh.it> <swVSF-4lA-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 27 Oct 2016, Piotr Kwapulinski wrote:

> The MPOL_F_STATIC_NODES and MPOL_F_RELATIVE_NODES flags are irrelevant
> when setting them for MPOL_LOCAL NUMA memory policy via set_mempolicy
> or mbind.
> Return the "invalid argument" from set_mempolicy and mbind whenever
> any of these flags is passed along with MPOL_LOCAL.
> It is consistent with MPOL_PREFERRED passed with empty nodemask.
> It slightly shortens the execution time in paths where these flags
> are used e.g. when trying to rebind the NUMA nodes for changes in
> cgroups cpuset mems (mpol_rebind_preferred()) or when just printing
> the mempolicy structure (/proc/PID/numa_maps).
> Isolated tests done.
> 
> Signed-off-by: Piotr Kwapulinski <kwapulinski.piotr@gmail.com>

Acked-by: David Rientjes <rientjes@google.com>

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/1] mm/mempolicy.c: forbid static or relative flags for local NUMA mode Piotr Kwapulinski <kwapulinski.piotr@gmail.com> - 2016-10-27 18:40 +0200
  Re: [PATCH v3 0/1] mm/mempolicy.c: forbid static or relative flags  for local NUMA mode David Rientjes <rientjes@google.com> - 2016-11-01 01:30 +0100

csiph-web