On 01.05.2012 22:02, Bean wrote: > Hi, > > Yeah, I have a patch that save the buffer for later use when there is > no data, it can solve the unnecessary alloc/free loop. No, what I mean: allocate a buffer once for every card and then do send/recv with only this buffer and copy to/from it when necessary. This way if the card DMAs the packet to the same buffer it won't corrupt anything.
-- Regards Vladimir 'φ-coder/phcoder' Serbinenko
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Grub-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/grub-devel
