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
90687aa1
Commit
90687aa1
authored
Apr 11, 2004
by
Andrew Morton
Committed by
Linus Torvalds
Apr 11, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] stop using page.list in pageattr.c
Switch it to ->lru
parent
c41bb9c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
arch/i386/mm/pageattr.c
arch/i386/mm/pageattr.c
+2
-2
No files found.
arch/i386/mm/pageattr.c
View file @
90687aa1
...
...
@@ -132,7 +132,7 @@ __change_page_attr(struct page *page, pgprot_t prot)
}
if
(
cpu_has_pse
&&
(
atomic_read
(
&
kpte_page
->
count
)
==
1
))
{
list_add
(
&
kpte_page
->
l
ist
,
&
df_list
);
list_add
(
&
kpte_page
->
l
ru
,
&
df_list
);
revert_page
(
kpte_page
,
address
);
}
return
0
;
...
...
@@ -185,7 +185,7 @@ void global_flush_tlb(void)
flush_map
();
n
=
l
.
next
;
while
(
n
!=
&
l
)
{
struct
page
*
pg
=
list_entry
(
n
,
struct
page
,
l
ist
);
struct
page
*
pg
=
list_entry
(
n
,
struct
page
,
l
ru
);
n
=
n
->
next
;
__free_page
(
pg
);
}
...
...
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