Re: [rfc 1/2] mm/hmm: Allow smaps to see zone device public pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Balbir Singh.

--
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>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux