Thread (6 messages) 6 messages, 3 authors, 2011-02-10

Re: [RFC PATCH] mm: handle simple case in free_pcppages_bulk()

From: Minchan Kim <hidden>
Date: 2011-02-10 13:10:40
Also in: lkml

Hello Namhyung,

On Thu, Feb 10, 2011 at 8:46 PM, Namhyung Kim [off-list ref] wrote:
Now I'm seeing that there are some cases to free all pages in a
pcp lists. In that case, just frees all pages in the lists instead
of being bothered with round-robin lists traversal.
I though about that but I didn't send the patch.
That's because many cases which calls free_pcppages_bulk(,
pcp->count,..) are slow path so it adds comparison overhead on fast
path while it loses the effectiveness in slow path.

-- 
Kind regards,
Minchan Kim

--
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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help