|
From: | Igor Mitsyanko |
Subject: | Re: [Qemu-devel] [PATCH 1/6] hw/sd.c: convert wp_groups in SDState to bitfield |
Date: | Mon, 02 Apr 2012 23:17:15 +0300 |
User-agent: | Mozilla/5.0 (Windows NT 5.2; WOW64; rv:11.0) Gecko/20120312 Thunderbird/11.0 |
On 02.04.2012 5:42 PM, Peter Maydell wrote:
On 2 April 2012 15:28, Igor Mitsyanko<address@hidden> wrote:Representing each group write protection flag with only one bit instead of int variable significantly reduces memory consumption.Can we use the bitmap.h functions here rather than doing things by hand? (scattered examples below, you get the idea)
That's pretty cool, I didn't know about this, thanks.
[Prev in Thread] | Current Thread | [Next in Thread] |