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

2016-09-20 Thread David Rientjes
On Tue, 20 Sep 2016, Piotr Kwapulinski wrote: > > There wasn't an MPOL_LOCAL when I introduced either of these flags, it's > > an oversight to allow them to be passed. > > > > Want to try to update set_mempolicy(2) with the procedure outlined in > >

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

2016-09-20 Thread David Rientjes
On Tue, 20 Sep 2016, Piotr Kwapulinski wrote: > > There wasn't an MPOL_LOCAL when I introduced either of these flags, it's > > an oversight to allow them to be passed. > > > > Want to try to update set_mempolicy(2) with the procedure outlined in > >

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

2016-09-20 Thread Piotr Kwapulinski
On Tue, Sep 20, 2016 at 05:12:16PM +0200, Vlastimil Babka wrote: > [CC += linux-...@vger.kernel.org] > > Since this is a kernel-user-space API change, please CC linux-api@. The > kernel source file Documentation/SubmitChecklist notes that all Linux kernel > patches that change userspace

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

2016-09-20 Thread Piotr Kwapulinski
On Tue, Sep 20, 2016 at 05:12:16PM +0200, Vlastimil Babka wrote: > [CC += linux-...@vger.kernel.org] > > Since this is a kernel-user-space API change, please CC linux-api@. The > kernel source file Documentation/SubmitChecklist notes that all Linux kernel > patches that change userspace

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

2016-09-20 Thread Piotr Kwapulinski
On Mon, Sep 19, 2016 at 05:57:17PM -0700, David Rientjes wrote: > On Sun, 18 Sep 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. > > Return the "invalid argument"

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

2016-09-20 Thread Piotr Kwapulinski
On Mon, Sep 19, 2016 at 05:57:17PM -0700, David Rientjes wrote: > On Sun, 18 Sep 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. > > Return the "invalid argument"

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

2016-09-20 Thread Piotr Kwapulinski
On Mon, Sep 19, 2016 at 01:52:05PM +0200, Michal Hocko wrote: > On Sun 18-09-16 13:29:43, 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. > > Return the "invalid argument"

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

2016-09-20 Thread Piotr Kwapulinski
On Mon, Sep 19, 2016 at 01:52:05PM +0200, Michal Hocko wrote: > On Sun 18-09-16 13:29:43, 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. > > Return the "invalid argument"

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

2016-09-20 Thread Vlastimil Babka
[CC += linux-...@vger.kernel.org] Since this is a kernel-user-space API change, please CC linux-api@. The kernel source file Documentation/SubmitChecklist notes that all Linux kernel patches that change userspace interfaces should be CCed to linux-...@vger.kernel.org, so that the various

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

2016-09-20 Thread Vlastimil Babka
[CC += linux-...@vger.kernel.org] Since this is a kernel-user-space API change, please CC linux-api@. The kernel source file Documentation/SubmitChecklist notes that all Linux kernel patches that change userspace interfaces should be CCed to linux-...@vger.kernel.org, so that the various

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

2016-09-19 Thread David Rientjes
On Sun, 18 Sep 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. > Return the "invalid argument" from set_mempolicy whenever > any of these flags is passed along with

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

2016-09-19 Thread David Rientjes
On Sun, 18 Sep 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. > Return the "invalid argument" from set_mempolicy whenever > any of these flags is passed along with

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

2016-09-19 Thread Michal Hocko
On Sun 18-09-16 13:29:43, 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. > Return the "invalid argument" from set_mempolicy whenever > any of these flags is passed along with

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

2016-09-19 Thread Michal Hocko
On Sun 18-09-16 13:29:43, 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. > Return the "invalid argument" from set_mempolicy whenever > any of these flags is passed along with