summaryrefslogtreecommitdiffstats
path: root/drivers/target
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2019-08-01 15:38:14 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2019-08-07 21:47:29 -0400
commitdccc96abfb21dc19d69e707c38c8ba439bba7160 (patch)
tree39784bbebbcf8cb2f5ad45de1f331790640117dc /drivers/target
parent94ef80a5f0d72376a0dd2cfed0bd123123b405e2 (diff)
downloadlinux-dccc96abfb21dc19d69e707c38c8ba439bba7160.tar.bz2
scsi: core: Reduce memory required for SCSI logging
The data structure used for log messages is so large that it can cause a boot failure. Since allocations from that data structure can fail anyway, use kmalloc() / kfree() instead of that data structure. See also https://bugzilla.kernel.org/show_bug.cgi?id=204119. See also commit ded85c193a39 ("scsi: Implement per-cpu logging buffer") # v4.0. Reported-by: Jan Palus <jpalus@fastmail.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Hannes Reinecke <hare@suse.com> Cc: Johannes Thumshirn <jthumshirn@suse.de> Cc: Ming Lei <ming.lei@redhat.com> Cc: Jan Palus <jpalus@fastmail.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions