commit | dc6a78f1af10d28fb8c395034ae1e099b85c05b0 | [log] [tgz] |
---|---|---|
author | Randy Dunlap <rdunlap@xenotime.net> | Tue Jun 27 22:01:28 2006 -0700 |
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | Wed Jun 28 12:43:20 2006 -0400 |
tree | 531357a95f9dfa3df48d87073d52e7a3d8e25668 | |
parent | 87cf89866790a373edcf88c12b64d6d38560acdd [diff] |
[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 <rdunlap@xenotime.net> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>