Bug 4103

Summary: swap is never used in 2.6.9 and above
Product: Platform Specific/Hardware Reporter: Grzegorz jaskiewicz (gj)
Component: SPARC64Assignee: platform_sparc64
Status: REJECTED INSUFFICIENT_DATA    
Severity: normal CC: bunk
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.10 Subsystem:
Regression: --- Bisected commit-id:

Description Grzegorz jaskiewicz 2005-01-26 05:16:24 UTC
Distribution: pld-linux.org  
Hardware Environment: ultra5 sparc  
Software Environment: gcc 3.4.2  
Problem Description:  
see my meminfo: 
 [gj@sparkie gj]$ cat /proc/meminfo 
MemTotal:       123504 kB 
MemFree:         83176 kB 
Buffers:          7448 kB 
Cached:          18248 kB 
SwapCached:          0 kB 
Active:          18864 kB 
Inactive:         9912 kB 
HighTotal:           0 kB 
HighFree:            0 kB 
LowTotal:       123504 kB 
LowFree:         83176 kB 
SwapTotal:      249936 kB 
SwapFree:       249936 kB 
Dirty:               0 kB 
Writeback:           0 kB 
Mapped:       18446744073708293736 kB 
Slab:             6936 kB 
CommitLimit:    311688 kB 
Committed_AS:     8720 kB 
PageTables:        384 kB 
VmallocTotal:  3145728 kB 
VmallocUsed:      1504 kB 
VmallocChunk:  3144224 kB 
HugePages_Total:     0 
HugePages_Free:      0 
Hugepagesize:     4096 kB 
 
looks to me like variable size mismatch ? 
 
Swap is "mounted" but never used. Why, I don't know. 
 
 
Steps to reproduce:  
compile kernel for 64bit sparc, and boot.  
swapon /dev/partition_with_swap 
use loads of memory, and see how oom kills your tasks because of lack of 
memory. 
Swap is never touched.
Comment 1 Adrian Bunk 2005-09-02 15:46:44 UTC
Is this issue still present in kernel 2.6.13?
Comment 2 Adrian Bunk 2005-12-29 04:45:53 UTC
Please reopen this bug if you can still reproduce it in a recent 2.6 kernel.