diff options
author | Tejun Heo <htejun@gmail.com> | 2006-05-15 20:57:35 +0900 |
---|---|---|
committer | Tejun Heo <htejun@gmail.com> | 2006-05-15 20:57:35 +0900 |
commit | fe635c7e91036282e4fd0cc5b4eebc712e43270d (patch) | |
tree | 22054d039df52c19e729f30ceee836936a730ce6 /Documentation | |
parent | 158693031d7c58a355ec1852052a4fca75fd3bda (diff) | |
download | kernel_samsung_crespo-fe635c7e91036282e4fd0cc5b4eebc712e43270d.zip kernel_samsung_crespo-fe635c7e91036282e4fd0cc5b4eebc712e43270d.tar.gz kernel_samsung_crespo-fe635c7e91036282e4fd0cc5b4eebc712e43270d.tar.bz2 |
[PATCH] libata: use preallocated buffers
It's not a very good idea to allocate memory during EH. Use
statically allocated buffer for dev->id[] and add 512byte buffer
ap->sector_buf. This buffer is owned by EH (or probing) and to be
used as temporary buffer for various purposes (IDENTIFY, NCQ log page
10h, PM GSCR block).
Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions