[Devel] [PATCH rh7 v2] mm: memcontrol: add memory.numa_migrate file

Andrey Ryabinin aryabinin at virtuozzo.com
Tue Aug 23 06:02:30 PDT 2016



On 08/23/2016 02:38 PM, Vladimir Davydov wrote:
> The new file is supposed to be used for migrating pages accounted to a
> memory cgroup to a particular set of numa nodes. The reason to add it is
> that currently there's no API for migrating unmapped file pages used for
> storing page cache (neither migrate_pages syscall nor cpuset subsys
> doesn't provide this functionality).
> 
> The file is added to the memory cgroup and has the following format:
> 
>   NODELIST[ MAX_SCAN]
> 
> where NODELIST is a comma-separated list of ranges N1-N2 specifying the set
> of nodes to migrate pages of this cgroup to, and the optional MAX_SCAN
> imposes a limit on the number of pages that can be migrated in one go.
> 
> The call may be interrupted by a signal, in which case -EINTR is returned.
> 
> https://jira.sw.ru/browse/PSBM-50875
> 
> Signed-off-by: Vladimir Davydov <vdavydov at virtuozzo.com>
> Cc: Andrey Ryabinin <aryabinin at virtuozzo.com>
> Cc: Igor Redko <redkoi at virtuozzo.com>
> Cc: Konstantin Neumoin <kneumoin at virtuozzo.com>

Reviewed-by: Andrey Ryabinin <aryabinin at virtuozzo.com>


More information about the Devel mailing list