Re: [patch 1/2] mm, counters: remove task argument to sync_mm_rss and __sync_task_rss_stat

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

 



On Wed, 7 Mar 2012 17:40:04 -0800 (PST) David Rientjes <rientjes@xxxxxxxxxx> wrote:

> On Wed, 7 Mar 2012, Andrew Morton wrote:
> 
> > hm, with my gcc it's beneficial to cache `current' in a local.  But
> > when I tried that, Weird Things happened, because gcc has gone and
> > decided to inline __sync_task_rss_stat() into its callers.  I don't see
> > how that could have been the right thing to do.
> > 
> 
> c06b1fca18c3 offers some advice :)

But is it right?  I handled a patch a month or two ago where caching
current made a nice improvement.

--
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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[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]