Re: [PATCH] 2/2 Prezeroing large blocks of pages during allocation Version 4
From: KAMEZAWA Hiroyuki (kamezawa.hiroyu_at_jp.fujitsu.com)
Date: 03/08/05
- Previous message: Mateusz Berezecki: "Re: Atheros wi-fi card drivers (?)"
- In reply to: Mel Gorman: "[PATCH] 2/2 Prezeroing large blocks of pages during allocation Version 4"
- Next in thread: Mel Gorman: "Re: [PATCH] 2/2 Prezeroing large blocks of pages during allocation Version 4"
- Reply: Mel Gorman: "Re: [PATCH] 2/2 Prezeroing large blocks of pages during allocation Version 4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 08 Mar 2005 15:14:23 +0900 To: Mel Gorman <mel@csn.ul.ie>
Hi,
Mel Gorman wrote:
>+#define BITS_PER_ALLOC_TYPE 5
> #define ALLOC_KERNNORCLM 0
> #define ALLOC_KERNRCLM 1
> #define ALLOC_USERRCLM 2
> #define ALLOC_FALLBACK 3
>+#define ALLOC_USERZERO 4
>+#define ALLOC_KERNZERO 5
>
Now, 5bits per MAX_ORDER pages.
I think it is simpler to use "char[]" for representing type of memory
alloc type than bitmap.
Thanks
-- Kame <kamezawa.hiroyu@jp.fujitsu.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Mateusz Berezecki: "Re: Atheros wi-fi card drivers (?)"
- In reply to: Mel Gorman: "[PATCH] 2/2 Prezeroing large blocks of pages during allocation Version 4"
- Next in thread: Mel Gorman: "Re: [PATCH] 2/2 Prezeroing large blocks of pages during allocation Version 4"
- Reply: Mel Gorman: "Re: [PATCH] 2/2 Prezeroing large blocks of pages during allocation Version 4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]