Re: [PATCH 1/3] crypto: permit users to specify numa node of acomp hardware

2020-06-22 Thread Jonathan Cameron
emloft.net; Seth Jennings > > ; Linuxarm ; > > linux-kernel@vger.kernel.org; linux...@kvack.org; > > linux-cry...@vger.kernel.org; a...@linux-foundation.org; Dan Streetman > > ; Vitaly Wool > > Subject: Re: [PATCH 1/3] crypto: permit users to specify numa node of acomp &

RE: [PATCH 1/3] crypto: permit users to specify numa node of acomp hardware

2020-06-22 Thread Song Bao Hua (Barry Song)
ry...@vger.kernel.org; a...@linux-foundation.org; Dan Streetman > ; Vitaly Wool > Subject: Re: [PATCH 1/3] crypto: permit users to specify numa node of acomp > hardware > > On Mon, 22 Jun 2020 14:48:59 +1200 > Barry Song wrote: > > > For a Linux server with NUMA, there

Re: [PATCH 1/3] crypto: permit users to specify numa node of acomp hardware

2020-06-22 Thread Jonathan Cameron
On Mon, 22 Jun 2020 14:48:59 +1200 Barry Song wrote: > For a Linux server with NUMA, there are possibly multiple (de)compressors > which are either local or remote to some NUMA node. Some drivers will > automatically use the (de)compressor near the CPU calling acomp_alloc(). > However, it is not

[PATCH 1/3] crypto: permit users to specify numa node of acomp hardware

2020-06-21 Thread Barry Song
For a Linux server with NUMA, there are possibly multiple (de)compressors which are either local or remote to some NUMA node. Some drivers will automatically use the (de)compressor near the CPU calling acomp_alloc(). However, it is not necessarily correct because users who send acomp_req could be f