OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm/vma: make vma_is_accessible() available for general use
[tomoyo/tomoyo-test1.git]
/
kernel
/
sched
/
fair.c
diff --git
a/kernel/sched/fair.c
b/kernel/sched/fair.c
index
d7fb20a
..
1ea3ddd
100644
(file)
--- a/
kernel/sched/fair.c
+++ b/
kernel/sched/fair.c
@@
-2799,7
+2799,7
@@
static void task_numa_work(struct callback_head *work)
* Skip inaccessible VMAs to avoid any confusion between
* PROT_NONE and NUMA hinting ptes
*/
- if (!
(vma->vm_flags & (VM_READ | VM_EXEC | VM_WRITE)
))
+ if (!
vma_is_accessible(vma
))
continue;
do {