Dave Anderson wrote:
But -- if you commented out the setting of (vt->flags | NODES) in
vm_init() as I suggested, how is it possible to even make it to
line 11504 in node_table_init() below? You're crashing in the
OFFSET_OPTION() call below:
Sorry, you are right. 'which crash' showed i used the version
from rpm, not the modified version. The modified version looks
good.
Thanks,
- jay
11490 node_table_init(void)
11491 {
11492 int n;
11493 ulong pgdat;
11494
11495 /*
11496 * Override numnodes -- some kernels may leave it at 1 on a system
11497 * with multiple memory nodes.
11498 */
11499 if (vt->flags & NODES) {
11500 get_symbol_data("pgdat_list", sizeof(void *), &pgdat);
11501
11502 for (n = 0; pgdat; n++) {
11503 readmem(pgdat +
*OFFSET_OPTION(pglist_data_node_next,*
* 11504 pglist_data_pgdat_next)*, KVADDR,
11505 &pgdat, sizeof(void *), "pglist_data
node_next",
11506 FAULT_ON_ERROR);
11507 }
Dave