From: Vasiliy G Tolstov <v.tolstov@selfip.ru>
To: Ian Campbell <Ian.Campbell@eu.citrix.com>
Cc: Daniel Kiper <dkiper@net-space.pl>,
"akpm@linux-foundation.org" <akpm@linux-foundation.org>,
"andi.kleen@intel.com" <andi.kleen@intel.com>,
"haicheng.li@linux.intel.com" <haicheng.li@linux.intel.com>,
"fengguang.wu@intel.com" <fengguang.wu@intel.com>,
"jeremy@goop.org" <jeremy@goop.org>,
"konrad.wilk@oracle.com" <konrad.wilk@oracle.com>,
Dan Magenheimer <dan.magenheimer@oracle.com>,
"pasik@iki.fi" <pasik@iki.fi>,
"dave@linux.vnet.ibm.com" <dave@linux.vnet.ibm.com>,
"wdauchy@gmail.com" <wdauchy@gmail.com>,
"rientjes@google.com" <rientjes@google.com>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-mm@kvack.org" <linux-mm@kvack.org>
Subject: Re: [Xen-devel] [PATCH R3 0/7] xen/balloon: Memory hotplug support for Xen balloon driver
Date: Fri, 04 Feb 2011 12:21:32 +0300 [thread overview]
Message-ID: <1296811292.8588.3.camel@vase> (raw)
In-Reply-To: <1296810682.13091.571.camel@zakaz.uk.xensource.com>
On Fri, 2011-02-04 at 09:11 +0000, Ian Campbell wrote:
> On Thu, 2011-02-03 at 21:20 +0000, Vasiliy G Tolstov wrote:
> > I have some may be offtopic question: Is that possible to export balloon
> > function balloon_set_new_target to GPL modules (EXPORT_SYMBOL_GPL) ?
> > This helps to kernel modules (not in kernel tree) to contol balloonin
> > (for example autoballoon or something else) without needing to write so
> > sysfs. (Writing files from kernel module is bad, this says Linux Kernel
> > Faq).
>
> Is there a reason to do it from kernel space in the first place? auto
> ballooning can be done by a userspace daemon, can't it?
>
> Ian.
>
Yes. It can be done via userspace, but if i want to control autoballon
via sysfs/sysctl/procfs i need to write module. And i don't think that
export this function can break some stuff. Now i have autoballoon kernel
module that enlarge and shrinks memory. Userspace daemon need some
dependencies like glibc, libxenstore and others, but if i'm not provide
ability to chouse kernel (i'm boot domU via kernel and ramdisk), very
simple to add in ramdisk kernel module that says disk/memory usage and
controls memory ballooning.
--
Vasiliy G Tolstov <v.tolstov@selfip.ru>
Selfip.Ru
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2011-02-04 9:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-03 16:23 [PATCH R3 0/7] xen/balloon: Memory hotplug support for Xen balloon driver Daniel Kiper
2011-02-03 21:20 ` [Xen-devel] " Vasiliy G Tolstov
2011-02-04 9:11 ` Ian Campbell
2011-02-04 9:21 ` Vasiliy G Tolstov [this message]
2011-02-04 16:29 ` Dan Magenheimer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1296811292.8588.3.camel@vase \
--to=v.tolstov@selfip.ru \
--cc=Ian.Campbell@eu.citrix.com \
--cc=akpm@linux-foundation.org \
--cc=andi.kleen@intel.com \
--cc=dan.magenheimer@oracle.com \
--cc=dave@linux.vnet.ibm.com \
--cc=dkiper@net-space.pl \
--cc=fengguang.wu@intel.com \
--cc=haicheng.li@linux.intel.com \
--cc=jeremy@goop.org \
--cc=konrad.wilk@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=pasik@iki.fi \
--cc=rientjes@google.com \
--cc=wdauchy@gmail.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).