bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH] gnumach: vm: zone_gc: Got rid of useless function


From: Samuel Thibault
Subject: Re: [PATCH] gnumach: vm: zone_gc: Got rid of useless function
Date: Mon, 18 Apr 2011 22:06:56 +0200
User-agent: Mutt/1.5.12-2006-07-14

Maksym Planeta, le Mon 18 Apr 2011 00:13:14 +0300, a écrit :
> When zone_gc starts collecting free memory, first it form a list
> (zone_free_page_list) of free
> pages and then by the end of function it frees this list.
> 
> Patch makes releasing of free pages on spot. So this list isn't
> needed and one for loop becomes less.
> 
> There was a risk of deadlocking when kmem_free is called, but
> investigating of code and test didn't reveal the deadlock.
> 
> Signed-off-by: Maksym Planeta <mcsim.planeta@gmail.com>

BTW, this is not the GNU-style for ChangeLogs. Please check the GNU
Coding Standards paragraph about it.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]