[prev in list] [next in list] [prev in thread] [next in thread]
List: openvz-devel
Subject: Re: [Devel] [PATCH rh7 v2] mm: memcontrol: add memory.numa_migrate file
From: Andrey Ryabinin <aryabinin () virtuozzo ! com>
Date: 2016-08-23 13:02:30
Message-ID: edfb4c15-3d38-78bd-2010-2d89e13d1293 () virtuozzo ! com
[Download RAW message or body]
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@virtuozzo.com>
> Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
> Cc: Igor Redko <redkoi@virtuozzo.com>
> Cc: Konstantin Neumoin <kneumoin@virtuozzo.com>
Reviewed-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic