[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200504140317.GB29020@infradead.org>
Date: Mon, 4 May 2020 07:03:17 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Konstantin Khlebnikov <khlebnikov@...dex-team.ru>
Cc: linux-kernel@...r.kernel.org, linux-block@...r.kernel.org,
Jens Axboe <axboe@...nel.dk>
Subject: Re: [PATCH 2/4] block/part_stat: use __this_cpu_add() instead of
access by smp_processor_id()
> +#define __part_stat_add(part, field, addnd) \
> + (part_stat_get(part, field) += (addnd))
Just open coding part_stat_get for the UP side would seems a little
easier to read.
Otherwise this looks good:
Reviewed-by: Christoph Hellwig <hch@....de>
Powered by blists - more mailing lists