diff options
| author | Minchan Kim <[email protected]> | 2016-07-26 15:23:28 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-07-26 16:19:19 -0700 |
| commit | bfd093f5e7f09c1e41c43e7605893069975cd734 (patch) | |
| tree | 0a0fa79efe9fcda15eaae41f4735e7afee01c55c /include/uapi/linux | |
| parent | 4aa409cab7c39c90f4b725ff22f52bbf5d2fc4e0 (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/[email protected]
Signed-off-by: Minchan Kim <[email protected]>
Cc: Sergey Senozhatsky <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions