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
e438444d
Commit
e438444d
authored
Aug 03, 2010
by
Pekka Enberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "slub: Allow removal of slab caches during boot"
This reverts commit
f5b801ac
.
parent
af537b0a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
mm/slub.c
mm/slub.c
+0
-7
No files found.
mm/slub.c
View file @
e438444d
...
@@ -4498,13 +4498,6 @@ static int sysfs_slab_add(struct kmem_cache *s)
...
@@ -4498,13 +4498,6 @@ static int sysfs_slab_add(struct kmem_cache *s)
static
void
sysfs_slab_remove
(
struct
kmem_cache
*
s
)
static
void
sysfs_slab_remove
(
struct
kmem_cache
*
s
)
{
{
if
(
slab_state
<
SYSFS
)
/*
* Sysfs has not been setup yet so no need to remove the
* cache from sysfs.
*/
return
;
kobject_uevent
(
&
s
->
kobj
,
KOBJ_REMOVE
);
kobject_uevent
(
&
s
->
kobj
,
KOBJ_REMOVE
);
kobject_del
(
&
s
->
kobj
);
kobject_del
(
&
s
->
kobj
);
kobject_put
(
&
s
->
kobj
);
kobject_put
(
&
s
->
kobj
);
...
...
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