2019-02-06 05:17:25

by Nadav Amit

[permalink] [raw]
Subject: [PATCH 0/6] vmw_balloon: 64-bit limit support, compaction, shrinker

Various enhancements for VMware balloon, some of which are remainder
from a previous patch-set.

Patch 1: Aumps the version number, following recent changes
Patch 2: Adds support for 64-bit memory limit
Patches 3-4: Support for compaction
Patch 5: Support for memory shrinker - disabled by default
Patch 6: Split refused pages to improve performance

Since the 3rd patch requires Michael Tsirkin ack, which has not arrived
in the last couple of times the patch was sent, please consider applying
patches 1-2 for 5.1.

Cc: "Michael S. Tsirkin" <[email protected]>
Cc: Jason Wang <[email protected]>
Cc: [email protected]
Cc: [email protected]

Nadav Amit (5):
vmw_balloon: bump version number
mm/balloon_compaction: list interfaces
vmw_balloon: compaction support
vmw_balloon: add memory shrinker
vmw_balloon: split refused pages

Xavier Deguillard (1):
vmw_balloon: support 64-bit memory limit

drivers/misc/Kconfig | 1 +
drivers/misc/vmw_balloon.c | 511 ++++++++++++++++++++++++++---
include/linux/balloon_compaction.h | 4 +
mm/balloon_compaction.c | 139 +++++---
4 files changed, 566 insertions(+), 89 deletions(-)

--
2.17.1



2019-02-06 05:16:23

by Nadav Amit

[permalink] [raw]
Subject: [PATCH 1/6] vmw_balloon: bump version number

Following recent changes.

Signed-off-by: Nadav Amit <[email protected]>
---
drivers/misc/vmw_balloon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/misc/vmw_balloon.c b/drivers/misc/vmw_balloon.c
index f8240b87df22..7294f305753f 100644
--- a/drivers/misc/vmw_balloon.c
+++ b/drivers/misc/vmw_balloon.c
@@ -34,7 +34,7 @@

MODULE_AUTHOR("VMware, Inc.");
MODULE_DESCRIPTION("VMware Memory Control (Balloon) Driver");
-MODULE_VERSION("1.5.0.0-k");
+MODULE_VERSION("1.6.0.0-k");
MODULE_ALIAS("dmi:*:svnVMware*:*");
MODULE_ALIAS("vmware_vmmemctl");
MODULE_LICENSE("GPL");
--
2.17.1


2019-02-06 16:43:28

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH 1/6] vmw_balloon: bump version number

On Tue, Feb 05, 2019 at 09:13:31PM -0800, Nadav Amit wrote:
> Following recent changes.
>
> Signed-off-by: Nadav Amit <[email protected]>
> ---
> drivers/misc/vmw_balloon.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/misc/vmw_balloon.c b/drivers/misc/vmw_balloon.c
> index f8240b87df22..7294f305753f 100644
> --- a/drivers/misc/vmw_balloon.c
> +++ b/drivers/misc/vmw_balloon.c
> @@ -34,7 +34,7 @@
>
> MODULE_AUTHOR("VMware, Inc.");
> MODULE_DESCRIPTION("VMware Memory Control (Balloon) Driver");
> -MODULE_VERSION("1.5.0.0-k");
> +MODULE_VERSION("1.6.0.0-k");

Please just drop this pointless line, it means nothing and is always out
of date. It's been removed from many other drivers, and I really don't
want to see it come back.

Your driver "version" is the kernel version, full stop. That's all you
need to ever worry about.

thanks,

greg k-h

2019-02-06 18:09:01

by Michael S. Tsirkin

[permalink] [raw]
Subject: Re: [PATCH 0/6] vmw_balloon: 64-bit limit support, compaction, shrinker

On Tue, Feb 05, 2019 at 09:13:30PM -0800, Nadav Amit wrote:
> Various enhancements for VMware balloon, some of which are remainder
> from a previous patch-set.
>
> Patch 1: Aumps the version number, following recent changes
> Patch 2: Adds support for 64-bit memory limit
> Patches 3-4: Support for compaction
> Patch 5: Support for memory shrinker - disabled by default
> Patch 6: Split refused pages to improve performance
>
> Since the 3rd patch requires Michael Tsirkin ack, which has not arrived
> in the last couple of times the patch was sent, please consider applying
> patches 1-2 for 5.1.
>
> Cc: "Michael S. Tsirkin" <[email protected]>
> Cc: Jason Wang <[email protected]>
> Cc: [email protected]
> Cc: [email protected]


