linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] mm/zsmalloc: trivial clean up
@ 2015-03-23 13:26 Sergey Senozhatsky
  2015-03-23 13:26 ` [PATCH 1/2] zsmalloc: remove synchronize_rcu from zs_compact() Sergey Senozhatsky
  2015-03-23 13:26 ` [PATCH 2/2] zsmalloc: remove extra cond_resched() in __zs_compact Sergey Senozhatsky
  0 siblings, 2 replies; 4+ messages in thread
From: Sergey Senozhatsky @ 2015-03-23 13:26 UTC (permalink / raw)
  To: Andrew Morton, Minchan Kim
  Cc: Nitin Gupta, linux-mm, linux-kernel, Sergey Senozhatsky,
	Sergey Senozhatsky

Hello,

Two trivial cleanup patches.

The first one removes synchronize_rcu() from zs_compact().
Neither zsmalloc nor zram use rcu.

The second one removes redundant cond_resched() call before
the compaction busy loop.

Sergey Senozhatsky (2):
  zsmalloc: remove synchronize_rcu from zs_compact()
  zsmalloc: remove extra cond_resched() in __zs_compact

 mm/zsmalloc.c | 4 ----
 1 file changed, 4 deletions(-)

-- 
2.3.3.262.ge80e85a

--
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/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-03-25 15:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-23 13:26 [PATCH 0/2] mm/zsmalloc: trivial clean up Sergey Senozhatsky
2015-03-23 13:26 ` [PATCH 1/2] zsmalloc: remove synchronize_rcu from zs_compact() Sergey Senozhatsky
2015-03-25 15:09   ` Minchan Kim
2015-03-23 13:26 ` [PATCH 2/2] zsmalloc: remove extra cond_resched() in __zs_compact Sergey Senozhatsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).