lkml.org 
[lkml]   [2008]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH 08/32] mm: slb: add knowledge of reserve pages
From
Date
Because I'm a dork and forgot to refresh...

---
Index: linux-2.6/mm/slob.c
===================================================================
--- linux-2.6.orig/mm/slob.c
+++ linux-2.6/mm/slob.c
@@ -239,7 +239,7 @@ static int slob_last(slob_t *s)

static void *slob_new_page(gfp_t gfp, int order, int node)
{
- void *page;
+ struct page *page;

#ifdef CONFIG_NUMA
if (node != -1)
@@ -318,7 +318,7 @@ static void *slob_alloc(size_t size, gfp
slob_t *b = NULL;
unsigned long flags;

- if (unlikely(slub_reserve)) {
+ if (unlikely(slob_reserve)) {
if (!(gfp_to_alloc_flags(gfp) & ALLOC_NO_WATERMARKS))
goto grow;
}



\
 
 \ /
  Last update: 2008-10-03 11:35    [W:0.198 / U:7.768 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site