Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1411709
| From | Minchan Kim <minchan@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v7 11/12] zsmalloc: page migration support |
| Date | 2016-06-02 02:20 +0200 |
| Message-ID | <rFowH-7d9-41@gated-at.bofh.it> (permalink) |
| References | <rF1gJ-An-3@gated-at.bofh.it> <rF1gK-An-13@gated-at.bofh.it> <rFm1Q-5Ac-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Jun 01, 2016 at 02:39:36PM -0700, Andrew Morton wrote:
> On Wed, 1 Jun 2016 08:21:20 +0900 Minchan Kim <minchan@kernel.org> 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?
>
The most of data structure in zram start to work by user calling
zs_create_pool and user of zsmalloc should call zs_destroy_pool
before trying doing rmmod where zs_unregister_migration does
flush_work(&pool->free_work).
If I miss something, please let me know it.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v7 11/12] zsmalloc: page migration support Minchan Kim <minchan@kernel.org> - 2016-06-01 01:30 +0200
Re: [PATCH v7 11/12] zsmalloc: page migration support Vlastimil Babka <vbabka@suse.cz> - 2016-06-01 16:10 +0200
Re: [PATCH v7 11/12] zsmalloc: page migration support Minchan Kim <minchan@kernel.org> - 2016-06-02 02:30 +0200
Re: [PATCH v7 11/12] zsmalloc: page migration support Vlastimil Babka <vbabka@suse.cz> - 2016-06-02 13:50 +0200
Re: [PATCH v7 11/12] zsmalloc: page migration support Andrew Morton <akpm@linux-foundation.org> - 2016-06-01 23:40 +0200
Re: [PATCH v7 11/12] zsmalloc: page migration support Minchan Kim <minchan@kernel.org> - 2016-06-02 02:20 +0200
csiph-web