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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Tuesday, May 6, 2008 - 7: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, 2:38 am)
Re: [PATCH] mm/page_alloc.c: fix a typo, Li Zefan, (Tue May 6, 2:41 am)
Re: [PATCH] mm/page_alloc.c: fix a typo, Li Zefan, (Tue May 6, 2:50 am)
Re: [PATCH] mm/page_alloc.c: fix a typo, Andrew Morton, (Tue May 6, 7:19 am)
Re: [PATCH] mm/page_alloc.c: fix a typo, Christoph Lameter, (Tue May 6, 10:51 am)
Re: [PATCH] mm/page_alloc.c: fix a typo, Oliver Pinter, (Tue May 6, 11:18 am)
Re: [PATCH] mm/page_alloc.c: fix a typo, Christoph Lameter, (Tue May 6, 11:26 am)
Re: [PATCH] mm/page_alloc.c: fix a typo, Oliver Pinter, (Tue May 6, 11:28 am)
Re: [PATCH] mm/page_alloc.c: fix a typo, Li Zefan, (Tue May 6, 6:27 pm)
Re: [PATCH] mm/page_alloc.c: fix a typo, Li Zefan, (Tue May 6, 9:32 pm)
Re: [PATCH] mm/page_alloc.c: fix a typo, KOSAKI Motohiro, (Wed May 7, 5:08 pm)