diff options
| author | William Lee Irwin III <wli@holomorphy.com> | 2002-06-02 22:33:43 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-06-02 22:33:43 -0700 |
| commit | 5e04fa0a042f72d2b54731483d674914a40a1a1d (patch) | |
| tree | 6b32bf9a9678f4368e2611593aeca0753dd4765d | |
| parent | eaea1742e077cf83b786433ffbfd10b0a7845920 (diff) | |
[PATCH] correct zone_table comment
The comment describing the usage of zone_table[] assumes the existence
of an unsigned char page->zone field from the original implementation
of page->zone size reduction. This patch corrects the comment to
accurately describe the lookup mechanism used by page_zone() and also
to mention explicitly the sole user of the table, page_zone().
| -rw-r--r-- | mm/page_alloc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index d36941ae2451..c664c055e137 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -31,7 +31,10 @@ struct list_head inactive_list; struct list_head active_list; pg_data_t *pgdat_list; -/* Used to look up the address of the struct zone encoded in page->zone */ +/* + * Used by page_zone() to look up the address of the struct zone whose + * id is encoded in the upper bits of page->flags + */ zone_t *zone_table[MAX_NR_ZONES*MAX_NR_NODES]; EXPORT_SYMBOL(zone_table); |
