Re: [PATCH 2/2] mm: page_alloc: Add unlikely for MAX_ORDER check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



unlikely indeed makes this code more elegant, however, it's difficult to tell how much the performance will be improved.

David Rientjes <rientjes@xxxxxxxxxx> wrote:
On Sun, 28 Jul 2013, SeungHun Lee wrote:

"order >= MAX_ORDER" case is occur rarely.

So I add unlikely for this check.

This needs your signed-off-by line.

When that's done:

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href="" email@xxxxxxxxx </a>

--
Sent from my Android device with Gmail Plus. Please excuse my brevity.

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]