linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Michal Hocko <mhocko@kernel.org>
To: Ivid Suvarna <ivid.suvarna@gmail.com>
Cc: linux-mm@kvack.org
Subject: Re: Error in freeing memory with zone reclaimable always returning true.
Date: Tue, 27 Jun 2017 07:14:49 +0200	[thread overview]
Message-ID: <20170627051449.GA28072@dhcp22.suse.cz> (raw)
In-Reply-To: <1498538287.5692.3.camel@gmail.com>

On Mon 26-06-17 21:38:07, Ivid Suvarna wrote:
[...]
> Thanks Michal for the clarifications. One last thing, in suspend to ram
> or suspend to disk we freeze userspace processes. Is there any way to
> print the userspace processes that were freezed during
> suspend?i.e.,either process name or PID.

Well, try_to_freeze_tasks iterates over all tasks and checks whether
they are frozen (see freeze_task), so you can mimic that logic, although
you might need freezer_lock which is internal to the freezer. Also there
might tasks which have been frozen because of the freezer cgroup and it
is not clear whether you want to consider those as well.

Anyway I would recommend you to start a new email thread and involve
freezer maintainers to get a better info.
-- 
Michal Hocko
SUSE Labs

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

      reply	other threads:[~2017-06-27  5:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-26  7:29 Ivid Suvarna
2017-06-26  8:00 ` Michal Hocko
2017-06-26 13:04   ` Ivid Suvarna
2017-06-26 14:27     ` Michal Hocko
2017-06-27  4:38       ` Ivid Suvarna
2017-06-27  5:14         ` 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=20170627051449.GA28072@dhcp22.suse.cz \
    --to=mhocko@kernel.org \
    --cc=ivid.suvarna@gmail.com \
    --cc=linux-mm@kvack.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