FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 01-06-2010, 02:53 PM
Manoj Iyer
 
Default pull request - replace compcache with ramzswap

This pull request removes compcache from ubuntu delta and adds the latest
ramzsawp (aka compcache) to staging. I built a kernel (with
skipmodules=true), and it is available under
http://people.canonical.com/~manjo/lucid/ramzswap/
I have not tested if the latest ramzswap works the same as compcahe, but
from the mailing list the latest changes to ramzsawp (aka compcache) are
reported to work.

The following changes since commit
fc27fe26b53f350b5fc562a6b5e30b4462294383:
Andy Whitcroft (1):
UBUNTU: SAUCE: async_populate_rootfs: move rootfs init earlier

are available in the git repository at:


ssh://zinc.canonical.com/srv/kernel.ubuntu.com/git/manjo/ubuntu-lucid.git
ramzswap

Manoj Iyer (2):
UBUNTU: SAUCE: Remove compcache from ubuntu delta
UBUNTU: [Config] Replace COMPCACHE with RAMZSWAP

Nitin Gupta (5):
UBUNTU: Add xvmalloc memory allocator to staging
UBUNTU: Add virtual block device driver (ramzswap) to staging
UBUNTU: Add ramzswap: documentation to staging
UBUNTU: Add ramzswap: add TODO file to staging
UBUNTU: ramzswap: remove ARM specific d-cache hack from staging

debian.master/config/config.common.ubuntu | 3 +-
drivers/staging/Kconfig | 2 +
drivers/staging/Makefile | 1 +
drivers/staging/ramzswap/Kconfig | 21 +
drivers/staging/ramzswap/Makefile | 3 +
drivers/staging/ramzswap/TODO | 5 +
drivers/staging/ramzswap/ramzswap.txt | 51 +
drivers/staging/ramzswap/ramzswap_drv.c | 1413
++++++++++++++++++++
.../staging/ramzswap/ramzswap_drv.h | 122 +-
drivers/staging/ramzswap/ramzswap_ioctl.h | 49 +
.../staging/ramzswap}/xvmalloc.c | 188 +--
.../staging/ramzswap}/xvmalloc.h | 16 +-
.../staging/ramzswap}/xvmalloc_int.h | 24 +-
ubuntu/Kconfig | 1 -
ubuntu/Makefile | 1 -
ubuntu/compcache/BOM | 2 -
ubuntu/compcache/Changelog | 82 --
ubuntu/compcache/GPL.txt | 280 ----
ubuntu/compcache/Kconfig | 31 -
ubuntu/compcache/LGPL-2.1.txt | 510 -------
ubuntu/compcache/Makefile | 1 -
ubuntu/compcache/README | 45 -
ubuntu/compcache/compat.h | 34 -
ubuntu/compcache/ramzswap.c | 1049 ---------------
24 files changed, 1703 insertions(+), 2231 deletions(-)
create mode 100644 drivers/staging/ramzswap/Kconfig
create mode 100644 drivers/staging/ramzswap/Makefile
create mode 100644 drivers/staging/ramzswap/TODO
create mode 100644 drivers/staging/ramzswap/ramzswap.txt
create mode 100644 drivers/staging/ramzswap/ramzswap_drv.c
rename ubuntu/compcache/ramzswap.h =>
drivers/staging/ramzswap/ramzswap_drv.h (62%)
create mode 100644 drivers/staging/ramzswap/ramzswap_ioctl.h
rename {ubuntu/compcache => drivers/staging/ramzswap}/xvmalloc.c (70%)
rename {ubuntu/compcache => drivers/staging/ramzswap}/xvmalloc.h (54%)
rename {ubuntu/compcache => drivers/staging/ramzswap}/xvmalloc_int.h
(76%)
delete mode 100644 ubuntu/compcache/BOM
delete mode 100644 ubuntu/compcache/Changelog
delete mode 100644 ubuntu/compcache/GPL.txt
delete mode 100644 ubuntu/compcache/Kconfig
delete mode 100644 ubuntu/compcache/LGPL-2.1.txt
delete mode 100644 ubuntu/compcache/Makefile
delete mode 100644 ubuntu/compcache/README
delete mode 100644 ubuntu/compcache/compat.h
delete mode 100644 ubuntu/compcache/ramzswap.c

Cheers
--- manjo

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 01-06-2010, 03:27 PM
Stefan Bader
 
Default pull request - replace compcache with ramzswap

