[PATCH v3 2/2] nvme/pci: make PRP list DMA pools per-NUMA-node

Kanchan Joshi joshi.k at samsung.com
Tue Apr 22 00:38:15 PDT 2025


On 4/21/2025 10:25 PM, Caleb Sander Mateos wrote:
> +	prp_pools = &dev->prp_pools[numa_node < nr_node_ids ? numa_node : 0];

Numa node values are always in the range [0, nr_node_ids - 1], so is 
this condition "numa_node < nr_node_ids" really required?

The patch looks good to me though.

Reviewed-by: Kanchan Joshi <joshi.k at samsung.com>







More information about the Linux-nvme mailing list