From: Randy Dunlap Date: Wed, 28 Jun 2006 05:01:28 +0000 (-0700) Subject: [SCSI] atp870u: reduce huge stack usage X-Git-Tag: v2.6.18-rc1~22^2^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc6a78f1af10d28fb8c395034ae1e099b85c05b0;p=pandora-kernel.git [SCSI] atp870u: reduce huge stack usage The atp870u driver is the largest stack eater reported by checkstack (on x86_864, allmodconfig). This converts the offending function to kmalloc+kfree struct atp_unit instead of allocating it on the stack. Was: 0x0000164c atp870u_probe [atp870u]: 3176 Now: 0x0000164c atp870u_probe [atp870u]: 408 Signed-off-by: Randy Dunlap Signed-off-by: James Bottomley --- Reading git-diff-tree failed