From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
To: Mel Gorman <mel@csn.ul.ie>
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, clameter@sgi.com
Subject: Re: [PATCH] 2/2 Prezeroing large blocks of pages during allocation Version 4
Date: Tue, 08 Mar 2005 15:14:23 +0900 [thread overview]
Message-ID: <422D42BF.4060506@jp.fujitsu.com> (raw)
In-Reply-To: <20050307194021.E6A86E594@skynet.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>
WARNING: multiple messages have this Message-ID (diff)
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
To: Mel Gorman <mel@csn.ul.ie>
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, clameter@sgi.com
Subject: Re: [PATCH] 2/2 Prezeroing large blocks of pages during allocation Version 4
Date: Tue, 08 Mar 2005 15:14:23 +0900 [thread overview]
Message-ID: <422D42BF.4060506@jp.fujitsu.com> (raw)
In-Reply-To: <20050307194021.E6A86E594@skynet.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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
next prev parent reply other threads:[~2005-03-08 6:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-07 19:40 [PATCH] 2/2 Prezeroing large blocks of pages during allocation Version 4 Mel Gorman
2005-03-07 19:40 ` Mel Gorman
2005-03-08 6:14 ` KAMEZAWA Hiroyuki [this message]
2005-03-08 6:14 ` KAMEZAWA Hiroyuki
2005-03-08 10:22 ` Mel Gorman
2005-03-08 10:22 ` Mel Gorman
2005-03-08 11:40 ` KAMEZAWA Hiroyuki
2005-03-08 11:40 ` KAMEZAWA Hiroyuki
2005-03-08 15:04 ` Mel Gorman
2005-03-08 15:04 ` Mel Gorman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=422D42BF.4060506@jp.fujitsu.com \
--to=kamezawa.hiroyu@jp.fujitsu.com \
--cc=clameter@sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mel@csn.ul.ie \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.