Re: [PATCH v7 11/12] zsmalloc: page migration support

From: Andrew Morton
Date: Wed Jun 01 2016 - 17:39:42 EST


On Wed, 1 Jun 2016 08:21:20 +0900 Minchan Kim <minchan@xxxxxxxxxx> wrote:

> This patch introduces run-time migration feature for zspage.
>
> ...
>
> +static void kick_deferred_free(struct zs_pool *pool)
> +{
> + schedule_work(&pool->free_work);
> +}

When CONFIG_ZSMALLOC=m, what keeps all the data structures in place
during a concurrent rmmod?