Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273803
b: refs/heads/master
c: 3bcfeaf
h: refs/heads/master
i:
  273801: 44cb8bf
  273799: 853aac9
v: v3
  • Loading branch information
David Vrabel authored and Jens Axboe committed Oct 20, 2011
1 parent 33d85dc commit eb1e246
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 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: c9a929dde3913780b5c416f4bb9d9ed804f509ce
refs/heads/master: 3bcfeaf93f44112053e1c36aa681d9efc1185ddc
9 changes: 4 additions & 5 deletions trunk/mm/bounce.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <linux/init.h>
#include <linux/hash.h>
#include <linux/highmem.h>
#include <linux/bootmem.h>
#include <asm/tlbflush.h>

#include <trace/events/block.h>
Expand All @@ -26,12 +27,10 @@ static mempool_t *page_pool, *isa_page_pool;
#ifdef CONFIG_HIGHMEM
static __init int init_emergency_pool(void)
{
struct sysinfo i;
si_meminfo(&i);
si_swapinfo(&i);

if (!i.totalhigh)
#ifndef CONFIG_MEMORY_HOTPLUG
if (max_pfn <= max_low_pfn)
return 0;
#endif

page_pool = mempool_create_page_pool(POOL_SIZE, 0);
BUG_ON(!page_pool);
Expand Down

0 comments on commit eb1e246

Please sign in to comment.