History

powerpc/pseries/cmm: Implement balloon compaction

We can now get rid of the cmm_lock and completely rely on the balloon compaction internals, which now also manage the page list and the lock. Inflated/"loaned" pages are now movable. Memory blocks that contain such pages can get offlined. Also, all such pages will be marked PageOffline() and can therefore be excluded in memory dumps using recent versions of makedumpfile. Don't switch to balloon_page_alloc() yet (due to the GFP_NOIO). Will do that separately to discuss this change in detail.

David Hildenbrand committed 7 years ago

Commit fe030c91 parent 1ef2f063 files · +121 −14Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/magic.h+1−0
@@ -94,5 +94,6 @@ · 93 unmodified lines
9494 #define ZSMALLOC_MAGIC 0x58295829
9595 #define DMA_BUF_MAGIC 0x444d4142 /* "DMAB" */
9696 #define Z3FOLD_MAGIC 0x33
97+#define PPC_CMM_MAGIC 0xc7571590
9798
9899 #endif /* __LINUX_MAGIC_H__ */