]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/gntdev: Grant maps should not be subject to NUMA balancing
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Tue, 10 Nov 2015 20:10:33 +0000 (15:10 -0500)
committerJoao Martins <joao.m.martins@oracle.com>
Sun, 27 Mar 2016 01:01:28 +0000 (02:01 +0100)
commitfb7192400f663b8870a3a23329a218898b03c215
treee9605b322bf78515aa18f69f1fb0ccea42e574ab
parent26be75a4d716144b3099f068abaac431dd547fee
xen/gntdev: Grant maps should not be subject to NUMA balancing

Doing so will cause the grant to be unmapped and then, during
fault handling, the fault to be mistakenly treated as NUMA hint
fault.

In addition, even if those maps could partcipate in NUMA
balancing, it wouldn't provide any benefit since we are unable
to determine physical page's node (even if/when VNUMA is
implemented).

Marking grant maps' VMAs as VM_IO will exclude them from being
part of NUMA balancing.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: stable@vger.kernel.org
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
(cherry picked from commit 9c17d96500f78d7ecdb71ca6942830158bc75a2b)
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
drivers/xen/gntdev.c