Displaying 3 results from an estimated 3 matches for "mem_unit".
Did you mean:
mem_init
2004 Jul 15
2
getpagesize / libsysfs broken with 0.148
Hi all,
the implementation of getpagesize() is broken in klibc.
klibc uses sysinfo.mem_unit, which linux interpretes as the memory unit
all other memory values returned are to be multiplied with.
So it's perfectly ok for the linux sysinfo() to return a mem_unit of
'1', which is does if the memory available for this machine fits into
the counter.
For the unbelievers, have a...
2024 Aug 30
1
[PATCH -next 2/3] drm/amdgpu: use clamp() in amdgpu_vm_adjust_size()
...> index e20d19ae01b2..40f9a5d4f3c0 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
> @@ -2224,7 +2224,7 @@ void amdgpu_vm_adjust_size(struct amdgpu_device *adev, uint32_t min_vm_size,
> phys_ram_gb = ((uint64_t)si.totalram * si.mem_unit +
> (1 << 30) - 1) >> 30;
> vm_size = roundup_pow_of_two(
> - min(max(phys_ram_gb * 3, min_vm_size), max_size));
> + clamp(phys_ram_gb * 3, min_vm_size, max_size));
> }
>
> adev->vm_manager.max_pfn = (uint64_t)vm_size << 18;
2020 Aug 14
0
Wine release 5.15
...SetSize to move a fixed memory block.
mshtml: Add trace to IOleCommandTarget::Exec().
ieframe: When activating UI also activate the embedded document.
Esme Povirk (1):
mscoree: Use builtin XNA implementation by default.
Evgeny Litvinenko (1):
ntdll: Add check for totalram, mem_unit in struct sysinfo.
Fabian Maurer (1):
wine.inf: Map the Intl section of win.ini to the registry.
Fran?ois Gouget (1):
combase: Fix the trailing linefeed of a TRACE().
Gabriel Iv?ncescu (15):
iphlpapi: Update comment for SOCK_DGRAM since Linux also supports it from 3.0.
ms...