]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - include/linux/balloon_compaction.h
mm/balloon_compaction: List interfaces
authorNadav Amit <namit@vmware.com>
Thu, 25 Apr 2019 11:54:42 +0000 (04:54 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 May 2019 18:19:17 +0000 (20:19 +0200)
commit418a3ab1e7785799193c0f8628cd0f01c00a03ae
treed861dba41aab6ec9d35e6fc798cfe8cdaed5fcfb
parent687685a3f246756a2a8c0d45820be42066ffce05
mm/balloon_compaction: List interfaces

Introduce interfaces for ballooning enqueueing and dequeueing of a list
of pages. These interfaces reduce the overhead of storing and restoring
IRQs by batching the operations. In addition they do not panic if the
list of pages is empty.

Cc: Jason Wang <jasowang@redhat.com>
Cc: linux-mm@kvack.org
Cc: virtualization@lists.linux-foundation.org
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Xavier Deguillard <xdeguillard@vmware.com>
Signed-off-by: Nadav Amit <namit@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/balloon_compaction.h
mm/balloon_compaction.c