I don't seem to have got anything except patch 0 either directly
or through [email protected]
Could you bounce the relevant patches there?

Thanks!

> Nadav Amit (5):
> vmw_balloon: bump version number
> mm/balloon_compaction: list interfaces
> vmw_balloon: compaction support
> vmw_balloon: add memory shrinker
> vmw_balloon: split refused pages
>
> Xavier Deguillard (1):
> vmw_balloon: support 64-bit memory limit
>
> drivers/misc/Kconfig | 1 +
> drivers/misc/vmw_balloon.c | 511 ++++++++++++++++++++++++++---
> include/linux/balloon_compaction.h | 4 +
> mm/balloon_compaction.c | 139 +++++---
> 4 files changed, 566 insertions(+), 89 deletions(-)
>
> --
> 2.17.1

2019-02-06 18:12:56

by Nadav Amit

[permalink] [raw]
Subject: Re: [PATCH 0/6] vmw_balloon: 64-bit limit support, compaction, shrinker

> On Feb 6, 2019, at 9:52 AM, Michael S. Tsirkin <[email protected]> wrote:
>
> On Tue, Feb 05, 2019 at 09:13:30PM -0800, Nadav Amit wrote:
>> Various enhancements for VMware balloon, some of which are remainder
>> from a previous patch-set.
>>
>> Patch 1: Aumps the version number, following recent changes
>> Patch 2: Adds support for 64-bit memory limit
>> Patches 3-4: Support for compaction
>> Patch 5: Support for memory shrinker - disabled by default
>> Patch 6: Split refused pages to improve performance
>>
>> Since the 3rd patch requires Michael Tsirkin ack, which has not arrived
>> in the last couple of times the patch was sent, please consider applying
>> patches 1-2 for 5.1.
>>
>> Cc: "Michael S. Tsirkin" <[email protected]>
>> Cc: Jason Wang <[email protected]>
>> Cc: [email protected]
>> Cc: [email protected]
>
>
> I don't seem to have got anything except patch 0 either directly
> or through [email protected]
> Could you bounce the relevant patches there?

Sorry for that. I will resend.


2019-02-06 20:40:20

by Nadav Amit

[permalink] [raw]
Subject: Re: [PATCH 1/6] vmw_balloon: bump version number

> On Feb 6, 2019, at 8:42 AM, Greg Kroah-Hartman <[email protected]> wrote:
>
> On Tue, Feb 05, 2019 at 09:13:31PM -0800, Nadav Amit wrote:
>> Following recent changes.
>>
>> Signed-off-by: Nadav Amit <[email protected]>
>> ---
>> drivers/misc/vmw_balloon.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/misc/vmw_balloon.c b/drivers/misc/vmw_balloon.c
>> index f8240b87df22..7294f305753f 100644
>> --- a/drivers/misc/vmw_balloon.c
>> +++ b/drivers/misc/vmw_balloon.c
>> @@ -34,7 +34,7 @@
>>
>> MODULE_AUTHOR("VMware, Inc.");
>> MODULE_DESCRIPTION("VMware Memory Control (Balloon) Driver");
>> -MODULE_VERSION("1.5.0.0-k");
>> +MODULE_VERSION("1.6.0.0-k");
>
> Please just drop this pointless line, it means nothing and is always out
> of date. It's been removed from many other drivers, and I really don't
> want to see it come back.
>
> Your driver "version" is the kernel version, full stop. That's all you
> need to ever worry about.

I understand, and I will inform those who asked for the version bump.

Having said that, I do not see a reference for this policy. I understand
that you removed the MODULE_VERSION from in-kernel drivers, but I also see
that you accepted several drivers last year that used MODULE_VERSION.


2019-02-06 21:08:06

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH 1/6] vmw_balloon: bump version number

