Re: [PATCH] cache last free vmap_area to avoid restarting beginning

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Minchan Kim
Date: Tuesday, May 25, 2010 - 8:00 am

On Tue, May 25, 2010 at 06:43:23PM +1000, Nick Piggin wrote:

vmap_area_lock is unbalnced with last spin_unlock in case of overflow.
Maybe you hold the lock after retry and you release the lock before retry.


Frankly speaking, I don't see the benefit which you mentiond that it makes
subsequent logic simpler. For me, I like old code which compares va_end. 
In case of spanning, old code has the problem?
I think old code has no problem and looks good than current one. 


Unnecessary empty line :)


Anyway, I am looking forard to seeing Steven's experiment.
If test has no problem, I will remake refactoring patch based on your patch. :)

Thanks, Nick.
-- 
Kind regards,
Minchan Kim
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
vmalloc performance, Steven Whitehouse, (Mon Apr 12, 9:27 am)
Re: vmalloc performance, Steven Whitehouse, (Wed Apr 14, 5:49 am)
Re: vmalloc performance, Steven Whitehouse, (Wed Apr 14, 7:24 am)
Re: vmalloc performance, Minchan Kim, (Wed Apr 14, 8:12 am)
Re: vmalloc performance, Minchan Kim, (Wed Apr 14, 8:13 am)
Re: vmalloc performance, Minchan Kim, (Wed Apr 14, 9:35 am)
Re: vmalloc performance, Steven Whitehouse, (Thu Apr 15, 1:33 am)
Re: vmalloc performance, Minchan Kim, (Thu Apr 15, 9:51 am)
Re: vmalloc performance, Nick Piggin, (Thu Apr 15, 11:12 pm)
Re: vmalloc performance, Minchan Kim, (Fri Apr 16, 12:20 am)
Re: vmalloc performance, Steven Whitehouse, (Fri Apr 16, 1:50 am)
Re: vmalloc performance, Steven Whitehouse, (Fri Apr 16, 7:10 am)
Re: vmalloc performance, Minchan Kim, (Sun Apr 18, 8:14 am)
Re: vmalloc performance, Steven Whitehouse, (Mon Apr 19, 5:58 am)
Re: vmalloc performance, Nick Piggin, (Mon Apr 19, 6:38 am)
Re: vmalloc performance, Minchan Kim, (Mon Apr 19, 7:09 am)
Re: vmalloc performance, Minchan Kim, (Mon Apr 19, 7:12 am)
Re: vmalloc performance, Steven Whitehouse, (Thu Apr 29, 6:43 am)
Re: [PATCH] cache last free vmap_area to avoid restarting ..., Steven Whitehouse, (Wed May 5, 5:48 am)
Re: [PATCH] cache last free vmap_area to avoid restarting ..., Steven Whitehouse, (Mon May 17, 5:42 am)
Re: [PATCH] cache last free vmap_area to avoid restarting ..., Steven Whitehouse, (Tue May 18, 6:44 am)
Re: [PATCH] cache last free vmap_area to avoid restarting ..., Steven Whitehouse, (Wed May 19, 6:54 am)
Re: [PATCH] cache last free vmap_area to avoid restarting ..., Minchan Kim, (Tue May 25, 8:00 am)
Re: [PATCH] cache last free vmap_area to avoid restarting ..., Steven Whitehouse, (Tue May 25, 8:48 am)