Merge branch 'for-next/scs' into for-next/core

* for-next/scs:
  scs: Release kasan vmalloc poison in scs_free process
This commit is contained in:
Will Deacon 2021-10-29 12:25:24 +01:00
commit 3d9c8315fa

View File

@ -78,6 +78,7 @@ void scs_free(void *s)
if (this_cpu_cmpxchg(scs_cache[i], 0, s) == NULL)
return;
kasan_unpoison_vmalloc(s, SCS_SIZE);
vfree_atomic(s);
}