Re: [PATCH 4/5] scsi: storvsc: Don't assume cpu_possible_mask is dense

2024-12-09 Thread Martin K. Petersen
Michael, >> Current code allocates the stor_chns array with size >> num_possible_cpus(). This code assumes cpu_possible_mask is dense, >> which is not true in the general case per [1]. If cpu_possible_mask >> is sparse, the array might be indexed by a value beyond the size of >> the array. Appl

RE: [PATCH 4/5] scsi: storvsc: Don't assume cpu_possible_mask is dense

2024-12-05 Thread Michael Kelley
From: mhkelle...@gmail.com Sent: Wednesday, October 2, 2024 8:54 PM > > Current code allocates the stor_chns array with size num_possible_cpus(). > This code assumes cpu_possible_mask is dense, which is not true in > the general case per [1]. If cpu_possible_mask is sparse, the array > might be

[PATCH 4/5] scsi: storvsc: Don't assume cpu_possible_mask is dense

2024-10-02 Thread mhkelley58
From: Michael Kelley Current code allocates the stor_chns array with size num_possible_cpus(). This code assumes cpu_possible_mask is dense, which is not true in the general case per [1]. If cpu_possible_mask is sparse, the array might be indexed by a value beyond the size of the array. However,