Re: [RFC][PATCH] page->mapping clarification [1/3] base functions

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christoph Lameter
Date: Thursday, September 20, 2007 - 11:26 am

On Wed, 19 Sep 2007, KAMEZAWA Hiroyuki wrote:


I am still a bit confused as to what the benefit of this is.


Ok this could make the code more readable.


bool??? That is unusual?


That is confusing.

if (PageAnon(page))
	return NULL;
return page->mapping;



The #ifdef does not exist in rc6-mm1. No need to reintroduce it.


Why do we need a special function? Why is it safer?

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

Messages in current thread:
[RFC][PATCH] page->mapping clarification [1/3] base functions, KAMEZAWA Hiroyuki, (Wed Sep 19, 12:43 am)
[RFC][PATCH] page->mapping clarification [2/3] changes in /mm, KAMEZAWA Hiroyuki, (Wed Sep 19, 12:44 am)
[RFC][PATCH] page->mapping clarification [3/3] changes in ..., KAMEZAWA Hiroyuki, (Wed Sep 19, 12:46 am)
Re: [RFC][PATCH] page->mapping clarification [1/3] base fu ..., Christoph Lameter, (Thu Sep 20, 11:26 am)