Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261661
b: refs/heads/master
c: 013e896
h: refs/heads/master
i:
  261659: 040badf
v: v3
  • Loading branch information
Christoph Lameter authored and Pekka Enberg committed Jul 18, 2011
1 parent e3f1494 commit d35d847
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 19 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3adf004d82c03ca9d57cbe960657757a71e4c2e7
refs/heads/master: 013e896373fc53f3d3c039364a25ccbd1fc0729a
37 changes: 19 additions & 18 deletions trunk/include/linux/mm_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,30 +49,31 @@ struct page {
* see PAGE_MAPPING_ANON below.
*/
/* Second double word */
union {
struct {
struct {
union {
pgoff_t index; /* Our offset within mapping. */
atomic_t _mapcount; /* Count of ptes mapped in mms,
void *freelist; /* slub first free object */
};

union {
/* Used for cmpxchg_double in slub */
unsigned long counters;

struct {

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. */
};

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;
struct {
unsigned inuse:16;
unsigned objects:15;
unsigned frozen:1;
};
};
atomic_t _count; /* Usage count, see below. */
};
};
};
Expand Down

0 comments on commit d35d847

Please sign in to comment.