diff options
| author | Hugh Dickins <[email protected]> | 2009-01-06 14:40:05 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-01-06 15:59:07 -0800 |
| commit | 79f4b7bf393e67bbffec807cc68caaefc72b82ee (patch) | |
| tree | 5bee7c12fe49e63e38d74afc6bbd2933906ecb9b /include/linux/vmalloc.h | |
| parent | 0f64415d42760379753e6088787ce3fd3e069509 (diff) | |
badpage: simplify page_alloc flag check+clear
Simplify the PAGE_FLAGS checking and clearing when freeing and allocating
a page: check the same flags as before when freeing, clear ALL the flags
(unless PageReserved) when freeing, check ALL flags off when allocating.
Signed-off-by: Hugh Dickins <[email protected]>
Cc: Nick Piggin <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Rik van Riel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/vmalloc.h')
0 files changed, 0 insertions, 0 deletions