diff options
author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2013-02-22 16:32:09 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-23 17:50:09 -0800 |
commit | 2a6f512412c7aecd04134721ea392cc496e6c017 (patch) | |
tree | c6074d60fcb8f0f8639946ba0598f168626d1542 /mm/vmscan.c | |
parent | ffb22af5b7a5d6c04eec22253d6d368bc8e6cd3d (diff) | |
download | blackbird-obmc-linux-2a6f512412c7aecd04134721ea392cc496e6c017.tar.gz blackbird-obmc-linux-2a6f512412c7aecd04134721ea392cc496e6c017.zip |
CMA: make putback_lru_pages() call conditional
As per documentation and other places calling putback_lru_pages(),
putback_lru_pages() is called on error only. Make the CMA code behave
consistently.
[akpm@linux-foundation.org: remove a test-n-branch in the wrapup code]
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions