mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* typo in 2.4.19 free_area_init_core()?
@ 2002-10-27 16:01 Chen, Kenneth W
  0 siblings, 0 replies; only message in thread
From: Chen, Kenneth W @ 2002-10-27 16:01 UTC (permalink / raw)
  To: marcelo; +Cc: Linux Kernel Mailing List

Marcelo,

Is this a typo in function free_area_init_core()?  The information on realsize is more interesting than the size variable.



--- mm/page_alloc.c~	Sun Oct 27 00:46:10 2002
+++ mm/page_alloc.c	Sun Oct 27 00:46:35 2002
@@ -735,7 +735,7 @@
 		if (zholes_size)
 			realsize -= zholes_size[j];
 
-		printk("zone(%lu): %lu pages.\n", j, size);
+		printk("zone(%lu): %lu pages.\n", j, realsize);
 		zone->size = size;
 		zone->name = zone_names[j];
 		zone->lock = SPIN_LOCK_UNLOCKED;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-27 15:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-27 16:01 typo in 2.4.19 free_area_init_core()? Chen, Kenneth W

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®