Re: [RFC PATCH] Add /proc/<pid>/numa_vamaps for numa node information

From: Dave Hansen
Date: Thu May 03 2018 - 18:27:01 EST


On 05/03/2018 03:27 PM, prakash.sangappa wrote:
>>
> If each consecutive page comes from different node, yes in
> the extreme case is this file will have a lot of lines. All the lines
> are generated at the time file is read. The amount of data read will be
> limited to the user read buffer size used in the read.
>
> /proc/<pid>/pagemap also has kind of similar issue. There is 1 64
> bit value for each user page.
But nobody reads it sequentially. Everybody lseek()s because it has a
fixed block size. You can't do that in text.