On 2016年06月07日 17:13, Borislav Petkov wrote:
On Tue, Jun 07, 2016 at 04:44:24PM +0800, Chen Yu wrote:
I'm doing more test to verify this.
I think it would be better if you looked into doing HLT as Brian
suggested, instead of touching any memory during s/r.
OK, I'll also test this solution.
On Tue, Jun 07, 2016 at 04:44:24PM +0800, Chen Yu wrote:
> I'm doing more test to verify this.
I think it would be better if you looked into doing HLT as Brian
suggested, instead of touching any memory during s/r.
--
Regards/Gruss,
Boris.
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithar
Hi Pavel,
On 2016年06月07日 16:03, Pavel Machek wrote:
On Mon 2016-06-06 22:19:09, Chen Yu wrote:
Stress test from Varun Koyyalagunta reports that, the
nonboot CPU would hang occasionally, when resuming from
hibernation. Further investigation shows that, the precise
phase when nonboot CPU hangs, i
On Mon 2016-06-06 22:19:09, Chen Yu wrote:
> Stress test from Varun Koyyalagunta reports that, the
> nonboot CPU would hang occasionally, when resuming from
> hibernation. Further investigation shows that, the precise
> phase when nonboot CPU hangs, is the time when the nonboot
> CPU been woken up
On 06/06/16 09:40, Peter Zijlstra wrote:
> On Mon, Jun 06, 2016 at 03:59:06PM +, Chen, Yu C wrote:
>
+ if (hibernation_in_resume())
+ mwait_ptr = empty_zero_page;
+ else
+ mwait_ptr = ¤t_thread_info()->flags;
>>>
>>> Why is this conditional? Is there any
On Mon, Jun 6, 2016 at 12:40 PM, Peter Zijlstra wrote:
> On Mon, Jun 06, 2016 at 03:59:06PM +, Chen, Yu C wrote:
>
>> > > + if (hibernation_in_resume())
>> > > + mwait_ptr = empty_zero_page;
>> > > + else
>> > > + mwait_ptr = ¤t_thread_info()->flags;
>> >
>> > Why is this condi
On Mon, Jun 06, 2016 at 03:59:06PM +, Chen, Yu C wrote:
> > > + if (hibernation_in_resume())
> > > + mwait_ptr = empty_zero_page;
> > > + else
> > > + mwait_ptr = ¤t_thread_info()->flags;
> >
> > Why is this conditional? Is there any case in which the zero page is not
> > als
Rafael J . Wysocki; Pavel
> Machek; Brown, Len; Borislav Petkov; Zhu Guihua; Juergen Gross
> Subject: Re: [PATCH][RFC] x86, hotplug: Use zero page for monitor when
> resuming from hibernation
>
> On Mon, Jun 06, 2016 at 10:19:09PM +0800, Chen Yu wrote:
> > @@ -1595,8 +1596,21 @@
On Mon, Jun 06, 2016 at 10:19:09PM +0800, Chen Yu wrote:
> @@ -1595,8 +1596,21 @@ static inline void mwait_play_dead(void)
>* This should be a memory location in a cache line which is
>* unlikely to be touched by other processors. The actual
>* content is immaterial as it i
Stress test from Varun Koyyalagunta reports that, the
nonboot CPU would hang occasionally, when resuming from
hibernation. Further investigation shows that, the precise
phase when nonboot CPU hangs, is the time when the nonboot
CPU been woken up incorrectly, and tries to monitor the
mwait_ptr for t
10 matches
Mail list logo