stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [stable] upstream d913897abace8 -stable backport request
@ 2016-01-25 12:50 Sergey Senozhatsky
  2016-01-25 13:00 ` Sergey Senozhatsky
  0 siblings, 1 reply; 2+ messages in thread
From: Sergey Senozhatsky @ 2016-01-25 12:50 UTC (permalink / raw)
  To: stable
  Cc: Minchan Kim, Andrew Morton, Kyeongdon Kim, linux-kernel,
	Sergey Senozhatsky, Sergey Senozhatsky


Hello,

Please add upstream 'commit d913897abace8 ("zram: try vmalloc() after
kmalloc()")' to stable releases.

:commit d913897abace843bba20249f3190167f7895e9c3
:Author: Kyeongdon Kim <kyeongdon.kim@lge.com>
:
:    zram: try vmalloc() after kmalloc()
:    
:    When we're using LZ4 multi compression streams for zram swap, we found
:    out page allocation failure message in system running test.  That was
:    not only once, but a few(2 - 5 times per test).  Also, some failure
:    cases were continually occurring to try allocation order 3.
:    
:    In order to make parallel compression private data, we should call
:    kzalloc() with order 2/3 in runtime(lzo/lz4).  But if there is no order
:    2/3 size memory to allocate in that time, page allocation fails.  This
:    patch makes to use vmalloc() as fallback of kmalloc(), this prevents
:    page alloc failure warning.
:    
:    After using this, we never found warning message in running test, also
:    It could reduce process startup latency about 60-120ms in each case.

	-ss

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

* Re: [stable] upstream d913897abace8 -stable backport request
  2016-01-25 12:50 [stable] upstream d913897abace8 -stable backport request Sergey Senozhatsky
@ 2016-01-25 13:00 ` Sergey Senozhatsky
  0 siblings, 0 replies; 2+ messages in thread
From: Sergey Senozhatsky @ 2016-01-25 13:00 UTC (permalink / raw)
  To: Sergey Senozhatsky
  Cc: stable, Minchan Kim, Andrew Morton, Kyeongdon Kim, linux-kernel,
	Sergey Senozhatsky

On (01/25/16 21:50), Sergey Senozhatsky wrote:
> Hello,
> 
> Please add upstream 'commit d913897abace8 ("zram: try vmalloc() after
> kmalloc()")' to stable releases.
> 

[v3.15+]

	-ss

> :commit d913897abace843bba20249f3190167f7895e9c3
> :Author: Kyeongdon Kim <kyeongdon.kim@lge.com>
> :
> :    zram: try vmalloc() after kmalloc()
> :    
> :    When we're using LZ4 multi compression streams for zram swap, we found
> :    out page allocation failure message in system running test.  That was
> :    not only once, but a few(2 - 5 times per test).  Also, some failure
> :    cases were continually occurring to try allocation order 3.
> :    
> :    In order to make parallel compression private data, we should call
> :    kzalloc() with order 2/3 in runtime(lzo/lz4).  But if there is no order
> :    2/3 size memory to allocate in that time, page allocation fails.  This
> :    patch makes to use vmalloc() as fallback of kmalloc(), this prevents
> :    page alloc failure warning.
> :    
> :    After using this, we never found warning message in running test, also
> :    It could reduce process startup latency about 60-120ms in each case.
> 
> 	-ss
> 

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

end of thread, other threads:[~2016-01-25 13:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-25 12:50 [stable] upstream d913897abace8 -stable backport request Sergey Senozhatsky
2016-01-25 13:00 ` 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).