[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ac6abec4-6174-92b7-60fc-5ba83f8940d5@redhat.com>
Date: Mon, 21 Aug 2017 14:04:49 +0200
From: Hans de Goede <hdegoede@...hat.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: Michael Thayer <michael.thayer@...cle.com>,
"Knut St . Osmundsen" <knut.osmundsen@...cle.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Alexander Viro <viro@...iv.linux.org.uk>,
Larry Finger <Larry.Finger@...inger.net>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux FS-devel Mailing List <linux-fsdevel@...r.kernel.org>
Subject: Re: [RFC 1/2] misc: Add vboxguest driver for Virtual Box Guest
integration
Hi,
On 21-08-17 13:43, Hans de Goede wrote:
<snip>
> I'm also thinking that under Linux since we never use userspace to
> alloc memory for the balloon, we don't need to involve userspace at
> all, the drivers interrupt handler could detect the event that the
> host wants to change the balloonsize itself and start a workqueue
> item which then asks for what the new size should be and do the
> adjustment all inside the kernel. I think that will even lead to
> simpler code as we no longer need to track the balloon userspace
> owner and do reclaim when it dies.
>
> Typing this out I really see no reason to not do this inside the
> kernel, so I think I'm going to implement that right away / for
> the [RFC v2] I plan to post later today or tomorrow.
Done:
https://github.com/jwrdegoede/vboxguest/commit/2920882cb0ce9af11a843affc58d4a08ef47e16b
Regards,
Hans
Powered by blists - more mailing lists