Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261659
b: refs/heads/master
c: ea6bd8e
h: refs/heads/master
i:
  261657: 45fb9aa
  261655: bc5364b
v: v3
  • Loading branch information
Christoph Lameter authored and Pekka Enberg committed Jul 7, 2011
1 parent c7767bd commit 040badf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 16 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: 9da4714a2d44ff48618a8d375dd81873e858803d
refs/heads/master: ea6bd8ee1a2ccdffc38b2b1fcfe941addfafaade
25 changes: 10 additions & 15 deletions trunk/include/linux/mm_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,32 +49,27 @@ struct page {
* see PAGE_MAPPING_ANON below.
*/
/* Second double word */
union {
struct {
struct {
union {
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. */
};

struct { /* SLUB cmpxchg_double area */
void *freelist;
union {
unsigned long counters;
struct {
/* Used for cmpxchg_double in slub */
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 */
Expand Down

0 comments on commit 040badf

Please sign in to comment.