Re: [PATCH] mm: optimize memory allocation

2021-04-13 Thread Michal Hocko
On Mon 12-04-21 15:49:53, ultrac...@163.com wrote: > From: Chen Xiaoguang > > Check memory cgroup limit before allocating real memory. This may > improve performance especially in slow path when memory allocation > exceeds cgroup limitation. I would be really curious about any actual numbers

Re: [PATCH] mm: optimize memory allocation

2021-04-12 Thread kernel test robot
Hi, Thank you for the patch! Yet something to improve: [auto build test ERROR on linux/master] [also build test ERROR on linus/master v5.12-rc7] [cannot apply to hnaz-linux-mm/master next-20210409] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch,

Re: [PATCH] mm: optimize memory allocation

2021-04-12 Thread kernel test robot
Hi, Thank you for the patch! Yet something to improve: [auto build test ERROR on linux/master] [also build test ERROR on linus/master v5.12-rc7] [cannot apply to hnaz-linux-mm/master next-20210409] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch,

[PATCH] mm: optimize memory allocation

2021-04-12 Thread ultrachin
From: Chen Xiaoguang Check memory cgroup limit before allocating real memory. This may improve performance especially in slow path when memory allocation exceeds cgroup limitation. Signed-off-by: Chen Xiaoguang Signed-off-by: Chen He --- include/linux/memcontrol.h | 30