On Sat 21-10-17 08:52:27, Balbir Singh wrote: > On Sat, Oct 21, 2017 at 12:11 AM, Michal Hocko <mhocko@xxxxxxxx> wrote: > > On Wed 18-10-17 17:31:22, Balbir Singh wrote: > >> vm_normal_page() normally does not return zone device public > >> pages. In the absence of the visibility the output from smaps > >> is limited and confusing. It's hard to figure out where the > >> pages are. This patch uses _vm_normal_page() to expose them > >> for accounting > > > > Maybe I am missing something but does this patch make any sense without > > patch 2? If no why they are not folded into a single one? > > > I can fold them into one patch. The first patch when applied will just provide > visibility and they'll show as regular resident pages. The second patch > then accounts only for them being device memory. Hmm, I am not really sure. It makes some sense to account mapped HMM pages as RSS but then I am wondering how HMM differs from other special mappings (like VM_PFNMAP or VM_MIXEDMAP)? -- Michal Hocko SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>