linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Re: Bug in classzone patch?
       [not found] <391430AF.BC96942C@ucla.edu>
@ 2000-05-07 13:27 ` Andrea Arcangeli
  0 siblings, 0 replies; only message in thread
From: Andrea Arcangeli @ 2000-05-07 13:27 UTC (permalink / raw)
  To: Benjamin Redelings I; +Cc: linux-mm

[ cc'ed to linux-mm to let know people I was wrong about pgdat_list not
  null terminated, sorry ]

On Sat, 6 May 2000, Benjamin Redelings I wrote:

>-	pgdat->node_next = pgdat_list;
>+	pgdat->node_next = NULL;
> 	pgdat_list = pgdat;
>
>Hi Andrea,
>	I don't understand this bit of your classzone patch.  You say that this
>changes makes pgdat_list NULL-terminated.
>	However, pgdat_list is ALREADY null terminated:
>
>telomere:/usr/src/linux/mm> grep 'pgdat_list' *c
>page_alloc.c:pg_data_t *pgdat_list = (pg_data_t *)0;

Ah, I see, you're right. Thanks. (btw there's no reason to initialize the
pgdat_list to zero since it's global and it could fit in the .bss)

>Am I missing something, or is this a bug in your classzone patch?

Yes, it's a bug in the classzone patch that can trigger only in NUMA. I'll
fix it thanks.

Andrea

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

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

only message in thread, other threads:[~2000-05-07 13:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <391430AF.BC96942C@ucla.edu>
2000-05-07 13:27 ` Bug in classzone patch? Andrea Arcangeli

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