[PATCH -V5 RESEND 11/21] swap: Add sysfs interface to configure THP swapin

2018-09-25 Thread Huang Ying
Swapin a THP as a whole isn't desirable in some situations. For example, for completely random access pattern, swapin a THP in one piece will inflate the reading greatly. So a sysfs interface: /sys/kernel/mm/transparent_hugepage/swapin_enabled is added to configure it. Three options as follow

[PATCH -V5 RESEND 11/21] swap: Add sysfs interface to configure THP swapin

2018-09-25 Thread Huang Ying
Swapin a THP as a whole isn't desirable in some situations. For example, for completely random access pattern, swapin a THP in one piece will inflate the reading greatly. So a sysfs interface: /sys/kernel/mm/transparent_hugepage/swapin_enabled is added to configure it. Three options as follow

[PATCH -V5 RESEND 11/21] swap: Add sysfs interface to configure THP swapin

2018-09-11 Thread Huang Ying
Swapin a THP as a whole isn't desirable in some situations. For example, for completely random access pattern, swapin a THP in one piece will inflate the reading greatly. So a sysfs interface: /sys/kernel/mm/transparent_hugepage/swapin_enabled is added to configure it. Three options as follow

[PATCH -V5 RESEND 11/21] swap: Add sysfs interface to configure THP swapin

2018-09-11 Thread Huang Ying
Swapin a THP as a whole isn't desirable in some situations. For example, for completely random access pattern, swapin a THP in one piece will inflate the reading greatly. So a sysfs interface: /sys/kernel/mm/transparent_hugepage/swapin_enabled is added to configure it. Three options as follow