summaryrefslogtreecommitdiff
path: root/kernel/sched_stats.h
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@steeleye.com>2007-08-05 18:36:11 (GMT)
committerJames Bottomley <jejb@mulgrave.localdomain>2007-10-12 18:50:59 (GMT)
commit7c07d613d22680f1caf2bd9ee49838ec7730b9da (patch)
tree61e8161d4ffefec526ad2cfbe0c676072407da4e /kernel/sched_stats.h
parent4390e60163979621f59e3a25a260289986eacb85 (diff)
downloadlinux-fsl-qoriq-7c07d613d22680f1caf2bd9ee49838ec7730b9da.tar.xz
[SCSI] sg: use idr to replace static arrays
sg uses a scheme to reallocate a single contiguous array of all its pointers for lookup and management. This didn't matter too much when sg could only attach 256 nodes, but now the maximum has been bumped up to 32k we're starting to push the limits of the maximum allocatable contiguous memory. The solution to this is to eliminate the static array and do everything via idr, which this patch does. Acked-by: Douglas Gilbert <dougg@torque.net> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'kernel/sched_stats.h')
0 files changed, 0 insertions, 0 deletions