Re: [PATCH] hugepage: support ZERO_PAGE()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Adam Litke
Date: Tuesday, September 2, 2008 - 10:27 am

On Tue, 2008-09-02 at 10:21 +0900, KOSAKI Motohiro wrote:

In addition to the comments from Mel, I'd like to see this function
collapsed a bit...

if (!ptep || write || shared)
	return 0;
else
	return huge_pte_none(huge_ptep_get(ptep));

-- 
Adam Litke - (agl at us.ibm.com)
IBM Linux Technology Center

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] coredump_filter: add hugepage core dumping, KOSAKI Motohiro, (Wed Aug 27, 10:24 pm)
some problem with "git pull", Peter Teoh, (Wed Aug 27, 10:38 pm)
Re: [PATCH] coredump_filter: add hugepage core dumping, KOSAKI Motohiro, (Thu Aug 28, 7:59 am)
Re: [PATCH] coredump_filter: add hugepage core dumping, Hugh Dickins, (Thu Aug 28, 9:38 am)
Re: [PATCH] coredump_filter: add hugepage core dumping, KOSAKI Motohiro, (Thu Aug 28, 4:35 pm)
Re: [PATCH] coredump_filter: add hugepage core dumping, Hidehiro Kawai, (Sun Aug 31, 11:00 pm)
[PATCH] hugepage: support ZERO_PAGE(), KOSAKI Motohiro, (Mon Sep 1, 6:21 pm)
Re: [PATCH] coredump_filter: add hugepage core dumping, KOSAKI Motohiro, (Mon Sep 1, 7:18 pm)
Re: [PATCH] hugepage: support ZERO_PAGE(), Mel Gorman, (Tue Sep 2, 7:22 am)
Re: [PATCH] hugepage: support ZERO_PAGE(), Mel Gorman, (Tue Sep 2, 8:13 am)
Re: [PATCH] hugepage: support ZERO_PAGE(), Mel Gorman, (Tue Sep 2, 9:27 am)
Re: [PATCH] hugepage: support ZERO_PAGE(), Adam Litke, (Tue Sep 2, 10:27 am)
Re: [PATCH] coredump_filter: add hugepage core dumping, KOSAKI Motohiro, (Fri Sep 5, 1:06 am)
Re: [PATCH] coredump_filter: add hugepage core dumping, Hidehiro Kawai, (Sun Sep 7, 6:51 pm)
Re: [PATCH] coredump_filter: add hugepage core dumping, KOSAKI Motohiro, (Tue Sep 9, 4:20 am)
Re: [PATCH] coredump_filter: add hugepage core dumping, Roland McGrath, (Tue Sep 9, 11:04 pm)
Re: [PATCH] coredump_filter: add hugepage core dumping, KOSAKI Motohiro, (Tue Sep 9, 11:53 pm)