]> www.infradead.org Git - users/willy/xarray.git/commit
cxlflash: Convert context idr to an IDA
authorMatthew Wilcox <willy@infradead.org>
Sun, 10 Feb 2019 17:12:38 +0000 (12:12 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 8 Aug 2019 03:39:47 +0000 (23:39 -0400)
commitf2332c07865c1d9ca7b617fa00cf8728ec320282
treec16a587cd67daa62034e9d2895d65067bb023434
parenta7b684fbb70604cadedae5ccc1d70e0e4aba8c00
cxlflash: Convert context idr to an IDA

This driver does not look up the pointers it stores, so it can use the
IDA instead of the IDR or XArray, consuming less memory.  Also actually
store the max instead of one greater than the max in the variable
called pasid_max.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
drivers/scsi/cxlflash/ocxl_hw.c
drivers/scsi/cxlflash/ocxl_hw.h