Commit c566bb56 authored by Andrew Morton's avatar Andrew Morton Committed by Jaroslav Kysela

[PATCH] pad pte_chains out to a cacheline

In PAE mode there is a 4-byte gap and they're not aligning correctly.
parent 90b3b976
......@@ -26,6 +26,7 @@
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/rmap-locking.h>
#include <linux/cache.h>
#include <asm/pgalloc.h>
#include <asm/rmap.h>
......@@ -48,7 +49,7 @@
struct pte_chain {
struct pte_chain *next;
pte_addr_t ptes[NRPTE];
};
} ____cacheline_aligned;
static kmem_cache_t *pte_chain_cache;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment