File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tools/labs/templates/memory_mapping Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ static int my_seq_show(struct seq_file *seq, void *v)
118
118
/* TODO 3: Get current process' mm_struct */
119
119
mm = get_task_mm (current );
120
120
121
- /* TODO 3/8 : Iterate through all memory mappings */
121
+ /* TODO 3/6 : Iterate through all memory mappings */
122
122
vma_iterator = mm -> mmap ;
123
123
while (vma_iterator != NULL ) {
124
124
pr_info ("%lx %lx\n" , vma_iterator -> vm_start , vma_iterator -> vm_end );
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ static int my_seq_show(struct seq_file *seq, void *v)
119
119
/* TODO 3: Get current process' mm_struct */
120
120
mm = get_task_mm (current );
121
121
122
- /* TODO 3/8 : Iterate through all memory mappings and print ranges */
122
+ /* TODO 3/6 : Iterate through all memory mappings and print ranges */
123
123
vma_iterator = mm -> mmap ;
124
124
while (vma_iterator != NULL ) {
125
125
pr_info ("%lx %lx\n" , vma_iterator -> vm_start , vma_iterator -> vm_end );
You can’t perform that action at this time.
0 commit comments