Manoj Iyer wrote:
> This pull request removes compcache from ubuntu delta and adds the latest
> ramzsawp (aka compcache) to staging. I built a kernel (with
> skipmodules=true), and it is available under
> http://people.canonical.com/~manjo/lucid/ramzswap/
> I have not tested if the latest ramzswap works the same as compcahe, but
> from the mailing list the latest changes to ramzsawp (aka compcache) are
> reported to work.
>
> The following changes since commit
> fc27fe26b53f350b5fc562a6b5e30b4462294383:
> Andy Whitcroft (1):
> UBUNTU: SAUCE: async_populate_rootfs: move rootfs init earlier
>
> are available in the git repository at:
>
>
> ssh://zinc.canonical.com/srv/kernel.ubuntu.com/git/manjo/ubuntu-lucid.git
> ramzswap
>
> Manoj Iyer (2):
> UBUNTU: SAUCE: Remove compcache from ubuntu delta
> UBUNTU: [Config] Replace COMPCACHE with RAMZSWAP
>
> Nitin Gupta (5):
> UBUNTU: Add xvmalloc memory allocator to staging
> UBUNTU: Add virtual block device driver (ramzswap) to staging
> UBUNTU: Add ramzswap: documentation to staging
> UBUNTU: Add ramzswap: add TODO file to staging
> UBUNTU: ramzswap: remove ARM specific d-cache hack from staging
>
> debian.master/config/config.common.ubuntu | 3 +-
> drivers/staging/Kconfig | 2 +
> drivers/staging/Makefile | 1 +
> drivers/staging/ramzswap/Kconfig | 21 +
> drivers/staging/ramzswap/Makefile | 3 +
> drivers/staging/ramzswap/TODO | 5 +
> drivers/staging/ramzswap/ramzswap.txt | 51 +
> drivers/staging/ramzswap/ramzswap_drv.c | 1413
> ++++++++++++++++++++

Somehow I remember us talking about that but thought we wanted to keep the
driver in ubuntu but update it to the version in 2.6.33/staging. Because Lucid
staging reflects what is/was in upstream staging for 2.6.32 and should not be
changed.

-Stefan

> .../staging/ramzswap/ramzswap_drv.h | 122 +-
> drivers/staging/ramzswap/ramzswap_ioctl.h | 49 +
> .../staging/ramzswap}/xvmalloc.c | 188 +--
> .../staging/ramzswap}/xvmalloc.h | 16 +-
> .../staging/ramzswap}/xvmalloc_int.h | 24 +-
> ubuntu/Kconfig | 1 -
> ubuntu/Makefile | 1 -
> ubuntu/compcache/BOM | 2 -
> ubuntu/compcache/Changelog | 82 --
> ubuntu/compcache/GPL.txt | 280 ----
> ubuntu/compcache/Kconfig | 31 -
> ubuntu/compcache/LGPL-2.1.txt | 510 -------
> ubuntu/compcache/Makefile | 1 -
> ubuntu/compcache/README | 45 -
> ubuntu/compcache/compat.h | 34 -
> ubuntu/compcache/ramzswap.c | 1049 ---------------
> 24 files changed, 1703 insertions(+), 2231 deletions(-)
> create mode 100644 drivers/staging/ramzswap/Kconfig
> create mode 100644 drivers/staging/ramzswap/Makefile
> create mode 100644 drivers/staging/ramzswap/TODO
> create mode 100644 drivers/staging/ramzswap/ramzswap.txt
> create mode 100644 drivers/staging/ramzswap/ramzswap_drv.c
> rename ubuntu/compcache/ramzswap.h =>
> drivers/staging/ramzswap/ramzswap_drv.h (62%)
> create mode 100644 drivers/staging/ramzswap/ramzswap_ioctl.h
> rename {ubuntu/compcache => drivers/staging/ramzswap}/xvmalloc.c (70%)
> rename {ubuntu/compcache => drivers/staging/ramzswap}/xvmalloc.h (54%)
> rename {ubuntu/compcache => drivers/staging/ramzswap}/xvmalloc_int.h
> (76%)
> delete mode 100644 ubuntu/compcache/BOM
> delete mode 100644 ubuntu/compcache/Changelog
> delete mode 100644 ubuntu/compcache/GPL.txt
> delete mode 100644 ubuntu/compcache/Kconfig
> delete mode 100644 ubuntu/compcache/LGPL-2.1.txt
> delete mode 100644 ubuntu/compcache/Makefile
> delete mode 100644 ubuntu/compcache/README
> delete mode 100644 ubuntu/compcache/compat.h
> delete mode 100644 ubuntu/compcache/ramzswap.c
>
> Cheers
> --- manjo
>


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 01-06-2010, 03:55 PM
 
Default pull request - replace compcache with ramzswap

>
> Somehow I remember us talking about that but thought we wanted to keep the
> driver in ubuntu but update it to the version in 2.6.33/staging. Because Lucid
> staging reflects what is/was in upstream staging for 2.6.32 and should not be
> changed.
>
> -Stefan

From the chat with apw on irc yesterday, I thought he was ok with removing
compcache and adding ramzswap when he said "well you could try and back
port it". Unless I completely misunderstood.



