iPXE - Open Source Boot Firmware

[malloc] Add cache discard mechanism
authorMichael Brown <mcb30@ipxe.org>
Wed, 21 Jul 2010 10:58:50 +0000 (11:58 +0100)
committerMichael Brown <mcb30@ipxe.org>
Wed, 21 Jul 2010 10:58:50 +0000 (11:58 +0100)
commit9dc51afa2cc2b0d8310b540ae193edb37f148b8b
tree1817e78cec04265e272af45876d4f0b29f43a3f8
parent68613047f0f33f7afff1a3373f0ef40a2ba67acf
[malloc] Add cache discard mechanism

Add a facility allowing cached data to be discarded in order to
satisfy memory allocations that would otherwise fail.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/core/malloc.c
src/include/ipxe/malloc.h