From: Michal Hocko <mhocko@suse.com>
To: Uladzislau Rezki <urezki@gmail.com>
Cc: Mel Gorman <mgorman@suse.de>,
Andrew Morton <akpm@linux-foundation.org>,
Matthew Wilcox <willy@infradead.org>,
Rafael Aquini <aquini@redhat.com>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm: vmalloc: add cond_resched() in __vunmap()
Date: Tue, 29 Jun 2021 16:11:59 +0200 [thread overview]
Message-ID: <YNsM00SodmwqV6qN@dhcp22.suse.cz> (raw)
In-Reply-To: <20210628164002.GA11817@pc638.lan>
On Mon 28-06-21 18:40:02, Uladzislau Rezki wrote:
> Also another option can be:
>
> if a pcp list is fully consumed, so a refilling is required to proceed with array
> populating, leave atomic section(enable irq), do a breath by invoking cond_resched()?
I do not know. I would rather not medle with the pcp batches. It is a hot
path and caller can decide the fallback mechanism.
--
Michal Hocko
SUSE Labs
prev parent reply other threads:[~2021-06-29 14:12 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-22 22:50 Rafael Aquini
2021-06-23 8:43 ` Nicholas Piggin
2021-06-23 17:30 ` Rafael Aquini
2021-06-23 11:27 ` Uladzislau Rezki
2021-06-23 17:34 ` Rafael Aquini
2021-06-23 20:14 ` Uladzislau Rezki
2021-06-23 12:11 ` Aaron Tomlin
2021-06-24 12:21 ` Michal Hocko
2021-06-24 14:23 ` Uladzislau Rezki
2021-06-25 8:51 ` Michal Hocko
2021-06-25 16:00 ` Uladzislau Rezki
2021-06-28 12:46 ` Michal Hocko
2021-06-28 16:40 ` Uladzislau Rezki
2021-06-29 14:11 ` Michal Hocko [this message]
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=YNsM00SodmwqV6qN@dhcp22.suse.cz \
--to=mhocko@suse.com \
--cc=akpm@linux-foundation.org \
--cc=aquini@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mgorman@suse.de \
--cc=urezki@gmail.com \
--cc=willy@infradead.org \
/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