NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/57772: DRMKMS (drm2/): incorrect memory compuation
>Number: 57772
>Category: kern
>Synopsis: DRMKMS (drm2/): incorrect memory compuation
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Dec 14 16:45:00 +0000 2023
>Originator: Thierry LARONDE
>Release: Current
>Organization:
>Environment:
NetBSD cauchy.polynum.local 10.99.10 NetBSD 10.99.10 (CAUCHY) #4: Thu Dec 14 17:15:06 CET 2023 tlaronde@cauchy.polynum.local:/data/m/netbsd-10/sys/arch/amd64/compile/CAUCHY amd64
>Description:
Memory allocation is done based on values defined in a reduced Linux sysinfo(2) like struct.
But *high doesn't make sense in NetBSD and even on Linux it is not always used.
Furthermore, the current value assigned is a virtual address leading to such display:
[ 4.193896] Zone kernel: Available graphics memory: 9007199254113272 KiB
[ 4.193896] Zone dma32: Available graphics memory: 2097152 KiB
And the totalhigh value is used in amdgpu code where it can do, with such a value, no good.
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index