xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0 of 2] Virq for low memory condition, V4
@ 2012-03-01  2:25 Andres Lagar-Cavilla
  2012-03-01  2:25 ` [PATCH 1 of 2] Global virq for low memory situations Andres Lagar-Cavilla
  2012-03-01  2:25 ` [PATCH 2 of 2] Lowmemd: Simple demo code to show use of VIRQ_ENOMEM Andres Lagar-Cavilla
  0 siblings, 2 replies; 10+ messages in thread
From: Andres Lagar-Cavilla @ 2012-03-01  2:25 UTC (permalink / raw)
  To: xen-devel; +Cc: ian.campbell, andres, tim, JBeulich, ian.jackson, adin

Changes form 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 <andres@lagarcavilla.org>

 xen/common/page_alloc.c  |  112 +++++++++++++++++++++++++++++++++++
 xen/include/public/xen.h |    1 +
 .hgignore                |    1 +
 tools/misc/Makefile      |    7 +-
 tools/misc/xen-lowmemd.c |  148 +++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 267 insertions(+), 2 deletions(-)

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 0 of 2] Virq for low memory conditions, V5
@ 2012-03-06 20:03 Andres Lagar-Cavilla
  2012-03-06 20:03 ` [PATCH 2 of 2] Lowmemd: Simple demo code to show use of VIRQ_ENOMEM Andres Lagar-Cavilla
  0 siblings, 1 reply; 10+ messages in thread
From: Andres Lagar-Cavilla @ 2012-03-06 20:03 UTC (permalink / raw)
  To: xen-devel
  Cc: dan.magenheimer, ian.campbell, andres, tim, JBeulich, ian.jackson,
	adin

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 <andres@lagarcavilla.org>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>

 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(-)

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 0 of 2] Virq for low memory condition, V3
@ 2012-02-28 21:56 Andres Lagar-Cavilla
  2012-02-28 21:56 ` [PATCH 2 of 2] Lowmemd: Simple demo code to show use of VIRQ_ENOMEM Andres Lagar-Cavilla
  0 siblings, 1 reply; 10+ messages in thread
From: Andres Lagar-Cavilla @ 2012-02-28 21:56 UTC (permalink / raw)
  To: xen-devel; +Cc: ian.campbell, andres, tim, JBeulich, ian.jackson, adin

This is now a patch series:
- First patch is hypervisor code to implement a virq that will fire upon low 
memory conditions. Integrated feedback from Jan Beulich since version posted on
Feb 23rd.
- Second patch is demo code to leverage the virq form dom0 user-space.

Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org>
 

 xen/common/page_alloc.c  |   92 +++++++++++++++++++++++++++++
 xen/include/public/xen.h |    1 +
 tools/misc/Makefile      |    7 +-
 tools/misc/lowmemd.c     |  148 +++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 246 insertions(+), 2 deletions(-)

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-03-06 20:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-01  2:25 [PATCH 0 of 2] Virq for low memory condition, V4 Andres Lagar-Cavilla
2012-03-01  2:25 ` [PATCH 1 of 2] Global virq for low memory situations Andres Lagar-Cavilla
2012-03-01 19:19   ` Dan Magenheimer
2012-03-01 19:26     ` Andres Lagar-Cavilla
2012-03-01 21:08       ` Dan Magenheimer
2012-03-01  2:25 ` [PATCH 2 of 2] Lowmemd: Simple demo code to show use of VIRQ_ENOMEM Andres Lagar-Cavilla
2012-03-01 15:30   ` Ian Jackson
  -- strict thread matches above, loose matches on Subject: below --
2012-03-06 20:03 [PATCH 0 of 2] Virq for low memory conditions, V5 Andres Lagar-Cavilla
2012-03-06 20:03 ` [PATCH 2 of 2] Lowmemd: Simple demo code to show use of VIRQ_ENOMEM Andres Lagar-Cavilla
2012-02-28 21:56 [PATCH 0 of 2] Virq for low memory condition, V3 Andres Lagar-Cavilla
2012-02-28 21:56 ` [PATCH 2 of 2] Lowmemd: Simple demo code to show use of VIRQ_ENOMEM Andres Lagar-Cavilla
2012-02-29  8:57   ` Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).