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
80baf699
Commit
80baf699
authored
May 22, 2003
by
Martin Hicks
Committed by
David Mosberger
May 22, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ia64: Change mmu_gathers into per-cpu data
parent
a9948a27
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
arch/ia64/mm/init.c
arch/ia64/mm/init.c
+1
-1
include/asm-ia64/tlb.h
include/asm-ia64/tlb.h
+2
-2
No files found.
arch/ia64/mm/init.c
View file @
80baf699
...
...
@@ -29,7 +29,7 @@
#include <asm/uaccess.h>
#include <asm/tlb.h>
struct
mmu_gather
mmu_gathers
[
NR_CPUS
]
;
DEFINE_PER_CPU
(
struct
mmu_gather
,
mmu_gathers
)
;
/* References to section boundaries: */
extern
char
_stext
,
_etext
,
_edata
,
__init_begin
,
__init_end
;
...
...
include/asm-ia64/tlb.h
View file @
80baf699
...
...
@@ -63,7 +63,7 @@ struct mmu_gather {
};
/* Users of the generic TLB shootdown code must declare this storage space. */
extern
struct
mmu_gather
mmu_gathers
[
NR_CPUS
]
;
DECLARE_PER_CPU
(
struct
mmu_gather
,
mmu_gathers
)
;
/*
* Flush the TLB for address range START to END and, if not in fast mode, release the
...
...
@@ -125,7 +125,7 @@ ia64_tlb_flush_mmu (struct mmu_gather *tlb, unsigned long start, unsigned long e
static
inline
struct
mmu_gather
*
tlb_gather_mmu
(
struct
mm_struct
*
mm
,
unsigned
int
full_mm_flush
)
{
struct
mmu_gather
*
tlb
=
&
mmu_gathers
[
smp_processor_id
()]
;
struct
mmu_gather
*
tlb
=
&
per_cpu
(
mmu_gathers
,
smp_processor_id
())
;
tlb
->
mm
=
mm
;
/*
...
...
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