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

Hello,

Please add upstream 'commit 3d5fe03a3ea01 ("zram/zcomp: use
GFP_NOIO to allocate streams")' to stable releases.


:commit 3d5fe03a3ea013060ebba2a811aeb0f23f56aefa
:Author: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
:
:    zram/zcomp: use GFP_NOIO to allocate streams
:    
:    We can end up allocating a new compression stream with GFP_KERNEL from
:    within the IO path, which may result is nested (recursive) IO
:    operations.  That can introduce problems if the IO path in question is a
:    reclaimer, holding some locks that will deadlock nested IOs.
:    
:    Allocate streams and working memory using GFP_NOIO flag, forbidding
:    recursive IO and FS operations.


	-ss

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

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

On (01/25/16 21:46), Sergey Senozhatsky wrote:
> 
> Hello,
> 
> Please add upstream 'commit 3d5fe03a3ea01 ("zram/zcomp: use
> GFP_NOIO to allocate streams")' to stable releases.
> 

[v3.15+]

	-ss

> 
> :commit 3d5fe03a3ea013060ebba2a811aeb0f23f56aefa
> :Author: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
> :
> :    zram/zcomp: use GFP_NOIO to allocate streams
> :    
> :    We can end up allocating a new compression stream with GFP_KERNEL from
> :    within the IO path, which may result is nested (recursive) IO
> :    operations.  That can introduce problems if the IO path in question is a
> :    reclaimer, holding some locks that will deadlock nested IOs.
> :    
> :    Allocate streams and working memory using GFP_NOIO flag, forbidding
> :    recursive IO and FS operations.
> 
> 
> 	-ss
> 

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

end of thread, other threads:[~2016-01-25 13:03 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:46 [stable] upstream 3d5fe03a3ea01 -stable backport request Sergey Senozhatsky
2016-01-25 13:01 ` Sergey Senozhatsky

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.