--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
Mel Gorman wrote:
>> +
>> +/* swapsize is 5 hugepages (in KB) */
>> +swap_size = gethugepagesize() * 5;
>> +buf = malloc(swap_size);
>> +memset(buf, 0, swap_size);
>> +fwrite(buf, sizeof(char), swap_size, f);
>> +free(buf);
>> +fclose(f);
>>
>
> Just out of curious
All,
This is the announcement for the libhugetlbfs 2.4 release the NEWS file
entry for the release follows:
libhugetlbfs 2.4 "Birdseye"
==
New Features
* added --add-temp-swap option to hugeadm to add a swap file for a pool
res
On Thu, 28 May 2009, Avantika Mathur wrote:
> This patch addresses some of the comments Mel had on the add-temp-swap patch.
> Applied on top of Eric's patch clearing hugeadm compile warning.
>
> I will be submitting a separate patch supporting user input for the swap size.
>
> thanks
> Avantika
>
On Wed, 27 May 2009, Eric B Munson wrote:
> The return value from the system() call in add_temp_swap() was
> being ignored, generating compile time warnings. This patch adds
> a check of the return value to make sure that all is well. It also
> changes the ERROR reporting in add_temp_swap to WAR
Thanks for the review, I will make sure that is added when this patch is merged.
Eric
On Thu, 28 May 2009, Avantika Mathur wrote:
> Comment is inline
>
> thanks
> Avantika
>
> Eric B Munson wrote:
>
>> The return value from the system() call in add_temp_swap() was
>> being ignored, generating co