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


Groups > linux.kernel > #1499710

Re: [PATCH v3 0/1] man/set_mempolicy.2,mbind.2: add MPOL_LOCAL NUMA memory policy documentation

From Christoph Lameter <cl@linux.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 0/1] man/set_mempolicy.2,mbind.2: add MPOL_LOCAL NUMA memory policy documentation
Date 2016-10-12 16:10 +0200
Message-ID <srsoh-5uN-5@gated-at.bofh.it> (permalink)
References <sqJhv-1Wk-17@gated-at.bofh.it> <sqLCG-3rZ-31@gated-at.bofh.it> <srmCd-1kH-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 12 Oct 2016, Michael Kerrisk (man-pages) wrote:

> > +arguments must specify the empty set. If the "local node" is low
> > +on free memory the kernel will try to allocate memory from other
> > +nodes. The kernel will allocate memory from the "local node"
> > +whenever memory for this node is available. If the "local node"
> > +is not allowed by the process's current cpuset context the kernel
> > +will try to allocate memory from other nodes. The kernel will
> > +allocate memory from the "local node" whenever it becomes allowed
> > +by the process's current cpuset context. In contrast
> > +.B MPOL_DEFAULT
> > +reverts to the policy of the process which may have been set with
> > +.BR set_mempolicy (2).
> > +It may not be the "local allocation".
>
> What is the sense of "may not be" here? (And repeated below).
> Is the meaning "this could be something other than"?
> Presumably the answer is yes, in which case I'll clarify
> the wording there. Let me know.

Someone may have set for example a round robin policy with numactl
--interleave before starting the process? Then allocations will go through
all nodes.

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


Thread

[PATCH 0/1] man/set_mempolicy.2,mbind.2: add MPOL_LOCAL NUMA memory policy documentation Piotr Kwapulinski <kwapulinski.piotr@gmail.com> - 2016-09-27 15:30 +0200
  Re: [PATCH 0/1] man/set_mempolicy.2,mbind.2: add MPOL_LOCAL NUMA  memory policy documentation Christoph Lameter <cl@linux.com> - 2016-10-04 10:40 +0200
    [PATCH v2 0/1] man/set_mempolicy.2,mbind.2: add MPOL_LOCAL NUMA memory policy documentation Piotr Kwapulinski <kwapulinski.piotr@gmail.com> - 2016-10-09 21:00 +0200
      Re: [PATCH v2 0/1] man/set_mempolicy.2,mbind.2: add MPOL_LOCAL NUMA  memory policy documentation Christoph Lameter <cl@linux.com> - 2016-10-10 16:00 +0200
        [PATCH v3 0/1] man/set_mempolicy.2,mbind.2: add MPOL_LOCAL NUMA memory policy documentation Piotr Kwapulinski <kwapulinski.piotr@gmail.com> - 2016-10-10 18:30 +0200
          Re: [PATCH v3 0/1] man/set_mempolicy.2,mbind.2: add MPOL_LOCAL NUMA  memory policy documentation "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com> - 2016-10-12 10:00 +0200
            Re: [PATCH v3 0/1] man/set_mempolicy.2,mbind.2: add MPOL_LOCAL NUMA  memory policy documentation Christoph Lameter <cl@linux.com> - 2016-10-12 16:10 +0200
              Re: [PATCH v3 0/1] man/set_mempolicy.2,mbind.2: add MPOL_LOCAL NUMA  memory policy documentation "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com> - 2016-10-12 16:40 +0200
            Re: [PATCH v3 0/1] man/set_mempolicy.2,mbind.2: add MPOL_LOCAL NUMA  memory policy documentation Piotr Kwapulinski <kwapulinski.piotr@gmail.com> - 2016-10-12 18:00 +0200
              Re: [PATCH v3 0/1] man/set_mempolicy.2,mbind.2: add MPOL_LOCAL NUMA  memory policy documentation Christoph Lameter <cl@linux.com> - 2016-10-12 22:00 +0200
                Re: [PATCH v3 0/1] man/set_mempolicy.2,mbind.2: add MPOL_LOCAL NUMA  memory policy documentation "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com> - 2016-10-13 09:00 +0200

csiph-web