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
Kirill Smelkov
linux
Commits
7e43513d
Commit
7e43513d
authored
Apr 17, 2002
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: remove mem_map_check_hash(), it doesnt work with the radix
pagecache changes.
parent
f0cf3182
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
32 deletions
+0
-32
arch/ppc64/xmon/xmon.c
arch/ppc64/xmon/xmon.c
+0
-32
No files found.
arch/ppc64/xmon/xmon.c
View file @
7e43513d
...
@@ -128,7 +128,6 @@ static void mem_check_pagetable_vsids (void);
...
@@ -128,7 +128,6 @@ static void mem_check_pagetable_vsids (void);
static
void
mem_map_check_slab
(
void
);
static
void
mem_map_check_slab
(
void
);
static
void
mem_map_lock_pages
(
void
);
static
void
mem_map_lock_pages
(
void
);
static
void
mem_map_check_hash
(
void
);
static
void
mem_check_dup_rpn
(
void
);
static
void
mem_check_dup_rpn
(
void
);
static
void
debug_trace
(
void
);
static
void
debug_trace
(
void
);
...
@@ -651,9 +650,6 @@ cmds(struct pt_regs *excp)
...
@@ -651,9 +650,6 @@ cmds(struct pt_regs *excp)
case
'j'
:
case
'j'
:
mem_map_check_slab
();
mem_map_check_slab
();
break
;
break
;
case
'h'
:
mem_map_check_hash
();
break
;
case
'f'
:
case
'f'
:
mem_find_real
();
mem_find_real
();
break
;
break
;
...
@@ -2501,34 +2497,6 @@ void mem_map_lock_pages()
...
@@ -2501,34 +2497,6 @@ void mem_map_lock_pages()
printf
(
" count of locked pages = %d
\n
"
,
lock_count
);
printf
(
" count of locked pages = %d
\n
"
,
lock_count
);
}
}
void
mem_map_check_hash
()
{
int
i
=
max_mapnr
;
while
(
i
--
>
0
)
{
/* skip the reserved */
if
(
!
PageReserved
(
mem_map
+
i
))
{
if
(((
mem_map
+
i
)
->
next_hash
)
!=
NULL
)
{
if
(
REGION_ID
((
mem_map
+
i
)
->
next_hash
)
!=
KERNEL_REGION_ID
)
{
printf
(
" mem_map check hash - non c0 entry - "
"address/value = %p %lx
\n
"
,
mem_map
+
i
,(
mem_map
+
i
)
->
next_hash
);
}
if
((
unsigned
long
)((
mem_map
+
i
)
->
next_hash
)
==
KERNELBASE
){
printf
(
" mem_map check hash - 0x%lx entry = %p
\n
"
,
KERNELBASE
,
mem_map
+
i
);
}
}
}
else
{
if
(
page_count
(
mem_map
+
i
)
<
0
)
{
printf
(
" reserved page with negative count- entry = %lx
\n
"
,
mem_map
+
i
);
}
}
}
printf
(
" mem_map check hash completed
\n
"
);
}
void
mem_check_dup_rpn
()
void
mem_check_dup_rpn
()
{
{
unsigned
long
htab_size_bytes
;
unsigned
long
htab_size_bytes
;
...
...
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