Re: [PATCH v2] mm/mempolicy: do not allow illegal MPOL_F_NUMA_BALANCING | MPOL_LOCAL in mbind()

From
Matthew Wilcox <willy@infradead.org>
Date
2021-10-02 17:16:58
Also in
lkml
Reply to
Eric Dumazet, 2021-10-01
On Fri, Oct 01, 2021 at 04:37:40PM -0700, Eric Dumazet wrote:
quoted
quoted
Issue came with commit bda420b98505 ("numa balancing: migrate on
fault among multiple bound nodes")
No cc:stable?  What's the worst-case user-visible impact here?
I added the more precise tag  :  Fixes: bda420b98505 ("numa balancing:
migrate on fault among multiple bound nodes")
I only put Fixes: tag, so that stable teams can use their automation just fine.

worst-case impact, I am not sure if any application ever used this
undocumented combinations of flags ?
Also, it is generally advised that accessing garbage values has
undocumented behavior.
A host could for example crash (it certainly does with KMSAN)
mm has special stable rules; fixes only get backported if explicitly
requested instead of automatically like most of the rest of the kernel.
Thread (4 messages) 4 messages, 4 authors, last reply 2021-10-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help