[PATCH 0/6] swap: THP optimizing refactoring

2018-07-12 Thread Huang, Ying
This patchset is based on 2018-07-10 head of mmotm tree. Now the THP (Transparent Huge Page) swap optimizing is implemented in the way like below, #ifdef CONFIG_THP_SWAP huge_function(...) { } #else normal_function(...) { } #endif general_function(...) { if (huge) return

[PATCH 0/6] swap: THP optimizing refactoring

2018-07-12 Thread Huang, Ying
This patchset is based on 2018-07-10 head of mmotm tree. Now the THP (Transparent Huge Page) swap optimizing is implemented in the way like below, #ifdef CONFIG_THP_SWAP huge_function(...) { } #else normal_function(...) { } #endif general_function(...) { if (huge) return