+36
−0
Loading
mainline inclusion from mainline-v6.9-rc1 commit 7679ba6b36dbb300b757b672d6a32a606499e14b category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I9CHG1 CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7679ba6b36dbb300b757b672d6a32a606499e14b ------------------------------------------------- The added shrinker is used to return back current cached VAs into a global vmap space, when a system enters into a low memory mode. Link: https://lkml.kernel.org/r/20240102184633.748113-12-urezki@gmail.com Signed-off-by:Uladzislau Rezki (Sony) <urezki@gmail.com> Cc: Kazuhito Hagio <k-hagio-ab@nec.com> Cc: Baoquan He <bhe@redhat.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Dave Chinner <david@fromorbit.com> Cc: Joel Fernandes (Google) <joel@joelfernandes.org> Cc: Liam R. Howlett <Liam.Howlett@oracle.com> Cc: Lorenzo Stoakes <lstoakes@gmail.com> Cc: Matthew Wilcox (Oracle) <willy@infradead.org> Cc: Oleksiy Avramchenko <oleksiy.avramchenko@sony.com> Cc: Paul E. McKenney <paulmck@kernel.org> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> (cherry picked from commit 7679ba6b36dbb300b757b672d6a32a606499e14b) Signed-off-by:
Kefeng Wang <wangkefeng.wang@huawei.com> [Since the struct shrinker was not introduced in OLK6.6, the vmalloc lock contention series of patches conflict. Fix this problem by introducing a struct shrinker.] Conflicts: mm/vmalloc.c Signed-off-by:
ZhangPeng <zhangpeng362@huawei.com>