Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132186
b: refs/heads/master
c: 211b3d0
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Mar 11, 2009
1 parent fc5c2ba commit 97ce233
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 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: 3a95ea1155c5d44aa58dde2f64f0ddafe27fd1fb
refs/heads/master: 211b3d03c7400f48a781977a50104c9d12f4e229
11 changes: 11 additions & 0 deletions trunk/arch/x86/mm/pageattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,17 @@ static int split_large_page(pte_t *kpte, unsigned long address)
* primary protection behavior:
*/
__set_pmd_pte(kpte, address, mk_pte(base, __pgprot(_KERNPG_TABLE)));

/*
* Intel Atom errata AAH41 workaround.
*
* The real fix should be in hw or in a microcode update, but
* we also probabilistically try to reduce the window of having
* a large TLB mixed with 4K TLBs while instruction fetches are
* going on.
*/
__flush_tlb_all();

base = NULL;

out_unlock:
Expand Down
4 changes: 2 additions & 2 deletions trunk/fs/fat/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,9 @@ static sector_t _fat_bmap(struct address_space *mapping, sector_t block)
sector_t blocknr;

/* fat_get_cluster() assumes the requested blocknr isn't truncated. */
down_read(&mapping->host->i_alloc_sem);
mutex_lock(&mapping->host->i_mutex);
blocknr = generic_block_bmap(mapping, block, fat_get_block);
up_read(&mapping->host->i_alloc_sem);
mutex_unlock(&mapping->host->i_mutex);

return blocknr;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/proc/page.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ static const struct file_operations proc_kpagecount_operations = {
#define KPF_RECLAIM 9
#define KPF_BUDDY 10

#define kpf_copy_bit(flags, dstpos, srcpos) (((flags >> srcpos) & 1) << dstpos)
#define kpf_copy_bit(flags, srcpos, dstpos) (((flags >> srcpos) & 1) << dstpos)

static ssize_t kpageflags_read(struct file *file, char __user *buf,
size_t count, loff_t *ppos)
Expand Down

0 comments on commit 97ce233

Please sign in to comment.