fix i810_dma.c freeing mem inside mem_map

fix i810_dma.c freeing mem inside mem_map

Post by William Lee Irwin II » Sat, 09 Feb 2002 14:20:07



--- linux/drivers/char/drm/i810_dma.c.bak       Thu Feb  7 21:09:49 2002

                atomic_dec(&p->count);
                clear_bit(PG_locked, &p->flags);
                wake_up_page(p);
-               free_page(p);
+               free_page(page);
        }
 }

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

fix i810_dma.c freeing mem inside mem_map

Post by Hugh Dickin » Sat, 09 Feb 2002 21:40:06



> --- linux/drivers/char/drm/i810_dma.c.bak  Thu Feb  7 21:09:49 2002
> +++ linux/drivers/char/drm/i810_dma.c      Thu Feb  7 21:09:59 2002

>            atomic_dec(&p->count);
>            clear_bit(PG_locked, &p->flags);
>            wake_up_page(p);
> -          free_page(p);
> +          free_page(page);
>    }
>  }

What tree does this patch apply to?

Hugh

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

fix i810_dma.c freeing mem inside mem_map

Post by William Lee Irwin II » Sun, 10 Feb 2002 02:00:10



>> --- linux/drivers/char/drm/i810_dma.c.bak      Thu Feb  7 21:09:49 2002
>> +++ linux/drivers/char/drm/i810_dma.c  Thu Feb  7 21:09:59 2002

>>                atomic_dec(&p->count);
>>                clear_bit(PG_locked, &p->flags);
>>                wake_up_page(p);
>> -              free_page(p);
>> +              free_page(page);
>>        }
>>  }

> What tree does this patch apply to?
> Hugh

rmap12d

Cheers,
Bill
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. Fix undefined mem_map in sound/core/memalloc.c

This fixes "mem_map undefined" errors in sound/core/memalloc.c (and
others).  I'm not sure it's the right way to do it, but it works for
playing sound.

--- include/sound/memalloc.h~   Mon Apr  7 19:30:38 2003

 #define __SOUND_MEMALLOC_H

 #include <linux/pci.h>
+#include <linux/mm.h>
 #ifdef CONFIG_SBUS
 #include <asm/sbus.h>
 #endif

--
M?ns Rullg?rd

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. GCC binaries on solaris 2.4

3. help: free list of vmstat does free up when shared mem removed

4. USB Mouse problem

5. Any way to display the mem usage inside a process ?

6. netscape 4.5 and real player (tarball?)

7. KDE 2.1.x Fixed Width Fonts Free Feeble Font Fix

8. Striped Drives

9. >64MB mem problem - why not fix it?

10. qla1280 mem-mapped I/O fix

11. Losing free mem

12. mem reported by free(1)?

13. Fix mem= options