Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
slub: tid must be retrieved from the percpu area of the current proce…
…ssor As Steven Rostedt has pointer out: rescheduling could occur on a different processor after the determination of the per cpu pointer and before the tid is retrieved. This could result in allocation from the wrong node in slab_alloc(). The effect is much more severe in slab_free() where we could free to the freelist of the wrong page. The window for something like that occurring is pretty small but it is possible. Change-Id: I9e658e97ed2096f658d6e67739764a86151f13e3 Signed-off-by: Christoph Lameter <[email protected]> Signed-off-by: Pekka Enberg <[email protected]> Git-commit: 7cccd80 Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Signed-off-by: Matt Wagantall <[email protected]>
- Loading branch information