Re: [withdrawn] zsmalloc-remove-extra-cond_resched-in-__zs_compact.patch removed from -mm tree

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

 



On (03/25/15 13:25), akpm@xxxxxxxxxxxxxxxxxxxx wrote:
> The patch titled
>      Subject: zsmalloc: remove extra cond_resched() in __zs_compact
> has been removed from the -mm tree.  Its filename was
>      zsmalloc-remove-extra-cond_resched-in-__zs_compact.patch
> 
> This patch was dropped because it was withdrawn
> 
> ------------------------------------------------------
> From: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
> Subject: zsmalloc: remove extra cond_resched() in __zs_compact
> 
> Do not perform cond_resched() before the busy compaction loop in
> __zs_compact(), because this loop does it when needed.
> 
> Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
> Cc: Minchan Kim <minchan@xxxxxxxxxx>
> Cc: Nitin Gupta <ngupta@xxxxxxxxxx>
> Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> ---
> 
>  mm/zsmalloc.c |    2 --
>  1 file changed, 2 deletions(-)
> 
> diff -puN mm/zsmalloc.c~zsmalloc-remove-extra-cond_resched-in-__zs_compact mm/zsmalloc.c
> --- a/mm/zsmalloc.c~zsmalloc-remove-extra-cond_resched-in-__zs_compact
> +++ a/mm/zsmalloc.c
> @@ -1717,8 +1717,6 @@ static unsigned long __zs_compact(struct
>  	struct page *dst_page = NULL;
>  	unsigned long nr_total_migrated = 0;
>  
> -	cond_resched();
> -
>  	spin_lock(&class->lock);
>  	while ((src_page = isolate_source_page(class))) {
>  

Hello,

Minchan, did I miss your NACK on this patch? or could you please ACK it?

	-ss

--
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/ .
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]