[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mysterious memory corruption bug
From: |
Vladimir 'φ-coder/phcoder' Serbinenko |
Subject: |
Re: Mysterious memory corruption bug |
Date: |
Tue, 01 May 2012 22:06:12 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120329 Icedove/10.0.3 |
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
- Mysterious memory corruption bug, Bean, 2012/05/01
- Re: Mysterious memory corruption bug, Vladimir 'φ-coder/phcoder' Serbinenko, 2012/05/01
- Re: Mysterious memory corruption bug, Bean, 2012/05/01
- Re: Mysterious memory corruption bug, Bean, 2012/05/01
- Re: Mysterious memory corruption bug, Vladimir 'φ-coder/phcoder' Serbinenko, 2012/05/01
- Re: Mysterious memory corruption bug, Bean, 2012/05/01
- Re: Mysterious memory corruption bug,
Vladimir 'φ-coder/phcoder' Serbinenko <=
- Re: Mysterious memory corruption bug, Bean, 2012/05/01
- Re: Mysterious memory corruption bug, Vladimir 'φ-coder/phcoder' Serbinenko, 2012/05/01
- Re: Mysterious memory corruption bug, Bean, 2012/05/01
- unsubscribe, Daniel Senderowicz, 2012/05/01
- Re: unsubscribe, Gregg Levine, 2012/05/01