|
osdir.com mailing list archive F.A.Q. -since 2001! |
|
|
|
Subject: grub fast resume patch - msg#00042List: linux.ubuntu.devel.kernel.general
by Date: Prev Next Date Index by Thread: Prev Next Thread Index
Hi all:
Frank and I have been developing the fast resume patch for grub. This patch can decrease the time to resume from hibernate greatly. Below is the test result: Fast resume from grub: 24 S Normal resume: 46 S Hardware Platform: Sunsumg Q1 ultra: CPU Genuine Intel(R) processor 800MHZ; Memory 1G Software: Kernel linux2.6.22 Grub-0.97 Below is the work theory of our "grub fast resume" patch The normal swsusp2 resume process is: "grub" -> "kernel" -> "initrd" -> "resume from the hibernate" Our "grub fast resume patch" can work as below: "grub" -> "resume from hibernate" Our "grub fast resume" patch can resume the saved hibernation image from grub directly that will save much time to load and run kernel and initrd. The patch does not change any kernel code. We hope you can have a look at our patch and accept it. Thank you in advance. I will give our patch soon. BTW Frank and I are engineers from Intel. We are working for MID (Moblie Internet Device) project with ubuntu (see www.moblin.org).
Thread at a glance:
Previous Message by Date:Re: Fix ivtv-fb segfaultsThis is an OpenPGP/MIME signed message (RFC 2440 and 3156)I just realized that I forgot to give a description to the UBUNTU: line. Updated patch attached. Mario Limonciello wrote: > Hi, > > As some users have pointed out in the forums > (http://ubuntuforums.org/showpost.php?p=3514752&postcount=12) and on bug > 147886 > (https://bugs.edge.launchpad.net/ubuntu/+source/linux-ubuntu-modules-2.6.22/+bug/147886), > ivtv-fb is still not functional at this point. > > I'm attaching the fixed patch to allow it to be modprobed without a segfault. > Is it possible to get this into a lum upload between rc and final? If not, > can > this be done via a kernel lum sru? > > Thanks, > > -- Mario Limonciello superm1@xxxxxxxxxx From 6b43f17e883c12ac68ef02ea6846ea829efa0428 Mon Sep 17 00:00:00 2001 From: Mario Limonciello <supermario@portablemario.(none)> Date: Thu, 11 Oct 2007 23:04:18 -0500 Subject: [PATCH] UBUNTU: Fix ivtv segfaulting OriginalLocation: http://www.ivtvdriver.org/pipermail/ivtv-devel/2007-August/004988.html Bug: 147886 Ignore: no Ship proper ivtv-driver.h header file for the current 2.6.22 kernel to fix segfaults when modprobing. Signed-off-by: Mario Limonciello <supermario@portablemario.(none)> --- ubuntu/media/ivtv/driver/ivtv-driver.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ubuntu/media/ivtv/driver/ivtv-driver.h b/ubuntu/media/ivtv/driver/ivtv-driver.h index e6e56f1..65ebdda 100644 --- a/ubuntu/media/ivtv/driver/ivtv-driver.h +++ b/ubuntu/media/ivtv/driver/ivtv-driver.h @@ -650,7 +650,6 @@ struct vbi_info { /* convenience pointer to sliced struct in vbi_in union */ struct v4l2_sliced_vbi_format *sliced_in; u32 service_set_in; - u32 service_set_out; int insert_mpeg; /* Buffer for the maximum of 2 * 18 * packet_size sliced VBI lines. @@ -723,6 +722,7 @@ struct ivtv { int search_pack_header; spinlock_t dma_reg_lock; /* lock access to DMA engine registers */ + struct mutex serialize_lock; /* lock used to serialize starting streams */ /* User based DMA for OSD */ struct ivtv_user_dma udma; -- 1.5.2.5 signature.asc Description: OpenPGP digital signature Next Message by Date:Re: grub fast resume patch"Xu, Martin" <martin.xu@xxxxxxxxx> writes: > Hi all: > Frank and I have been developing the fast resume patch for grub. This > patch can decrease the time to resume from hibernate greatly. Below is > the test result: > > Fast resume from grub: 24 S > Normal resume: 46 S I personally loves this new idea and agree with the approach however GRUB 0.97 is at legacy mode (on upstream side) and it makes rather difficult to us (Debian) to keep using it. We're focusing our efforts in moving to GRUB2 and I'd like to ask if you could work on a patch for GRUB2 too? It would allow it to get accepted upstream and removing the maintainence work (in theory at least) from you. BTW, is the patch very intrusive? -- O T A V I O S A L V A D O R --------------------------------------------- E-mail: otavio@xxxxxxxxxx UIN: 5906116 GNU/Linux User: 239058 GPG ID: 49A5F855 Home Page: http://otavio.ossystems.com.br --------------------------------------------- "Microsoft sells you Windows ... Linux gives you the whole house." Previous Message by Thread:Fix ivtv-fb segfaultsThis is an OpenPGP/MIME signed message (RFC 2440 and 3156)Hi, As some users have pointed out in the forums (http://ubuntuforums.org/showpost.php?p=3514752&postcount=12) and on bug 147886 (https://bugs.edge.launchpad.net/ubuntu/+source/linux-ubuntu-modules-2.6.22/+bug/147886), ivtv-fb is still not functional at this point. I'm attaching the fixed patch to allow it to be modprobed without a segfault. Is it possible to get this into a lum upload between rc and final? If not, can this be done via a kernel lum sru? Thanks, -- Mario Limonciello superm1@xxxxxxxxxx From 6b43f17e883c12ac68ef02ea6846ea829efa0428 Mon Sep 17 00:00:00 2001 From: Mario Limonciello <supermario@portablemario.(none)> Date: Thu, 11 Oct 2007 23:04:18 -0500 Subject: [PATCH] UBUNTU: OriginalLocation: http://www.ivtvdriver.org/pipermail/ivtv-devel/2007-August/004988.html Bug: 147886 Ignore: no Ship proper ivtv-driver.h header file for the current 2.6.22 kernel to fix segfaults when modprobing. Signed-off-by: Mario Limonciello <supermario@portablemario.(none)> --- ubuntu/media/ivtv/driver/ivtv-driver.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ubuntu/media/ivtv/driver/ivtv-driver.h b/ubuntu/media/ivtv/driver/ivtv-driver.h index e6e56f1..65ebdda 100644 --- a/ubuntu/media/ivtv/driver/ivtv-driver.h +++ b/ubuntu/media/ivtv/driver/ivtv-driver.h @@ -650,7 +650,6 @@ struct vbi_info { /* convenience pointer to sliced struct in vbi_in union */ struct v4l2_sliced_vbi_format *sliced_in; u32 service_set_in; - u32 service_set_out; int insert_mpeg; /* Buffer for the maximum of 2 * 18 * packet_size sliced VBI lines. @@ -723,6 +722,7 @@ struct ivtv { int search_pack_header; spinlock_t dma_reg_lock; /* lock access to DMA engine registers */ + struct mutex serialize_lock; /* lock used to serialize starting streams */ /* User based DMA for OSD */ struct ivtv_user_dma udma; -- 1.5.2.5 signature.asc Description: OpenPGP digital signature Next Message by Thread:Re: grub fast resume patch"Xu, Martin" <martin.xu@xxxxxxxxx> writes: > Hi all: > Frank and I have been developing the fast resume patch for grub. This > patch can decrease the time to resume from hibernate greatly. Below is > the test result: > > Fast resume from grub: 24 S > Normal resume: 46 S I personally loves this new idea and agree with the approach however GRUB 0.97 is at legacy mode (on upstream side) and it makes rather difficult to us (Debian) to keep using it. We're focusing our efforts in moving to GRUB2 and I'd like to ask if you could work on a patch for GRUB2 too? It would allow it to get accepted upstream and removing the maintainence work (in theory at least) from you. BTW, is the patch very intrusive? -- O T A V I O S A L V A D O R --------------------------------------------- E-mail: otavio@xxxxxxxxxx UIN: 5906116 GNU/Linux User: 239058 GPG ID: 49A5F855 Home Page: http://otavio.ossystems.com.br --------------------------------------------- "Microsoft sells you Windows ... Linux gives you the whole house."
blog comments powered by Disqus
|
|