Skip to contentSkip to conversation

2.6.0-test2 : size of /proc/kcore is different from RAM size.

DISCUSSION Rémi Colinet 1 participant 2 messages Aug 10, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

I have noticed that the /proc/kcore file has a different size (1Go) compared with the available memory of my box (640Mo).

[root@tigre01 kernel]# dmesg | grep Memory
Memory: 643148k/655360k available (2331k kernel code, 11424k reserved, 730k data, 348k init, 0k highmem)

[root@tigre01 proc]# ls -l /proc | grep kcore
-r-------- 1 root root 1073692672 Aug 10 21:43 kcore
[root@tigre01 proc]#

Is it a bug or just a new behaviour of the /proc/kcore?

Regards,
Rémi

#1 lore raw
Quoted 7 lines · Rémi Colinet

Hi,

I have noticed that the /proc/kcore file has a different size (1Go) compared with the available memory of my box (640Mo).

[root@tigre01 kernel]# dmesg | grep Memory
Memory: 643148k/655360k available (2331k kernel code, 11424k reserved, 730k data, 348k init, 0k highmem)

Quoted 8 lines

[root@tigre01 proc]# ls -l /proc | grep kcore
-r-------- 1 root root 1073692672 Aug 10 21:43 kcore
[root@tigre01 proc]#

Is it a bug or just a new behaviour of the /proc/kcore?

Regards,
Rémi

It's ok with 2.6.0-test3-mm1.

Remi