Re: [PATCH v4 2/3] x86/sgx: Report SGX memory in /proc/meminfo
From: Jarkko Sakkinen
Date: Thu Sep 09 2021 - 20:55:30 EST
On Fri, 2021-09-10 at 03:17 +0300, Jarkko Sakkinen wrote:
> @@ -799,7 +805,7 @@ ssize_t arch_node_read_meminfo(struct device *dev,
>
> len += sysfs_emit_at(buf, len,
> "Node %d SGX_MemTotal: %8lu kB\n",
> - dev->id, node->size);
> + dev->id, node->size / 1024);
>
> return len;
> }
This should have been in 1/3.
/Jarkko