From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andres Lagar-Cavilla Subject: [PATCH 0 of 2] Virq for low memory conditions, V5 Date: Tue, 06 Mar 2012 15:03:40 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xensource.com Cc: dan.magenheimer@oracle.com, ian.campbell@citrix.com, andres@gridcentric.ca, tim@xen.org, JBeulich@suse.com, ian.jackson@citrix.com, adin@gridcentric.ca List-Id: xen-devel@lists.xenproject.org Changes from previous posting, dated Feb 29th - Added consideration for tmem-freeable pages before firing the virq - Added Acked-by Ian Jackson for dom0 helper demo code - Added .gitignore rune Changes from V3 posted Feb 28th - lowmemd is now xen-lowmemd - .hgignore rune added for xen-lowmemd - User can specify zero on the command line to disable the virq altogether - Addressed two comments from Jan Beulich + Better detection of no user-provided command line threshold + Deal with the case in which the threshold may end up being zero. Patch 1 is hypervisor (xen/common bits), patch 2 is tools. Signed-off-by: Andres Lagar-Cavilla Acked-by: Ian Jackson xen/common/page_alloc.c | 115 ++++++++++++++++++++++++++++++++++++ xen/include/public/xen.h | 1 + .gitignore | 1 + .hgignore | 1 + tools/misc/Makefile | 7 +- tools/misc/xen-lowmemd.c | 148 +++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 271 insertions(+), 2 deletions(-)