weird DirectMap2M accounting.

From: Dave Jones
Date: Wed Jan 06 2016 - 18:55:40 EST


I just spotted this in /proc/meminfo on an old Core2 machine with 4G.

DirectMap2M: 18446744073709543424 kB

Looks like we subtracted 8192 from 0 somewhere.

Should split_page_count() be checking that direct_pages_count > 0 ?

Dave

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/