search for: low_kb

Displaying 4 results from an estimated 4 matches for "low_kb".

2008 Nov 14
0
[PATCH] tools: use sysfs interface to balloon driver if present
...f.close() + +def _linux_balloon_stat_sysfs(label): + sysfiles = { ''target'' : ''target_kb'', + ''current'' : ''info/current_kb'', + ''low-balloon'' : ''info/low_kb'', + ''high-balloon'' : ''info/high_kb'', + ''limit'' : ''info/hard_limit_kb'' } + + name = os.path.join(SYSFS_XEN_MEMORY, sysfiles[label]) + f = file(name, ''r'') +...
2010 Mar 11
1
[PATCH 1/2] xen: balloon: Fix checkpatch issues
...+ } } @@ -360,8 +360,7 @@ static void balloon_set_new_target(unsigned long target) schedule_work(&balloon_worker); } -static struct xenbus_watch target_watch = -{ +static struct xenbus_watch target_watch = { .node = "memory/target" }; @@ -460,8 +459,8 @@ BALLOON_SHOW(low_kb, "%lu\n", PAGES2KB(balloon_stats.balloon_low)); BALLOON_SHOW(high_kb, "%lu\n", PAGES2KB(balloon_stats.balloon_high)); BALLOON_SHOW(driver_kb, "%lu\n", PAGES2KB(balloon_stats.driver_pages)); -static ssize_t show_target_kb(struct sys_device *dev, struct sysdev_attrib...
2010 Mar 11
1
[PATCH 1/2] xen: balloon: Fix checkpatch issues
...+ } } @@ -360,8 +360,7 @@ static void balloon_set_new_target(unsigned long target) schedule_work(&balloon_worker); } -static struct xenbus_watch target_watch = -{ +static struct xenbus_watch target_watch = { .node = "memory/target" }; @@ -460,8 +459,8 @@ BALLOON_SHOW(low_kb, "%lu\n", PAGES2KB(balloon_stats.balloon_low)); BALLOON_SHOW(high_kb, "%lu\n", PAGES2KB(balloon_stats.balloon_high)); BALLOON_SHOW(driver_kb, "%lu\n", PAGES2KB(balloon_stats.driver_pages)); -static ssize_t show_target_kb(struct sys_device *dev, struct sysdev_attrib...
2010 Mar 11
1
[PATCH 1/2] xen: balloon: Fix checkpatch issues
...+ } } @@ -360,8 +360,7 @@ static void balloon_set_new_target(unsigned long target) schedule_work(&balloon_worker); } -static struct xenbus_watch target_watch = -{ +static struct xenbus_watch target_watch = { .node = "memory/target" }; @@ -460,8 +459,8 @@ BALLOON_SHOW(low_kb, "%lu\n", PAGES2KB(balloon_stats.balloon_low)); BALLOON_SHOW(high_kb, "%lu\n", PAGES2KB(balloon_stats.balloon_high)); BALLOON_SHOW(driver_kb, "%lu\n", PAGES2KB(balloon_stats.driver_pages)); -static ssize_t show_target_kb(struct sys_device *dev, struct sysdev_attrib...