Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1167145

Re: [PATCH V1] x86, espfix: postpone the initialization of espfix stack for AP

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From "H. Peter Anvin" <hpa@zytor.com>
Newsgroups linux.kernel
Subject Re: [PATCH V1] x86, espfix: postpone the initialization of espfix stack for AP
Date Wed, 17 Jun 2015 23:20:01 +0200
Message-ID <pCsUx-4PH-5@gated-at.bofh.it> (permalink)
References <pqhLc-9l-15@gated-at.bofh.it> <pqiee-Xv-15@gated-at.bofh.it> <przd1-86O-21@gated-at.bofh.it> <prRjB-1M0-51@gated-at.bofh.it> <psSwW-3sK-1@gated-at.bofh.it> <puUXD-4Ks-9@gated-at.bofh.it> <pvgYa-4le-15@gated-at.bofh.it> <pwQZz-5G3-1@gated-at.bofh.it> <pxAg2-5Rt-29@gated-at.bofh.it> <pCfXk-2UO-3@gated-at.bofh.it> <pCsKR-4E6-1@gated-at.bofh.it>
X-Original-To Borislav Petkov <bp@alien8.de>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 23
Organization linux.* mail to news gateway
X-Original-Cc Gu Zheng <guz.fnst@cn.fujitsu.com>, Ingo Molnar <mingo@kernel.org>, Andy Lutomirski <luto@amacapital.net>, Andy Lutomirski <luto@kernel.org>, Thomas Gleixner <tglx@linutronix.de>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, X86 ML <x86@kernel.org>
X-Original-Date Wed, 17 Jun 2015 14:11:27 -0700
X-Original-Message-ID <5581E27F.5060800@zytor.com>
X-Original-References <20150515065417.GB29973@gmail.com> <55559FDA.3010205@zytor.com> <555A40C9.6010605@kernel.org> <555B5105.4040808@zytor.com> <555F0139.9040404@cn.fujitsu.com> <55666D4A.5040006@cn.fujitsu.com> <CALCETrVsMpduwHDDEZ7d-S6AgvUZxXnk4+Bm+fjB=gsjzpxKWA@mail.gmail.com> <556D7687.70402@cn.fujitsu.com> <55701E54.6090802@cn.fujitsu.com> <55812149.1040804@zytor.com> <20150617210411.GD16999@pd.tnic>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref aioe.org linux.kernel:1167145

Show key headers only | View raw


On 06/17/2015 02:04 PM, Borislav Petkov wrote:
>>
>> It isn't *at all* obvious to me at least that if the GFP_KERNEL
>> allocation fails we may not get rescheduled on another CPU and/or get stuck.
>>
>> I'm starting to think that the right thing to do is to allocate these on
>> the CPU that is bringing up the other CPU, at the same time we allocate
>> the percpu area.  This won't affect offline CPUs.
> 
> Btw, as part of experimenting for something else, I was able to trigger
> this even on a guest here. It is an insane guest though: 16 NUMA nodes,
> with 8 cores each:
> 

Is this reliable?

	-hpa

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH V1] x86, espfix: postpone the initialization of espfix  stack for AP Borislav Petkov <bp@alien8.de> - 2015-06-17 23:10 +0200
  Re: [PATCH V1] x86, espfix: postpone the initialization of espfix  stack for AP "H. Peter Anvin" <hpa@zytor.com> - 2015-06-17 23:20 +0200
    Re: [PATCH V1] x86, espfix: postpone the initialization of espfix  stack for AP Borislav Petkov <bp@alien8.de> - 2015-06-18 00:00 +0200

csiph-web