>
>> .../staging/ramzswap/ramzswap_drv.h | 122 +-
>> drivers/staging/ramzswap/ramzswap_ioctl.h | 49 +
>> .../staging/ramzswap}/xvmalloc.c | 188 +--
>> .../staging/ramzswap}/xvmalloc.h | 16 +-
>> .../staging/ramzswap}/xvmalloc_int.h | 24 +-
>> ubuntu/Kconfig | 1 -
>> ubuntu/Makefile | 1 -
>> ubuntu/compcache/BOM | 2 -
>> ubuntu/compcache/Changelog | 82 --
>> ubuntu/compcache/GPL.txt | 280 ----
>> ubuntu/compcache/Kconfig | 31 -
>> ubuntu/compcache/LGPL-2.1.txt | 510 -------
>> ubuntu/compcache/Makefile | 1 -
>> ubuntu/compcache/README | 45 -
>> ubuntu/compcache/compat.h | 34 -
>> ubuntu/compcache/ramzswap.c | 1049 ---------------
>> 24 files changed, 1703 insertions(+), 2231 deletions(-)
>> create mode 100644 drivers/staging/ramzswap/Kconfig
>> create mode 100644 drivers/staging/ramzswap/Makefile
>> create mode 100644 drivers/staging/ramzswap/TODO
>> create mode 100644 drivers/staging/ramzswap/ramzswap.txt
>> create mode 100644 drivers/staging/ramzswap/ramzswap_drv.c
>> rename ubuntu/compcache/ramzswap.h =>
>> drivers/staging/ramzswap/ramzswap_drv.h (62%)
>> create mode 100644 drivers/staging/ramzswap/ramzswap_ioctl.h
>> rename {ubuntu/compcache => drivers/staging/ramzswap}/xvmalloc.c (70%)
>> rename {ubuntu/compcache => drivers/staging/ramzswap}/xvmalloc.h (54%)
>> rename {ubuntu/compcache => drivers/staging/ramzswap}/xvmalloc_int.h
>> (76%)
>> delete mode 100644 ubuntu/compcache/BOM
>> delete mode 100644 ubuntu/compcache/Changelog
>> delete mode 100644 ubuntu/compcache/GPL.txt
>> delete mode 100644 ubuntu/compcache/Kconfig
>> delete mode 100644 ubuntu/compcache/LGPL-2.1.txt
>> delete mode 100644 ubuntu/compcache/Makefile
>> delete mode 100644 ubuntu/compcache/README
>> delete mode 100644 ubuntu/compcache/compat.h
>> delete mode 100644 ubuntu/compcache/ramzswap.c
>>
>> Cheers
>> --- manjo
>>
>
>

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 01-06-2010, 04:36 PM
Andy Whitcroft
 
Default pull request - replace compcache with ramzswap

On Wed, Jan 06, 2010 at 09:53:06AM -0600, Manoj Iyer wrote:
>
> This pull request removes compcache from ubuntu delta and adds the latest
> ramzsawp (aka compcache) to staging. I built a kernel (with
> skipmodules=true), and it is available under
> http://people.canonical.com/~manjo/lucid/ramzswap/
> I have not tested if the latest ramzswap works the same as compcahe, but
> from the mailing list the latest changes to ramzsawp (aka compcache) are
> reported to work.

The first concern here would be that the name of the driver seems to
be changing from compcache to ramzswap. However, I had a look at our
existing ubuntu/compcache version and actually if you look at the Makefile
it makes the module ramzswap also:

obj-$(CONFIG_BLK_DEV_COMPCACHE) := ramzswap.o xvmalloc.o

Looking at the compcache support in the initramfs it seems it already
has to cope with compcache and ramzswap as names. However, this new
version seems to have completely different use semantics. We assume it
can be directly built as below:

modprobe -q --ignore-install ramzswap disksize_kb="$kbytes"

but the new version only takes one module parameter:

modprobe ramzswap num_devices=4

and relies on a new userspace tool to generate the actual devices:

rzscontrol /dev/ramzswap2 --disksize_kb=XXX --init

so we would need to get that userspace tool as well to make this work
and update the initramfs support to trigger it.

> drivers/staging/Makefile | 1 +
> drivers/staging/ramzswap/Kconfig | 21 +

Finally I think if we could include this we would want to rename it over
to ubuntu for consitancy.

Overall if we do move to this version we would need to pull in the
userspace tools as a new package and we would also need to be able to
detect which version of ramzswap we have to adjust to the appropriate
semantics.

Cirtainly we cannot just blindly apply this this close to Alpha, if at
all during lucid. I am inclined to suggest we stay with what we know
for this cycle and put this on the radar for M.

-apw

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 01-06-2010, 04:44 PM
Andy Whitcroft
 
Default pull request - replace compcache with ramzswap

On Wed, Jan 06, 2010 at 10:55:57AM -0600, manoj.iyer@canonical.com wrote:
>
>
>
> >
> > Somehow I remember us talking about that but thought we wanted to keep the
> > driver in ubuntu but update it to the version in 2.6.33/staging. Because Lucid
> > staging reflects what is/was in upstream staging for 2.6.32 and should not be
> > changed.
> >
> > -Stefan
>
> From the chat with apw on irc yesterday, I thought he was ok with removing
> compcache and adding ramzswap when he said "well you could try and back
> port it". Unless I completely misunderstood.

Yep I was happy with you trying a backport of it, I think I would have
wanted it to end up in ubuntu/ramzswap, but see my other reply for more
detailed critique.

-apw

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 04:37 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org