From: catalin.marinas@arm.com (Catalin Marinas)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm:pm: save the vfp state of last scheduled-out proceed while suspending
Date: Thu, 28 Apr 2011 17:44:21 +0100 [thread overview]
Message-ID: <BANLkTik2shB+RPqheM8fFn8DitmsReAJHg@mail.gmail.com> (raw)
In-Reply-To: <1303885825-5411-1-git-send-email-bs14@csr.com>
On 27 April 2011 07:30, Barry Song <bs14@csr.com> wrote:
> From: Rongjun Ying <rongjun.ying@csr.com>
>
> Current vfp pm suspend entry only saves the vfp state of running proceed if it is using vfp. If current proceed doesn't use vfp,
> the state of last process will be lost after resume. In pressure tests, we can see old vfp processes crash after resume.
>
> In order that schedule can be faster, scheduler doesn't save vfp state if we schedule from proceeds using vfp to proceeds which
> don't use vfp. If system suspend happens just at proceeds which don't use vfp, we have no any chance to save old vfp state.
>
> Signed-off-by: Rongjun Ying <rongjun.ying@csr.com>
> Cc: Binghua Duan <binghua.duan@csr.com>
> Signed-off-by: Barry Song <21cnbao@gmail.com>
There was a similar patch some time ago by Colin Cross. I don't know
what happened to it but please have a look at that discussion first:
http://thread.gmane.org/gmane.linux.kernel/1099558
--
Catalin
next prev parent reply other threads:[~2011-04-28 16:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-27 6:30 [PATCH] arm:pm: save the vfp state of last scheduled-out proceed while suspending Barry Song
2011-04-28 16:44 ` Catalin Marinas [this message]
2011-04-29 3:08 ` Barry Song
2011-04-29 3:26 ` Barry Song
2011-05-03 10:33 ` Catalin Marinas
2011-05-04 5:28 ` Barry Song
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=BANLkTik2shB+RPqheM8fFn8DitmsReAJHg@mail.gmail.com \
--to=catalin.marinas@arm.com \
--cc=linux-arm-kernel@lists.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;
as well as URLs for NNTP newsgroup(s).