diff options
| author | Minchan Kim <minchan@kernel.org> | 2016-07-26 15:23:28 -0700 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-09-25 21:05:41 +0200 |
| commit | c3ec0889253ed43b5f74f6cef4d8fe3048ea5926 (patch) | |
| tree | 207b55bd7a75924e7b314ec5a46aa00bc893557a /kernel/workqueue.c | |
| parent | 0bde9de2f8d61cfe539090da778f33207407fa78 (diff) | |
zsmalloc: use freeobj for index
Zsmalloc stores first free object's <PFN, obj_idx> position into freeobj
in each zspage. If we change it with index from first_page instead of
position, it makes page migration simple because we don't need to
correct other entries for linked list if a page is migrated out.
Link: http://lkml.kernel.org/r/1464736881-24886-11-git-send-email-minchan@kernel.org
Signed-off-by: Minchan Kim <minchan@kernel.org>
Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions
