From: Michal Hocko <mhocko@kernel.org>
To: Ashish Mhetre <amhetre@nvidia.com>
Cc: linux-mm@kvack.org, akpm@linux-foundation.org, vdumpa@nvidia.com,
Snikam@nvidia.com, Sri Krishna chowdary <schowdary@nvidia.com>
Subject: Re: [PATCH] mm: Avoid swapping in interrupt context
Date: Mon, 1 Oct 2018 14:24:00 +0200 [thread overview]
Message-ID: <20181001122400.GF18290@dhcp22.suse.cz> (raw)
In-Reply-To: <1538387115-2363-1-git-send-email-amhetre@nvidia.com>
On Mon 01-10-18 15:15:15, Ashish Mhetre wrote:
> From: Sri Krishna chowdary <schowdary@nvidia.com>
>
> Pages can be swapped out from interrupt context as well.
How? No allocation request from the interrupt context can use a
sleepable allocation context and that means that no reclaim is allowed
from the IRQ context.
> ZRAM uses zsmalloc allocator to make room for these pages.
> But zsmalloc is not made to be used from interrupt context.
> This can result in a kernel Oops.
Could you provide the Oops message?
--
Michal Hocko
SUSE Labs
next prev parent reply other threads:[~2018-10-01 12:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-01 9:45 [PATCH] mm: Avoid swapping in interrupt context Ashish Mhetre
2018-10-01 12:24 ` Michal Hocko [this message]
2018-10-03 10:48 ` Ashish Mhetre
2018-10-03 11:01 ` Michal Hocko
2018-10-03 11:50 ` Ashish Mhetre
2018-10-03 11:53 ` Michal Hocko
2018-10-16 9:35 ` Ashish Mhetre
2018-10-02 7:54 ` Sergey Senozhatsky
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=20181001122400.GF18290@dhcp22.suse.cz \
--to=mhocko@kernel.org \
--cc=Snikam@nvidia.com \
--cc=akpm@linux-foundation.org \
--cc=amhetre@nvidia.com \
--cc=linux-mm@kvack.org \
--cc=schowdary@nvidia.com \
--cc=vdumpa@nvidia.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;
as well as URLs for NNTP newsgroup(s).