[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xentrace buffer size, maxcpus and online cpus
- To: Olaf Hering <olaf@xxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Fri, 16 Jun 2023 13:52:17 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=BmAqTKUHvtih2PbS7cm+jZjRazW++IkRPBWTxvFyeEs=; b=Y4zpQ+zpOl/gh2Kbvj7y33woDQYSztBPdlsJ/tR9Fz6WuMTOlC6YGWORjZWuHS6p+YH9jz0JBXCYQx/D77R/xie+E7M5LwUcim3sZ4SZ4GRiS7hLyVCT8icn8x34ZTbkopG+OaDwJ8+R6QvvZTLZMdL00y9y5/TiqwfC57wxeobwiM5h6BiTGn8DFOfdPoJ0pBjjIrlqZSlkXoq3NLe3Hp1zCeoCvOBmaAedPackBVyFxT844ks9SISeuk8iWzuloeFnGIaIRZtGj4Mp9JflU/3t2Vx0cSyRBe67MM5KGaJ8YYH907y+Juz6Pd6P/W5vl/fCFsUbgNXEXa+8dc1MXw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GQdjmFfDjjLRy2DIqKqEVOJvAnBJ1qPw6mue3r3RvzAzxljeqF3sl5MTLk3JB+AWUsNgdwjR08oqNORNBcLKtOWaHLs3ixt5+U7mUiNEXBwB+jLY6ow/Hf/tAXjHMyNeBTk1bgatNPCDIYzgqF1mDdx67TSzIFE2twGfQ5CoglBk/q1QM3FysynhLMZqq+psF0vlyL0k6ivZAY2ZbKejQVQstzELjDkuIxq0Rc4+nQPMoXT9bBT7c++HQtrO0sCLYBujxRtbrxsUO+lzrhIP9g8e/6Ycgdf5dQiRoLkmITFXXFPrXJXggV3PzH7qRnUbnY+4ypUy9cUS2+ydl/dIcQ==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx, Juergen Gross <jgross@xxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>
- Delivery-date: Fri, 16 Jun 2023 11:52:57 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 16.06.2023 13:47, Olaf Hering wrote:
> Wed, 31 May 2023 11:05:52 +0200 Jan Beulich <jbeulich@xxxxxxxx>:
>
>> As said before, num_online_cpus() will under-report for the purpose
>> here, as CPUs may have been brought offline, and may be brought online
>> again later (independent of the use of "maxcpus=").
>
> It turned out, commit 74584a367051bc0d6f4b96fd360fa7bc6538fc39 broke
> the expected behavior. But to me it is unclear what bug was fixed by
> this commit.
Hmm, I find title and description quite clear there.
> If I read alloc_trace_bufs correctly, it already operates on online
> cpus. And __trace_var will do nothing if called on a cpu which was
> not online, t_bufs will likely be NULL.
Yielding an incomplete overall trace, at best.
> To me it looks like commit 74584a367051bc0d6f4b96fd360fa7bc6538fc39
> could be reverted.
I don't think so. I'll add George to Cc as well, as he's the maintainer
of this stuff.
Jan
|