On Wed, Feb 06, 2019 at 08:39:52PM +0000, Nadav Amit wrote:
> > On Feb 6, 2019, at 8:42 AM, Greg Kroah-Hartman <[email protected]> wrote:
> >
> > On Tue, Feb 05, 2019 at 09:13:31PM -0800, Nadav Amit wrote:
> >> Following recent changes.
> >>
> >> Signed-off-by: Nadav Amit <[email protected]>
> >> ---
> >> drivers/misc/vmw_balloon.c | 2 +-
> >> 1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >> diff --git a/drivers/misc/vmw_balloon.c b/drivers/misc/vmw_balloon.c
> >> index f8240b87df22..7294f305753f 100644
> >> --- a/drivers/misc/vmw_balloon.c
> >> +++ b/drivers/misc/vmw_balloon.c
> >> @@ -34,7 +34,7 @@
> >>
> >> MODULE_AUTHOR("VMware, Inc.");
> >> MODULE_DESCRIPTION("VMware Memory Control (Balloon) Driver");
> >> -MODULE_VERSION("1.5.0.0-k");
> >> +MODULE_VERSION("1.6.0.0-k");
> >
> > Please just drop this pointless line, it means nothing and is always out
> > of date. It's been removed from many other drivers, and I really don't
> > want to see it come back.
> >
> > Your driver "version" is the kernel version, full stop. That's all you
> > need to ever worry about.
>
> I understand, and I will inform those who asked for the version bump.
>
> Having said that, I do not see a reference for this policy. I understand
> that you removed the MODULE_VERSION from in-kernel drivers, but I also see
> that you accepted several drivers last year that used MODULE_VERSION.

I messed up, and will be glad to take patches to remove them. Usually
that's the last thing I remember to check when reviewing patches, I
can always use the help :)

Also, I only received 1 patch in this series, did something go wrong
with the sending of it?

thanks,

greg k-h

2019-02-06 22:18:31

by Nadav Amit

[permalink] [raw]
Subject: Re: [PATCH 1/6] vmw_balloon: bump version number

> On Feb 6, 2019, at 1:06 PM, Greg Kroah-Hartman <[email protected]> wrote:
>
> On Wed, Feb 06, 2019 at 08:39:52PM +0000, Nadav Amit wrote:
>>> On Feb 6, 2019, at 8:42 AM, Greg Kroah-Hartman <[email protected]> wrote:
>>>
>>> On Tue, Feb 05, 2019 at 09:13:31PM -0800, Nadav Amit wrote:
>>>> Following recent changes.
>>>>
>>>> Signed-off-by: Nadav Amit <[email protected]>
>>>> ---
>>>> drivers/misc/vmw_balloon.c | 2 +-
>>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>>
>>>> diff --git a/drivers/misc/vmw_balloon.c b/drivers/misc/vmw_balloon.c
>>>> index f8240b87df22..7294f305753f 100644
>>>> --- a/drivers/misc/vmw_balloon.c
>>>> +++ b/drivers/misc/vmw_balloon.c
>>>> @@ -34,7 +34,7 @@
>>>>
>>>> MODULE_AUTHOR("VMware, Inc.");
>>>> MODULE_DESCRIPTION("VMware Memory Control (Balloon) Driver");
>>>> -MODULE_VERSION("1.5.0.0-k");
>>>> +MODULE_VERSION("1.6.0.0-k");
>>>
>>> Please just drop this pointless line, it means nothing and is always out
>>> of date. It's been removed from many other drivers, and I really don't
>>> want to see it come back.
>>>
>>> Your driver "version" is the kernel version, full stop. That's all you
>>> need to ever worry about.
>>
>> I understand, and I will inform those who asked for the version bump.
>>
>> Having said that, I do not see a reference for this policy. I understand
>> that you removed the MODULE_VERSION from in-kernel drivers, but I also see
>> that you accepted several drivers last year that used MODULE_VERSION.
>
> I messed up, and will be glad to take patches to remove them. Usually
> that's the last thing I remember to check when reviewing patches, I
> can always use the help :)
>
> Also, I only received 1 patch in this series, did something go wrong
> with the sending of it?

Err. Thanks for letting me know. I guess that that I messed up the git-send
trying to avoid cc’ing patch author who got his email address deactivated.

I will resend.