[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 08/37] xen/x86: add detection of discontinous node memory range


  • To: Wei Chen <Wei.Chen@xxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Wed, 19 Jan 2022 09:01:02 +0100
  • 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=r34Yo6NQ4MAu+j7w5zvsrNHhgIa89o6u00DxsWPYDoU=; b=m6/ChCPHKohU2jimQ+TkAioX8APhVQ/MDHI0vzvFOiry9m/hWUILSUnFyhuBXxqZ9lbd4eKkGBcYOvhvY03jxLJdjNywj3wOJY+BKi+RZOMMz0kEHLQ1G2spW8SewfjFvKgkNbZ4oT0lHKaekbR+MmNvwjCmoXjUinXhn854CPmLJQu7qoDQck294g7i92byp3lCp40kcyRfJ3nlufInaNxuF0j+N/rykYudFDyrwxVJindrHF1U5UMDKzC+ntoTQ2VyF03p47ZMbrX8kry0qBgpvCAtVANN30XgAD1PSF3YE0kSB0TWZLzqT58heJRquYgi8Ae9xlmhH67zFUKkQQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hAfOTZ7Egh3rzKn4rR3p/b/2RjseSAV10fhj72sHxZI7N/cRrsY2i0a6HNlDtHuFqKdQqy4pbceNoeawhsa+V90bPQZa0v9E+LekG9br8H8weOftkIDA1FIeFYfi3hpaVOxRqLxZEBl6hmhSWobqOZWcUm1pFPvggUwpN7eimSqOJmhm1pmvRTsGKAXg9Z846K1NukPGaBJBZDd3OyNovvYpqTNbMD/fIh0aNT8x0oFAJVgp/PakmmpwgLVEW6f/qQr1v0/C2d3Axw5jFJoRJqMZsi4nfQKQFMlyC2FwlC0o5/rhyCOMfQmj0c32+gXQDcH6rY9d1qXSCtRVoMuiWw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "sstabellini@xxxxxxxxxx" <sstabellini@xxxxxxxxxx>, "julien@xxxxxxx" <julien@xxxxxxx>
  • Delivery-date: Wed, 19 Jan 2022 08:01:14 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 19.01.2022 08:33, Wei Chen wrote:
>> From: Jan Beulich <jbeulich@xxxxxxxx>
>> Sent: 2022年1月19日 0:13
>>
>> On 23.09.2021 14:02, Wei Chen wrote:
>>> One NUMA node may contain several memory blocks. In current Xen
>>> code, Xen will maintain a node memory range for each node to cover
>>> all its memory blocks. But here comes the problem, in the gap of
>>> one node's two memory blocks, if there are some memory blocks don't
>>> belong to this node (remote memory blocks). This node's memory range
>>> will be expanded to cover these remote memory blocks.
>>>
>>> One node's memory range contains othe nodes' memory, this is obviously
>>> not very reasonable. This means current NUMA code only can support
>>> node has continous memory blocks. However, on a physical machine, the
>>> addresses of multiple nodes can be interleaved.
>>>
> 
> I will adjust above paragraph to:
> ... This means current NUMA code only can support node has no interlaced
> memory blocks. ...
> 
>>> So in this patch, we add code to detect discontinous memory blocks
>>> for one node. NUMA initializtion will be failed and error messages
>>> will be printed when Xen detect such hardware configuration.
> 
> I will adjust above paragraph to:
> So in this patch, we add code to detect interleave of different nodes'
> memory blocks. NUMA initialization will be ...

Taking just this part of your reply (the issue continues later), may I
ask that you use a consistent term throughout this single patch? Mixing
"interlace" and "interleave" like you do may make people wonder whether
the two are intended to express slightly different aspects. Personally,
as per my suggestion, I'd prefer "interleave", but I'm not a native
speaker.

Jan




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.