Re: [PATCH] perf: fix kernel panic when parsing user space CS saved in pt_regs

Peter Zijlstra
2014-06-05T09:15:23Z

[-- Attachment #1: Type: text/plain, Size: 590 bytes --]

On Thu, Jun 05, 2014 at 04:00:24PM +0800, Zhang, Yanmin wrote:
> On 2014/6/5 15:55, Peter Zijlstra wrote:

> >Why does pstore cause corruption? I thought that stuff was supposed to
> >be 'good' ?

> pstore is good if the board is reset by WarmReset as memory content is kept
> across rebooting.
> If it's a ColdReset, memory might lose some or all contents. My board uses
> Coldreset, which is a very
> fast ColdReset. Most memory content can be kept. But sometimes, some data
> has little change.

Oh, I thought pstore was persistent across cold resets or even power
outages. My bad then.

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]