projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] mm: optimize numa policy handling in slab allocator
[deliverable/linux.git]
/
mm
/
slab.c
diff --git
a/mm/slab.c
b/mm/slab.c
index 9025608696ec9bb83d1010d3b09aed9796668c33..6f8495e2185b36c4d4e08402a111a59a3deeb01b 100644
(file)
--- a/
mm/slab.c
+++ b/
mm/slab.c
@@
-2574,7
+2574,7
@@
static inline void *____cache_alloc(kmem_cache_t *cachep, gfp_t flags)
struct array_cache *ac;
#ifdef CONFIG_NUMA
- if (
current->mempolicy
) {
+ if (
unlikely(current->mempolicy && !in_interrupt())
) {
int nid = slab_node(current->mempolicy);
if (nid != numa_node_id())
This page took
0.079386 seconds
and
5
git commands to generate.