Re: [U-Boot] [PATCH] ext2: Cache line aligned partial sector bounce buffer

2011-08-22 Thread Anton Staaf
Ooops, expect a follow up without that last minute addition of a C++ style comment about ENOMEM, sorry... -Anton On Mon, Aug 22, 2011 at 1:03 PM, Anton Staaf wrote: > Currently, if a device read request is done that does not begin or end > on a sector boundary a stack allocated bounce buffer is

[U-Boot] [PATCH] ext2: Cache line aligned partial sector bounce buffer

2011-08-22 Thread Anton Staaf
Currently, if a device read request is done that does not begin or end on a sector boundary a stack allocated bounce buffer is used to perform the read, and then just the part of the sector that is needed is copied into the users buffer. This stack allocation can mean that the bounce buffer will n