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
3adf004d
Commit
3adf004d
authored
Jul 18, 2011
by
Pekka Enberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "SLUB: Fix build breakage in linux/mm_types.h"
This reverts commit
ea6bd8ee
.
parent
ea6bd8ee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
10 deletions
+15
-10
include/linux/mm_types.h
include/linux/mm_types.h
+15
-10
No files found.
include/linux/mm_types.h
View file @
3adf004d
...
...
@@ -49,27 +49,32 @@ struct page {
* see PAGE_MAPPING_ANON below.
*/
/* Second double word */
struct
{
union
{
struct
{
pgoff_t
index
;
/* Our offset within mapping. */
void
*
freelist
;
/* slub first free object */
};
union
{
atomic_t
_mapcount
;
/* Count of ptes mapped in mms,
* to show when page is mapped
* & limit reverse map searches.
*/
atomic_t
_count
;
/* Usage count, see below. */
};
/* Used for cmpxchg_double in slub */
struct
{
/* SLUB cmpxchg_double area */
void
*
freelist
;
union
{
unsigned
long
counters
;
struct
{
unsigned
inuse
:
16
;
unsigned
objects
:
15
;
unsigned
frozen
:
1
;
/*
* Kernel may make use of this field even when slub
* uses the rest of the double word!
*/
atomic_t
_count
;
};
};
};
atomic_t
_count
;
/* Usage count, see below. */
};
/* Third double word block */
...
...
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