[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZLcXmvDKheCRYOjG@slm.duckdns.org>
Date: Tue, 18 Jul 2023 12:52:10 -1000
From: Tejun Heo <tj@...nel.org>
To: Haitao Huang <haitao.huang@...ux.intel.com>
Cc: jarkko@...nel.org, dave.hansen@...ux.intel.com,
linux-kernel@...r.kernel.org, linux-sgx@...r.kernel.org,
cgroups@...r.kernel.org, Zefan Li <lizefan.x@...edance.com>,
Johannes Weiner <hannes@...xchg.org>, vipinsh@...gle.com,
kai.huang@...el.com, reinette.chatre@...el.com,
zhiquan1.li@...el.com, kristen@...ux.intel.com
Subject: Re: [PATCH 2/2] cgroup/misc: Change counters to be explicit 64bit
types
On Mon, Jul 17, 2023 at 06:08:45PM -0700, Haitao Huang wrote:
> So the variables can account for resources of huge quantities even on
> 32-bit machines.
>
> Signed-off-by: Haitao Huang <haitao.huang@...ux.intel.com>
Applied to cgroup/for-6.6 with some whitespace adjustments. I think the code
is broken when we cross the signed boundary but that's not a new problem
caused by your patch. I think what we should do is to treat atomic64_t reads
as u64 instead of putting it in s64.
Thanks.
--
tejun
Powered by blists - more mailing lists