patch-1.3.69 linux/ipc/shm.c
Next file: linux/kernel/ksyms.c
Previous file: linux/ipc/msg.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sun Feb 25 11:17:59 1996
- Orig file:
v1.3.68/linux/ipc/shm.c
- Orig date:
Sun Jan 14 16:30:15 1996
diff -u --recursive --new-file v1.3.68/linux/ipc/shm.c linux/ipc/shm.c
@@ -351,7 +351,7 @@
* The per process internal structure for managing segments is
* `struct vm_area_struct'.
* A shmat will add to and shmdt will remove from the list.
- * shmd->vm_task the attacher
+ * shmd->vm_mm the attacher
* shmd->vm_start virt addr of attach, multiple of SHMLBA
* shmd->vm_end multiple of SHMLBA
* shmd->vm_next next attach for task
@@ -765,7 +765,7 @@
mem_map[MAP_NR(pte_page(pte))].count--;
if (shmd->vm_mm->rss > 0)
shmd->vm_mm->rss--;
- invalidate_range(shmd->vm_mm, shmd->vm_start, shmd->vm_end);
+ invalidate_page(shmd, tmp);
/* continue looping through circular list */
} while (0);
if ((shmd = shmd->vm_next_share) == shp->attaches)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this