[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] add resolutions via command-line
From: |
Benjamin Herrenschmidt |
Subject: |
Re: [Qemu-devel] [PATCH v2] add resolutions via command-line |
Date: |
Wed, 21 Sep 2016 10:17:36 +1000 |
On Tue, 2016-09-20 at 09:51 -0400, G 3 wrote:
>
> The malloc() function used in this driver is used to allocate a
> very
> small amount of space at most. We are realistically talking under
> 2k.
> Running out of space is highly unlikely. I'm sure the user could do
> something evil to try to crash the driver, but it they succeed, it
> would be their own fault. Under normal use 2k of memory is all that
> is needed
Why don't you use PoolAllocateResident from the DSL ?