ktask: change the chunk size for some ktask thread functions
hulk inclusion category: feature bugzilla: 13228 CVE: NA --------------------------- This patch fixes some issue in original series. 1) PMD_SIZE chunks have made thread finishing times too spread out in some cases, so KTASK_MEM_CHUNK(128M) seems to be a reasonable compromise 2) If hugepagesz=1G, then pages_per_huge_page = 1G / 4K = 256, use KTASK_MEM_CHUNK will cause the ktask thread to be 1, which will not improve the performance of clear gigantic page. Signed-off-by: NHongbo Yao <yaohongbo@huawei.com> Reviewed-by: NXie XiuQi <xiexiuqi@huawei.com> Tested-by: NHongbo Yao <yaohongbo@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录