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
0aa6e336
Commit
0aa6e336
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] numa api core: use SLAB_PANIC
parent
e6ac361f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
mm/mempolicy.c
mm/mempolicy.c
+2
-5
No files found.
mm/mempolicy.c
View file @
0aa6e336
...
@@ -1004,14 +1004,11 @@ static __init int numa_policy_init(void)
...
@@ -1004,14 +1004,11 @@ static __init int numa_policy_init(void)
{
{
policy_cache
=
kmem_cache_create
(
"numa_policy"
,
policy_cache
=
kmem_cache_create
(
"numa_policy"
,
sizeof
(
struct
mempolicy
),
sizeof
(
struct
mempolicy
),
0
,
0
,
NULL
,
NULL
);
0
,
SLAB_PANIC
,
NULL
,
NULL
);
sn_cache
=
kmem_cache_create
(
"shared_policy_node"
,
sn_cache
=
kmem_cache_create
(
"shared_policy_node"
,
sizeof
(
struct
sp_node
),
sizeof
(
struct
sp_node
),
0
,
0
,
NULL
,
NULL
);
0
,
SLAB_PANIC
,
NULL
,
NULL
);
if
(
!
policy_cache
||
!
sn_cache
)
panic
(
"Cannot create NUMA policy cache"
);
return
0
;
return
0
;
}
}
module_init
(
numa_policy_init
);
module_init
(
numa_policy_init
);
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