diff options
| author | KOSAKI Motohiro <[email protected]> | 2009-03-31 15:19:31 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-04-01 08:59:11 -0700 |
| commit | ee99c71c59f897436ec65debb99372b3146f9985 (patch) | |
| tree | 051f1c43b7c7658689d4b2c23b3d8585d6464a89 /scripts | |
| parent | a6dc60f8975ad96d162915e07703a4439c80dcf0 (diff) | |
mm: introduce for_each_populated_zone() macro
Impact: cleanup
In almost cases, for_each_zone() is used with populated_zone(). It's
because almost function doesn't need memoryless node information.
Therefore, for_each_populated_zone() can help to make code simplify.
This patch has no functional change.
[[email protected]: small cleanup]
Signed-off-by: KOSAKI Motohiro <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Cc: Mel Gorman <[email protected]>
Reviewed-by: Johannes Weiner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions