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
mm: slub: call account_slab_page() after slab page initialization
[linux-2.6-microblaze.git]
/
kernel
/
fork.c
diff --git
a/kernel/fork.c
b/kernel/fork.c
index
41906a5
..
37720a6
100644
(file)
--- a/
kernel/fork.c
+++ b/
kernel/fork.c
@@
-225,8
+225,8
@@
static unsigned long *alloc_thread_stack_node(struct task_struct *tsk, int node)
if (!s)
continue;
if (!s)
continue;
- /*
Clear the KASAN shadow of the stack
. */
- kasan_unpoison_
shadow
(s->addr, THREAD_SIZE);
+ /*
Mark stack accessible for KASAN
. */
+ kasan_unpoison_
range
(s->addr, THREAD_SIZE);
/* Clear stale pointers from reused stack. */
memset(s->addr, 0, THREAD_SIZE);
/* Clear stale pointers from reused stack. */
memset(s->addr, 0, THREAD_SIZE);