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
5d652eb5
Commit
5d652eb5
authored
May 23, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge penguin:v2.5/linux
into home.transmeta.com:/home/torvalds/v2.5/linux
parents
13413379
208bc495
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
10 deletions
+9
-10
include/asm-i386/tlb.h
include/asm-i386/tlb.h
+2
-2
include/asm-sparc64/tlb.h
include/asm-sparc64/tlb.h
+4
-4
include/linux/buffer_head.h
include/linux/buffer_head.h
+1
-1
mm/memory.c
mm/memory.c
+2
-3
No files found.
include/asm-i386/tlb.h
View file @
5d652eb5
...
...
@@ -5,8 +5,8 @@
* x86 doesn't need any special per-pte or
* per-vma handling..
*/
#define tlb_start_vma(tlb, vma
, start, end
) do { } while (0)
#define tlb_end_vma(tlb, vma
, start, end
) do { } while (0)
#define tlb_start_vma(tlb, vma) do { } while (0)
#define tlb_end_vma(tlb, vma) do { } while (0)
#define tlb_remove_tlb_entry(tlb, pte, address) do { } while (0)
/*
...
...
include/asm-sparc64/tlb.h
View file @
5d652eb5
...
...
@@ -3,10 +3,10 @@
#define tlb_flush(tlb) flush_tlb_mm((tlb)->mm)
#define tlb_start_vma(tlb, vma
, start, end
) \
flush_cache_range(vma,
start,
end)
#define tlb_end_vma(tlb, vma
, start, end
) \
flush_tlb_range(vma,
start,
end)
#define tlb_start_vma(tlb, vma) \
flush_cache_range(vma,
vma->vm_start, vma->vm_
end)
#define tlb_end_vma(tlb, vma) \
flush_tlb_range(vma,
vma->vm_start, vma->vm_
end)
#define tlb_remove_tlb_entry(tlb, pte, address) do { } while (0)
...
...
include/linux/buffer_head.h
View file @
5d652eb5
...
...
@@ -9,9 +9,9 @@
#include <linux/types.h>
#include <linux/fs.h>
#include <linux/linkage.h>
#include <asm/atomic.h>
enum
bh_state_bits
{
BH_Uptodate
,
/* Contains valid data */
BH_Dirty
,
/* Is dirty */
...
...
mm/memory.c
View file @
5d652eb5
...
...
@@ -387,19 +387,18 @@ static void zap_pmd_range(mmu_gather_t *tlb, pgd_t * dir, unsigned long address,
void
unmap_page_range
(
mmu_gather_t
*
tlb
,
struct
vm_area_struct
*
vma
,
unsigned
long
address
,
unsigned
long
end
)
{
unsigned
long
start
=
address
;
pgd_t
*
dir
;
if
(
address
>=
end
)
BUG
();
dir
=
pgd_offset
(
vma
->
vm_mm
,
address
);
tlb_start_vma
(
tlb
,
vma
,
start
,
end
);
tlb_start_vma
(
tlb
,
vma
);
do
{
zap_pmd_range
(
tlb
,
dir
,
address
,
end
-
address
);
address
=
(
address
+
PGDIR_SIZE
)
&
PGDIR_MASK
;
dir
++
;
}
while
(
address
&&
(
address
<
end
));
tlb_end_vma
(
tlb
,
vma
,
start
,
end
);
tlb_end_vma
(
tlb
,
vma
);
}
/*
...
...
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