On Monday, 31 of January 2005 19:20, Pavel Machek wrote:
> Hi!
>
> > > static inline void free_pagedir(struct pbe *pblist)
> > > {
> > > struct pbe *pbe;
> > >
> > > while (pblist) {
> > > pbe = pblist + PB_PAGE_SKIP;
> > > pblist = pbe->next;
> >
Hi!
> > static inline void free_pagedir(struct pbe *pblist)
> > {
> > struct pbe *pbe;
> >
> > while (pblist) {
> > pbe = pblist + PB_PAGE_SKIP;
> > pblist = pbe->next;
> > free_page((unsigned long)pbe);
> > }
> >
Hi!
static inline void free_pagedir(struct pbe *pblist)
{
struct pbe *pbe;
while (pblist) {
pbe = pblist + PB_PAGE_SKIP;
pblist = pbe-next;
free_page((unsigned long)pbe);
}
On Monday, 31 of January 2005 19:20, Pavel Machek wrote:
Hi!
static inline void free_pagedir(struct pbe *pblist)
{
struct pbe *pbe;
while (pblist) {
pbe = pblist + PB_PAGE_SKIP;
pblist = pbe-next;
On Friday, 28 of January 2005 18:24, you wrote:
> Hi!
>
[-- snip --]
>
> I'll do some testing later.
>
> > diff -Nru linux-2.6.11-rc2-orig/include/linux/suspend.h
> > linux-2.6.11-rc2/include/linux/suspend.h
> > --- linux-2.6.11-rc2-orig/include/linux/suspend.h 2005-01-28
> >
On Friday, 28 of January 2005 15:07, Martin Zwickel wrote:
> > @@ -373,15 +377,22 @@
> >
> > static int write_pagedir(void)
> > {
> > - unsigned long addr = (unsigned long)pagedir_nosave;
> > int error = 0;
> > - int n = SUSPEND_PD_PAGES(nr_copy_pages);
> > - int i;
> > + unsigned
Hi!
> The following patch is (yet) an(other) attempt to eliminate the need for
> using higher
> order memory allocations on suspend. It accomplishes this by replacing the
> array
> of page backup entries with a list, so it is only necessary to allocate
> individual
> memory pages.
>
> I have
> @@ -373,15 +377,22 @@
>
> static int write_pagedir(void)
> {
> - unsigned long addr = (unsigned long)pagedir_nosave;
> int error = 0;
> - int n = SUSPEND_PD_PAGES(nr_copy_pages);
> - int i;
> + unsigned n = 0;
> + struct pbe * pbe;
> +
> + printk( "Writing
Hi,
The following patch is (yet) an(other) attempt to eliminate the need for using
higher
order memory allocations on suspend. It accomplishes this by replacing the
array
of page backup entries with a list, so it is only necessary to allocate
individual
memory pages.
I have noticed that the
Hi,
The following patch is (yet) an(other) attempt to eliminate the need for using
higher
order memory allocations on suspend. It accomplishes this by replacing the
array
of page backup entries with a list, so it is only necessary to allocate
individual
memory pages.
I have noticed that the
@@ -373,15 +377,22 @@
static int write_pagedir(void)
{
- unsigned long addr = (unsigned long)pagedir_nosave;
int error = 0;
- int n = SUSPEND_PD_PAGES(nr_copy_pages);
- int i;
+ unsigned n = 0;
+ struct pbe * pbe;
+
+ printk( Writing pagedir ...);
+
Hi!
The following patch is (yet) an(other) attempt to eliminate the need for
using higher
order memory allocations on suspend. It accomplishes this by replacing the
array
of page backup entries with a list, so it is only necessary to allocate
individual
memory pages.
I have noticed
On Friday, 28 of January 2005 15:07, Martin Zwickel wrote:
@@ -373,15 +377,22 @@
static int write_pagedir(void)
{
- unsigned long addr = (unsigned long)pagedir_nosave;
int error = 0;
- int n = SUSPEND_PD_PAGES(nr_copy_pages);
- int i;
+ unsigned n = 0;
+
On Friday, 28 of January 2005 18:24, you wrote:
Hi!
[-- snip --]
I'll do some testing later.
diff -Nru linux-2.6.11-rc2-orig/include/linux/suspend.h
linux-2.6.11-rc2/include/linux/suspend.h
--- linux-2.6.11-rc2-orig/include/linux/suspend.h 2005-01-28
14:23:42.0 +0100
14 matches
Mail list logo