mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Vrabel <david.vrabel@citrix.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>,
	Minchan Kim <minchan@kernel.org>, Nitin Gupta <ngupta@vflare.org>,
	Jerome Marchand <jmarchan@redhat.com>,
	<linux-kernel@vger.kernel.org>,
	Dietmar Hahn <dietmar.hahn@ts.fujitsu.com>,
	Peter Zijlstra <a.p.zijlstra@chello.nl>
Subject: Re: zram: zsmalloc calls sleeping function from atomic context
Date: Tue, 18 Mar 2014 12:05:05 +0000	[thread overview]
Message-ID: <53283671.1030509@citrix.com> (raw)
In-Reply-To: <20140317160117.9bfbfdd5128d45a80f58070c@linux-foundation.org>

On 17/03/14 23:01, Andrew Morton wrote:
> 
> OK, thanks.  David, there's our atomic unmap and there are probably
> others.  Converting a previously-atomic utility function into one which
> can sleep is going to be difficult.

I think we should drop these patches.  I think Fujitsu were doing
something particularly odd with an out-of-tree driver.

> Or can this code which vmaps 50GB be changed to unmap it in 16MB chunks
> via unmap_kernel_range(), with a cond_resched() in the loop?

This sounds like something the people from Fujitsu can explore.

David

  reply	other threads:[~2014-03-18 12:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-17 14:43 Sergey Senozhatsky
2014-03-17 23:01 ` Andrew Morton
2014-03-18 12:05   ` David Vrabel [this message]
2014-03-18 12:52   ` Peter Zijlstra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53283671.1030509@citrix.com \
    --to=david.vrabel@citrix.com \
    --cc=a.p.zijlstra@chello.nl \
    --cc=akpm@linux-foundation.org \
    --cc=dietmar.hahn@ts.fujitsu.com \
    --cc=jmarchan@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=minchan@kernel.org \
    --cc=ngupta@vflare.org \
    --cc=sergey.senozhatsky@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®