diff options
| author | Minchan Kim <minchan@kernel.org> | 2016-07-26 15:23:28 -0700 |
|---|---|---|
| committer | Vinayak Menon <vinmenon@codeaurora.org> | 2017-02-21 12:41:17 +0530 |
| commit | c84a6bb6ba2cc5d662def76663b029f8856041f4 (patch) | |
| tree | 42b6673af98a3e3c494703a3538d0c1da4a2b7e4 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 05c814011275e70331e45bbdcaa83e972369ba38 (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>
Git-commit: bfd093f5e7f09c1e41c43e7605893069975cd734
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: I435ac58d8a87767e884901397358f4a8253ae163
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
