Commit 5e04fa0a authored by William Lee Irwin III's avatar William Lee Irwin III Committed by Linus Torvalds

[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().
parent eaea1742
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment