projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: Replace deprecated CPU-hotplug functions.
[linux-2.6-microblaze.git]
/
mm
/
memcontrol.c
diff --git
a/mm/memcontrol.c
b/mm/memcontrol.c
index
eb8e87c
..
8ef06f9
100644
(file)
--- a/
mm/memcontrol.c
+++ b/
mm/memcontrol.c
@@
-968,7
+968,7
@@
static __always_inline bool memcg_kmem_bypass(void)
return false;
/* Memcg to charge can't be determined. */
- if (
in_interrupt
() || !current->mm || (current->flags & PF_KTHREAD))
+ if (
!in_task
() || !current->mm || (current->flags & PF_KTHREAD))
return true;
return false;