Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #79555 > unrolled thread

Bug#1040769: linux-base: Errors on /proc/vmallocinfo

Started byCorcodel Marian <corcodel.marian@gmail.com>
First post2023-07-10 13:20 +0200
Last post2023-07-15 09:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#1040769: linux-base: Errors on /proc/vmallocinfo Corcodel Marian <corcodel.marian@gmail.com> - 2023-07-10 13:20 +0200
    Bug#1040769: Some info Marian Corcodel <corcodel.marian@gmail.com> - 2023-07-15 09:20 +0200

#79555 — Bug#1040769: linux-base: Errors on /proc/vmallocinfo

FromCorcodel Marian <corcodel.marian@gmail.com>
Date2023-07-10 13:20 +0200
SubjectBug#1040769: linux-base: Errors on /proc/vmallocinfo
Message-ID<GPX5T-4fJl-1@gated-at.bofh.it>
Package: linux-base
Version: 4.6
Severity: normal
X-Debbugs-Cc: corcodel.marian@gmail.com

Hi try to read /proc/vmallocinfo but i not figure what is happen there.
Lets see first line:

0x0000000082422d6c-0x0000000013420391   20480
irq_init_percpu_irqstack+0xcf/0x100 vmap

Substract 0x0000000082422d6c-0x0000000013420391
result not fit with 20480 , suppose this is aligned value, but memory
allocation is normal without alignment.

-- System Information:
Debian Release: 11.7
  APT prefers oldstable-security
  APT policy: (500, 'oldstable-security'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-23-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-base depends on:
ii  debconf [debconf-2.0]  1.5.77

linux-base recommends no packages.

linux-base suggests no packages.

[toc] | [next] | [standalone]


#79604 — Bug#1040769: Some info

FromMarian Corcodel <corcodel.marian@gmail.com>
Date2023-07-15 09:20 +0200
SubjectBug#1040769: Some info
Message-ID<GRHJn-ma2-3@gated-at.bofh.it>
In reply to#79555
One off the cause is because vmap function is not paired to relative
fuctions with
vunmap function wich result memory leaks.
Offcourse is and another cause.
Follow example on map_irq_stack function have vmap but not have guard
when this function fail, at the end of fuction address is on

per_cpu(pcpu_hot.hardirq_stack_ptr, cpu) and result if you wish you can use
vunmap(per_cpu(pcpu_hot.hardirq_stack_ptr, cpu));

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web