diff options
| author | Sebastian Ott <[email protected]> | 2014-06-04 16:07:00 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-06-04 16:53:58 -0700 |
| commit | 8bf8fcb07653fbaea74f96bba1e4ed0f851675ab (patch) | |
| tree | 6412234c0fea986db2c88874221c42bf56c7acff /include/linux/memory.h | |
| parent | 02a8efeda894d3541c7143ed818b25b299504190 (diff) | |
mm/mempool: warn about __GFP_ZERO usage
Memory obtained via mempool_alloc is not always zeroed even when
called with __GFP_ZERO. Add a note and VM_BUG_ON statement to make
that clear.
[[email protected]: use VM_WARN_ON_ONCE]
Signed-off-by: Sebastian Ott <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/memory.h')
0 files changed, 0 insertions, 0 deletions