login
Header Space

 
 

Re: [PATCH] mm/page_alloc.c: fix a typo

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Li Zefan <lizf@...>
Cc: <clameter@...>, LKML <linux-kernel@...>, linux-mm@kvack.org <linux-mm@...>
Date: Tuesday, May 6, 2008 - 10:19 am

On Tue, 06 May 2008 17:50:31 +0800 Li Zefan <lizf@cn.fujitsu.com> wrote:


I have a vague memory that the "|" was deliberate.  Most of the time,
"!PageTail" will be false so most of the time we won't take the first
branch so it's probably worth omitting it and always doing the pointer
comparison.

It's a somewhat dopey trick and shouldn't have been done without a comment.

otoh maybe it was a typo.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] mm/page_alloc.c: fix a typo, Li Zefan, (Tue May 6, 5:38 am)
Re: [PATCH] mm/page_alloc.c: fix a typo, Oliver Pinter, (Tue May 6, 2:18 pm)
Re: [PATCH] mm/page_alloc.c: fix a typo, Christoph Lameter, (Tue May 6, 2:26 pm)
Re: [PATCH] mm/page_alloc.c: fix a typo, Oliver Pinter, (Tue May 6, 2:28 pm)
Re: [PATCH] mm/page_alloc.c: fix a typo, Li Zefan, (Tue May 6, 5:41 am)
Re: [PATCH] mm/page_alloc.c: fix a typo, Li Zefan, (Tue May 6, 5:50 am)
Re: [PATCH] mm/page_alloc.c: fix a typo, Christoph Lameter, (Tue May 6, 1:51 pm)
Re: [PATCH] mm/page_alloc.c: fix a typo, KOSAKI Motohiro, (Wed May 7, 8:08 pm)
Re: [PATCH] mm/page_alloc.c: fix a typo, Andrew Morton, (Tue May 6, 10:19 am)
Re: [PATCH] mm/page_alloc.c: fix a typo, Li Zefan, (Tue May 6, 9:27 pm)
Re: [PATCH] mm/page_alloc.c: fix a typo, Li Zefan, (Wed May 7, 12:32 am)
speck-geostationary