Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
4e44e085
Commit
4e44e085
authored
May 22, 2004
by
Andrew Morton
Committed by
Linus Torvalds
May 22, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] unmap_mapping_range: add comment
parent
068258f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
mm/memory.c
mm/memory.c
+6
-0
No files found.
mm/memory.c
View file @
4e44e085
...
@@ -1183,6 +1183,12 @@ void unmap_mapping_range(struct address_space *mapping,
...
@@ -1183,6 +1183,12 @@ void unmap_mapping_range(struct address_space *mapping,
if
(
unlikely
(
!
prio_tree_empty
(
&
mapping
->
i_mmap_shared
)))
if
(
unlikely
(
!
prio_tree_empty
(
&
mapping
->
i_mmap_shared
)))
unmap_mapping_range_list
(
&
mapping
->
i_mmap_shared
,
&
details
);
unmap_mapping_range_list
(
&
mapping
->
i_mmap_shared
,
&
details
);
/*
* In nonlinear VMAs there is no correspondence between virtual address
* offset and file offset. So we must perform an exhaustive search
* across *all* the pages in each nonlinear VMA, not just the pages
* whose virtual address lies outside the file truncation point.
*/
if
(
unlikely
(
!
list_empty
(
&
mapping
->
i_mmap_nonlinear
)))
{
if
(
unlikely
(
!
list_empty
(
&
mapping
->
i_mmap_nonlinear
)))
{
struct
vm_area_struct
*
vma
;
struct
vm_area_struct
*
vma
;
list_for_each_entry
(
vma
,
&
mapping
->
i_mmap_nonlinear
,
list_for_each_entry
(
vma
,
&
mapping
->
i_mmap_nonlinear
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment