Re: [PATCH v1] mm: initialize pages on demand during boot

2018-01-24 Thread Pavel Tatashin
Hi Andrew, > Presumably this fixes some real-world problem which someone has observed? Yes, linked below. > Please describe that problem for us in lavish detail. This change helps for three reasons: 1. Insufficient amount of reserved memory due to arguments provided by user. User may request s

Re: [PATCH v1] mm: initialize pages on demand during boot

2018-01-12 Thread Andrew Morton
On Fri, 12 Jan 2018 13:34:05 -0500 Pavel Tatashin wrote: > Deferred page initialization allows the boot cpu to initialize a small > subset of the system's pages early in boot, with other cpus doing the rest > later on. > > It is, however, problematic to know how many pages the kernel needs duri

[PATCH v1] mm: initialize pages on demand during boot

2018-01-12 Thread Pavel Tatashin
Deferred page initialization allows the boot cpu to initialize a small subset of the system's pages early in boot, with other cpus doing the rest later on. It is, however, problematic to know how many pages the kernel needs during boot. Different modules and kernel parameters may change the requi