shmem fixes for 2.4.1-pre7
Subsystems (3)
PATCH 1/1 shmem fixes for 2.4.1-pre7
Hi Linus,
Here is a patch against 2.4.1-pre7 which
1) Adds prototype for shmem_lock to mm.h
2) Again brings the fixes for the accounting. I still think it should be applied.
Greetings
Christoph
include/linux/mm.h +1 -0
@@ -386,6 +386,7 @@struct page *shmem_nopage (struct vm_area_struct * vma,unsigned long address,int no_share);struct file *shmem_file_setup (char * name,loff_t size); +void shmem_lock (struct file * file,int lock);extern int shmem_zero_setup (struct vm_area_struct *);extern void zap_page_range (struct mm_struct *mm,unsigned long address,unsigned long size);
mm/shmem.c +38 -19
87 lines not on this page · raw message
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 5 lines · Christoph Rohland
Here is a patch against 2.4.1-pre7 which
1) Adds prototype for
shmem_locktomm.h
2) Again brings the fixes for the accounting. I still think it should be applied.
And of course the prototype should be extern...
Greetings
Christoph
include/linux/mm.h +1 -0
@@ -386,6 +386,7 @@struct page *shmem_nopage (struct vm_area_struct * vma,unsigned long address,int no_share);struct file *shmem_file_setup (char * name,loff_t size); +extern void shmem_lock (struct file * file,int lock);extern int shmem_zero_setup (struct vm_area_struct *);extern void zap_page_range (struct mm_struct *mm,unsigned long address,unsigned long size);
mm/shmem.c +38 -19
87 lines not on this page · raw message
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/