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

David Rientjes <rientjes@google.com> 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@google.com>

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

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