diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-06-28 09:01:28 +0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-06-28 20:43:20 +0400 |
commit | dc6a78f1af10d28fb8c395034ae1e099b85c05b0 (patch) | |
tree | 531357a95f9dfa3df48d87073d52e7a3d8e25668 /arch/powerpc/sysdev/mmio_nvram.c | |
parent | 87cf89866790a373edcf88c12b64d6d38560acdd (diff) | |
download | linux-dc6a78f1af10d28fb8c395034ae1e099b85c05b0.tar.xz |
[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>
Diffstat (limited to 'arch/powerpc/sysdev/mmio_nvram.c')
0 files changed, 0 insertions, 0 deletions