diff options
| author | Gavin Shan <[email protected]> | 2012-07-31 16:42:49 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-07-31 18:42:42 -0700 |
| commit | c59e26104e3e0e952cd7d63e79cd71ee5a9ec25a (patch) | |
| tree | 14ab1cef0b19e576672bdfdea97bc947e6252a76 /include/linux/timerqueue.h | |
| parent | 3c935d189be9bb877c5a1110ac5fbf9c8e310658 (diff) | |
mm/compaction: cleanup on compaction_deferred
When CONFIG_COMPACTION is enabled, compaction_deferred() tries to
recalculate the deferred limit again, which isn't necessary.
When CONFIG_COMPACTION is disabled, compaction_deferred() should return
"true" or "false" since it has "bool" for its return value.
Signed-off-by: Gavin Shan <[email protected]>
Acked-by: Minchan Kim <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Acked-by: David Rientjes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions